azure-iot-sdk-rs
azure-iot-sdk-rs copied to clipboard
A rust library for connecting devices to Microsoft Azure IoT Hub
Adds two features for explicit ping handling. A ping-response feature for adding a PingResponse message and a default feature automatic-pinging that adds the ping thread to the mqtt transport. The...
I am trying to build a stable IOTHub Client with this crate, so long it has been a realy user-friendly experience. However, I found out that if a receiver (client.get_receiver())...
This PR supercedes #61 - instead of adding `IoTHubClient::new_with_pnp()`, add a `pnp_model_id()` function to the new IoTHubClientBuilder. Depends on #62, #63
Depends on #62 To use this library in an IoT Edge deployment we need to be able to set add root certificates to the trust store. See: https://docs.microsoft.com/en-us/azure/iot-edge/how-to-connect-downstream-device?view=iotedge-2020-11#provide-the-root-ca-certificate
To support different configuration parameters, implement a builder pattern for IoTHubClient, that initially just supports the same parameters as IoTHubClient::new().
To keep a single communication pattern, we should connect to the device provisioning service with MQTT if that is what is being used in the IoT Hub client. See https://docs.microsoft.com/en-us/azure/iot-dps/iot-dps-mqtt-support...
End-to-end integration testing to ensure working as expected - [x] ARM template to deploy IoT hub - [x] az cli to create device in IoT hug - [ ] Run...
Handle errors with iot hub error type and communicate issues back to main program
Resiliency around getting a receiver when the client's tcp connect has potentially disconnected or doesn't exist
Some features (e.g. any c2d messaging, direct methods, twin updates) if disabled also then mean tokio features can be not used. In the case here, we don't need sync if...