Datasheet

These functions are generally available via 'Bluefruit.*'. For example, to check the connection status in your sketch you
could run ' if (Bluefruit.connected()) { ... } '.
Examples
For examples of how to work with the parent Bluefruit class, see the Examples section later in this guide. It's better to
examine this class in the context of a real world use case.
You can also browse the latest example code online via Github:
https://adafru.it/vaK
https://adafru.it/vaK
bool setApperance (uint16_t appear);
uint16_t getApperance (void);
void autoConnLed (bool enabled);
void setConnLedInterval (uint32_t ms);
/*------------------------------------------------------------------*/
/* GAP, Connections and Bonding
*------------------------------------------------------------------*/
bool connected (void);
bool disconnect (void);
bool setConnInterval (uint16_t min, uint16_t max);
bool setConnIntervalMS (uint16_t min_ms, uint16_t max_ms);
uint16_t connHandle (void);
bool connPaired (void);
uint16_t connInterval (void);
bool requestPairing (void);
void clearBonds (void);
ble_gap_addr_t getPeerAddr (void);
uint8_t getPeerAddr (uint8_t addr[6]);
void printInfo(void);
/*------------------------------------------------------------------*/
/* Callbacks
*------------------------------------------------------------------*/
void setConnectCallback ( BLEGap::connect_callback_t fp);
void setDisconnectCallback( BLEGap::disconnect_callback_t fp);
© Adafruit Industries https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide Page 93 of 175