phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
phyphox::ExperimentEvent Struct Reference

#include <ChannelStore.h>

Public Member Functions

bool decode (const uint8_t *bytes, uint16_t len)
 Decode 17 big-endian bytes; returns false if len < 17.
 

Public Attributes

EventType type = EVENT_PAUSE
 
int64_t experimentTimeMs = 0
 −1 for SYNC
 
int64_t systemTimeMs = 0
 Unix time in ms.
 

Member Function Documentation

◆ decode()

bool phyphox::ExperimentEvent::decode ( const uint8_t *  bytes,
uint16_t  len 
)

Decode 17 big-endian bytes; returns false if len < 17.

Member Data Documentation

◆ experimentTimeMs

int64_t phyphox::ExperimentEvent::experimentTimeMs = 0

−1 for SYNC

◆ systemTimeMs

int64_t phyphox::ExperimentEvent::systemTimeMs = 0

Unix time in ms.

◆ type

EventType phyphox::ExperimentEvent::type = EVENT_PAUSE

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