Connection instance metadata.
More...
#include <Connection.hxx>
Connection instance metadata.
Definition at line 45 of file Connection.hxx.
◆ ~Connection()
| ble::Connection::~Connection |
( |
| ) |
|
|
inline |
Destructor. This happens when there is a disconnect.
Definition at line 67 of file Connection.hxx.
◆ Connection()
Constructor.
- Parameters
-
| handle | handle to the connection |
| addr | peer address |
| addr_type | peer address type |
| central | true if central role, else peripheral role |
Definition at line 77 of file Connection.hxx.
◆ get_addr()
Get the connection address.
- Returns
- connection address
Definition at line 57 of file Connection.hxx.
◆ get_handle()
Get the connection handle.
- Returns
- connection handle
Definition at line 50 of file Connection.hxx.
◆ Connections
◆ addr_
◆ addrType_
◆ central_
| bool ble::Connection::central_ |
|
private |
true if central role, else peripheral role
Definition at line 89 of file Connection.hxx.
◆ handle_
The documentation for this class was generated from the following file: