Alexa Gadget Service base part of data packet header. More...
#include <ags.h>
Data Fields | |
| uint8_t | trxn_id:4 |
| uint8_t | stream_id:4 |
| uint8_t | length_ext:1 |
| uint8_t | ack_flag:1 |
| uint8_t | trxn_type:2 |
| uint8_t | sequ_num:4 |
Alexa Gadget Service base part of data packet header.
| uint8_t ags_header_base_t::ack_flag |
Acknowledgement(ACK) flag. ags_header_ack_flag_t
| uint8_t ags_header_base_t::length_ext |
Length extender. It indicates the length of the payload field. ags_header_length_ext_t
| uint8_t ags_header_base_t::sequ_num |
Sequence number. Since this is four bits long, it supports inplace sequencing of up to 16 packet at a given point in time. Sequence numbers can rool over.
| uint8_t ags_header_base_t::stream_id |
The stream ID. ags_header_stream_id_t
| uint8_t ags_header_base_t::trxn_id |
The transaction ID.
| uint8_t ags_header_base_t::trxn_type |
Transaction type. ags_header_trxn_type_t