Event generated when a connection initiation ends (successfully or not). More...
#include <Events.h>
Public Member Functions | |
ble_error_t | getStatus () const |
Get connection complete event status. More... | |
connection_handle_t | getConnectionHandle () const |
Get connection handle (valid only when successful). More... | |
connection_role_t | getOwnRole () const |
Get own role. More... | |
const peer_address_type_t & | getPeerAddressType () const |
Get peer address type. More... | |
const address_t & | getPeerAddress () const |
Get peer address. More... | |
const address_t & | getLocalResolvablePrivateAddress () const |
Get get local resolvable random address if privacy is used. More... | |
const address_t & | getPeerResolvablePrivateAddress () const |
Get peer resolvable private address if privacy is used. More... | |
conn_interval_t | getConnectionInterval () const |
Get connection interval. More... | |
slave_latency_t | getConnectionLatency () const |
Get connection latency. More... | |
supervision_timeout_t | getSupervisionTimeout () const |
Get supervision timeout. More... | |
uint16_t | getMasterClockAccuracy () const |
Get clock accuracy in parts per million. More... | |
void | setStatus (ble_error_t new_status) |
Set connection complete event status. More... | |
void | setPeerAddressType (const peer_address_type_t &address_type) |
Set peer address type. More... | |
void | setPeerAddress (const address_t &address) |
Set peer address. More... | |
void | setLocalResolvablePrivateAddress (const address_t &address) |
Set get local resolvable random address if privacy is used. More... | |
void | setPeerResolvablePrivateAddress (const address_t &address) |
Set peer resolvable private address if privacy is used. More... | |
Event generated when a connection initiation ends (successfully or not).
connection_handle_t getConnectionHandle | ( | ) | const |
conn_interval_t getConnectionInterval | ( | ) | const |
slave_latency_t getConnectionLatency | ( | ) | const |
const address_t& getLocalResolvablePrivateAddress | ( | ) | const |
uint16_t getMasterClockAccuracy | ( | ) | const |
const address_t& getPeerAddress | ( | ) | const |
const peer_address_type_t& getPeerAddressType | ( | ) | const |
const address_t& getPeerResolvablePrivateAddress | ( | ) | const |
ble_error_t getStatus | ( | ) | const |
supervision_timeout_t getSupervisionTimeout | ( | ) | const |
void setLocalResolvablePrivateAddress | ( | const address_t & | address | ) |
void setPeerAddress | ( | const address_t & | address | ) |
void setPeerAddressType | ( | const peer_address_type_t & | address_type | ) |
void setPeerResolvablePrivateAddress | ( | const address_t & | address | ) |
void setStatus | ( | ble_error_t | new_status | ) |