Expand description
blynk_io
blynk_io
is a naive implementation of Blynk.io protocol
with intention of use in embedded systems. The intention is to use it
with esp32 devices in conjuction with esp-rs project.
The rust
implementation has been based on the official
python client implemetation since good blynk.io API docs are not avaiable.
Example usage
use blynk_io::*;
...
let mut blynk = <Blynk>::new("AUTH_TOKEN".to_string());
fn main() {
loop {
blynk.run();
thread::sleep(Duration::from_millis(50));
}
}
Structs
Main API for interacting with Blynk.io platform. Use it in order to keep connectivity with the Blynk servers and handle the protocol activity.
Implements state of the connection abstraction with Blynk.io servers. Implementes protocol methods that you can use in order to communicate with those servers
Default events handler implementation that can be used to define type if no client implementation is provided
Enums
Represents the current state of connection to Blynk servers