6#ifndef PHYPHOX_BLE_TRANSPORT_ARDUINOBLE_H
7#define PHYPHOX_BLE_TRANSPORT_ARDUINOBLE_H
16 bool notify(
CharId id,
const uint8_t* data, uint16_t len)
override;
24 const char*
name()
const override {
return "ArduinoBLE"; }
Definition ArduinoBleTransport.h:13
void restartAdvertising() override
void requestConnectionParameters(uint16_t, uint16_t, uint16_t, uint16_t) override
Ask the central for connection parameters (units of 1.25 ms / 10 ms).
void poll() override
Give the stack CPU time.
bool connected() const override
void setValue(CharId id, const uint8_t *data, uint16_t len) override
Set a characteristic's value without notifying (initial values, the legacy config).
bool notify(CharId id, const uint8_t *data, uint16_t len) override
Send a notification.
const char * name() const override
"ArduinoBLE", "ESP32", "NINA-B31" — for printXML/debug
Definition ArduinoBleTransport.h:24
bool begin(const GattLayout &layout, TransportListener &listener) override
Create services and characteristics, start advertising the experiment service.
void requestMtu(uint16_t payload) override
Ask the stack for an MTU before connecting (ESP32 only today; others ignore).
uint16_t mtuPayload() const override
The negotiated MTU payload (ATT_MTU − 3), or PHYPHOX_BLE_DEFAULT_MTU.
static ArduinoBleTransport & instance()
Callbacks from the transport into the core (implemented by Server).
Definition Transport.h:40
Definition Transport.h:59
Definition ChannelStore.h:11
Definition Transport.h:23
What the core asks the transport to create at begin().
Definition Transport.h:29