Enumerator |
---|
APP_MSG_ID_GETMEASUREMENTS | 0x46
Retrieves (part of) the stored measurements, that were taken after the last APP_MSG_ID_SETCONFIG command.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T if the command could not be handled; APP_MSG_RESPONSE_GETMEASUREMENTS_T otherwise.
- Note
- synchronous command
-
All temperatures retrieved are within the range [-APP_MSG_MAX_TEMPERATURE; +APP_MSG_MAX_TEMPERATURE]. There is one special value, APP_MSG_TEMPERATURE_PLACEHOLDER_VALUE, that is used to indicate anomalies.
|
APP_MSG_ID_GETCONFIG | 0x48
Retrieves all configuration parameters regarding temperature and chip behavior, and the number of temperature measurements available.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETCONFIG_T
- Note
- synchronous command
-
The response of this command will be buffered by the application in addition to being sent out immediately. It will then also be placed in the same NFC message that contains the response for the MSG_ID_GETVERSION command.
|
APP_MSG_ID_SETCONFIG | 0x49
Sets all configuration parameters regarding temperature and chip behavior, and clears the buffer holding all measurements and events.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- Note
- synchronous command
|
APP_MSG_ID_MEASURETEMPERATURE | 0x50
Measures the temperature using the built-in temperature sensor.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T immediately;
If result was equal to MSG_OK, APP_MSG_RESPONSE_MEASURETEMPERATURE_T thereafter. This may take up to 100 ms. This second response must be fetched by issuing a command with MSG_ID_GETRESPONSE.
- Note
- asynchronous command
|
APP_MSG_ID_START | 0x5A
Starts logging according to the last given configuration using APP_MSG_ID_SETCONFIG. A first measurement will be taken immediately.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- Note
- synchronous command
|
APP_MSG_ID_GETEVENTS | 0x5B
Retrieves events logged by the application. Changes in execution state and detection of anomalies are recorded with a full timestamp and are annotations to the logged measurement values.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETEVENTS_T
- Note
- synchronous command
|
APP_MSG_ID_GETPERIODICDATA | 0x5E
Retrieves (part of the) data that was taken periodically. No timing information will be provided, as that can be deduced from the sequence and the configuration details - see APP_MSG_ID_GETCONFIG.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T if the command could not be handled; APP_MSG_RESPONSE_GETPERIODICDATA_T otherwise.
- Note
- synchronous command
|
APP_MSG_ID_COUNT | Number of application specific message IDs. Not to be used as a possible ID. Use this in for loops or to define array sizes.
|
APP_MSG_ID_GETMEASUREMENTS | 0x46
Retrieves (part of) the stored measurements, that were taken after the last APP_MSG_ID_SETCONFIG command.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T if the command could not be handled; APP_MSG_RESPONSE_GETMEASUREMENTS_T otherwise.
- Note
- synchronous command
-
All temperatures retrieved are within the range [-APP_MSG_MAX_TEMPERATURE; +APP_MSG_MAX_TEMPERATURE]. There is one special value, APP_MSG_TEMPERATURE_PLACEHOLDER_VALUE, that is used to indicate anomalies.
|
APP_MSG_ID_GETCONFIG | 0x48
Retrieves all configuration parameters regarding temperature and chip behavior, and the number of temperature measurements available.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETCONFIG_T
- Note
- synchronous command
-
The response of this command will be buffered by the application in addition to being sent out immediately. It will then also be placed in the same NFC message that contains the response for the MSG_ID_GETVERSION command.
|
APP_MSG_ID_SETCONFIG | 0x49
Sets all configuration parameters regarding temperature and chip behavior, and clears the buffer holding all measurements and events.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- Note
- synchronous command
|
APP_MSG_ID_MEASURETEMPERATURE | 0x50
Measures the temperature using the built-in temperature sensor.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T immediately;
If result was equal to MSG_OK, APP_MSG_RESPONSE_MEASURETEMPERATURE_T thereafter. This may take up to 100 ms. This second response must be fetched by issuing a command with MSG_ID_GETRESPONSE.
- Note
- asynchronous command
|
APP_MSG_ID_START | 0x5A
Starts logging according to the last given configuration using APP_MSG_ID_SETCONFIG. A first measurement will be taken immediately.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- Note
- synchronous command
|
APP_MSG_ID_GETEVENTS | 0x5B
Retrieves events logged by the application. Changes in execution state and detection of anomalies are recorded with a full timestamp and are annotations to the logged measurement values.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETEVENTS_T
- Note
- synchronous command
|
APP_MSG_ID_GETACCELCONFIG | 0x5C
Retrieves all configuration parameters regarding acceleration-related detection such as shock and vibration, and the number of acceleration-related events available.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETACCELCONFIG_T
- Note
- synchronous command
|
APP_MSG_ID_SETACCELCONFIG | 0x5D
Caches all configuration parameters regarding acceleration-related detection. The cached data is stored in volatile memory only. If later, within the same session, a command with ID APP_MSG_ID_SETCONFIG is given, the configuration parameters are used to configure the accelerometer. Then the configuration is copied to non-volatile memory.
- Note
- Once configured, the configuration can be overwritten by issuing a new command.
-
This message does not start a monitoring session.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- See also
- APP_MSG_ID_SETCONFIG
- Note
- synchronous command
|
APP_MSG_ID_GETPERIODICDATA | 0x5E
Retrieves (part of the) data that was taken periodically. No timing information will be provided, as that can be deduced from the sequence and the configuration details - see APP_MSG_ID_GETCONFIG.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T if the command could not be handled; APP_MSG_RESPONSE_GETPERIODICDATA_T otherwise.
- Note
- synchronous command
|
APP_MSG_ID_COUNT | Number of application specific message IDs. Not to be used as a possible ID. Use this in for loops or to define array sizes.
|
APP_MSG_ID_GETMEASUREMENTS | 0x46
Retrieves (part of) the stored measurements, that were taken after the last APP_MSG_ID_SETCONFIG command.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T if the command could not be handled; APP_MSG_RESPONSE_GETMEASUREMENTS_T otherwise.
- Note
- synchronous command
-
All temperatures retrieved are within the range [-APP_MSG_MAX_TEMPERATURE; +APP_MSG_MAX_TEMPERATURE]. There is one special value, APP_MSG_TEMPERATURE_PLACEHOLDER_VALUE, that is used to indicate anomalies.
|
APP_MSG_ID_GETCONFIG | 0x48
Retrieves all configuration parameters regarding temperature and chip behavior, and the number of temperature measurements available.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETCONFIG_T
- Note
- synchronous command
-
The response of this command will be buffered by the application in addition to being sent out immediately. It will then also be placed in the same NFC message that contains the response for the MSG_ID_GETVERSION command.
|
APP_MSG_ID_SETCONFIG | 0x49
Sets all configuration parameters regarding temperature and chip behavior, and clears the buffer holding all measurements and events.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- Note
- synchronous command
|
APP_MSG_ID_MEASURETEMPERATURE | 0x50
Measures the temperature using the built-in temperature sensor.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T immediately;
If result was equal to MSG_OK, APP_MSG_RESPONSE_MEASURETEMPERATURE_T thereafter. This may take up to 100 ms. This second response must be fetched by issuing a command with MSG_ID_GETRESPONSE.
- Note
- asynchronous command
|
APP_MSG_ID_START | 0x5A
Starts logging according to the last given configuration using APP_MSG_ID_SETCONFIG. A first measurement will be taken immediately.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- Note
- synchronous command
|
APP_MSG_ID_GETEVENTS | 0x5B
Retrieves events logged by the application. Changes in execution state and detection of anomalies are recorded with a full timestamp and are annotations to the logged measurement values.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETEVENTS_T
- Note
- synchronous command
|
APP_MSG_ID_GETACCELCONFIG | 0x5C
Retrieves all configuration parameters regarding acceleration-related detection such as shock and vibration, and the number of acceleration-related events available.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETACCELCONFIG_T
- Note
- synchronous command
|
APP_MSG_ID_SETACCELCONFIG | 0x5D
Caches all configuration parameters regarding acceleration-related detection. The cached data is stored in volatile memory only. If later, within the same session, a command with ID APP_MSG_ID_SETCONFIG is given, the configuration parameters are used to configure the accelerometer. Then the configuration is copied to non-volatile memory.
- Note
- Once configured, the configuration can be overwritten by issuing a new command.
-
This message does not start a monitoring session.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- See also
- APP_MSG_ID_SETCONFIG
- Note
- synchronous command
|
APP_MSG_ID_GETPERIODICDATA | 0x5E
Retrieves (part of the) data that was taken periodically. No timing information will be provided, as that can be deduced from the sequence and the configuration details - see APP_MSG_ID_GETCONFIG.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T if the command could not be handled; APP_MSG_RESPONSE_GETPERIODICDATA_T otherwise.
- Note
- synchronous command
|
APP_MSG_ID_GETHUMIDITYCONFIG | 0x5F
Retrieves the configuration parameters for humidity-related measurements.
- Parameters
-
- Returns
- APP_MSG_RESPONSE_GETHUMIDITYCONFIG_T
- Note
- synchronous command
|
APP_MSG_ID_SETHUMIDITYCONFIG | 0x60
Sets the configuration parameters for humidity-related measurements.
- Warning
- The given settings overwrite the previous ones, even when measurements are already ongoing. Advised is to strictly adhere to this order:
This sequence is not enforced nor checked for.
- Note
- This message does not start a monitoring session.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T
- Note
- synchronous command
|
APP_MSG_ID_COUNT | Number of application specific message IDs. Not to be used as a possible ID. Use this in for loops or to define array sizes.
|
APP_MSG_ID_SETURL | 0x71
Provides a new domain and path to use. The query arguments will be appended after this supplied base and path.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T.
- Note
- synchronous command
|
APP_MSG_ID_SETOFFSET | 0x72
Provides an offset to add to each temperature measurement. Use this to compensate for a suboptimal location of the IC.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T.
- Note
- synchronous command
|
APP_MSG_ID_SETRESOLUTION | 0x73
Determines the resolution - and thus also the conversion time - of a single temperature measurement.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T.
- Note
- synchronous command
|
APP_MSG_ID_SETUNIT | 0x74
Determines the temperature unit with which to report the measured temperatures.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T.
- Note
- synchronous command
|
APP_MSG_ID_SETKEY | 0x75
Provides a key to use to calculate the hashing value with.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T.
- Note
- synchronous command
|
APP_MSG_ID_LOCK | 0x77
Blocks all future configuration changes. Once locked, all these commands will return an error without making any change:
- Warning
- Once locked, the IC can not be unlocked.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T.
- Note
- synchronous command
|
APP_MSG_ID_SETCONFIG | 0x78
Provides a new domain and path, an offset, and a key in one command.
- Parameters
-
- Returns
- MSG_RESPONSE_RESULTONLY_T.
- Note
- synchronous command
- See also
- APP_MSG_ID_SETURL
-
APP_MSG_ID_SETOFFSET
-
APP_MSG_ID_SETRESOLUTION
-
APP_MSG_ID_SETUNIT
-
APP_MSG_ID_SETKEY
|
APP_MSG_ID_GETCONFIG | 0x79
Retrieves the different parts that make up the full URL in byte format.
- Parameters
-
Header | : Sequence of bytes as per the Protocol. |
none | |
- Returns
- APP_MSG_RESPONSE_GETCONFIG_T
- Note
- synchronous command
|