herald
2.0.0
|
Dummy implementation of a ConcreteBLEReceiver that does nothing (used for testing) More...
#include <concrete_ble_receiver.h>
Public Member Functions | |
ConcreteBLEReceiver (ContextT &ctx, BluetoothStateManager &bluetoothStateManager, PayloadDataSupplierT &payloadDataSupplier, BLEDatabaseT &bleDatabase, SensorDelegateSetT &dels) | |
ConcreteBLEReceiver (const ConcreteBLEReceiver &from)=delete | |
ConcreteBLEReceiver (ConcreteBLEReceiver &&from)=delete | |
std::optional< std::reference_wrapper< CoordinationProvider > > | coordinationProvider () |
void | start () |
void | stop () |
bool | openConnection (const TargetIdentifier &toTarget) override |
bool | closeConnection (const TargetIdentifier &toTarget) override |
void | restartScanningAndAdvertising () override |
std::optional< Activity > | serviceDiscovery (Activity) override |
std::optional< Activity > | readPayload (Activity) override |
ConcreteBLEReceiver (ContextT &ctx, BluetoothStateManager &bluetoothStateManager, PayloadDataSupplierT &payloadDataSupplier, BLEDatabaseT &bleDatabase, SensorDelegateSetT &dels) | |
ConcreteBLEReceiver (const ConcreteBLEReceiver &from)=delete | |
ConcreteBLEReceiver (ConcreteBLEReceiver &&from)=delete | |
std::optional< std::reference_wrapper< CoordinationProvider > > | coordinationProvider () |
void | start () |
void | stop () |
bool | openConnection (const TargetIdentifier &toTarget) override |
bool | closeConnection (const TargetIdentifier &toTarget) override |
void | restartScanningAndAdvertising () override |
std::optional< Activity > | serviceDiscovery (Activity activity) override |
std::optional< Activity > | readPayload (Activity activity) override |
Dummy implementation of a ConcreteBLEReceiver that does nothing (used for testing)
|
inlineoverridevirtual |
Closes a connection. Returns true if successful or already disconnected
Implements herald::ble::HeraldProtocolV1Provider.
|
inlineoverridevirtual |
Closes a connection. Returns true if successful or already disconnected
Implements herald::ble::HeraldProtocolV1Provider.
|
inlineoverridevirtual |
Opens a new connection. Returns true if successful or already connected. Will cause scanning and advertising to stop.
Implements herald::ble::HeraldProtocolV1Provider.
|
inlineoverridevirtual |
Opens a new connection. Returns true if successful or already connected. Will cause scanning and advertising to stop.
Implements herald::ble::HeraldProtocolV1Provider.
|
inlineoverridevirtual |
Restart scanning and advertising (if they were previously doing so)
Implements herald::ble::HeraldProtocolV1Provider.
|
inlineoverridevirtual |
Restart scanning and advertising (if they were previously doing so)
Implements herald::ble::HeraldProtocolV1Provider.