Data structure of the set_cadence_request event.

Public Attributes#

uint16_t
uint16_t
uint8_t
uint16_t

Public Attribute Documentation#

server_address#

uint16_t sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::server_address

Address the request was directed to, either the server's unicast address or a group address the server subscribes to


Definition at line 12111 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

elem_index#

uint16_t sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::elem_index

Setup Server model element index


Definition at line 12114 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

client_address#

uint16_t sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::client_address

Requesting client model's address


Definition at line 12115 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

appkey_index#

uint16_t sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::appkey_index

The application key index to use


Definition at line 12116 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

flags#

uint8_t sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::flags

Bit 1 (0x02) defines whether response is required. If set to 1, the client sent the message with SET CADENCE opcode and expects a CADENCE STATUS message in return.


Definition at line 12117 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

property_id#

uint16_t sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::property_id

Property ID for the sensor. Range: 0x0001 - 0x0ffff for a specific device property, the value 0x0000 is prohibited.


Definition at line 12121 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

period_divisor#

uint8_t sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::period_divisor

Fast Cadence Period Divisor, 7 bits defining the divisor for the Publish Period


Definition at line 12124 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

trigger_type#

uint8_t sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::trigger_type

Status Trigger Type, 1 bit: 0 = discrete value, 1 = delta percentage


Definition at line 12126 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h

params#

uint8array sl_btmesh_evt_sensor_setup_server_set_cadence_request_s::params

Optional byte array containing serialized fields of Sensor Cadence state, excluding the property ID, period divisor, and trigger type

  • Fast Cadence Period Divisor, 7 bits

  • Status Trigger type, 1 bit (0 = discrete value, 1 = percentage)

  • Status Trigger Delta Down, variable length

  • Status Trigger Delta Up, variable length

  • Status Min Interval, 8 bits, representing a power of 2 milliseconds. Valid range is 0-26

  • Fast Cadence Low, variable length, lower bound for the fast cadence range

  • Low Cadence Low, variable length, higher bound for the fast cadence range


Definition at line 12128 of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h