|
typedef Poco::SharedPtr
< HciInterface > | Ptr |
|
typedef std::function< void(const
MACAddress &, std::vector
< unsigned char > &)> | WatchCallback |
|
virtual HciConnection::Ptr BeeeOn::HciInterface::connect |
( |
const MACAddress & |
address, |
|
|
const Poco::Timespan & |
timeout |
|
) |
| const |
|
pure virtual |
virtual bool BeeeOn::HciInterface::detect |
( |
const MACAddress & |
address | ) |
const |
|
pure virtual |
virtual HciInfo BeeeOn::HciInterface::info |
( |
| ) |
const |
|
pure virtual |
virtual std::map<MACAddress, std::string> BeeeOn::HciInterface::lescan |
( |
const Poco::Timespan & |
seconds | ) |
const |
|
pure virtual |
Full scan of low energy bluetooth network. Sets parameters for low energy scan and open socket.
- Returns
- list of MAC addresses with names
- Exceptions
-
IOException | when the detection fails for some reason |
Implemented in BeeeOn::DBusHciInterface, and BeeeOn::BluezHciInterface.
virtual void BeeeOn::HciInterface::reset |
( |
| ) |
const |
|
pure virtual |
virtual std::map<MACAddress, std::string> BeeeOn::HciInterface::scan |
( |
| ) |
const |
|
pure virtual |
virtual void BeeeOn::HciInterface::unwatch |
( |
const MACAddress & |
address | ) |
|
|
pure virtual |
virtual void BeeeOn::HciInterface::up |
( |
| ) |
const |
|
pure virtual |
virtual void BeeeOn::HciInterface::watch |
( |
const MACAddress & |
address, |
|
|
Poco::SharedPtr< WatchCallback > |
callBack |
|
) |
| |
|
pure virtual |
The documentation for this class was generated from the following files:
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/bluetooth/HciInterface.h
- /var/lib/jenkins/workspace/beeeon-gateway-master/src/bluetooth/HciInterface.cpp