Infineon Logo AIROC BTSDK v4.2 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
wiced_bt_mesh_models.h File Reference

> More...

Data Structures

struct  wiced_bt_mesh_sensor_get_t
 Sensor property id structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_descriptor_data_t
 Sensor Descriptor structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_descriptor_status_data_t
 Sensor Descriptor status structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_status_data_t
 Sensor status data structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_column_get_data_t
 Sensor Column get structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_column_data_t
 Sensor column data structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_column_status_data_t
 Sensor Column status structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_series_get_data_t
 Sensor Series get structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_series_status_data_t
 Sensor series status data structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_setting_t
 Sensor setting exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_setting_status_data_t
 Sensor Setting status data structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_setting_get_data_t
 Sensor Setting get structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_setting_set_data_t
 Sensor Setting set structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_settings_status_data_t
 Sensor Settings status structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_cadence_t
 Sensor Cadence structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_cadence_set_data_t
 Sensor Cadence set structure exchanged between the application and the Sensor Model. More...
 
struct  wiced_bt_mesh_sensor_cadence_status_data_t
 Sensor Cadence status structure exchanged between the application and the Sensor Model. More...
 
union  wiced_bt_mesh_sensor_status_message_data_t
 Sensor status data structure exchanged between the sensor model and Application. More...
 
struct  wiced_bt_mesh_scene_request_t
 Scene Data structure exchanged between the application and the Scene Models. More...
 
struct  wiced_bt_mesh_scene_recall_t
 Scene Recall Data structure exchanged between the application and the Scene Models. More...
 
struct  wiced_bt_mesh_scene_status_data_t
 Scene Status Data structure exchanged between the application Scene Models. More...
 
struct  wiced_bt_mesh_scene_register_status_data_t
 Scene Register Status Data structure exchanged between the application Scene Models. More...
 
struct  wiced_bt_mesh_time_state_msg_t
 Time State structure exchanged between the Time Client and Time Server. More...
 
struct  wiced_bt_mesh_time_zone_set_t
 Time Zone State structure exchanged between the Application and Time model. More...
 
struct  wiced_bt_mesh_time_zone_status_t
 Time Zone Status structure exchanged between the Application and Time model. More...
 
struct  wiced_bt_mesh_time_tai_utc_delta_set_t
 Time TAI UTC delta set structure exchanged between the Application and Time model. More...
 
struct  wiced_bt_mesh_time_tai_utc_delta_status_t
 Time TAI UTC delta status structure exchanged between the Application and Time model. More...
 
struct  wiced_bt_mesh_time_role_msg_t
 Time role structure exchanged between the Application and Time model. More...
 
struct  wiced_bt_mesh_scheduler_status_t
 Scheduler Status Data structure exchanged between the application Scheduler Models. More...
 
struct  wiced_bt_mesh_scheduler_action_get_t
 Scheduler Status Data structure exchanged between the application Scheduler Models. More...
 
struct  wiced_bt_mesh_scheduler_action_data_t
 Scheduler Actions Data structure exchanged between the application Scheduler Models. More...
 
struct  mesh_battery_event_t
 Mesh Battery Status Event used to report battery state to the client device. More...
 
struct  wiced_bt_mesh_location_global_data_t
 Global Location Data structure exchanged between the application Generic Location Model. More...
 
struct  wiced_bt_mesh_location_local_data_t
 Local Location Data structure exchanged between the application Generic Location Model. More...
 
struct  wiced_bt_mesh_onoff_set_data_t
 OnOff Set Data structure exchanged between the application Generic OnOff Model. More...
 
struct  wiced_bt_mesh_onoff_status_data_t
 OnOff Status Data structure exchanged between the application and Generic OnOff Model. More...
 
struct  wiced_bt_mesh_level_set_level_t
 Level Set Data structure exchanged between the application and the Generic Level Model. More...
 
struct  wiced_bt_mesh_level_set_delta_t
 Delta Set Data structure exchanged between the application and the Generic Level Model. More...
 
struct  wiced_bt_mesh_level_set_move_t
 Move Set Data structure exchanged between the application and the Generic Level Model. More...
 
struct  wiced_bt_mesh_level_status_data_t
 Level Status Data structure exchanged between the application and Generic Level Model. More...
 
struct  wiced_bt_mesh_default_transition_time_data_t
 Default Transition Time Data structure exchanged between an application and the Generic Default Transition Time Model. More...
 
struct  wiced_bt_mesh_power_onoff_data_t
 Power OnOff Data structure exchanged between an application and the Power OnOff Model. More...
 
struct  wiced_bt_mesh_power_level_status_data_t
 Power Level Status Data structure exchanged between the application and Generic Power Level Model. More...
 
struct  wiced_bt_mesh_power_level_last_data_t
 Power Level Last Status Data structure exchanged between the application and Generic Power Level Model. More...
 
struct  wiced_bt_mesh_power_default_data_t
 Power Level Default Status Data structure exchanged between the application and Generic Power Level Model. More...
 
struct  wiced_bt_mesh_power_level_range_set_data_t
 Power Level Set Range Data structure exchanged between the application and Generic Power Level Model. More...
 
struct  wiced_bt_mesh_power_range_status_data_t
 Power Range Status Data structure exchanged between the application and Generic Power Level Model. More...
 
struct  wiced_bt_mesh_power_level_set_level_t
 Level Set Data structure exchanged between the application and the Generic Power Level Model. More...
 
struct  wiced_bt_mesh_light_lightness_status_data_t
 Light Lightness Status Data structure exchanged between the application and Light Lightness Model. More...
 
struct  wiced_bt_mesh_light_lightness_status_t
 
struct  wiced_bt_mesh_light_lightness_set_t
 Light Lightness Set Data structure exchanged between the application and the models Light Lightness Server library. More...
 
struct  wiced_bt_mesh_light_lightness_actual_set_t
 Light Lightness Actual Set Data structure exchanged between the application and the models Light Lightness Client library. More...
 
struct  wiced_bt_mesh_light_lightness_linear_set_t
 Light Lightness Linear Set Data structure exchanged between the application and the models Light Lightness Client library. More...
 
struct  wiced_bt_mesh_light_lightness_last_data_t
 Light Lightness Last Status Data structure exchanged between the application and Light Lightness Model. More...
 
struct  wiced_bt_mesh_light_lightness_default_data_t
 Lightness Default Status Data structure exchanged between the application and Light Lightness Model. More...
 
struct  wiced_bt_mesh_light_lightness_range_set_data_t
 Lightness Range Status Data structure exchanged between the application and Generic Power Level Model. More...
 
struct  wiced_bt_mesh_light_lightness_range_status_data_t
 Lightness Range Status Data structure exchanged between the application and Light Lightness Model. More...
 
struct  wiced_bt_mesh_properties_get_data_t
 Properties Get Data for Generic Property Models. More...
 
struct  wiced_bt_mesh_property_get_data_t
 Property Get Data for Generic Property Models. More...
 
struct  wiced_bt_mesh_properties_status_data_t
 Properties Status Data for Generic Property Models. More...
 
struct  wiced_bt_mesh_property_set_data_t
 Property Set Data structure exchanged between the application Generic User Property Models. More...
 
struct  wiced_bt_mesh_property_status_data_t
 Property Status Data structure exchanged between the application Generic User Property Models. More...
 
struct  wiced_bt_mesh_light_ctl_data_t
 Data structure representing the state of Light Color Temperature device. More...
 
struct  wiced_bt_mesh_light_ctl_status_data_t
 Light CTL Status Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_ctl_set_t
 Light CTL Set Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_ctl_temperature_set_t
 Light Lightness Last Status Data structure exchanged between the application and Light Lightness Model. More...
 
struct  wiced_bt_mesh_light_ctl_default_data_t
 Lightness Default Status Data structure exchanged between the application and Light Lightness Model. More...
 
struct  wiced_bt_mesh_light_ctl_temperature_range_status_data_t
 Temperature Range Status Data structure exchanged between the application and Light CTL Temperature Model. More...
 
struct  wiced_bt_mesh_light_ctl_temperature_range_data_t
 Temperature Range Set Data structure exchanged between the application and Light CTL Temperature Model. More...
 
struct  wiced_bt_mesh_light_delta_uv_set_level_t
 Light Lightness Set Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_delta_uv_last_data_t
 Light Lightness Last Status Data structure exchanged between the application and Light Lightness Model. More...
 
struct  wiced_bt_mesh_light_delta_uv_default_data_t
 Lightness Default Status Data structure exchanged between the application and Light Lightness Model. More...
 
struct  wiced_bt_mesh_light_delta_uv_range_data_t
 Lightness Range Status Data structure exchanged between the application and Generic Power Level Model. More...
 
struct  wiced_bt_mesh_light_hsl_data_t
 Data structure representing the state of Light HSL device. More...
 
