Skip to content

Commit 114b6f4

Browse files
committed
Also removed bond list helper from BLEPeriph
1 parent 9a581f5 commit 114b6f4

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

libraries/Bluefruit52Lib/src/BLEPeriph.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,11 +78,6 @@ uint8_t BLEPeriph::connected (void)
7878
return count;
7979
}
8080

81-
bool BLEPeriph::getBonds(bonded_device_info* bondedPeers, uint32_t bondedPeersSize, uint32_t* actualBondedPeersSize)
82-
{
83-
return bond_get_list(BLE_GAP_ROLE_PERIPH, bondedPeers, bondedPeersSize, actualBondedPeersSize);
84-
}
85-
8681
void BLEPeriph::clearBonds(void)
8782
{
8883
bond_clear_prph();

libraries/Bluefruit52Lib/src/BLEPeriph.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939

4040
#include <Arduino.h>
4141
#include "bluefruit_common.h"
42-
#include "utility/bonding.h"
4342

4443
class BLEPeriph
4544
{
@@ -51,7 +50,6 @@ class BLEPeriph
5150
bool connected(uint16_t conn_hdl); // Connected as prph to this connection
5251
uint8_t connected(void); // Number of connected as peripherals
5352

54-
bool getBonds(bonded_device_info* bondedPeers, uint32_t bondedPeersSize, uint32_t* actualBondedPeersSize);
5553
void clearBonds(void);
5654

5755
bool setConnInterval (uint16_t min, uint16_t max);

0 commit comments

Comments
 (0)