Enumerations | |
enum | ags_header_stream_id_t { AGS_CONTROL_STREAM_ID, AGS_ALEXA_STREAM_ID = 0x06, AGS_OTA_STREAM_ID = 0x02 } |
Alexa Gadget Service Stream ID. More... | |
enum | ags_header_trxn_type_t { AGS_TRANSACTION_TYPE_FIRST, AGS_TRANSACTION_TYPE_CONT, AGS_TRANSACTION_TYPE_LAST, AGS_TRANSACTION_TYPE_CTRL } |
Alexa Gadget Service transaction type. More... | |
enum | ags_header_ack_flag_t { AGS_ACK_NACK, AGS_ACK_ACK } |
Alexa Gadget Service ACK Flag. More... | |
enum | ags_header_length_ext_t { AGS_LEN_EXT_NO_EXT, AGS_LEN_EXT_EXT } |
Alexa Gadget Service Length extender. More... | |
enum | ags_header_result_code_t { AGS_RES_CODE_SUCCESS, AGS_RES_CODE_UNKNOWN, AGS_RES_CODE_UNSUPPORTED = 0x03 } |
Alexa Gadget Service result code. More... | |
enum | ags_evt_type_t { AGS_EVT_INVALID, AGS_EVT_ECHO_RX_DATA_SENT, AGS_EVT_ECHO_TX_DATA_RECEIVED, AGS_EVT_ECHO_RX_NOTI_ENABLE, AGS_EVT_ECHO_RX_NOTI_DISABLE } |
Alexa Gadget Service event type. More... | |
enum ags_evt_type_t |
Alexa Gadget Service event type.
Alexa Gadget Service ACK Flag.
Alexa Gadget Service result code.
Alexa Gadget Service Stream ID.
At any time, there is only one control stream, one Alexa stream, and one OTA stream. Each packet belongs to one of these streams, which is specified in the stream ID field of the packet's header. See Gadgets documentation for details: https://developer.amazon.com/en-US/docs/alexa/alexa-gadgets-toolkit/packet-ble.html#streams
Alexa Gadget Service transaction type.
It indicate where the packet is within the transaction. The transaction type and protocol of a single transaction are defined by the first packet of the transaction.