struct  wiced_bt_mesh_light_hsl_status_data_t
 Light HSL Status Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_hsl_target_status_data_t
 Light HSL Target Status Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_hsl_set_t
 Light HSL Set Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_hsl_hue_set_t
 Light HSL Hue Set Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_hsl_saturation_set_t
 Light HSL Saturation Set Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_hsl_default_data_t
 Light HSL Set Default Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_hsl_hue_status_data_t
 Light HSL Hue status Data structure exchanged between the application and Light HSL Model. More...
 
struct  wiced_bt_mesh_light_hsl_saturation_status_data_t
 Light HSL Saturation Status Data structure exchanged between the application and Light HSL Model. More...
 
struct  wiced_bt_mesh_light_hsl_range_set_data_t
 Light HSL Range Set Data structure exchanged between the application and Light HSL Level Model. More...
 
struct  wiced_bt_mesh_light_hsl_range_status_data_t
 Light HSL Range Set Data structure exchanged between the application and Light HSL Level Model. More...
 
struct  wiced_bt_mesh_light_hsl_default_status_data_t
 Light HSL Range Default Status structure exchanged between the application and Light HSL Level Model. More...
 
struct  wiced_bt_mesh_light_xyl_data_t
 Data structure reppresenting the state of the Light xyL device. More...
 
struct  wiced_bt_mesh_light_xyl_xy_settings_t
 Light xyL x_y_default and range settings. More...
 
struct  wiced_bt_mesh_light_xyl_status_data_t
 Light xyL Status Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_xyl_target_status_data_t
 Light xyL Target Value Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_xyl_set_t
 Light xyL Set Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_xyl_default_data_t
 Light xyL Set Default Data structure exchanged between the application and the models library. More...
 
struct  wiced_bt_mesh_light_xyl_range_set_data_t
 Light xyL Range Set Data structure exchanged between the application and Light xyL Level Model. More...
 
struct  wiced_bt_mesh_light_xyl_range_status_data_t
 Light xyL Range Set Data structure exchanged between the application and Light xyL Level Model. More...
 
struct  wiced_bt_mesh_light_xyl_default_status_data_t
 Light xyL Range Default Status structure exchanged between the application and Light xyL Level Model. More...
 
struct  wiced_bt_mesh_light_lc_mode_set_data_t
 Light LC Mode Set data structure exchanged between the application and Light LC library. More...
 
struct  wiced_bt_mesh_light_lc_occupancy_mode_set_data_t
 Light LC Occupancy Mode Set data structure exchanged between the application and Light LC library. More...
 
struct  wiced_bt_mesh_light_lc_light_onoff_set_data_t
 Light LC Light OnOff Set data structure exchanged between the application and Light LC library. More...
 
struct  wiced_bt_mesh_light_lc_light_onoff_status_data_t
 Light LC Light OnOff Status data structure exchanged between the application and Light LC library. More...
 
struct  wiced_bt_mesh_light_lc_linear_out_set_data_t
 Light LC Light OnOff Set data structure exchanged between the application and Light LC library. More...
 
struct  wiced_bt_mesh_light_lc_property_get_data_t
 Light LC Property Get Data structure exchanged between the application and Light LC library. More...
 
struct  wiced_bt_mesh_light_lc_property_set_data_t
 Light LC Property Set Data structure exchanged between the application and Light LC library. More...
 
struct  wiced_bt_mesh_light_lc_property_status_data_t
 Light LC Property Status Data structure exchanged between the application and Light LC library. More...
 

Macros

#define WICED_BT_MESH_VENDOR_DATA   8
 Vendor data received from peer device.
 
#define WICED_BT_MESH_TIME_GET   140
 Get Time state.
 
#define WICED_BT_MESH_TIME_SET   141
 Set Time state.
 
#define WICED_BT_MESH_TIME_STATUS   142
 Get Time status.
 
#define WICED_BT_MESH_TIME_ROLE_GET   143
 Get Time role state.
 
#define WICED_BT_MESH_TIME_ROLE_SET   144
 Set Time role state.
 
#define WICED_BT_MESH_TIME_ROLE_STATUS   145
 Time role state value reported by time setup model.
 
#define WICED_BT_MESH_TIME_ZONE_GET   146
 Get Time zone state.
 
#define WICED_BT_MESH_TIME_ZONE_SET   147
 Set Time zone state.
 
#define WICED_BT_MESH_TIME_ZONE_STATUS   148
 Time zone status values reported by time model.
 
#define WICED_BT_MESH_TAI_UTC_DELTA_GET   149
 Get Time delta state.
 
#define WICED_BT_MESH_TAI_UTC_DELTA_SET   150
 Set Time delta state.
 
#define WICED_BT_MESH_TAI_UTC_DELTA_STATUS   151
 Time Delta state values reported by time model.
 
#define WICED_BT_MESH_TIME_CHANGED   152
 Time changed event state.
 
#define WICED_BT_MESH_TX_COMPLETE   255
 Transmission completed, or timeout waiting for peer ack. More...
 
#define WICED_BT_MESH_MAX_PROP_VAL_LEN   36
 
#define WICED_BT_MESH_SENSOR_MAX_SERIES_COLUMN   5
 
#define WICED_BT_MESH_SENSOR_MAX_SETTINGS   5
 
#define WICED_BT_MESH_MAX_SENSOR_PAYLOAD_LEN   380
 
#define WICED_BT_MESH_SENSOR_SETTING_READABLE   0x01
 
#define WICED_BT_MESH_SENSOR_SETTING_READABLE_AND_WRITABLE   0x03
 
#define WICED_BT_MESH_SCENE_REQUEST_TYPE_STORE   0
 
#define WICED_BT_MESH_SCENE_REQUEST_TYPE_DELETE   1
 
#define WICED_BT_MESH_SCENE_REQUEST_TYPE_GET   2
 
#define WICED_BT_MESH_MODELS_MAX_SCENES   100
 
#define WICED_BT_MESH_SCHEDULER_EVERY_YEAR   0x64
 Scheduled event should happen every year.
 
#define WICED_BT_MESH_SCHEDULER_EVERY_DAY   0x00
 Scheduled event should happen every day.
 
#define WICED_BT_MESH_MODELS_MAX_UNIQUE_MODELS_ON_NODE   20
 
#define WICED_BT_BATTERY_LEVEL_UNKNOWN   0xff
 Current battery level unknown.
 
#define WICED_BT_BATTERY_TIME_TO_DISCHARGE_UNKNOWN   0xffffff
 Time to full discharge unknown.
 
#define WICED_BT_BATTERY_TIME_TO_CHARGE_UNKNOWN   0xffffff
 Time to full charge unknown.
 
#define CONVERT_TOLERANCE_PERCENTAGE_TO_MESH(A)   ((4095 * A)/100)
 
#define WICED_BT_MESH_ONOFF_MAX_RETRANSMIT_TIME   6
 Max retransmit duration for on/off set command in seconds.
 
#define WICED_BT_MESH_TRANSITION_TIME_DEFAULT   0xFFFFFFFF
 Application or parent model should use default setting for transition time.
 
#define WICED_BT_MESH_LEVEL_MAX_RETRANSMIT_TIME   6
 Max retransmit duration for level set command in seconds. More...
 
#define WICED_BT_MESH_LEVEL_MOVE_MAX_TRANSITION_TIME   0x3E
 Max transition time for Move command.
 
#define WICED_BT_MESH_LEVEL_DELTA_START   0
 Delta transaction start.
 
#define WICED_BT_MESH_LEVEL_DELTA_CONTINUATION   1
 Delta transaction continuation.
 
#define WICED_BT_MESH_LEVEL_MOVE_START   0
 Move transaction start.
 
#define WICED_BT_MESH_LEVEL_MOVE_STOP   1
 Move transaction stop.
 
#define WICED_BT_MESH_PROPERTY_TYPE_CLIENT   0
 Property types defined in the Mesh Models specifications wiced_bt_mesh_property_type enumeration. More...
 
#define WICED_BT_MESH_PROPERTY_TYPE_ADMIN   1
 Property type admin.
 
#define WICED_BT_MESH_PROPERTY_TYPE_MANUFACTURER   2
 Property type manufacturer.
 
#define WICED_BT_MESH_PROPERTY_TYPE_USER   3
 Property type user.
 
#define MESH_MAX_PROPERTY_VALUE_LEN   32 /* ToDo */
 
#define MESH_MAX_LIGHT_LC_PROPERTY_VALUE_LEN   4
 Light LC maximum property value len.
 
#define WICED_BT_MESH_MODEL_BATTERY_SERVER   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_BATTERY_SRV, wiced_bt_mesh_model_battery_server_message_handler, NULL, NULL }
 Mesh Battery Server Device. More...
 
#define WICED_BT_MESH_MODEL_ONOFF_SERVER
 Mesh OnOff Server Device. More...
 
#define WICED_BT_MESH_MODEL_ONOFF_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_ONOFF_CLNT, wiced_bt_mesh_model_onoff_client_message_handler, NULL, NULL }
 Mesh On/Off Client Device. More...
 
#define WICED_BT_MESH_MODEL_LEVEL_SERVER
 Mesh Level Server Device. More...
 
