5 #ifndef HERALD_BLE_PROTOCOLS_H
6 #define HERALD_BLE_PROTOCOLS_H
8 #include "../datatype/target_identifier.h"
9 #include "../engine/activities.h"
49 virtual std::optional<Activity> serviceDiscovery(
Activity) = 0;
50 virtual std::optional<Activity> readPayload(
Activity) = 0;
Definition: ble_protocols.h:22
virtual bool closeConnection(const TargetIdentifier &toTarget)=0
virtual void restartScanningAndAdvertising()=0
virtual bool openConnection(const TargetIdentifier &toTarget)=0
Definition: target_identifier.h:17
Contains all low-level Herald datatype implementations.
Definition: base64_string.h:14
Engine classes provide for task scheduling, including complex inter-dependent tasks.
Definition: activities.h:18
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