NimBLE-Arduino 2.1.2
Loading...
Searching...
No Matches
NimBLEConnInfo Class Reference

Connection information. More...

#include <NimBLEConnInfo.h>

Public Member Functions

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

Detailed Description

Connection information.