Skip to content

Commit 6f701cd

Browse files
committed
Remove deprecated implementations from GenericGap & LegacyGap
1 parent 55edb61 commit 6f701cd

File tree

3 files changed

+2
-912
lines changed

3 files changed

+2
-912
lines changed

features/FEATURE_BLE/ble/generic/GenericGap.h

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class GenericGap :
7979
using LegacyGap::default_central_privacy_configuration;
8080
using LegacyGap::state;
8181

82-
typedef typename LegacyGap::Address_t Address_t;
82+
typedef typename BLEProtocol::AddressBytes_t Address_t;
8383
typedef typename LegacyGap::PeerAddressType_t PeerAddressType_t;
8484
typedef typename LegacyGap::ConnectionParams_t ConnectionParams_t;
8585
typedef typename LegacyGap::Handle_t Handle_t;
@@ -298,14 +298,6 @@ class GenericGap :
298298
*/
299299
uint8_t getMaxPeriodicAdvertiserListSize_();
300300

301-
/**
302-
* @see Gap::setAddress
303-
*/
304-
ble_error_t setAddress_(
305-
BLEProtocol::AddressType_t type,
306-
const BLEProtocol::AddressBytes_t address
307-
);
308-
309301
/**
310302
* @see Gap::setRandomStaticAddress
311303
*/
@@ -334,11 +326,6 @@ class GenericGap :
334326
*/
335327
uint16_t getMaxAdvertisingInterval_() const;
336328

337-
/**
338-
* @see Gap::stopAdvertising
339-
*/
340-
ble_error_t stopAdvertising_();
341-
342329
/**
343330
* @see Gap::stopScan
344331
*/
@@ -636,8 +623,6 @@ class GenericGap :
636623
bool scan_response
637624
);
638625

639-
void process_scan_timeout();
640-
641626
void on_advertising_timeout();
642627

643628
void process_advertising_timeout();

0 commit comments

Comments
 (0)