nRF5 SDK v17.1.0
Macros | Enumerations
Tile Library API

Tile Library Api. More...

Macros

#define TILE_SHIPPING_UUID   0xFEEC /** Advertised by Tiles in Shipping Mode. */
 Tile Service UUIDs. These are 16-bit UUIDs.
 
#define TILE_ACTIVATED_UUID   0xFEED /** Advertised by Tiles in Activated Mode. */
 
#define TILE_SERVICE_UUID   TILE_ACTIVATED_UUID /** Used to declare Tile Gatt Service. */
 
#define TILE_SVC_BASE_UUID   { 0xC0, 0x91, 0xC4, 0x8D, 0xBD, 0xE7, 0x60, 0xBA, 0xDD, 0xF4, 0xD6, 0x35, 0x00, 0x00, 0x41, 0x9D }
 
#define TILE_TOA_CMD_UUID   { 0xC0, 0x91, 0xC4, 0x8D, 0xBD, 0xE7, 0x60, 0xBA, 0xDD, 0xF4, 0xD6, 0x35, 0x18, 0x00, 0x41, 0x9D }
 
#define TILE_TOA_RSP_UUID   { 0xC0, 0x91, 0xC4, 0x8D, 0xBD, 0xE7, 0x60, 0xBA, 0xDD, 0xF4, 0xD6, 0x35, 0x19, 0x00, 0x41, 0x9D }
 
#define TILE_TILEID_CHAR_UUID   { 0xC0, 0x91, 0xC4, 0x8D, 0xBD, 0xE7, 0x60, 0xBA, 0xDD, 0xF4, 0xD6, 0x35, 0x07, 0x00, 0x41, 0x9D }
 
#define TILE_DEFAULT_ADV_INT_ACTIVATED   3200
 
#define TILE_DEFAULT_ADV_INT_SHIPPING   160
 
#define TILE_TOA_CMD_CHAR_LEN   20
 
#define TILE_TOA_RSP_CHAR_LEN   20
 
#define TILE_ID_LEN   8
 
#define TILE_HASHED_TILEID_LEN   8
 
#define TILE_AUTH_KEY_LEN   16
 
#define TILEID_KEY_LEN   16
 
#define TILE_FIRMWARE_VERSION_LEN   10
 
#define TILE_MODEL_NUMBER_LEN   10
 
#define TILE_HARDWARE_VERSION_LEN   5
 
#define TILE_BDADDR_LEN   6
 
#define TILE_SERVICE_DATA_MAX_LENGTH   10
 

Enumerations

enum  TILE_CHARACTERISTICS {
  TILE_TOA_CMD_CHAR,
  TILE_TOA_RSP_CHAR,
  TILE_TOA_RSP_CCCD,
  TILE_ID_CHAR,
  TILE_NUM_ATTRS
}
 
enum  TILE_ERROR_CODES {
  TILE_ERROR_SUCCESS = 0,
  TILE_ERROR_NOT_INITIALIZED,
  TILE_ERROR_ILLEGAL_SERVICE,
  TILE_ERROR_ILLEGAL_PARAM,
  TILE_ERROR_ILLEGAL_OPERATION,
  TILE_ERROR_BUFFER_TOO_SMALL,
  TILE_ERROR_TERMINAL,
  TILE_ERROR_REENTRANCY,
  TILE_ERROR_NUM_TOA_CHANNELS
}
 Error codes returned by Tile Lib functions.
 

Detailed Description

Tile Library Api.

Macro Definition Documentation

#define TILE_AUTH_KEY_LEN   16

Length, in bytes, of the Tile authentication key.

#define TILE_BDADDR_LEN   6

Length of the Tile BDADDR.

#define TILE_FIRMWARE_VERSION_LEN   10

Length of the Tile firmware version string.

#define TILE_HARDWARE_VERSION_LEN   5

Length of the Tile hardware version string.

#define TILE_HASHED_TILEID_LEN   8

Length, in bytes, of the hashed_tileID.

#define TILE_ID_LEN   8

Length, in bytes, of the Tile ID.

#define TILE_MODEL_NUMBER_LEN   10

Length of the Tile model number string.

#define TILE_TOA_CMD_CHAR_LEN   20

TOA Command and Response characteristics lengths in octets.

#define TILEID_KEY_LEN   16

Length, in bytes, of the Tile identity key.

Enumeration Type Documentation

Attribute ID's associated with each Tile attribute.


Documentation feedback | Developer Zone | Subscribe | Updated