NHS31xx SW API
APP_CONFIG_T Struct Reference

Detailed Description

Groups information about the current configuration needed by different parts of the application code.

Data Fields

uint16_t count
 
uint8_t id [8]
 
bool locked
 
int8_t offset
 
TSEN_RESOLUTION_T resolution
 
uint16_t temperature
 
uint8_t unit
 

Field Documentation

◆ count

uint16_t count

A reset count. Incremented after each reset.

◆ id

uint8_t id[8]

A ID, guaranteed unique among all NTAG SmartSensor NHS31xx ICs. This is derived from the device serial number - see Chip_IAP_ReadUID

◆ locked

bool locked

A boolean value indicating whether configuration changes are allowed. To be used to accept or reject incoming message commands - see MSG_COMMAND_ACCEPT_CB

Note
default value: false

◆ offset

int8_t offset

An absolute value to add to the measured temperature. To be used to compensate for different physical locations of different tags, thereby easing comparisons.

Note
default value: 00h

◆ resolution

TSEN_RESOLUTION_T resolution

The resolution to use / used in a call to TMeas_Measure

Note
default value: TSEN_8BITS

◆ temperature

uint16_t temperature

The temperature last measured at the time of calling App_GetConfig

Note
The offset is not added to this value.

◆ unit

uint8_t unit

The unit of the above reported temperature

Note
default value: TMEAS_FORMAT_CELSIUS

The documentation for this struct was generated from the following file: