7#ifndef PHYPHOX_BLE_TRANSPORT_NINAB31_H
8#define PHYPHOX_BLE_TRANSPORT_NINAB31_H
19 bool notify(
CharId id,
const uint8_t* data, uint16_t len)
override;
25 const char*
name()
const override {
return "NINA-B31"; }
Definition NinaB31Transport.h:16
void setValue(CharId id, const uint8_t *data, uint16_t len) override
Set a characteristic's value without notifying (initial values, the legacy config).
void setTrace(Print *out)
Mirror the AT dialogue with the module ("> " sent, "< " received) on out; nullptr stops it.
uint16_t mtuPayload() const override
The negotiated MTU payload (ATT_MTU โ 3), or PHYPHOX_BLE_DEFAULT_MTU.
void poll() override
Give the stack CPU time.
static NinaB31Transport & instance()
bool begin(const GattLayout &layout, TransportListener &listener) override
Create services and characteristics, start advertising the experiment service.
bool connected() const override
const char * name() const override
"ArduinoBLE", "ESP32", "NINA-B31" โ for printXML/debug
Definition NinaB31Transport.h:25
void restartAdvertising() override
bool notify(CharId id, const uint8_t *data, uint16_t len) override
Send a notification.
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