#define WICED_BT_MESH_MODEL_DEFAULT_TRANSITION_TIME_SERVER   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_DEFTT_SRV, wiced_bt_mesh_model_default_transition_time_server_message_handler, NULL, NULL }
 Mesh Default Transition Time Server Module. More...
 
#define WICED_BT_MESH_MODEL_POWER_ONOFF_SERVER
 Mesh Power OnOff Server Device. More...
 
#define WICED_BT_MESH_MODEL_POWER_LEVEL_SERVER
 Mesh Power Level Server Device Composition Data. More...
 
#define WICED_BT_MESH_MODEL_POWER_LEVEL_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_POWER_LEVEL_CLNT, wiced_bt_mesh_model_power_level_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_LIGHT_LIGHTNESS_SERVER
 Mesh Light Lightness Server Device. More...
 
#define WICED_BT_MESH_MODEL_LIGHT_LIGHTNESS_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_LIGHT_LIGHTNESS_CLNT, wiced_bt_mesh_model_light_lightness_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_LIGHT_CTL_SERVER
 Mesh Light CTL Server Device. More...
 
#define WICED_BT_MESH_MODEL_LIGHT_CTL_TEMPERATURE_SERVER
 
#define WICED_BT_MESH_MODEL_LIGHT_CTL_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_LIGHT_CTL_CLNT, wiced_bt_mesh_model_light_ctl_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_LIGHT_HSL_SERVER
 Mesh Light HSL Server device definition. More...
 
#define WICED_BT_MESH_MODEL_LIGHT_HSL_HUE_SERVER
 
#define WICED_BT_MESH_MODEL_LIGHT_HSL_SATURATION_SERVER
 
#define WICED_BT_MESH_MODEL_LIGHT_HSL_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_LIGHT_HSL_CLNT, wiced_bt_mesh_model_light_hsl_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_LIGHT_XYL_SERVER
 Mesh Light XYL Server Device. More...
 
#define WICED_BT_MESH_MODEL_LIGHT_XYL_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_LIGHT_XYL_CLNT, wiced_bt_mesh_model_light_xyl_client_message_handler, NULL, NULL }
 
#define MESH_NODE_ID_INVALID   0x0000
 
Definition for messages exchanged between an app and Generic Battery Model

#define WICED_BT_MESH_BATTERY_GET   0
 Get battery state.
 
#define WICED_BT_MESH_BATTERY_STATUS   1
 Reply to get battery or battery changed notification.
 
Definition for messages exchanged between an app and Generic Location Model

#define WICED_BT_MESH_LOCATION_GLOBAL_GET   2
 Get global location.
 
#define WICED_BT_MESH_LOCATION_GLOBAL_STATUS   4
 Reply to get/set global location or global location changed notification.
 
#define WICED_BT_MESH_LOCATION_LOCAL_GET   5
 Get local location.
 
#define WICED_BT_MESH_LOCATION_LOCAL_STATUS   7
 Reply to get/set local location or local location changed notification.
 
Definition for messages exchanged between an app and Generic OnOff Model

#define WICED_BT_MESH_ONOFF_STATUS   10
 Reply to get/set on off message or on off state changed notification.
 
Definition for messages exchanged between an app and Generic Level Model

#define WICED_BT_MESH_LEVEL_STATUS   16
 Reply to level message or level state changed notification.
 
Definition for messages exchanged between an app and Generic Default Transition Time Service Model

#define WICED_BT_MESH_DEFAULT_TRANSITION_TIME_STATUS   20
 Reply to get/set default transition time message.
 
Definition for messages exchanged between an app and Generic Power OnOff Model and Generic Power OnOff Setup Model

#define WICED_BT_MESH_POWER_ONOFF_ONPOWERUP_STATUS   23
 Reply to get power on off message or power on off state changed notification.
 
Definition for messages exchanged between an app and Generic Power Level Model and Generic Power Level Setup Models

#define WICED_BT_MESH_POWER_LEVEL_STATUS   28
 Reply to power level message or level state changed notification.
 
#define WICED_BT_MESH_POWER_LEVEL_LAST_STATUS   33
 Reply to Get Last Power Level message.
 
#define WICED_BT_MESH_POWER_LEVEL_DEFAULT_STATUS   34
 Reply to Get default Power :evel message or default changed notification.
 
#define WICED_BT_MESH_POWER_LEVEL_RANGE_STATUS   35
 Reply to Get range power level message or range changed notification.
 
Definition for messages exchanged between an app and Light Lightness Model and Light Lightness Setup Models

#define WICED_BT_MESH_LIGHT_LIGHTNESS_CONTROL   38
 Set command received from the external source.
 
#define WICED_BT_MESH_LIGHT_LIGHTNESS_STATUS   40
 Reply to Light Lightness Get/Set message or Light Lightness Actual changed notification.
 
#define WICED_BT_MESH_LIGHT_LIGHTNESS_LINEAR_STATUS   43
 Reply to Light Lightness Get/Set message or Light Lightness Status changed notification.
 
#define WICED_BT_MESH_LIGHT_LIGHTNESS_LAST_STATUS   45
 Reply to Get last Light Lightness Actual message.
 
#define WICED_BT_MESH_LIGHT_LIGHTNESS_DEFAULT_STATUS   46
 Reply to Get Light Lightness Actual default message or default level state changed notification.
 
#define WICED_BT_MESH_LIGHT_LIGHTNESS_RANGE_STATUS   47
 Reply to Get Light Lightness Actual range message or range changed notification.
 
Definition for messages exchanged between an app and Light CTL Model and Light CTL Setup Models

#define WICED_BT_MESH_LIGHT_CTL_STATUS   54
 Reply to Light CTL Get/Set message or Light CTL changed notification.
 
#define WICED_BT_MESH_LIGHT_CTL_TEMPERATURE_STATUS   59
 Reply to Get last Light CTL message.
 
#define WICED_BT_MESH_LIGHT_CTL_DEFAULT_STATUS   61
 Reply to Get Light CTL default message or default level state changed notification.
 
#define WICED_BT_MESH_LIGHT_CTL_TEMPERATURE_RANGE_STATUS   63
 Reply to Get Light CTL range message or range changed notification.
 
#define WICED_BT_MESH_LIGHT_HSL_STATUS   66
 Reply to Light HSL Get/Set message or Light HSL changed notification.
 
#define WICED_BT_MESH_LIGHT_HSL_TARGET_STATUS   68
 Light HSL Target status.
 
#define WICED_BT_MESH_LIGHT_HSL_DEFAULT_STATUS   69
 Reply to Get Light HSL default message or default level state changed notification.
 
#define WICED_BT_MESH_LIGHT_HSL_RANGE_STATUS   71
 Reply to Get Light HSL range message or range changed notification.
 
#define WICED_BT_MESH_LIGHT_HSL_HUE_STATUS   73
 Reply to Get/Set Light HSL Hue message.
 
#define WICED_BT_MESH_LIGHT_HSL_SATURATION_STATUS   75
 Light HSL Saturation changed or reply message.
 
#define WICED_BT_MESH_LIGHT_XYL_STATUS   78
 Reply to Light xyL Get/Set message or Light xyL changed notification.
 
#define WICED_BT_MESH_LIGHT_XYL_TARGET_STATUS   80
 Light xyL Target values.
 
#define WICED_BT_MESH_LIGHT_XYL_DEFAULT_STATUS   81
 Reply to Get Light xyL default message or default level state changed notification.
 
#define WICED_BT_MESH_LIGHT_XYL_RANGE_STATUS   83
 Reply to Get Light xyL range message or range changed notification.
 
#define WICED_BT_MESH_LIGHT_XYL_X_STATUS   85
 Reply to Get last Light xyL message.
 
#define WICED_BT_MESH_LIGHT_XYL_Y_STATUS   87
 Reply to Get last Light xyL message.
 
#define WICED_BT_MESH_LIGHT_LC_MODE_STATUS   90
 Reply to Light LC Mode Get/Set.
 
#define WICED_BT_MESH_LIGHT_LC_OCCUPANCY_MODE_STATUS   93
 Reply to Light LC Occupancy Mode Get/Set.
 
#define WICED_BT_MESH_LIGHT_LC_LIGHT_ONOFF_STATUS   96
 Reply to Light LC Light OnOff Get/Set.
 
#define WICED_BT_MESH_LIGHT_LC_PROPERTY_GET   97
 Get Light LC Property Get state.
 
#define WICED_BT_MESH_LIGHT_LC_PROPERTY_STATUS   99
 Reply to Light LC Property Get/Set.
 
Definition for messages exchanged between an app and Generic User Property Model

#define WICED_BT_MESH_USER_PROPERTY_GET   100
 Get Property state.
 
#define WICED_BT_MESH_ADMIN_PROPERTIES_STATUS   102
 A list of the Admin Properties reported by the peer.
 
#define WICED_BT_MESH_ADMIN_PROPERTY_STATUS   103
 Reply to get/set Property message or Property state changed notification.
 
#define WICED_BT_MESH_MANUF_PROPERTIES_STATUS   104
 A list of the Manufacturer Properties reported by the peer.
 
#define WICED_BT_MESH_MANUF_PROPERTY_STATUS   105
 Reply to get/set Property message or Property state changed notification.
 
#define WICED_BT_MESH_USER_PROPERTIES_STATUS   106
 A list of the User Properties reported by the peer.
 
#define WICED_BT_MESH_USER_PROPERTY_STATUS   107
 Reply to get/set Property message or Property state changed notification.
 
#define WICED_BT_MESH_CLIENT_PROPERTIES_STATUS   108
 A list of the Client Properties reported by the peer.
 
Definition for messages exchanged between an app and Sensor Model

#define WICED_BT_MESH_SENSOR_DESCRIPTOR_STATUS   111
 A list of the Descriptors reported by the peer.
 
#define WICED_BT_MESH_SENSOR_GET   112
 Library asks application to report sensor data for a property or all properties of an element. More...
 
#define WICED_BT_MESH_SENSOR_STATUS   113
 A list of the sensor values reported by the peer.
 
#define WICED_BT_MESH_SENSOR_COLUMN_GET   114
 Get Sensor Column values from the peer.
 
#define WICED_BT_MESH_SENSOR_COLUMN_STATUS   115
 A list of the sensor Column values from the peer.
 
#define WICED_BT_MESH_SENSOR_SERIES_GET   116
 Get sensor Series values from the peer.
 
#define WICED_BT_MESH_SENSOR_SERIES_STATUS   117
 A list of the Series values reported by the peer.
 
#define WICED_BT_MESH_SENSOR_CADENCE_GET   120
 Get Sensor Cadence state.
 
#define WICED_BT_MESH_SENSOR_CADENCE_STATUS   123
 Sensor Cadence state values reported by peer.
 
#define WICED_BT_MESH_SENSOR_SETTINGS_GET   124
 Get Sensor Settings list from the peer.
 
#define WICED_BT_MESH_SENSOR_SETTINGS_STATUS   125
 A list of the sensor setting values reported by the peer.
 
#define WICED_BT_MESH_SENSOR_SETTING_GET   126
 Get Sensor Setting state.
 
#define WICED_BT_MESH_SENSOR_SETTING_STATUS   129
 Sensor Setting state values reported by peer.
 
Definition for messages exchanged between an app and Scene Model

#define WICED_BT_MESH_SCENE_GET   130
 Get the scene.
 
#define WICED_BT_MESH_SCENE_RECALL   131
 Recall the scene.
 
#define WICED_BT_MESH_SCENE_STORE   132
 Store the scene.
 
#define WICED_BT_MESH_SCENE_DELETE   133
 Delete the scene.
 
#define WICED_BT_MESH_SCENE_STATUS   134
 Scene Status reply.
 
#define WICED_BT_MESH_SCENE_REGISTER_STATUS   135
 Scene Register Status reply.
 
Definition for messages exchanged between an app and Scheduler Model

#define WICED_BT_MESH_SCHEDULER_GET   135
 Get the scheduler register.
 
#define WICED_BT_MESH_SCHEDULER_STATUS   136
 Scheduler register status reported by the peer.
 
#define WICED_BT_MESH_SCHEDULER_ACTION_GET   137
 Get the scheduler entry.
 
#define WICED_BT_MESH_SCHEDULER_ACTION_STATUS   139
 Scheduler entry status reply.
 
Scheduler Actions

#define WICED_BT_MESH_SCHEDULER_ACTION_TURN_OFF   0
 Scheduler action Turn Off.
 
#define WICED_BT_MESH_SCHEDULER_ACTION_TURN_ON   1
 Scheduler action Turn On.
 
#define WICED_BT_MESH_SCHEDULER_ACTION_SCENE_RECALL   2
 Scheduler action Scene Recall.
 
#define WICED_BT_MESH_SCHEDULER_ACTION_NONE   0x0f
 Scheduler action None.
 
Scheduler Hours

#define WICED_BT_MESH_SCHEDULER_EVERY_HOUR   0x18
 Scheduled event should happen every hour.
 
#define WICED_BT_MESH_SCHEDULER_RANDOM_HOUR   0x19
 Scheduled event should happen on a random hour.
 
Scheduler Minutes

#define WICED_BT_MESH_SCHEDULER_EVERY_MINUTE   0x3C
 Scheduled event should happen every minute.
 
#define WICED_BT_MESH_SCHEDULER_EVERY_15_MINUTES   0x3D
 Scheduled event should happen every 15 minutes.
 
#define WICED_BT_MESH_SCHEDULER_EVERY_20_MINUTES   0x3E
 Scheduled event should happen every 20 minutes.
 
#define WICED_BT_MESH_SCHEDULER_RANDOM_MINUTE   0x3F
 Scheduled event should happen on a random minute.
 
Scheduler Seconds

#define WICED_BT_MESH_SCHEDULER_EVERY_SECOND   0x3C
 Scheduled event should happen every second.
 
#define WICED_BT_MESH_SCHEDULER_EVERY_15_SECONDS   0x3D
 Scheduled event should happen every 15 seconds.
 
#define WICED_BT_MESH_SCHEDULER_EVERY_20_SECONDS   0x3E
 Scheduled event should happen every 20 seconds.
 
#define WICED_BT_MESH_SCHEDULER_RANDOM_SECOND   0x3F
 Scheduled event should happen on a random second.
 
Battery Presence Flags

#define WICED_BT_MESH_BATTERY_FLAG_NOT_PRESENT   0x00
 The battery is not present.
 
#define WICED_BT_MESH_BATTERY_FLAG_PRESENT_REMOVABLE   0x01
 The battery is present and is removable.
 
#define WICED_BT_MESH_BATTERY_FLAG_PRESENT_NON_REMOVABLE   0x02
 The battery is present and is non-removable.
 
#define WICED_BT_MESH_BATTERY_FLAG_PRESENCE_UNKNOWN   0x03
 The battery presence is unknown.
 
Battery Indicator Flags

#define WICED_BT_MESH_BATTERY_FLAG_LEVEL_CRITICALLY_LOW   0x00
 The battery charge is Critically Low Level. More...
 
#define WICED_BT_MESH_BATTERY_FLAG_LEVEL_LOW   0x01
 The battery charge is Low Level. More...
 
#define WICED_BT_MESH_BATTERY_FLAG_LEVEL_GOOD   0x02
 The battery charge is Good Level. More...
 
#define WICED_BT_MESH_BATTERY_FLAG_LEVEL_UNKNOWN   0x03
 The battery charge is unknown. More...
 
Battery Charging State Flags

#define WICED_BT_MESH_BATTERY_FLAG_NOT_CHARGABLE   0x00
 The battery is not chargeable. More...
 
#define WICED_BT_MESH_BATTERY_FLAG_NOT_CHARGING   0x01
 The battery is chargeable and is not charging. More...
 
#define WICED_BT_MESH_BATTERY_FLAG_CHARGING   0x02
 The battery is chargeable and is charging. More...
 
#define WICED_BT_MESH_BATTERY_FLAG_CHARGING_UNKNOWN   0x03
 The battery charging state is unknown. More...
 
Battery Service Required State Flags

#define WICED_BT_MESH_BATTERY_FLAG_SERVICE_NOT_REQUIRED   0x01
 The battery does not require service. More...
 
#define WICED_BT_MESH_BATTERY_FLAG_SERVICE_REQUIRED   0x02
 The battery requires service. More...
 
#define WICED_BT_MESH_BATTERY_FLAG_SERVICABILITY_UNKNOWN   0x03
 The battery serviceability is unknown. More...
 

Typedefs

typedef uint8_t wiced_bt_mesh_battery_presence_t
 Generic Battery Flags Presence State (see Battery Presence Flags)
 
typedef uint8_t wiced_bt_mesh_battery_indicator_t
 Generic Battery Flags Indicator States (see Battery Indicator Flags)
 
typedef uint8_t wiced_bt_mesh_battery_charging_t
 Generic Battery Flags Charging States (see Battery Charging Flags)
 
typedef uint8_t wiced_bt_mesh_battery_servicibility_t
 Generic Battery Flags Serviceability States (see Battery Service Required Flags)
 
typedef uint16_t(* wiced_model_scene_store_handler_t )(uint8_t element_idx, uint8_t *p_buffer, uint16_t buf_size)
 Scene store message handler. More...
 
typedef uint16_t(* wiced_model_scene_recall_handler_t )(uint8_t element_idx, uint8_t *p_buffer, uint16_t buf_size, uint32_t transition_time, uint32_t delay)
 Scene retrieve message handler. More...
 
typedef void( wiced_bt_mesh_battery_server_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event)
 Battery Server callback. More...
 
typedef void( wiced_bt_mesh_battery_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, mesh_battery_event_t *p_data)
 Battery Client callback. More...
 
typedef void( wiced_bt_mesh_location_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Location Server callback. More...
 
typedef void( wiced_bt_mesh_location_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Location Client callback. More...
 
typedef void( wiced_bt_mesh_onoff_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Generic On/Off Server callback. More...
 
typedef void( wiced_bt_mesh_onoff_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 On/Off Client callback is called by the Mesh Models library on receiving a On/Off status message from the peer. More...
 
typedef void( wiced_bt_mesh_level_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Generic Level Server callback is called by the Mesh Models library when the level needs to be changed. More...
 
typedef void( wiced_bt_mesh_level_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Generic Level Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_default_transition_time_server_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *wiced_bt_mesh_default_transition_time_data_t)
 Generic Default Transition Time Server callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_default_transition_time_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Default Transition Time Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_power_onoff_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Generic Power On/Off Server callback. More...
 
typedef void( wiced_bt_mesh_power_onoff_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Power On/Off Client callback is called by the Mesh Models library on receiving WICED_BT_MESH_POWER_ONOFF_ONPOWERUP_STATUS message from the peer. More...
 
typedef void( wiced_bt_mesh_power_level_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Generic Power Level Server callback. More...
 
typedef void( wiced_bt_mesh_power_level_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Power Level Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_property_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Generic User Property Server callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_property_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Property Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_light_lightness_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Light Lightness Server callback. More...
 
typedef void( wiced_bt_mesh_light_lightness_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Light Lightness Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_light_ctl_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Light CTL Server callback. More...
 
typedef void( wiced_bt_mesh_light_ctl_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Light CTL Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_light_hsl_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Light HSL Server callback. More...
 
typedef void( wiced_bt_mesh_light_hsl_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Light HSL Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_light_xyl_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Light XYL Server callback. More...
 
typedef void( wiced_bt_mesh_light_xyl_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Light xyL Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_light_lc_server_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 Light Control Setup Server callback is called by the Mesh Models library on receiving a message from the peer Application or higher level model should be able process messages for the Light LC Setup server model as well as bound models including generic Light Lightness, Power On/Off, Generic Level and Generic On/Off. More...
 
typedef void( wiced_bt_mesh_light_lc_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Light Control Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_sensor_server_config_callback_t )(uint8_t element_idx, uint16_t event, void *p_data)
 
typedef void( wiced_bt_mesh_sensor_server_report_callback_t )(uint16_t event, uint8_t element_idx, void *p_get_params, void *p_ref_data)
 
typedef void( wiced_bt_mesh_sensor_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Sensor Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_scene_server_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Scene Server callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_scene_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Scene Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_time_server_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Time Server callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_time_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Time Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_scheduler_server_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Scheduler Server callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void( wiced_bt_mesh_scheduler_client_callback_t )(uint16_t event, wiced_bt_mesh_event_t *p_event, void *p_data)
 Scheduler Client callback is called by the Mesh Models library on receiving a message from the peer. More...
 
typedef void(* wiced_bt_mesh_unprovisioned_device_cb_t )(uint8_t *p_uuid, uint16_t oob, uint32_t uri_hash, int8_t rssi)
 

Functions

uint64_t wiced_bt_mesh_core_get_tick_count (void)
 
void wiced_bt_mesh_model_battery_server_init (wiced_bt_mesh_battery_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Battery Server Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_battery_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Battery Server Message Handler. More...
 
wiced_result_t wiced_bt_mesh_battery_server_send_status (wiced_bt_mesh_event_t *p_event, mesh_battery_event_t *p_data)
 The application can call this function to send status message to the Battery Client. More...
 
void wiced_bt_mesh_model_battery_client_init (wiced_bt_mesh_battery_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Battery Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_battery_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Battery Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_battery_client_send_get (wiced_bt_mesh_event_t *p_event)
 Battery Client Send. More...
 
void wiced_bt_mesh_model_location_server_init (wiced_bt_mesh_location_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Location Server initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_location_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Location Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_location_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Location Setup Server Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_location_server_send (uint16_t type, wiced_bt_mesh_event_t *p_event, void *p_data)
 The application can call this function to send status message to the Location Client. More...
 
void wiced_bt_mesh_model_location_client_init (wiced_bt_mesh_location_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Location Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_location_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Location Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_location_client_send_global_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Global Location Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_location_client_send_global_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_location_global_data_t *p_location_data)
 The application can call this function to send Set Global Location client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_location_client_send_local_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Get Location client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_location_client_send_local_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_location_local_data_t *p_location_data)
 The application can call this function to send Set Location client message to the server. More...
 
void wiced_bt_mesh_model_onoff_server_init (uint8_t element_idx, wiced_bt_mesh_onoff_server_callback_t *p_callback, uint32_t transition_interval, wiced_bool_t is_provisioned)
 On/Off Server Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_onoff_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 On/Off Server Message Handler. More...
 
uint16_t wiced_bt_mesh_model_onoff_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 On/Off Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_onoff_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 On/Off Server Scene Recall Handler. More...
 
void wiced_bt_mesh_model_onoff_changed (uint8_t element_idx, uint8_t onoff)
 If On/Off state of the device can be changed locally, the application shall call this function to notify OnOff library that the value has been changed. More...
 
void wiced_bt_mesh_model_onoff_client_init (uint8_t element_idx, wiced_bt_mesh_onoff_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 On/Off Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_onoff_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 On/Off Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_onoff_client_get (uint8_t element_idx)
 The application can call this function to send get On/Off state client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_onoff_client_send_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send get On/Off state client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_onoff_client_set (uint8_t element_idx, wiced_bt_mesh_onoff_set_data_t *p_data)
 The application can call this function to send On/Off command. More...
 
wiced_result_t wiced_bt_mesh_model_onoff_client_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_onoff_set_data_t *p_data)
 The application can call this function to send Set OnOff client message to the server. More...
 
void wiced_bt_mesh_model_level_server_init (uint8_t element_idx, wiced_bt_mesh_level_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Level Server Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_level_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Level Server Message Handler. More...
 
uint16_t wiced_bt_mesh_model_level_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 Level Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_level_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 Level Server Scene Store Handler. More...
 
void wiced_bt_mesh_model_level_changed (uint8_t element_idx, int16_t value)
 An application can call this function to notify Generic Level library that the value has been changed locally. More...
 
wiced_bool_t wiced_bt_mesh_model_level_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Generic Level Client Message Handler. More...
 
void wiced_bt_mesh_model_level_client_init (uint8_t element_idx, void *p_callback, wiced_bool_t is_provisioned)
 Level Client Module initialization. More...
 
wiced_result_t wiced_bt_mesh_model_level_client_set (uint8_t element_idx, wiced_bool_t is_final, wiced_bt_mesh_level_set_level_t *p_data)
 The application can call this function to send Set Level client message. More...
 
wiced_result_t wiced_bt_mesh_model_level_client_send_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Generic Level Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_level_client_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_level_set_level_t *p_data)
 The application can call this function to send Set Level client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_level_client_send_delta_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_level_set_delta_t *p_data)
 The application can call this function to send Set Delta Level client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_level_client_send_move_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_level_set_move_t *p_data)
 The application can call this function to send Set Move client message to the server. More...
 
void wiced_bt_mesh_model_default_transition_time_server_init (uint8_t element_idx, wiced_bt_mesh_default_transition_time_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Generic Default Transition Time Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_default_transition_time_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Default Transition Time Server Message Handler. More...
 
void wiced_bt_mesh_model_default_transition_time_client_init (uint8_t element_idx, wiced_bt_mesh_default_transition_time_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Default Transition Time Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_default_transition_time_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Default Transition Time Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_default_transition_time_client_send_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send get Default Transition Time client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_default_transition_time_client_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_default_transition_time_data_t *p_data)
 The application can call this function to send Set Default Transition Time client message to the server. More...
 
void wiced_bt_mesh_model_power_onoff_server_init (uint8_t element_idx, wiced_bt_mesh_power_onoff_server_callback_t *p_callback, uint32_t transition_interval, wiced_bool_t is_provisioned)
 Power On/Off Server Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_power_onoff_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Power On/Off Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_power_onoff_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Power On/Off Setup Server Message Handler. More...
 
void wiced_bt_mesh_model_power_onoff_server_onoff_changed (uint8_t element_idx, uint8_t onoff)
 
void wiced_bt_mesh_model_power_onoff_client_init (uint8_t element_idx, wiced_bt_mesh_power_onoff_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Power On/Off Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_power_onoff_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Generic Power OnOff Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_power_onoff_client_send_onpowerup_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Get Power On/Off state client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_power_onoff_client_send_onpowerup_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_power_onoff_data_t *p_data)
 The application can call this function to send Set OnOff client message to the server. More...
 
void wiced_bt_mesh_model_power_level_server_init (uint8_t element_idx, wiced_bt_mesh_power_level_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Power Level Module initialization. More...
 
void wiced_bt_mesh_model_power_level_server_level_changed (uint8_t element_idx, uint16_t level)
 Power Level Changed. More...
 
wiced_bool_t wiced_bt_mesh_model_power_level_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Power Level Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_power_level_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Power Level Setup Server Message Handler. More...
 
uint16_t wiced_bt_mesh_model_power_level_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 Power Level Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_power_level_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 Power Level Server Scene Store Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_power_level_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Generic Power Level Client Message Handler. More...
 
void wiced_bt_mesh_model_power_level_client_init (uint8_t element_idx, wiced_bt_mesh_power_level_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Power Level Client Module initialization. More...
 
wiced_result_t wiced_bt_mesh_model_power_level_client_send_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Generic Power Level Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_power_level_client_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_power_level_set_level_t *p_data)
 The application can call this function to send Set Level client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_power_level_client_send_last_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Get Last Level client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_power_level_client_send_default_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Get Default Level client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_power_level_client_send_default_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_power_default_data_t *p_data)
 The application can call this function to send Set Default Level client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_power_level_client_send_range_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Get Range Level client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_power_level_client_send_range_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_power_level_range_set_data_t *p_data)
 The application can call this function to send Set Range Level client message to the server. More...
 
void wiced_bt_mesh_model_property_server_init (uint8_t element_idx, wiced_bt_mesh_property_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Property Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_user_property_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 User Property Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_admin_property_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Admin Property Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_manufacturer_property_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Manufacturer Property Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_client_property_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Client Property Server Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_property_server_send_properties_status (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_properties_status_data_t *p_data)
 
wiced_result_t wiced_bt_mesh_model_property_server_send_property_status (wiced_bt_mesh_event_t *p_event, uint8_t type, wiced_bt_mesh_core_config_property_t *p_property)
 
void wiced_bt_mesh_model_property_client_init (uint8_t element_idx, wiced_bt_mesh_property_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Property Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_property_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Property Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_property_client_send_properties_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_properties_get_data_t *p_data)
 The application can call this function to send Properties Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_property_client_send_property_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_property_get_data_t *p_get)
 The application can call this function to send Property Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_property_client_send_property_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_property_set_data_t *p_sata)
 The application can call this function to send Property Set client message to the server. More...
 
void wiced_bt_mesh_model_light_lightness_server_init (uint8_t element_idx, wiced_bt_mesh_light_lightness_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light Lightness Server Module initialization. More...
 
void wiced_bt_mesh_model_light_lightness_actual_changed (uint8_t element_idx, uint16_t value)
 Light Lightness Actual changed. More...
 
void wiced_bt_mesh_model_light_lightness_linear_changed (uint8_t element_idx, uint16_t value)
 Light Lightness Linear changed. More...
 
wiced_bool_t wiced_bt_mesh_model_light_lightness_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light Lightness Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_light_lightness_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light Lightness Setup Server Message Handler. More...
 
void wiced_bt_mesh_model_light_lightness_set_parent (uint8_t element_idx, wiced_bt_mesh_light_lightness_server_callback_t *p_callback)
 Light Lightness Server Set Parent. More...
 
uint16_t wiced_bt_mesh_model_light_lightness_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 Light Lightness Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_light_lightness_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 Light Lightness Server Scene Restore Handler. More...
 
void wiced_bt_mesh_model_light_lightness_client_init (uint8_t element_idx, wiced_bt_mesh_light_lightness_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light Lightness Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_light_lightness_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light Lightness Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Light Lightness Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lightness_actual_set_t *p_data)
 The application can call this function to send Light Lightness Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_linear_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Light Lightness Linear Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_linear_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lightness_linear_set_t *p_data)
 The application can call this function to send Light Lightness Linear Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_last_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Light Lightness Last Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_default_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Light Lightness Default Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_default_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lightness_default_data_t *p_data)
 The application can call this function to send Light Lightness Default Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_range_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Light Lightness Range Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lightness_client_send_range_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lightness_range_set_data_t *p_data)
 The application can call this function to send Light Lightness Default Set client message to the server. More...
 
void wiced_bt_mesh_model_light_ctl_server_init (uint8_t lightness_element_idx, wiced_bt_mesh_light_ctl_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light CTL Server Module initialization. More...
 
void wiced_bt_mesh_model_light_ctl_server_state_changed (uint8_t element_idx, wiced_bt_mesh_light_ctl_status_data_t *p_data)
 Light CTL state changed. More...
 
wiced_bool_t wiced_bt_mesh_model_light_ctl_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light CTL Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_light_ctl_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light CTL Setup Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_light_ctl_temperature_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light CTL Temperature Server Message Handler. More...
 
uint16_t wiced_bt_mesh_model_light_ctl_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 Light CTL Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_light_ctl_temperature_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 Light CTL Temperature Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_light_ctl_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 Light CTL Server Scene Restore Handler. More...
 
uint16_t wiced_bt_mesh_model_light_ctl_temperature_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 Light Temperature Server Scene Restore Handler. More...
 
void wiced_bt_mesh_model_light_ctl_server_set_startup_controller (uint8_t element_idx, wiced_bool_t startup_controller)
 Set Light CTL Model as a startup controller. More...
 
wiced_bool_t wiced_bt_mesh_model_light_ctl_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light CTL Client Message Handler. More...
 
void wiced_bt_mesh_model_light_ctl_client_init (uint8_t element_idx, wiced_bt_mesh_light_ctl_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light CTL Client Module initialization. More...
 
wiced_result_t wiced_bt_mesh_model_light_ctl_client_send_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light CTL Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_ctl_client_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_ctl_set_t *p_data)
 The application can call this function to send Light CTL Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_ctl_client_send_temperature_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light CTL Temperature Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_ctl_client_send_temperature_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_ctl_temperature_set_t *p_data)
 The application can call this function to send Light CTL Temperature Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_ctl_client_send_default_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light CTL Get Default client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_ctl_client_send_default_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_ctl_default_data_t *p_data)
 The application can call this function to send Light CTL Set Default client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_ctl_client_send_temperature_range_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light CTL Temperature Range Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_ctl_client_send_temperature_range_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_ctl_temperature_range_data_t *p_data)
 The application can call this function to send Light CTL Temperature Range Set client message to the server. More...
 
void wiced_bt_mesh_model_light_hsl_server_init (uint8_t lightness_element_idx, wiced_bt_mesh_light_hsl_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light HSL Server Module initialization. More...
 
void wiced_bt_mesh_model_light_hsl_server_state_changed (uint8_t element_idx, wiced_bt_mesh_light_hsl_status_data_t *p_data)
 Light HSL state changed. More...
 
wiced_bool_t wiced_bt_mesh_model_light_hsl_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light HSL Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_light_hsl_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light HSL Setup Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_light_hsl_hue_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light HSL Hue Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_light_hsl_saturation_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light HSL Saturation Server Message Handler. More...
 
uint16_t wiced_bt_mesh_model_light_hsl_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 Light HSL Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_light_hsl_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 Light HSL Server Scene Recall Handler. More...
 
void wiced_bt_mesh_model_light_hsl_server_set_startup_controller (uint8_t element_idx, wiced_bool_t startup_controller)
 Set Light HSL Model as a startup controller. More...
 
wiced_bool_t wiced_bt_mesh_model_light_hsl_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light HSL Client Message Handler. More...
 
void wiced_bt_mesh_model_light_hsl_client_init (uint8_t element_idx, wiced_bt_mesh_light_hsl_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light HSL Client Module initialization. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light HSL Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_hsl_set_t *p_data)
 The application can call this function to send Light HSL Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_hue_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light HSL Hue Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_hue_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_hsl_hue_set_t *p_data)
 The application can call this function to send Light HSL Hue Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_saturation_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light HSL Saturation Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_saturation_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_hsl_saturation_set_t *p_data)
 The application can call this function to send Light HSL Saturation Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_target_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light HSL Target Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_default_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light HSL Get Default client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_default_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_hsl_default_data_t *p_data)
 The application can call this function to send Light HSL Set Default client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_range_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light HSL Range Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_hsl_client_send_range_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_hsl_range_set_data_t *p_data)
 The application can call this function to send Light HSL Range Set client message to the server. More...
 
void wiced_bt_mesh_model_light_xyl_server_init (uint8_t element_idx, wiced_bt_mesh_light_xyl_server_callback_t *p_callback, wiced_bt_mesh_light_xyl_xy_settings_t *p_xy_settings, wiced_bool_t is_provisioned)
 Light XYL Module initialization. More...
 
void wiced_bt_mesh_model_light_xyl_server_state_changed (uint8_t element_idx, wiced_bt_mesh_light_xyl_status_data_t *p_data)
 Light XYL state changed. More...
 
wiced_bool_t wiced_bt_mesh_model_light_xyl_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light XYL Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_light_xyl_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light XYL Setup Server Message Handler. More...
 
uint16_t wiced_bt_mesh_model_light_xyl_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 Light xyL Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_light_xyl_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 Light xyL Server Scene Store Handler. More...
 
void wiced_bt_mesh_model_light_xyl_server_set_startup_controller (uint8_t element_idx, wiced_bool_t startup_controller)
 Set Light XYL Model as a startup controller. More...
 
wiced_bool_t wiced_bt_mesh_model_light_xyl_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light xyL Client Message Handler. More...
 
void wiced_bt_mesh_model_light_xyl_client_init (uint8_t element_idx, wiced_bt_mesh_light_xyl_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light xyL Client Module initialization. More...
 
wiced_result_t wiced_bt_mesh_model_light_xyl_client_send_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light xyL Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_xyl_client_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_xyl_set_t *p_data)
 The application can call this function to send Light xyL Set message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_xyl_client_send_target_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light xyL Target Get message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_xyl_client_send_default_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light xyL Get Default client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_xyl_client_send_default_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_xyl_default_data_t *p_data)
 The application can call this function to send Light xyL Set Default client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_xyl_client_send_range_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send Light xyL Range Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_xyl_client_send_range_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_xyl_range_set_data_t *p_data)
 The application can call this function to send Light xyL Range Set client message to the server. More...
 
wiced_bool_t wiced_bt_mesh_model_light_lc_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light LC Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_light_lc_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light LC Setup Server Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_server_send_status (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lightness_status_data_t *p_data)
 An application or a a parent model can call this function to send Light Lightness Status message to the Client. More...
 
void wiced_bt_mesh_model_light_lc_mode_changed (uint8_t element_idx, wiced_bt_mesh_light_lc_mode_set_data_t *p_status)
 Light LC Server Mode Changed. More...
 
void wiced_bt_mesh_model_light_lc_occupancy_mode_changed (uint8_t element_idx, wiced_bt_mesh_light_lc_occupancy_mode_set_data_t *p_status)
 Light LC Server Occupancy Mode Changed. More...
 
void wiced_bt_mesh_model_light_lc_occupancy_detected (uint8_t element_idx)
 Light LC Server Occupancy Detected. More...
 
void wiced_bt_mesh_model_light_lc_onoff_changed (uint8_t element_idx, wiced_bt_mesh_onoff_set_data_t *p_status)
 Light LC Server OnOff Changed. More...
 
void wiced_bt_mesh_model_light_lc_property_changed (uint8_t element_idx)
 Light LC Property Changed. More...
 
uint16_t wiced_bt_mesh_model_light_lc_server_scene_store_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len)
 Light LC Server Scene Store Handler. More...
 
uint16_t wiced_bt_mesh_model_light_lc_server_scene_recall_handler (uint8_t element_idx, uint8_t *p_buffer, uint16_t buffer_len, uint32_t transition_time, uint32_t delay)
 Light LC Server Scene Store Handler. More...
 
void wiced_bt_mesh_model_light_lc_server_init (uint8_t element_idx, wiced_bt_mesh_light_lc_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light LC Setup Server Module initialization. More...
 
void wiced_bt_mesh_model_light_lc_client_init (uint8_t element_idx, wiced_bt_mesh_power_onoff_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Light Control Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_light_lc_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Light Control Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_client_send_mode_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Light LC Mode Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_client_send_mode_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lc_mode_set_data_t *p_data)
 The application can call this function to send Light LC Mode Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_client_send_occupancy_mode_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Light LC Occupancy Mode Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_client_send_occupancy_mode_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lc_occupancy_mode_set_data_t *p_data)
 The application can call this function to send Light LC Occupancy Mode Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_client_send_light_onoff_get (wiced_bt_mesh_event_t *p_event)
 The application can call this function to send the Light LC OnOff Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_client_send_light_onoff_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lc_light_onoff_set_data_t *p_data)
 The application can call this function to send Light LC Occupancy Mode Set client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_client_send_property_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lc_property_get_data_t *p_data)
 The application can call this function to send Light LC Property Get client message to the server. More...
 
