5 #include <Poco/SharedPtr.h>
6 #include <Poco/Timespan.h>
9 #include "net/MACAddress.h"
18 typedef Poco::SharedPtr<HciConnection> Ptr;
29 virtual std::vector<unsigned char>
read(
const Poco::UUID& uuid) = 0;
39 const Poco::UUID& uuid,
40 const std::vector<unsigned char>& value) = 0;
52 const Poco::UUID& notifyUuid,
53 const Poco::UUID& writeUuid,
54 const std::vector<unsigned char>& value,
55 const Poco::Timespan& notifyTimeout) = 0;
virtual std::vector< unsigned char > notifiedWrite(const Poco::UUID ¬ifyUuid, const Poco::UUID &writeUuid, const std::vector< unsigned char > &value, const Poco::Timespan ¬ifyTimeout)=0
The method returns data from the given notifying characteristic to which the device sends data based ...
The interface class represents connection with BLE device.
Definition: HciConnection.h:16
virtual void write(const Poco::UUID &uuid, const std::vector< unsigned char > &value)=0
Sends write request to device defined by MAC address. The modified characteristic is defined by UUID ...
virtual std::vector< unsigned char > read(const Poco::UUID &uuid)=0
Sends read request to device defined by MAC address. The read characteristic is defined by UUID of ch...