@@ -2234,7 +2234,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
22342234 }
22352235
22362236 uint8_t new_handle = LEGACY_ADVERTISING_HANDLE + 1 ;
2237- uint8_t end = getMaxAdvertisingSetNumber ();
2237+ uint8_t end = getMaxAdvertisingSetNumber_ ();
22382238
22392239 *handle = INVALID_ADVERTISING_HANDLE;
22402240
@@ -2271,7 +2271,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
22712271 return BLE_ERROR_INVALID_PARAM;
22722272 }
22732273
2274- if (handle >= getMaxAdvertisingSetNumber ()) {
2274+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
22752275 return BLE_ERROR_INVALID_PARAM;
22762276 }
22772277
@@ -2308,7 +2308,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
23082308 useVersionTwoAPI ();
23092309
23102310#if BLE_FEATURE_EXTENDED_ADVERTISING
2311- if (handle >= getMaxAdvertisingSetNumber ()) {
2311+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
23122312 return BLE_ERROR_INVALID_PARAM;
23132313 }
23142314
@@ -2350,7 +2350,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
23502350 const AdvertisingParameters ¶ms
23512351)
23522352{
2353- if (handle >= getMaxAdvertisingSetNumber ()) {
2353+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
23542354 return BLE_ERROR_INVALID_PARAM;
23552355 }
23562356
@@ -2466,7 +2466,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
24662466 );
24672467
24682468#if BLE_FEATURE_EXTENDED_ADVERTISING
2469- if (handle >= getMaxAdvertisingSetNumber ()) {
2469+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
24702470 return BLE_ERROR_INVALID_PARAM;
24712471 }
24722472
@@ -2575,7 +2575,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
25752575 ble_error_t error = BLE_ERROR_NONE;
25762576
25772577#if BLE_FEATURE_EXTENDED_ADVERTISING
2578- if (handle >= getMaxAdvertisingSetNumber ()) {
2578+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
25792579 return BLE_ERROR_INVALID_PARAM;
25802580 }
25812581
@@ -2634,7 +2634,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
26342634 ble_error_t status;
26352635
26362636#if BLE_FEATURE_EXTENDED_ADVERTISING
2637- if (handle >= getMaxAdvertisingSetNumber ()) {
2637+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
26382638 return BLE_ERROR_INVALID_PARAM;
26392639 }
26402640
@@ -2686,7 +2686,7 @@ bool GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEventHandl
26862686{
26872687 useVersionTwoAPI ();
26882688
2689- if (handle >= getMaxAdvertisingSetNumber ()) {
2689+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
26902690 return false ;
26912691 }
26922692
@@ -2711,7 +2711,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
27112711 return BLE_ERROR_INVALID_PARAM;
27122712 }
27132713
2714- if (handle >= getMaxAdvertisingSetNumber ()) {
2714+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
27152715 return BLE_ERROR_INVALID_PARAM;
27162716 }
27172717
@@ -2739,15 +2739,15 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
27392739 return BLE_ERROR_INVALID_PARAM;
27402740 }
27412741
2742- if (handle >= getMaxAdvertisingSetNumber ()) {
2742+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
27432743 return BLE_ERROR_INVALID_PARAM;
27442744 }
27452745
27462746 if (!_existing_sets.get (handle)) {
27472747 return BLE_ERROR_INVALID_PARAM;
27482748 }
27492749
2750- if (payload.size () > getMaxAdvertisingDataLength ()) {
2750+ if (payload.size () > getMaxAdvertisingDataLength_ ()) {
27512751 return BLE_ERROR_INVALID_PARAM;
27522752 }
27532753
@@ -2801,7 +2801,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
28012801 return BLE_ERROR_INVALID_PARAM;
28022802 }
28032803
2804- if (handle >= getMaxAdvertisingSetNumber ()) {
2804+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
28052805 return BLE_ERROR_INVALID_PARAM;
28062806 }
28072807
@@ -2835,7 +2835,7 @@ ble_error_t GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEve
28352835 return BLE_ERROR_INVALID_PARAM;
28362836 }
28372837
2838- if (handle >= getMaxAdvertisingSetNumber ()) {
2838+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
28392839 return BLE_ERROR_INVALID_PARAM;
28402840 }
28412841
@@ -2861,7 +2861,7 @@ bool GenericGap<PalGapImpl, PalSecurityManager, ConnectionEventMonitorEventHandl
28612861{
28622862 useVersionTwoAPI ();
28632863
2864- if (handle >= getMaxAdvertisingSetNumber ()) {
2864+ if (handle >= getMaxAdvertisingSetNumber_ ()) {
28652865 return false ;
28662866 }
28672867
0 commit comments