wiced_result_t wiced_bt_mesh_model_light_lc_client_send_property_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_light_lc_property_set_data_t *p_data)
 The application can call this function to send Light LC Property Set client message to the server. More...
 
void wiced_bt_mesh_model_sensor_server_init (uint8_t element_idx, wiced_bt_mesh_sensor_server_report_callback_t *p_report_callback, wiced_bt_mesh_sensor_server_config_callback_t *p_config_change_callback, wiced_bool_t is_provisioned)
 Sensor Senosr Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_sensor_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Sensor Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_sensor_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Sensor Setup Server Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_server_series_status_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_series_status_data_t *series_status_data)
 Sensor Series Status send status. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_server_column_status_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_column_status_data_t *column_status_data)
 Sensor Column Status send status. More...
 
uint16_t wiced_bt_mesh_model_format_sensor_server_data (uint8_t element_idx, uint16_t property_id, uint8_t *p_buffer, uint16_t buffer_len)
 Format Sensor Data. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_server_data (uint8_t element_idx, uint16_t property_id, void *p_ref_data)
 Sensor Status send. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_server_setting_status_send (wiced_bt_mesh_event_t *p_event, uint16_t property_id, uint16_t setting_property_id)
 Sensor Setting status. More...
 
void wiced_bt_mesh_model_sensor_client_init (uint8_t element_idx, wiced_bt_mesh_sensor_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Sensor Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_sensor_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Sensor client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_descriptor_send_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_get_t *desc_get_data)
 Sensor Descriptor get. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_sensor_send_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_get_t *sensor_get)
 Sensor Data get. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_sensor_column_send_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_column_get_data_t *column_data)
 Sensor Column get. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_sensor_series_send_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_series_get_data_t *series_data)
 Sensor Series get. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_sensor_setting_send_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_setting_get_data_t *setting_data)
 Sensor Setting get. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_sensor_settings_send_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_get_t *settings_data)
 Sensor Settings get. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_sensor_setting_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_setting_set_data_t *setting_data)
 Sensor Setting set. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_sensor_cadence_send_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_get_t *cadence_data)
 Sensor Cadence get. More...
 
