Also removed bond list helper from BLEPeriph
This commit is contained in:
1 parent
9a581f5f41
commit
114b6f49e1
2 files changed
-7
No files matched your search
@@ -78,11 +78,6 @@ uint8_t BLEPeriph::connected (void)
|
||||
return count;
|
||||
}
|
||||
|
||||
bool BLEPeriph::getBonds(bonded_device_info* bondedPeers, uint32_t bondedPeersSize, uint32_t* actualBondedPeersSize)
|
||||
{
|
||||
return bond_get_list(BLE_GAP_ROLE_PERIPH, bondedPeers, bondedPeersSize, actualBondedPeersSize);
|
||||
}
|
||||
|
||||
void BLEPeriph::clearBonds(void)
|
||||
{
|
||||
bond_clear_prph();
|
||||
|
||||
@@ -39,7 +39,6 @@
|
||||
|
||||
#include <Arduino.h>
|
||||
#include "bluefruit_common.h"
|
||||
#include "utility/bonding.h"
|
||||
|
||||
class BLEPeriph
|
||||
{
|
||||
@@ -51,7 +50,6 @@ class BLEPeriph
|
||||
bool connected(uint16_t conn_hdl); // Connected as prph to this connection
|
||||
uint8_t connected(void); // Number of connected as peripherals
|
||||
|
||||
bool getBonds(bonded_device_info* bondedPeers, uint32_t bondedPeersSize, uint32_t* actualBondedPeersSize);
|
||||
void clearBonds(void);
|
||||
|
||||
bool setConnInterval (uint16_t min, uint16_t max);
|
||||
|
||||
Reference in new issue
Block a user