5 #ifndef HERALD_DEFAULT_BLE_CONCRETE_RECEIVER_H
6 #define HERALD_DEFAULT_BLE_CONCRETE_RECEIVER_H
8 #include "../bluetooth_state_manager.h"
9 #include "../ble_receiver.h"
10 #include "../../payload/payload_data_supplier.h"
11 #include "../../datatype/data.h"
12 #include "../../datatype/target_identifier.h"
20 using namespace herald::payload;
23 template <
typename ContextT,
typename PayloadDataSupplierT,
typename BLEDatabaseT,
typename SensorDelegateSetT>
27 PayloadDataSupplierT& payloadDataSupplier, BLEDatabaseT& bleDatabase, SensorDelegateSetT& dels) {}
33 std::optional<std::reference_wrapper<CoordinationProvider>> coordinationProvider() {
61 std::optional<Activity> serviceDiscovery(
Activity)
override {
65 std::optional<Activity> readPayload(
Activity)
override {
Definition: bluetooth_state_manager.h:19
Dummy implementation of a ConcreteBLEReceiver that does nothing (used for testing)
Definition: concrete_ble_receiver.h:24
bool closeConnection(const TargetIdentifier &toTarget) override
Definition: concrete_ble_receiver.h:53
void restartScanningAndAdvertising() override
Definition: concrete_ble_receiver.h:57
bool openConnection(const TargetIdentifier &toTarget) override
Definition: concrete_ble_receiver.h:49
Definition: ble_protocols.h:22
Definition: target_identifier.h:17
Contains all low-level Herald datatype implementations.
Definition: base64_string.h:14
Acts as a non-global memory arena for arbitrary classes.
Definition: aggregates.h:15
An activity that needs to be performed due to some state being achieved in a Sensor.
Definition: activities.h:75