wiced_result_t wiced_bt_mesh_model_sensor_client_sensor_cadence_send_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_sensor_cadence_set_data_t *cadence_set)
 Sensor Cadence set. More...
 
void wiced_bt_mesh_model_scene_server_init (wiced_bt_mesh_scene_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Scene Server Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_scene_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Scene Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_scene_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Scene Setup Server Message Handler. More...
 
void wiced_bt_mesh_model_scene_data_changed (uint8_t element_idx)
 Scene Data Changed The Scene Data Changed function should be called when any data stored with a scene has changed.
 
void wiced_bt_mesh_model_scene_client_init (uint8_t element_idx, wiced_bt_mesh_scene_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Scene Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_scene_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Scene client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_scene_client_send_request (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_scene_request_t *p_request)
 Scene Client send request. More...
 
wiced_result_t wiced_bt_mesh_model_scene_client_send_recall (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_scene_recall_t *p_request)
 Scene Client Send Recall. More...
 
wiced_result_t wiced_bt_mesh_model_scene_client_send_register_get (wiced_bt_mesh_event_t *p_event)
 Scene Client Send Register Get. More...
 
void wiced_bt_mesh_model_time_server_init (wiced_bt_mesh_time_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Time Server Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_time_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Time Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_time_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Time Setup Server Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_time_server_status_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_time_state_msg_t *p_time_status_data)
 Time server status send. More...
 
wiced_result_t wiced_bt_mesh_model_time_server_zone_status_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_time_zone_status_t *p_time_zone_status_data)
 Time zone status send. More...
 
wiced_result_t wiced_bt_mesh_model_time_server_tai_utc_delta_status_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_time_tai_utc_delta_status_t *p_time_delta_status_data)
 Time TAI_UTC delta status send. More...
 
void wiced_bt_mesh_model_time_client_init (wiced_bt_mesh_time_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Time Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_time_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Time Client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_time_client_time_get_send (wiced_bt_mesh_event_t *p_event)
 Time Get send. More...
 
wiced_result_t wiced_bt_mesh_model_time_client_time_set_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_time_state_msg_t *p_time_set_data)
 Time Set send. More...
 
wiced_result_t wiced_bt_mesh_model_time_client_time_zone_get_send (wiced_bt_mesh_event_t *p_event)
 Time Zone Get send. More...
 
wiced_result_t wiced_bt_mesh_model_time_client_time_zone_set_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_time_zone_set_t *p_set_data)
 Time Zone Set send. More...
 
wiced_result_t wiced_bt_mesh_model_time_client_tai_utc_delta_get_send (wiced_bt_mesh_event_t *p_event)
 Time TAI UTC delta Get send. More...
 
wiced_result_t wiced_bt_mesh_model_time_client_tai_utc_delta_set_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_time_tai_utc_delta_set_t *p_time_delta_set)
 Time TAI UTC delta Set send. More...
 
wiced_result_t wiced_bt_mesh_model_time_client_time_role_get_send (wiced_bt_mesh_event_t *p_event)
 Time Role get send. More...
 
wiced_result_t wiced_bt_mesh_model_time_client_time_role_set_send (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_time_role_msg_t *p_set_data)
 Time role Set send. More...
 
void wiced_bt_mesh_model_scheduler_server_init (wiced_bt_mesh_scheduler_server_callback_t *p_callback, wiced_bool_t is_provisioned)
 Scheduler Server Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_scheduler_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Scheduler Server Message Handler. More...
 
wiced_bool_t wiced_bt_mesh_model_scheduler_setup_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Scheduler Setup Server Message Handler. More...
 
void wiced_bt_mesh_model_scheduler_client_init (wiced_bt_mesh_scheduler_client_callback_t *p_callback, wiced_bool_t is_provisioned)
 Scheduler Client Module initialization. More...
 
