Wireless M-Bus Thermometer Sensor#

The Wireless M-Bus Thermometer Sensor component is designed to monitor and measure temperature using a thermometer sensor. This component provides the necessary tools to integrate temperature data into Wireless M-Bus packets, ensuring that the data is correctly formatted and transmitted.

Key Features:

  • Temperature Measurement: Functions to measure temperature using a thermometer sensor.

  • Data Handling: Functions to retrieve and format temperature data for inclusion in Wireless M-Bus packets.

  • Packet Assembly: Tools to assemble packets with temperature data, ensuring that the data is correctly formatted and transmitted.

Modules#

Configurations

Functions#

sl_status_t

Wireless M-Bus Thermometer initialization function.

sl_status_t

Wireless M-Bus Thermometer deinitialization function.

sl_status_t

Wireless M-Bus Thermometer measure function function.

Retrieves the sensor data for the Wireless M-Bus thermo meter sensor.

sl_status_t

Wireless M-Bus Thermometer 7 segment LCD print function.

sl_status_t

Wireless M-Bus Thermometer button pressed function.

Function Documentation#

sl_rail_sdk_wmbus_sensor_thermometer_init#

sl_status_t sl_rail_sdk_wmbus_sensor_thermometer_init (void )

Wireless M-Bus Thermometer initialization function.

Parameters
N/A

Returns

  • sl_status_t: SL_STATUS_OK if init was successful SL_STATUS_FAIL if init failed


Definition at line 67 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_thermometer/sl_rail_sdk_wmbus_sensor_thermometer.h

sl_rail_sdk_wmbus_sensor_thermometer_deinit#

sl_status_t sl_rail_sdk_wmbus_sensor_thermometer_deinit (void )

Wireless M-Bus Thermometer deinitialization function.

Parameters
N/A

Returns

  • sl_status_t: SL_STATUS_OK if init was successful SL_STATUS_FAIL if init failed


Definition at line 75 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_thermometer/sl_rail_sdk_wmbus_sensor_thermometer.h

sl_rail_sdk_wmbus_sensor_thermometer_measure#

sl_status_t sl_rail_sdk_wmbus_sensor_thermometer_measure (void )

Wireless M-Bus Thermometer measure function function.

Parameters
N/A

Read sensor data.

Returns

  • sl_status_t: SL_STATUS_OK if measure was successful SL_STATUS_FAIL if measure failed


Definition at line 83 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_thermometer/sl_rail_sdk_wmbus_sensor_thermometer.h

sl_rail_sdk_wmbus_sensor_thermometer_get_data#

sl_rail_sdk_wmbus_sensor_data_t * sl_rail_sdk_wmbus_sensor_thermometer_get_data (void )

Retrieves the sensor data for the Wireless M-Bus thermo meter sensor.

Parameters
N/A

Returns a pointer to the sl_rail_sdk_wmbus_sensor_data_t structure that contains the sensor data for the Wireless M-Bus thermo meter sensor.

Returns


Definition at line 94 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_thermometer/sl_rail_sdk_wmbus_sensor_thermometer.h

sl_rail_sdk_wmbus_sensor_thermometer_print#

sl_status_t sl_rail_sdk_wmbus_sensor_thermometer_print (void )

Wireless M-Bus Thermometer 7 segment LCD print function.

Parameters
N/A

Returns

  • sl_status_t: SL_STATUS_OK if measure was successful SL_STATUS_FAIL if measure failed


Definition at line 102 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_thermometer/sl_rail_sdk_wmbus_sensor_thermometer.h

sl_rail_sdk_wmbus_sensor_thermometer_button_pressed#

sl_status_t sl_rail_sdk_wmbus_sensor_thermometer_button_pressed (void )

Wireless M-Bus Thermometer button pressed function.

Parameters
N/A

This function handles the button press event for the Wireless M-Bus thermo meter sensor, in this case, it changes the displayed value between temperature and humidity.

Returns

  • sl_status_t: SL_STATUS_OK if measure was successful SL_STATUS_FAIL if measure failed


Definition at line 112 of file /mnt/raid/workspaces/ws.bVpTDXqvc/overlay/gsdk/app/rail/component/sl_rail_sdk_wmbus_sensor_thermometer/sl_rail_sdk_wmbus_sensor_thermometer.h