3 #include <Poco/SharedPtr.h>
5 #include "bluetooth/BeeWiDevice.h"
6 #include "bluetooth/HciConnection.h"
17 typedef Poco::SharedPtr<BeeWiSmartDoor> Ptr;
19 static const std::string NAME;
27 const Poco::Timespan& timeout,
29 const HciInterface::Ptr hci);
34 const Poco::Timespan& timeout,
36 const HciInterface::Ptr hci,
37 HciConnection::Ptr conn);
46 const std::vector<unsigned char>& data)
const override;
48 static bool match(
const std::string& modelID);
RefreshTime represents time of refreshing values from sensors. E.g. sensors are polled periodically o...
Definition: RefreshTime.h:24
Definition: SensorData.h:20
The class represents BeeWi door sensor. It allows to parse recieved data from the device...
Definition: BeeWiSmartDoor.h:15
Definition: MACAddress.h:8
Abstract class for BeeWi devices. Some BeeWi devices need to set the time to stop blinking...
Definition: BeeWiDevice.h:22
RefreshTime refresh() const override
Regular period telling how often to call the method PollableDevice::poll(). The refresh must contain ...
Definition: BLESmartDevice.cpp:31
SensorData parseAdvertisingData(const std::vector< unsigned char > &data) const override
Definition: BeeWiSmartDoor.cpp:44
BeeWiSmartDoor(const MACAddress &address, const Poco::Timespan &timeout, const RefreshTime &refresh, const HciInterface::Ptr hci)