Dap_StreamingContextType

Module: AI libraries / Device Agent Protocol (DAP) API

Streaming context structure. More…

#include <Dap.h>

Public Attributes

Name

uint32[DAP_INTERFACE_MAX_SENSORS]

SequenceNumber
Per-sensor packet sequence number.

uint32

TotalSampleCount
Total samples to stream.

uint32

CurrentSampleCount
Samples streamed so far.

boolean

HeaderSent
TRUE after stream header has been transmitted.

uint8

Channel
Active streaming channel (Dap_DataChannelType)

volatile boolean

IsActive
TRUE when streaming is active.

Detailed Description

struct Dap_StreamingContextType;

Streaming context structure.

Maintains state for multi-sensor continuous streaming mode.

Public Attributes Documentation

variable SequenceNumber

uint32[DAP_INTERFACE_MAX_SENSORS] SequenceNumber;

Per-sensor packet sequence number.

variable TotalSampleCount

uint32 TotalSampleCount;

Total samples to stream.

variable CurrentSampleCount

uint32 CurrentSampleCount;

Samples streamed so far.

variable HeaderSent

boolean HeaderSent;

TRUE after stream header has been transmitted.

variable Channel

uint8 Channel;

Active streaming channel (Dap_DataChannelType)

variable IsActive

volatile boolean IsActive;

TRUE when streaming is active.