38 #ifndef SENSOR_COMMON_H__ 39 #define SENSOR_COMMON_H__ 53 #define SENSOR_COMPANY_ID (0xFFFF) 58 #define SENSOR_NO_PROPERTY_ID (0) 64 #define SENSOR_MOTION_SENSED_PROPERTY_ID (0x0042) 67 #define SENSOR_PRESENCE_DETECT_PROPERTY_ID (0x004D) 71 #define SENSOR_DESCRIPTOR_MSG_SIZE (8) 73 typedef uint8_t * sensor_property_data_size_t;
117 uint16_t * setting_property_ids;
129 uint16_t setting_property_id;
215 uint8_t raw_value_x2;
233 uint8_t raw_value_y_n;
238 #define SENSOR_SERIES_ERR_MSG_SIZE (2) 239 #define SENSOR_CADENCE_ERR_MSG_SIZE (2) 240 #define SENSOR_SETTINGS_ERR_MSG_SIZE (2) 241 #define SENSOR_SETTING_ERR_MSG_SIZE (4) 242 #define SENSOR_DESCRIPTOR_ERR_MSG_SIZE (2) 265 uint8_t update_interval;
Parameters for the Sensor Get message.
uint16_t property_id
< Sensor property ID
uint16_t property_id
< Sensor property ID
uint8_t raw_value_x_n
The nth column width.
Parameters for the Sensor Series Status message.
uint16_t setting_property_id
Raw value for the setting.
uint16_t negative_tolerance
Sampling function applied to measured sensor values.
uint8_t sampling_function
Period over which measurement is taken in seconds.
Parameters for the Sensor Cadence Get message.
Parameters for the Sensor Series Get message.
Parameters for the Sensor Settings Get message.
uint16_t positive_tolerance
12-bit value for possible negative sensor error
uint16_t property_id
< Property ID for sensor
uint8_t raw_value_x
Raw value representing the width of the column (Optional)
uint16_t property_id
< Sensor property ID
uint16_t property_id
< Sensor property ID
uint16_t property_id
< Sensor property ID
Parameters for the Sensor Settings Status message.
uint16_t property_id
< Sensor property ID
uint8_t measurement_period
Interval between measurement updates in seconds.
uint16_t property_id
< Sensor property ID
Parameters for the Sensor Setting Set message.
uint8_t column_width_n
The nth column height.
uint8_t raw_value_x1
Raw value identifying an ending column.
uint8_t setting_access
Raw value for the setting.
uint8_t column_width
Raw value representing the height of the column on the Y axis.
uint16_t property_id
< Sensor property ID
Parameters for the Sensor Column Get message.
Parameters for the Sensor Setting Get message.
Parameters for the Sensor Column Status message.
Parameters for the Sensor Setting Status message.
uint16_t setting_property_id
Read/Write access rights for the setting (Optional)
uint16_t property_id
< Identifies a sensor
Unpacked message structure typedefs are used for API interfaces and for implementing model code...
uint16_t property_id
< Sensor property ID
Sensor Descriptor - the sensor-specific sensor descriptor.
uint16_t property_id
< Sensor property ID
uint16_t property_id
< Identifies a sensor and the Y axis