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

What the store knows about one input channel after the copy: which characteristic carries it, how the app is told to deliver it, and which element owns it. More...

#include <ExperimentStore.h>

Public Attributes

bool used = false
 
bool isButton = false
 a button owns this channel (no change detector, no default)
 
bool fromSensor = false
 fed by a phone sensor component (periodic by nature)
 
uint8_t sensorIndex = 0
 if fromSensor: which sensor, and
 
uint8_t componentIndex = 0
 which component (offset = componentIndex * 4)
 
float defaultValue = 0
 
bool hasDefault = false
 
uint8_t submitWithChannel = 0
 

Detailed Description

What the store knows about one input channel after the copy: which characteristic carries it, how the app is told to deliver it, and which element owns it.

Member Data Documentation

◆ componentIndex

uint8_t phyphox::InputChannelInfo::componentIndex = 0

which component (offset = componentIndex * 4)

◆ defaultValue

float phyphox::InputChannelInfo::defaultValue = 0

◆ fromSensor

bool phyphox::InputChannelInfo::fromSensor = false

fed by a phone sensor component (periodic by nature)

◆ hasDefault

bool phyphox::InputChannelInfo::hasDefault = false

◆ isButton

bool phyphox::InputChannelInfo::isButton = false

a button owns this channel (no change detector, no default)

◆ sensorIndex

uint8_t phyphox::InputChannelInfo::sensorIndex = 0

if fromSensor: which sensor, and

◆ submitWithChannel

uint8_t phyphox::InputChannelInfo::submitWithChannel = 0

◆ used

bool phyphox::InputChannelInfo::used = false

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