Data structure of the client_request event.

Public Attributes#

uint16_t
uint16_t
uint16_t
uint16_t
uint16_t
uint8_t

Public Attribute Documentation#

server_address#

uint16_t sl_btmesh_evt_generic_server_client_request_s::server_address

Address the message was sent to, which can be either the model element's unicast address, or model's subscription address


Definition at line 5838 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_generic_server_client_request_s::elem_index

Server model element index


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

model_id#

uint16_t sl_btmesh_evt_generic_server_client_request_s::model_id

Server model ID


Definition at line 5842 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_generic_server_client_request_s::client_address

Address of the client model which sent the message


Definition at line 5843 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_generic_server_client_request_s::appkey_index

The application key index used in encrypting the request; Responses need to be encrypted with the same key.


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

transition_ms#

uint32_t sl_btmesh_evt_generic_server_client_request_s::transition_ms

Requested transition time (in milliseconds) for the state change. If both the transition time and the delay are zero, the transition is immediate.

This applies to messages, which the Mesh Model specification defines to have transition and delay times and will be zero for others.


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

delay_ms#

uint16_t sl_btmesh_evt_generic_server_client_request_s::delay_ms

Delay time (in milliseconds) before starting the state change. If both the transition time and the delay are zero, the transition is immediate.

This applies to messages, which the Mesh Model specification defines to have transition and delay times and will be zero for others.


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

flags#

uint16_t sl_btmesh_evt_generic_server_client_request_s::flags

Message flags. Bitmask of the following values:

  • Bit 0: Non-relayed. If non-zero, indicates that the client message was not relayed (TTL was zero) and that the server is within direct radio range of the client.

  • Bit 1: Response required. If non-zero, the client expects a response from the server.


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

type#

uint8_t sl_btmesh_evt_generic_server_client_request_s::type

Model-specific request type. See set request types list for details.


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

parameters#

uint8array sl_btmesh_evt_generic_server_client_request_s::parameters

Message-specific parameters serialized into a byte array


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