phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
Serializer.h File Reference
Include dependency graph for Serializer.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  phyphox::Serializer
 

Namespaces

namespace  phyphox
 

Functions

void phyphox::writeEscaped (Sink &, const char *text)
 Text helpers shared by the emitters (public so the host tests can pin them): XML-escape text into the sink; format a float the way the phyphox format expects (shortest round-trip-ish decimal, no exponent for the ranges sketches use, "." decimal point).
 
void phyphox::writeFloat (Sink &, float v)
 
void phyphox::writeInt (Sink &, int32_t v)
 
void phyphox::writeInputCharUuid (Sink &, uint8_t channel)
 The UUID of the k-th input-channel / s-th sensor characteristic (docs/protocol.md).
 
void phyphox::writeSensorCharUuid (Sink &, uint8_t sensor)