nRF5 SDK for Mesh v4.2.0
Modules | Data Structures | Macros | Typedefs
Sensor model

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
 Sensor Descriptor - the sensor-specific sensor descriptor. More...
 

Macros

#define SENSOR_COMPANY_ID   (0xFFFF)
 Model Company ID.
 
#define SENSOR_NO_PROPERTY_ID   (0)
 
#define SENSOR_MOTION_SENSED_PROPERTY_ID   (0x0042)
 
#define SENSOR_PRESENCE_DETECT_PROPERTY_ID   (0x004D)
 
#define SENSOR_DESCRIPTOR_MSG_SIZE   (8)
 
#define SENSOR_SERIES_ERR_MSG_SIZE   (2)
 
#define SENSOR_CADENCE_ERR_MSG_SIZE   (2)
 
#define SENSOR_SETTINGS_ERR_MSG_SIZE   (2)
 
#define SENSOR_SETTING_ERR_MSG_SIZE   (4)
 
#define SENSOR_DESCRIPTOR_ERR_MSG_SIZE   (2)
 

Typedefs

typedef uint8_t * sensor_property_data_size_t
 

Detailed Description

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.


Documentation feedback | Developer Zone | Subscribe | Updated