Data Fields
ags_header_base_t Struct Reference
BLE Services » Alexa Gadget Service (AGS) » Structures

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

## Detailed Description

Alexa Gadget Service base part of data packet header.

## Field Documentation

## ◆ ack_flag

uint8_t ags_header_base_t::ack_flag

Acknowledgement(ACK) flag. ags_header_ack_flag_t

## ◆ length_ext

uint8_t ags_header_base_t::length_ext

Length extender. It indicates the length of the payload field. ags_header_length_ext_t

## ◆ sequ_num

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.

## ◆ stream_id

uint8_t ags_header_base_t::stream_id

The stream ID. ags_header_stream_id_t

## ◆ trxn_id

uint8_t ags_header_base_t::trxn_id

The transaction ID.

## ◆ trxn_type

uint8_t ags_header_base_t::trxn_type

Transaction type. ags_header_trxn_type_t

The documentation for this struct was generated from the following file:

- ags.h