NimBLE-Arduino  1.4.1
NimBLEConnInfo Class Reference

Connection information. More...

Public Member Functions

NimBLEAddress getAddress ()
 Gets the over-the-air address of the connected peer.
 
NimBLEAddress getIdAddress ()
 Gets the ID address of the connected peer.
 
uint16_t getConnHandle ()
 Gets the connection handle of the connected peer.
 
uint16_t getConnInterval ()
 Gets the connection interval for this connection (in 1.25ms units)
 
uint16_t getConnTimeout ()
 Gets the supervision timeout for this connection (in 10ms units)
 
uint16_t getConnLatency ()
 Gets the allowable latency for this connection (unit = number of intervals)
 
uint16_t getMTU ()
 Gets the maximum transmission unit size for this connection (in bytes)
 
bool isMaster ()
 Check if we are in the master role in this connection.
 
bool isSlave ()
 Check if we are in the slave role in this connection.
 
bool isBonded ()
 Check if we are connected to a bonded peer.
 
bool isEncrypted ()
 Check if the connection in encrypted.
 
bool isAuthenticated ()
 Check if the the connection has been authenticated.
 
uint8_t getSecKeySize ()
 Gets the key size used to encrypt the connection.
 

Detailed Description

Connection information.