IoTConnect SDK supports many public methods that you can use to execute the use cases.
Device Connection
SDK will have a method/constructor to create an instance of SDK which is to discover the device’s identity and get it connected to IoTConnect’s Azure IoTHub.
Get Attributes
This method is utilized to get the sensors/attributes that you have defined on the IoTConnect Template module.
Send Telemetry
This method is employed to send data to the IoTConnect platform. To do that, you need to pass your data with the IoTConnect JSON format.
Update Twin
Device twins are implicitly created and deleted when a device identity is created or deleted in IoT Hub. This is used along with reported properties to synchronize device configuration or conditions. To update twin property, you need to enter key and value.
Send acknowledgment
This method is employed to send an acknowledgment to IoTConnect regarding the completion of firmware processing. You can send acknowledgment in two ways: through message type and data.
Next step
SDK Deep Diving – Learn the know-how of IoTConnect SDK using SDK Deep Diving.