nRF5 SDK v17.1.0
Data Structures | Macros | Typedefs | Functions
Tile Over-the-air API module

Data Structures

struct  toa_channel_tag
 
struct  tile_toa_module
 

Macros

#define TOA_MPS   14
 TOA Max Payload Size. This is the maximum Payload that can be carried by a TOA Command or Response. It excludes the TOA_CMD/TOA_RSP Code and excludes the MIC.
 
#define TILE_SESSION_KEY_LEN   16
 

Typedefs

typedef struct toa_channel_tag toa_channel_t
 Structure containing session information for a TOA channel.
 

Functions

int tile_toa_register (struct tile_toa_module *module)
 
void tile_toa_transport_ready (bool ready)
 The underlying TOA transport is ready. This is the case when TOA_RSP channel was enabled for notifications or indications. More...
 
void tile_toa_response_sent_ok (void)
 A TOA response was successfully sent to the TOA Client (and an other one can be sent).
 
void tile_toa_command_received (const uint8_t *data, uint8_t datalen)
 An TOA Commands was received. More...
 
int tile_toa_authorized (uint8_t authorization_type, uint16_t authorization_time)
 Send an Authorized Notification. More...
 

Detailed Description

Function Documentation

int tile_toa_authorized ( uint8_t  authorization_type,
uint16_t  authorization_time 
)

Send an Authorized Notification.

Parameters
[in]authorization_typeThe type of authorization (ie Button press).
[in]authorization_timeThe time for which the authorization is valid.
void tile_toa_command_received ( const uint8_t *  data,
uint8_t  datalen 
)

An TOA Commands was received.

Parameters
[in]datapointer to data.
[in]datalennumber of bytes of data.
int tile_toa_register ( struct tile_toa_module module)

Register TOA module.

void tile_toa_transport_ready ( bool  ready)

The underlying TOA transport is ready. This is the case when TOA_RSP channel was enabled for notifications or indications.

Parameters
[in]ready1 for ready, 0 for not ready.

Documentation feedback | Developer Zone | Subscribe | Updated