phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
phyphoxBle.h File Reference
Include dependency graph for phyphoxBle.h:

Go to the source code of this file.

Classes

class  PhyphoxBLE
 Static façade over one phyphox::Server. More...
 

Macros

#define SENSOR_ACCELEROMETER   "accelerometer"
 
#define SENSOR_ACCELEROMETER_WITHOUT_G   "linear_acceleration"
 
#define SENSOR_LINEAR_ACCELERATION   "linear_acceleration"
 
#define SENSOR_GRAVITY   "gravity"
 
#define SENSOR_GYROSCOPE   "gyroscope"
 
#define SENSOR_MAGNETIC_FIELD   "magnetic_field"
 
#define SENSOR_PRESSURE   "pressure"
 
#define SENSOR_LIGHT   "light"
 
#define SENSOR_PROXIMITY   "proximity"
 
#define SENSOR_TEMPERATURE   "temperature"
 
#define SENSOR_HUMIDITY   "humidity"
 
#define SENSOR_ATTITUDE   "attitude"
 
#define SENSOR_CUSTOM   "custom"
 A sensor phyphox does not name: select it with Sensor::setNameFilter() / setTypeFilter() (Android; the app's device info lists the names).
 
#define SENSOR_MAGNETOMETER   SENSOR_MAGNETIC_FIELD
 1.x spelled the magnetometer "magnetometer", which is not a phyphox sensor name, so that sensor never worked.
 
#define COLOR_RED   "fe005d"
 
#define COLOR_BLUE   "39a2ff"
 
#define COLOR_GREEN   "2bfb4c"
 
#define COLOR_ORANGE   "ff7e22"
 
#define COLOR_WHITE   "ffffff"
 
#define COLOR_YELLOW   "edf668"
 
#define COLOR_MAGENTA   "eb46f4"
 

Macro Definition Documentation

◆ COLOR_BLUE

#define COLOR_BLUE   "39a2ff"

◆ COLOR_GREEN

#define COLOR_GREEN   "2bfb4c"

◆ COLOR_MAGENTA

#define COLOR_MAGENTA   "eb46f4"

◆ COLOR_ORANGE

#define COLOR_ORANGE   "ff7e22"

◆ COLOR_RED

#define COLOR_RED   "fe005d"

◆ COLOR_WHITE

#define COLOR_WHITE   "ffffff"

◆ COLOR_YELLOW

#define COLOR_YELLOW   "edf668"

◆ SENSOR_ACCELEROMETER

#define SENSOR_ACCELEROMETER   "accelerometer"

◆ SENSOR_ACCELEROMETER_WITHOUT_G

#define SENSOR_ACCELEROMETER_WITHOUT_G   "linear_acceleration"

◆ SENSOR_ATTITUDE

#define SENSOR_ATTITUDE   "attitude"

◆ SENSOR_CUSTOM

#define SENSOR_CUSTOM   "custom"

A sensor phyphox does not name: select it with Sensor::setNameFilter() / setTypeFilter() (Android; the app's device info lists the names).

Format 1.19.

◆ SENSOR_GRAVITY

#define SENSOR_GRAVITY   "gravity"

◆ SENSOR_GYROSCOPE

#define SENSOR_GYROSCOPE   "gyroscope"

◆ SENSOR_HUMIDITY

#define SENSOR_HUMIDITY   "humidity"

◆ SENSOR_LIGHT

#define SENSOR_LIGHT   "light"

◆ SENSOR_LINEAR_ACCELERATION

#define SENSOR_LINEAR_ACCELERATION   "linear_acceleration"

◆ SENSOR_MAGNETIC_FIELD

#define SENSOR_MAGNETIC_FIELD   "magnetic_field"

◆ SENSOR_MAGNETOMETER

#define SENSOR_MAGNETOMETER   SENSOR_MAGNETIC_FIELD

1.x spelled the magnetometer "magnetometer", which is not a phyphox sensor name, so that sensor never worked.

Deprecated alias: emits the correct name; removed in 2.1.

◆ SENSOR_PRESSURE

#define SENSOR_PRESSURE   "pressure"

◆ SENSOR_PROXIMITY

#define SENSOR_PROXIMITY   "proximity"

◆ SENSOR_TEMPERATURE

#define SENSOR_TEMPERATURE   "temperature"