Data structure of the status event.

Public Attributes#

uint16_t
uint16_t
uint8_t

Public Attribute Documentation#

client_address#

uint16_t sl_btmesh_evt_sensor_client_status_s::client_address

Destination client model address


elem_index#

uint16_t sl_btmesh_evt_sensor_client_status_s::elem_index

Client model element index


server_address#

uint16_t sl_btmesh_evt_sensor_client_status_s::server_address

Source server model address


appkey_index#

uint16_t sl_btmesh_evt_sensor_client_status_s::appkey_index

The application key index to use


flags#

uint8_t sl_btmesh_evt_sensor_client_status_s::flags

No flags defined currently


sensor_data#

uint8array sl_btmesh_evt_sensor_client_status_s::sensor_data

Serialized Sensor Data consisting of one or more Sensor state for each sensor within the element. To simplify processing, the byte array is in TLV format:

  • 1st Property ID: 16 bits

  • Value Length: 8 bits

  • Value: variable

  • 2nd Property ID: 16 bits

  • Value Length: 8 bits

  • Value: variable

  • ...

If the requested Property ID does not exist at the server element, the reply contains only the given Property ID and zero length.