Bluetooth Mesh Light Control Setup Server Model#
Bluetooth Mesh Light Control Setup Server Model.
Bluetooth Mesh Light Control model Setup Server functionality.
This class provides the API that the LC Setup server uses to inform the application of its received events. The API is informational: application is not required to react to these events.
Modules#
sl_btmesh_evt_lc_setup_server_set_property
Functions#
Macros#
Function Documentation#
sl_btmesh_lc_setup_server_update_property#
sl_status_t sl_btmesh_lc_setup_server_update_property (uint16_t elem_index, uint16_t property_id, size_t params_len, const uint8_t * params)
[in] | elem_index | Client model element index |
[in] | property_id | Property ID for the LC Server. Range: 0x0001 - 0x0ffff for a specific device property, the value 0x0000 is prohibited. |
[in] | params_len | Length of data in |
[in] | params | Byte array containing serialized fields of LC Property, excluding the property ID |
Update the LC Server property. The application may choose to directly set model properties in the stack. This function will pass the property value to the LC Setup Server and on to the LC Server model.
Returns
SL_STATUS_OK if successful. Error code otherwise.
14420
of file /mnt/raid/workspaces/ws.wDIAeKYhQ/overlay/gsdk/protocol/bluetooth/build/native/mesh_app/inc/sl_btmesh_api.h