This model implements the message based interface required to set the Sensor value on the server. More...
Modules | |
Sensor client model interface | |
Sensor Setup server model interface | |
Sensor model utility functions | |
Implements the various utilities needed at various locations in the sensor code, from model to mid app to top app. | |
Data Structures | |
struct | sensor_descriptor_get_params_t |
Unpacked message structure typedefs are used for API interfaces and for implementing model code. More... | |
struct | sensor_cadence_get_params_t |
Parameters for the Sensor Cadence Get message. More... | |
struct | sensor_settings_get_params_t |
Parameters for the Sensor Settings Get message. More... | |
struct | sensor_settings_status_params_t |
Parameters for the Sensor Settings Status message. More... | |
struct | sensor_setting_get_params_t |
Parameters for the Sensor Setting Get message. More... | |
struct | sensor_setting_set_params_t |
Parameters for the Sensor Setting Set message. More... | |
struct | sensor_setting_status_params_t |
Parameters for the Sensor Setting Status message. More... | |
struct | sensor_get_params_t |
Parameters for the Sensor Get message. More... | |
struct | sensor_column_get_params_t |
Parameters for the Sensor Column Get message. More... | |
struct | sensor_column_status_params_t |
Parameters for the Sensor Column Status message. More... | |
struct | sensor_series_get_params_t |
Parameters for the Sensor Series Get message. More... | |
struct | sensor_series_status_params_t |
Parameters for the Sensor Series Status message. More... | |
struct | sensor_descriptor_t |
Parameters for the Sensor Descriptor. More... | |
Macros | |
#define | SENSOR_COMPANY_ID (0xFFFF) |
Model Company ID. | |
#define | SENSOR_NO_PROPERTY_ID (0) |
Prohibited Property ID. More... | |
#define | SENSOR_MOTION_SENSED_PROPERTY_ID (0x0042) |
Motion Sensed Property ID. More... | |
#define | SENSOR_PRESENCE_DETECT_PROPERTY_ID (0x004D) |
Presence Detected Property ID. More... | |
#define | SENSOR_DESCRIPTOR_MSG_SIZE (8) |
Sensor Descriptor size. More... | |
Typedefs | |
typedef uint8_t * | sensor_property_data_size_t |
This model implements the message based interface required to set the Sensor value on the server.
Server model itself is a stateless model. The state information resides in the user application.
#define SENSOR_NO_PROPERTY_ID (0) |
Prohibited Property ID.
See "Bluetooth Mesh Device Properties (MDPv1.2), section 4.1.3".
Definition at line 60 of file sensor_common.h.
#define SENSOR_MOTION_SENSED_PROPERTY_ID (0x0042) |
Motion Sensed Property ID.
See "Bluetooth Mesh Device Properties (MDPv1.2), section 4.1.3".
Definition at line 67 of file sensor_common.h.
#define SENSOR_PRESENCE_DETECT_PROPERTY_ID (0x004D) |
Presence Detected Property ID.
See "Bluetooth Mesh Device Properties (MDPv1.2), section 4.1.3".
Definition at line 74 of file sensor_common.h.
#define SENSOR_DESCRIPTOR_MSG_SIZE (8) |
Sensor Descriptor size.
See Bluetooth Mesh Model Specification (MshMDLv1.0.1), section 4.1.1.
Definition at line 81 of file sensor_common.h.