Customize Usage
of the Sensor Board
• The message transmitted to your IoT Hub is composed inside function SendSNSData()
in file AzureClient_mqtt_DM_TM.c (Azure_Sns_DM/User)
Read raw data from sensors to Azure1 data
structure, using driver APIs
(BSP_TEMPERATURE_Get_Temp,
BSP_TEMPERATURE_Get_Hum, etc.)
Convert sensors data structure into a JSON string
Create message handler
Send the
message
152