docs.rs failed to build losant-mqtt-esp-idf-0.1.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
losant-mqtt-esp-idf
ESP-IDF MQTT Client for connecting devices to the Losant IoT Platform
Usage
- add Losant info to a
cfg.toml
file in your crate root (make sure to .gitignore!); seecfg.example.toml
use Device;
# TODO
-
see the
examples
dir -
refer to the Losant docs for message limits
Running examples
-
add Losant and wifi info to a
cfg.toml
file in the crate root (make sure to .gitignore!); seecfg.example.toml
-
if using WSL, use
usbipd
to expose a USB device to WSL (Microsoft docs)-
install
usbipd
in a PowerShell/CMD terminal# all of the following require admin mode winget install --interactive --exact dorssel.usbipd-win usbipd wsl list # may need a new terminal window to refresh env usbipd wsl attach --auto-attach --busid <BUSID>
-
check that the device is accessible within WSL
-
-
run the
esp32-c3-devkit-rust-1
example; replace the--target
argument with your board's respective compiler target-
using
espflash
v2 -
using
cargo-espflash
v2 -
using
espflash
v2 (manual)
-