Bluetooth Mesh Silabs Configuration Server Vendor Model#

Bluetooth Mesh Silabs Configuration Server Vendor Model.

Silicon Labs Configuration Server vendor model. It provides the functionality of configuration of global and per-model specific settings of a node.

Modules#

sl_btmesh_evt_silabs_config_server_tx_changed

sl_btmesh_evt_silabs_config_server_model_option_changed

sl_btmesh_evt_silabs_config_server_network_pdu_changed

Functions#

sl_status_t
sl_btmesh_silabs_config_server_set_tx(uint8_t phy, uint32_t options)
sl_status_t
sl_btmesh_silabs_config_server_get_tx(uint8_t *phy, uint32_t *options)
sl_status_t
sl_btmesh_silabs_config_server_set_model_enable(uint8_t elem_index, uint16_t vendor_id, uint16_t model_id, uint16_t value)
sl_status_t
sl_btmesh_silabs_config_server_get_model_enable(uint8_t elem_index, uint16_t vendor_id, uint16_t model_id, uint16_t *value)
sl_status_t

Function Documentation#

sl_btmesh_silabs_config_server_init#

sl_status_t sl_btmesh_silabs_config_server_init ()

Initialize Silabs Configuration Server model

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


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

sl_btmesh_silabs_config_server_deinit#

sl_status_t sl_btmesh_silabs_config_server_deinit ()

Deinitialize Silabs Configuration Server model. After this call, the model cannot be used until it is initialized again. See sl_btmesh_silabs_config_server_init.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


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

sl_btmesh_silabs_config_server_set_tx#

sl_status_t sl_btmesh_silabs_config_server_set_tx (uint8_t phy, uint32_t options)
Parameters
[in]phy

TX PHY for long packets (packets that would be segmented).

  • 1: LE 1M PHY

  • 2: LE 2M PHY

[in]options

TX options. NOTE: Currently not used: reserved for future use.

Set TX PHY for the node.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


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

sl_btmesh_silabs_config_server_get_tx#

sl_status_t sl_btmesh_silabs_config_server_get_tx (uint8_t * phy, uint32_t * options)
Parameters
[out]phy

TX PHY for long packets (packets that would be segmented).

  • 1: LE 1M PHY

  • 2: LE 2M PHY

[out]options

TX options. NOTE: Currently not used: reserved for future use.

Get current TX PHY.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


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

sl_btmesh_silabs_config_server_set_model_enable#

sl_status_t sl_btmesh_silabs_config_server_set_model_enable (uint8_t elem_index, uint16_t vendor_id, uint16_t model_id, uint16_t value)
Parameters
[in]elem_index

Element index of model to configure.

[in]vendor_id

Vendor ID of model to configure.

[in]model_id

Model ID of model to configure.

[in]value

Extended packet size to set, currently 1 to use extended 0 to not

Enable/Disable usage of extended packets for a model.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


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

sl_btmesh_silabs_config_server_get_model_enable#

sl_status_t sl_btmesh_silabs_config_server_get_model_enable (uint8_t elem_index, uint16_t vendor_id, uint16_t model_id, uint16_t * value)
Parameters
[in]elem_index

Element index of model to get.

[in]vendor_id

Vendor ID of model to get.

[in]model_id

Model ID of model to get.

[out]value

Extended packet size is used, currently 1 is in use, 0 is not

Get model settings.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


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

sl_btmesh_silabs_config_server_set_network_pdu#

sl_status_t sl_btmesh_silabs_config_server_set_network_pdu (uint16_t max_size)
Parameters
[in]max_size

Max size of packet to be used, in range 29 - 227 bytes.

Set max network pdu for the node.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


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

sl_btmesh_silabs_config_server_get_network_pdu#

sl_status_t sl_btmesh_silabs_config_server_get_network_pdu (uint16_t * max_size)
Parameters
[out]max_size

Max size of packet, in range 29 - 227 bytes.

Get max network pdu in use.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.


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

Macro Definition Documentation#

sl_btmesh_cmd_silabs_config_server_init_id#

#define sl_btmesh_cmd_silabs_config_server_init_id
Value:
0x006b0028

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

sl_btmesh_cmd_silabs_config_server_deinit_id#

#define sl_btmesh_cmd_silabs_config_server_deinit_id
Value:
0x016b0028

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

sl_btmesh_cmd_silabs_config_server_set_tx_id#

#define sl_btmesh_cmd_silabs_config_server_set_tx_id
Value:
0x026b0028

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

sl_btmesh_cmd_silabs_config_server_get_tx_id#

#define sl_btmesh_cmd_silabs_config_server_get_tx_id
Value:
0x036b0028

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

sl_btmesh_cmd_silabs_config_server_set_model_enable_id#

#define sl_btmesh_cmd_silabs_config_server_set_model_enable_id
Value:
0x046b0028

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

sl_btmesh_cmd_silabs_config_server_get_model_enable_id#

#define sl_btmesh_cmd_silabs_config_server_get_model_enable_id
Value:
0x056b0028

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

sl_btmesh_cmd_silabs_config_server_set_network_pdu_id#

#define sl_btmesh_cmd_silabs_config_server_set_network_pdu_id
Value:
0x066b0028

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

sl_btmesh_cmd_silabs_config_server_get_network_pdu_id#

#define sl_btmesh_cmd_silabs_config_server_get_network_pdu_id
Value:
0x076b0028

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

sl_btmesh_rsp_silabs_config_server_init_id#

#define sl_btmesh_rsp_silabs_config_server_init_id
Value:
0x006b0028

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

sl_btmesh_rsp_silabs_config_server_deinit_id#

#define sl_btmesh_rsp_silabs_config_server_deinit_id
Value:
0x016b0028

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

sl_btmesh_rsp_silabs_config_server_set_tx_id#

#define sl_btmesh_rsp_silabs_config_server_set_tx_id
Value:
0x026b0028

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

sl_btmesh_rsp_silabs_config_server_get_tx_id#

#define sl_btmesh_rsp_silabs_config_server_get_tx_id
Value:
0x036b0028

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

sl_btmesh_rsp_silabs_config_server_set_model_enable_id#

#define sl_btmesh_rsp_silabs_config_server_set_model_enable_id
Value:
0x046b0028

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

sl_btmesh_rsp_silabs_config_server_get_model_enable_id#

#define sl_btmesh_rsp_silabs_config_server_get_model_enable_id
Value:
0x056b0028

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

sl_btmesh_rsp_silabs_config_server_set_network_pdu_id#

#define sl_btmesh_rsp_silabs_config_server_set_network_pdu_id
Value:
0x066b0028

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

sl_btmesh_rsp_silabs_config_server_get_network_pdu_id#

#define sl_btmesh_rsp_silabs_config_server_get_network_pdu_id
Value:
0x076b0028

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