Wireless M-Bus Button Pulse Counter#

The Wireless M-Bus Pulse Counter component is part of the RAIL SDK's Wireless M-Bus suite, designed to count and send button presses between transmission frames. This component is specifically tailored for Wireless M-Bus meters, providing a solution for integrating pulse counter data into the Wireless M-Bus communication framework.

Key Features:

  • Pulse Counting: Making button as a virtual pulse counter.

Modules#

Configurations

Functions#

sl_status_t

Wireless M-Bus Pulse counter initialization function.

sl_status_t

Wireless M-Bus Pulse counter deinitialization function.

sl_status_t

Wireless M-Bus Pulse counter measure function.

Retrieves the sensor data for the Wireless M-Bus pulse counter sensor.

sl_status_t

Wireless M-Bus Pulse counter 7 segment LCD print function.

sl_status_t

Wireless M-Bus Pulse counter button pressed function.

Function Documentation#

sl_rail_sdk_wmbus_sensor_pulse_counter_init#

sl_status_t sl_rail_sdk_wmbus_sensor_pulse_counter_init (void )

Wireless M-Bus Pulse counter 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_pulse_counter/sl_rail_sdk_wmbus_sensor_pulse_counter.h

sl_rail_sdk_wmbus_sensor_pulse_counter_deinit#

sl_status_t sl_rail_sdk_wmbus_sensor_pulse_counter_deinit (void )

Wireless M-Bus Pulse counter 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_pulse_counter/sl_rail_sdk_wmbus_sensor_pulse_counter.h

sl_rail_sdk_wmbus_sensor_pulse_counter_measure#

sl_status_t sl_rail_sdk_wmbus_sensor_pulse_counter_measure (void )

Wireless M-Bus Pulse counter measure function.

Parameters
N/A

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_pulse_counter/sl_rail_sdk_wmbus_sensor_pulse_counter.h

sl_rail_sdk_wmbus_sensor_pulse_counter_get_data#

sl_rail_sdk_wmbus_sensor_data_t * sl_rail_sdk_wmbus_sensor_pulse_counter_get_data (void )

Retrieves the sensor data for the Wireless M-Bus pulse counter 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 pulse counter sensor.

Returns


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

sl_rail_sdk_wmbus_sensor_pulse_counter_print#

sl_status_t sl_rail_sdk_wmbus_sensor_pulse_counter_print (void )

Wireless M-Bus Pulse counter 7 segment LCD print function.

Parameters
N/A

Returns

  • sl_status_t: SL_STATUS_OK if 7 segment LCD print was successfully SL_STATUS_FAIL if 7 segment LCD print failed


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

sl_rail_sdk_wmbus_sensor_pulse_counter_button_pressed#

sl_status_t sl_rail_sdk_wmbus_sensor_pulse_counter_button_pressed (void )

Wireless M-Bus Pulse counter button pressed function.

Parameters
N/A

This function handles the button press event for the Wireless M-Bus pulse counter, in this case, it increments the counter value.

Returns

  • sl_status_t: SL_STATUS_OK if button press was successfully SL_STATUS_FAIL if button press failed


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