5 #ifndef HERALD_BLE_SENSOR_CONFIGURATION_H
6 #define HERALD_BLE_SENSOR_CONFIGURATION_H
8 #include "../datatype/time_interval.h"
9 #include "../datatype/uuid.h"
17 static const UUID legacyAustraliaServiceUUID(
"00000000-0000-4000-8000-000000000000");
19 static const UUID legacyOpenTraceUUID(
"00000000-0000-4000-8000-000000000000");
96 bool advertisingEnabled;
Definition: time_interval.h:19
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
Defines BLE sensor configuration data, e.g. service and characteristic UUIDs.
Definition: ble_sensor_configuration.h:23
std::byte signalCharacteristicActionWritePayload
Signal characteristic action code for write payload, expect 1 byte action code followed by 2 byte lit...
Definition: ble_sensor_configuration.h:55
UUID androidSignalCharacteristicUUID
Definition: ble_sensor_configuration.h:38
UUID payloadCharacteristicUUID
Definition: ble_sensor_configuration.h:44
std::byte signalCharacteristicActionWritePayloadSharing
Signal characteristic action code for write payload, expect 1 byte action code followed by 2 byte lit...
Definition: ble_sensor_configuration.h:59
int manufacturerIdForApple
BLE advert manufacturer ID for Apple, for scanning of background iOS devices.
Definition: ble_sensor_configuration.h:50
TimeInterval payloadDataUpdateTimeInterval
Log level for BLESensor.
Definition: ble_sensor_configuration.h:73
std::byte signalCharacteristicActionWriteRSSI
Signal characteristic action code for write RSSI, expect 1 byte action code followed by 4 byte little...
Definition: ble_sensor_configuration.h:57
TimeInterval payloadSharingExpiryTimeInterval
Expiry time for shared payloads, to ensure only recently seen payloads are shared.
Definition: ble_sensor_configuration.h:76
UUID iosSignalCharacteristicUUID
Definition: ble_sensor_configuration.h:41
UUID serviceUUID
Definition: ble_sensor_configuration.h:35
TimeInterval advertRefreshTimeInterval
Advert refresh time interval.
Definition: ble_sensor_configuration.h:79
int manufacturerIdForSensor
Definition: ble_sensor_configuration.h:48
int maxBluetoothConnections
Definition: ble_sensor_configuration.h:93
TimeInterval peripheralCleanInterval
Definition: ble_sensor_configuration.h:89
std::byte signalCharacteristicActionWriteImmediate
Arbitrary immediate write.
Definition: ble_sensor_configuration.h:61