Modules | |
| Advertising type | |
| The advertisiment type. Bit 0 : Pairing or reconnection mode, 0 - reconnection mode, 1 - pairing mode; Bit 1 : Classic Bluetooth discoverability; Bit 2~7 : Reserved for future use, set to 0x00. | |
| Characteristics Mask | |
| Bit masks for the initialization of ags_init_t::char_mask. | |
Macros | |
| #define | AGS_SERVICE_UUID |
| #define | AGS_HEADER_FIRST_RES 0x00 |
| #define | AGS_HEADER_ACK_RES_1 0x00 |
| #define | AGS_HEADER_ACK_PAYLOAD_LEN 0x02 |
| #define | AGS_HEADER_ACK_RES_2 0x01 |
| #define | AGS_TX_VAL_LEN_MAX 244 |
| #define | AGS_RX_VAL_LEN_MAX 244 |
| #define | AGS_CONNECTION_MAX |
| #define AGS_CONNECTION_MAX |
Maximum number of AGS connections.
| #define AGS_HEADER_ACK_PAYLOAD_LEN 0x02 |
Length of the ACK packet, in bytes.
| #define AGS_HEADER_ACK_RES_1 0x00 |
The first reserved value of header in the ACK packet.
| #define AGS_HEADER_ACK_RES_2 0x01 |
The second reserved value of header in the ACK packet.
| #define AGS_HEADER_FIRST_RES 0x00 |
Reserved value of header in the first packet.
| #define AGS_RX_VAL_LEN_MAX 244 |
Maximum length of RX Characteristic value.
| #define AGS_SERVICE_UUID |
The UUID of Alexa Gadget Service for setting advertising data.
| #define AGS_TX_VAL_LEN_MAX 244 |
Maximum length of TX Characteristic value.