Public Attributes | List of all members
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>`

## Public Attributes
uint8_t | trxn_id:4
| The transaction ID. More...
uint8_t | stream_id:4
| The stream ID. More...
uint8_t | length_ext:1
| Length extender. More...
uint8_t | ack_flag:1
| Acknowledgement(ACK) flag. More...
uint8_t | trxn_type:2
| Transaction type. More...
uint8_t | sequ_num:4
| Sequence number. More...

## Detailed Description

Alexa Gadget Service base part of data packet header.

Definition at line 178 of file ags.h.

## Member Data Documentation

## ◆ ack_flag

uint8_t ags_header_base_t::ack_flag

Acknowledgement(ACK) flag.

ags_header_ack_flag_t

Definition at line 183 of file ags.h.

## ◆ 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

Definition at line 182 of file ags.h.

## ◆ 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.

Definition at line 185 of file ags.h.

## ◆ stream_id

uint8_t ags_header_base_t::stream_id

The stream ID.

ags_header_stream_id_t

Definition at line 181 of file ags.h.

## ◆ trxn_id

uint8_t ags_header_base_t::trxn_id

The transaction ID.

Definition at line 180 of file ags.h.

## ◆ trxn_type

uint8_t ags_header_base_t::trxn_type

Transaction type.

ags_header_trxn_type_t

Definition at line 184 of file ags.h.

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

- ags.h