![]() |
nRF5 SDK
v16.0.0
|
| Choose documentation: | nRF5 SDK | S112 SoftDevice API | S113 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
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... | |
| int tile_toa_authorized | ( | uint8_t | authorization_type, |
| uint16_t | authorization_time | ||
| ) |
Send an Authorized Notification.
| [in] | authorization_type | The type of authorization (ie Button press). |
| [in] | authorization_time | The time for which the authorization is valid. |
| void tile_toa_command_received | ( | const uint8_t * | data, |
| uint8_t | datalen | ||
| ) |
An TOA Commands was received.
| [in] | data | pointer to data. |
| [in] | datalen | number 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.
| [in] | ready | 1 for ready, 0 for not ready. |