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.
Macros#
#define
ESL_SENSOR_INFO_POOL_SIZE 32
#define
ESL_SENSOR_INPUT_VOLTAGE_ENABLE 1
#define
ESL_SENSOR_OPERATING_TEMPERATURE_ENABLE 1
#define
ESL_SENSOR_FW_REVISION_ENABLE 1
#define
ESL_SENSOR_FW_REVISION_MAJOR 1
#define
ESL_SENSOR_FW_REVISION_MINOR 0
#define
ESL_SENSOR_FW_REVISION_PATCH 0
#define
ESL_SENSOR_MANUFACTURING_DATE_ENABLE 1
#define
ESL_SENSOR_MANUFACTURING_DAY 20
#define
ESL_SENSOR_MANUFACTURING_MONTH 6
#define
ESL_SENSOR_MANUFACTURING_YEAR 2022
#define
ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_ENABLE 1
#define
ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_MIN 0
#define
ESL_SENSOR_DEVICE_TEMPERATURE_RANGE_MAX 70