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 |
TotalSampleCount |
|
CurrentSampleCount |
|
HeaderSent |
|
Channel |
|
volatile boolean |
IsActive |
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.