dbrgn / espresso

AT based driver crate for ESP8266 WiFi modules.
Apache License 2.0
9 stars 4 forks source link

Implement high-level API #2

Closed dbrgn closed 4 years ago

dbrgn commented 4 years ago

The driver should have a high-level API where the commands are methods.

For example:

let version = esp.get_firmware_version().unwrap();
esp.set_wifi_mode(WifiMode::Station).unwrap();
..

The low-level API with all the raw commands should still be available though.