|
phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
|
Callbacks from the transport into the core (implemented by Server). More...
#include <Transport.h>

Public Member Functions | |
| virtual | ~TransportListener () |
| virtual void | onConnect ()=0 |
| virtual void | onDisconnect ()=0 |
| virtual void | onSubscribe (CharId id, bool enabled)=0 |
The central enabled/disabled notifications on id (only CH_EXPERIMENT and CH_DATA are notifiable). | |
| virtual void | onWrite (CharId id, const uint8_t *data, uint16_t len)=0 |
The central wrote len bytes to id. | |
| virtual void | onNotifyStatus (CharId id, bool accepted)=0 |
| Asynchronous verdict on the last notify() for stacks that report it later. | |
| virtual void | pump ()=0 |
| Drive the transfer: send what is due. | |
Callbacks from the transport into the core (implemented by Server).
|
inlinevirtual |
|
pure virtual |
Implemented in phyphox::Server.
|
pure virtual |
Implemented in phyphox::Server.
|
pure virtual |
Asynchronous verdict on the last notify() for stacks that report it later.
Transports whose notify() is synchronous never call this.
Implemented in phyphox::Server.
|
pure virtual |
The central enabled/disabled notifications on id (only CH_EXPERIMENT and CH_DATA are notifiable).
Implemented in phyphox::Server.
|
pure virtual |
The central wrote len bytes to id.
Implemented in phyphox::Server.
|
pure virtual |
Drive the transfer: send what is due.
Called by the core from poll(), or by a transport that runs the transfer in its own task (ESP32, see drivesTransfer()). Never called from inside a stack callback.
Implemented in phyphox::Server.