nRF5 SDK v16.0.0
Enumerations
Tile Over-the-air Common API

Enumerations

enum  TOA_COM_CMD {
  TOA_COM_CMD_READ_FEATURES = 0x01,
  TOA_COM_CMD_READ_VAL = 0x02,
  TOA_COM_CMD_WRITE_VAL = 0x03
}
 TOA Common Command Codes. More...
 
enum  TOA_COM_RSP {
  TOA_COM_RSP_READ_FEATURES_OK = 0x01,
  TOA_COM_RSP_READ_VAL_OK = 0x02,
  TOA_COM_RSP_WRITE_VAL_OK = 0x03,
  TOA_COM_RSP_ERROR = 0x20
}
 TOA Common Response Codes. More...
 

Detailed Description

Some TOA Features only use simple and similar Read/Write Operations.
When it is the case, Tile Over-the-air Common API Commands and response codes and format are used.

Enumeration Type Documentation

TOA Common Command Codes.

Enumerator
TOA_COM_CMD_READ_FEATURES 
 Common Command Read Features <br>

This Command SHALL be supported by the TOA Server if Tile Over-the-air Common API scheme is suported. Format: there is no parameter.

TOA_COM_CMD_READ_VAL 
 Common Command Read Value

Format: there is no parameter.

TOA_COM_CMD_WRITE_VAL 
 Common Command Write Value

Format:

TOA_COM_CMD_WRITE_VAL Code Data to write
1 Byte Size and format depends on the Feature

TOA Common Response Codes.

Enumerator
TOA_COM_RSP_READ_FEATURES_OK 
 Common Response Read Features OK

Format:

TOA_COM_RSP_READ_FEATURES_OK Code Supported features
1 Byte 1 Byte (bit 0 for TOA_COM_CMD_READ_VAL / bit 1 for TOA_COM_CMD_WRITE_VAL)
TOA_COM_RSP_READ_VAL_OK 
 Common Response Read Value OK

Format:

TOA_COM_RSP_READ_VAL_OK Code Data Read
1 Byte Size and format depends on the Feature
TOA_COM_RSP_WRITE_VAL_OK 
 Common Response Write Value OK

Format:

TOA_COM_RSP_WRITE_VAL_OK Code Data Written
1 Byte Size and format depends on the Feature
TOA_COM_RSP_ERROR 
 Common error response. Format is according to @ref TOA_FEATURE_ERROR_CODES

Format:

TOA_COM_RSP_ERROR Offending Command TOA_FEATURE_ERROR_CODES Code Additional Payload
1 Byte 1 Byte 1 Byte Up to TOA_MPS - 4 bytes

Documentation feedback | Developer Zone | Subscribe | Updated