ESL Tag Sensor#

Extends the Bluetooth Electronic Shelf Label example design with ESL Sensor class capabilities and its corresponding ESL Sensor Information characteristic. This is an abstract sensor class, while it may also provide a few useful sensor instances for demonstration purposes. PLEASE NOTE that this component automatically registers those sensors which are enabled in the configuration header at the beginning of the sensor list (from index 0). More supported sensors can be added later by custom needs. To add your custom sensors please invoke the esl_sensor_add(<your_property_id>) method from esl_core_boot_event() callback and then implement the provided esl_read_user_sensor() method accordingly. This is a Custom-Code component.

Macro Definition Documentation#

ESL_SENSOR_INFO_POOL_SIZE#

#define ESL_SENSOR_INFO_POOL_SIZE
Value:
32

Definition at line 46 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_INPUT_VOLTAGE_ENABLE#

#define ESL_SENSOR_INPUT_VOLTAGE_ENABLE
Value:
1

Definition at line 51 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_OPERATING_TEMPERATURE_ENABLE#

#define ESL_SENSOR_OPERATING_TEMPERATURE_ENABLE
Value:
1

Definition at line 56 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_FW_REVISION_ENABLE#

#define ESL_SENSOR_FW_REVISION_ENABLE
Value:
1

Definition at line 62 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_FW_REVISION_MAJOR#

#define ESL_SENSOR_FW_REVISION_MAJOR
Value:
1

Definition at line 66 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_FW_REVISION_MINOR#

#define ESL_SENSOR_FW_REVISION_MINOR
Value:
0

Definition at line 70 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_FW_REVISION_PATCH#

#define ESL_SENSOR_FW_REVISION_PATCH
Value:
0

Definition at line 74 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_MANUFACTURING_DATE_ENABLE#

#define ESL_SENSOR_MANUFACTURING_DATE_ENABLE
Value:
1

Definition at line 80 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_MANUFACTURING_DAY#

#define ESL_SENSOR_MANUFACTURING_DAY
Value:
20

Definition at line 84 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_MANUFACTURING_MONTH#

#define ESL_SENSOR_MANUFACTURING_MONTH
Value:
6

Definition at line 100 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_MANUFACTURING_YEAR#

#define ESL_SENSOR_MANUFACTURING_YEAR
Value:
2022

Definition at line 104 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_ENABLE#

#define ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_ENABLE
Value:
1

Definition at line 110 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_MIN#

#define ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_MIN
Value:
0

Definition at line 115 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h

ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_MAX#

#define ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_MAX
Value:
70

Definition at line 120 of file common/esl_tag_sensor/config/esl_tag_sensor_config.h