|
| BLEDevice (BLESensorConfiguration &config) |
|
| BLEDevice (BLESensorConfiguration &config, BLEDeviceDelegate &delegate, const Date &created=Date()) |
|
| BLEDevice (BLESensorConfiguration &config, TargetIdentifier identifier, BLEDeviceDelegate &delegate, const Date &created=Date()) |
|
| BLEDevice (const BLEDevice &other) |
|
| BLEDevice (BLEDevice &&other)=delete |
|
void | reset (const TargetIdentifier &newID, BLEDeviceDelegate &newDelegate) |
| Resets the device to what it's state would be if just constructed. Allows re-use in fixed size containers.
|
|
BLEDevice & | operator= (const BLEDevice &other) |
|
BLEDevice | operator= (BLEDevice &&other)=delete |
|
bool | operator== (const BLEDevice &other) const noexcept |
|
bool | operator!= (const BLEDevice &other) const noexcept |
|
const BLESensorConfiguration & | configuration () const noexcept |
| Returns the BLESensorConfiguration reference relating to this instance.
|
|
const TargetIdentifier & | identifier () const override |
|
void | identifier (const TargetIdentifier &) override |
|
std::string | description () const |
|
| operator std::string () const |
|
TimeInterval | timeIntervalSinceLastUpdate () const override |
|
void | advertData (std::vector< BLEAdvertSegment > segments) |
|
void | services (std::vector< UUID > services) |
|
bool | hasService (const UUID &serviceUUID) const |
|
BLEDeviceState | state () const |
|
void | state (BLEDeviceState newState) |
|
BLEDeviceOperatingSystem | operatingSystem () const |
|
void | operatingSystem (BLEDeviceOperatingSystem newOS) |
|
RSSI | rssi () const |
|
void | rssi (RSSI newRSSI) |
|
std::optional< BLETxPower > | txPower () const |
|
void | txPower (BLETxPower newPower) |
|
TimeInterval | timeIntervalSinceLastPayloadDataUpdate () const |
|
TimeInterval | timeIntervalSinceLastWritePayloadSharing () const |
|
TimeInterval | timeIntervalSinceLastWritePayload () const |
|
TimeInterval | timeIntervalSinceLastWriteRssi () const |
|
TimeInterval | timeIntervalUntilIgnoreExpired () const |
|
std::optional< UUID > | signalCharacteristic () const |
|
void | signalCharacteristic (UUID newChar) |
|
std::optional< UUID > | payloadCharacteristic () const |
|
void | payloadCharacteristic (UUID newChar) |
|
std::optional< BLEMacAddress > | pseudoDeviceAddress () const |
|
void | pseudoDeviceAddress (BLEMacAddress newAddress) |
|
PayloadData | payloadData () const |
|
void | payloadData (PayloadData newPayloadData) |
|
bool | ignore () const |
|
void | ignore (bool newIgnore) |
|
void | invalidateCharacteristics () |
|
void | registerDiscovery (Date at) |
|