EasyManua.ls Logo

ST STM32L4 - Page 153

ST STM32L4
213 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Customize Usage
of the Sensor Board (Cont’d)
Function SendSNSData() is called by a timer interrupt every two seconds.
Transmission rate for messages can be changed using Desired Properties or
directly in the code in AzureClient_mqtt_DM_TM.c by using
ChangeTelemetryInterval API
By default the message transmitted to IoT Hub contains the following raw sensors data
Temperature, Humidity, Accelerometers (X,Y,Z), Gyroscope (X,Y,Z)
The sensors board also generates raw sensor data related to:
Pressure (inside function FillTheModeInstance() use API: BSP_PRESSURE_Get_Press)
Magnetometer (inside function FillTheModeInstance() use API: BSP_MAGNETO_Get_Axes)
153