wiced_bool_t wiced_bt_mesh_model_scheduler_client_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Scheduler client Message Handler. More...
 
wiced_result_t wiced_bt_mesh_model_scheduler_client_send_get (wiced_bt_mesh_event_t *p_event)
 Scheduler Client send Get request. More...
 
wiced_result_t wiced_bt_mesh_model_scheduler_client_send_action_get (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_scheduler_action_get_t *p_data)
 Scheduler Client Send Action Get request. More...
 
wiced_result_t wiced_bt_mesh_model_scheduler_client_send_action_set (wiced_bt_mesh_event_t *p_event, wiced_bt_mesh_scheduler_action_data_t *p_data)
 Scheduler Client Send Action Set request. More...
 
void wiced_bt_mesh_remote_provisioning_server_init (void)
 Remote Provisioning Server initialization. More...
 
wiced_bool_t wiced_bt_mesh_remote_provisioning_scan_rsp (wiced_bt_ble_scan_results_t *p_adv_report, uint8_t *p_adv_data)
 Process Scan Response Packets to check if the packet is for remote provisioning server. More...
 
wiced_bool_t wiced_bt_mesh_remote_provisioning_connectable_adv_packet (wiced_bt_ble_scan_results_t *p_adv_report, uint8_t *p_adv_data)
 Process Connectable Advertising Packets to check if the packet is for remote provisioning server. More...
 
wiced_bool_t wiced_bt_mesh_remote_provisioning_nonconnectable_adv_packet (wiced_bt_ble_scan_results_t *p_adv_report, uint8_t *p_adv_data)
 Process None Connectable Advertising Packets to check if the packet is for remote provisioning server. More...
 
void wiced_bt_mesh_models_set_trace_level (uint8_t level)
 Sets trace level for mesh_models_lib and mesh_provisioner_lib. More...
 
int wiced_bt_mesh_model_find_element_idx (uint16_t company_id, uint16_t model_id, uint8_t start_idx)
 Find model in the node configuration starting with specified element index. More...
 
wiced_bool_t wiced_bt_mesh_config_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 Config Server Model Message Handler. More...
 
void wiced_bt_mesh_config_server_send_reply (wiced_bt_mesh_event_t *p_event, uint16_t opcode, uint8_t *p_buffer, uint16_t len)
 This function can be called to send message through the core. More...
 

Variables

uint16_t wiced_bt_mesh_scene_register_nvram_id
 NVRAM sections used by different models. More...
 
uint16_t wiced_bt_mesh_scene_nvram_id_start
 
uint16_t wiced_bt_mesh_scene_nvram_id_end
 
uint16_t wiced_bt_mesh_scheduler_nvram_id_start
 
uint16_t wiced_bt_mesh_default_trans_time_nvram_id_start
 
uint16_t wiced_bt_mesh_power_level_nvram_id_start
 
uint16_t wiced_bt_mesh_power_onoff_nvram_id_start
 
uint16_t wiced_bt_mesh_light_lightness_nvram_id_start
 
uint16_t wiced_bt_mesh_light_xyl_nvram_id_start
 
uint16_t wiced_bt_mesh_light_ctl_nvram_id_start
 
uint16_t wiced_bt_mesh_light_hsl_nvram_id_start
 
uint16_t wiced_bt_mesh_light_lc_run_nvram_id_start
 
uint16_t wiced_bt_mesh_light_lc_nvram_id_start
 
uint8_t wiced_bt_mesh_scene_max_num
 
uint8_t wiced_bt_mesh_scheduler_events_max_num
 
uint8_t wiced_bt_mesh_model_timer_server_get_interval
 Interval in seconds to send time get message while the time isn't set yet. More...
 

Following macros can be used instantiate the mesh models

Following macros instantiate the mesh models on a given element.

Based on the device definition the mesh core creates a device composition data that can be read by the the provisioner.

There certain rules that application shall follow when building device composition data.

  1. The first element of the device shall always contain WICED_BT_MESH_DEVICE which instantiates models that shall be present on every device, including the Configuration Server Model and the Health Server Model.
  2. Each model consists of the model definition itself (company ID and model ID) and callback function which is executed by the Mesh Core library on receiving a mesh message. Application can use Mesh Library's callback. In that case all validation of the messages, sending responses, and other protocol requirements are executed by the model. Alternatively application can implement callback itself. In that case, customer will be required to perform certification.
  3. A model cannot be repeated twice in the same element.
#define WICED_BT_MESH_DEVICE
 Mesh Device includes Configuration Server and Health Server models. More...
 
#define WICED_BT_MESH_MODEL_CONFIG_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_CONFIG_CLNT, wiced_bt_mesh_config_client_message_handler, NULL, NULL }
 Mesh Configuration Client Model.
 
#define WICED_BT_MESH_MODEL_HEALTH_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_HEALTH_CLNT, wiced_bt_mesh_model_health_client_message_handler, NULL, NULL }
 Mesh Health Client Model.
 
#define WICED_BT_MESH_MODEL_REMOTE_PROVISION_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_REMOTE_PROVISION_CLNT, wiced_bt_mesh_config_client_message_handler, NULL, NULL }
 Mesh Remote Provisioning Model.
 
#define WICED_BT_MESH_MODEL_REMOTE_PROVISION_SERVER   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_REMOTE_PROVISION_SRV, wiced_bt_mesh_remote_provisioning_server_message_handler, NULL, NULL }
 Mesh Remote Provisioning Server Model. More...
 
#define WICED_BT_MESH_MODEL_LOCATION_SERVER
 Mesh Location Server Device. More...
 
#define WICED_BT_MESH_MODEL_USER_PROPERTY_SERVER   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_USER_PROPERTY_SRV, wiced_bt_mesh_model_user_property_server_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_ADMIN_PROPERTY_SERVER   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_ADMIN_PROPERTY_SRV, wiced_bt_mesh_model_admin_property_server_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_MANUFACTURER_PROPERTY_SERVER   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_MANUFACT_PROPERTY_SRV, wiced_bt_mesh_model_manufacturer_property_server_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_CLIENT_PROPERTY_SERVER   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_CLIENT_PROPERTY_SRV, wiced_bt_mesh_model_client_property_server_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_LIGHT_HSL_CTL_SERVER
 Mesh Light HSL/CTL Server Device. More...
 
#define WICED_BT_MESH_MODEL_LIGHT_HSL_CTL_XYL_SERVER
 Mesh Light HSL/CTL/XYL Server Device. More...
 
#define WICED_BT_MESH_MODEL_LIGHT_LC_SERVER
 Mesh Light Controller Device. More...
 
#define WICED_BT_MESH_MODEL_SENSOR_SERVER
 
#define WICED_BT_MESH_MODEL_TIME_SERVER
 
#define WICED_BT_MESH_MODEL_LEVEL_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_LEVEL_CLNT, wiced_bt_mesh_model_level_client_message_handler, NULL, NULL }
 Mesh Level Client Device. More...
 
#define WICED_BT_MESH_MODEL_DEFAULT_TRANSITION_TIME_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_DEFTT_CLNT, wiced_bt_mesh_model_default_transition_time_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_POWER_ONOFF_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_POWER_ONOFF_CLNT, wiced_bt_mesh_model_power_onoff_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_BATTERY_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_BATTERY_CLNT, wiced_bt_mesh_model_battery_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_LOCATION_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_LOCATION_CLNT, wiced_bt_mesh_model_location_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_PROPERTY_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_GENERIC_PROPERTY_CLNT, wiced_bt_mesh_model_property_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_SENSOR_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_SENSOR_CLNT, wiced_bt_mesh_model_sensor_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_SCENE_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_SCENE_CLNT, wiced_bt_mesh_model_scene_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_SCHEDULER_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_SCHEDULER_CLNT, wiced_bt_mesh_model_scheduler_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_TIME_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_TIME_CLNT, wiced_bt_mesh_model_time_client_message_handler, NULL, NULL }
 
#define WICED_BT_MESH_MODEL_LIGHT_LC_CLIENT   { MESH_COMPANY_ID_BT_SIG, WICED_BT_MESH_CORE_MODEL_ID_LIGHT_LC_CLNT, wiced_bt_mesh_model_light_lc_client_message_handler, NULL, NULL }
 
wiced_bool_t wiced_bt_mesh_remote_provisioning_server_message_handler (wiced_bt_mesh_event_t *p_event, uint8_t *p_data, uint16_t data_len)
 

Detailed Description

>

Definitions for interface between Bluetooth Mesh Models and Mesh Core

Macro Definition Documentation

#define WICED_BT_MESH_SENSOR_GET   112

Library asks application to report sensor data for a property or all properties of an element.

#define WICED_BT_MESH_TX_COMPLETE   255

Transmission completed, or timeout waiting for peer ack.

Variable Documentation

uint16_t wiced_bt_mesh_scene_register_nvram_id

NVRAM sections used by different models.

Each model uses IDs from START_ID to (START_ID + number of elements on the device) The values should be initialized by the application.