File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
connectivity/FEATURE_BLE/source/generic Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2392,14 +2392,14 @@ ble_error_t Gap::startAdvertising(
2392
2392
_pal_gap.set_advertising_set_random_address (handle, *random_address);
2393
2393
}
2394
2394
2395
- /* check we hanve 't run out of space to remember parameters */
2395
+ /* check we haven 't run out of space to remember parameters */
2396
2396
if (_advertising_enable_command_params.number_of_handles == BLE_GAP_HOST_MAX_OUTSTANDING_ADVERTISING_START_COMMANDS) {
2397
2397
/* try to process early */
2398
2398
tr_debug (" Processing enable queue early as run out of queue space" );
2399
2399
process_enable_queue ();
2400
2400
/* if the processing didn't clear the handles we cannot continue */
2401
2401
if (_advertising_enable_command_params.number_of_handles ) {
2402
- tr_debug (" Cannot enable set as no memory to record the parameters" );
2402
+ tr_warn (" Cannot enable set as no memory to record the parameters" );
2403
2403
return BLE_ERROR_NO_MEM;
2404
2404
}
2405
2405
}
@@ -2471,7 +2471,7 @@ void Gap::process_enable_queue()
2471
2471
for (size_t i = 0 ; i < BLE_GAP_MAX_ADVERTISING_SETS; ++i) {
2472
2472
if (_pending_sets.get (i)) {
2473
2473
/* we have to wait until nothing is pending */
2474
- tr_debug (" Cannot enable sets as pending sets present" );
2474
+ tr_info (" Cannot enable sets as pending sets present, will retry later " );
2475
2475
return ;
2476
2476
}
2477
2477
}
Original file line number Diff line number Diff line change @@ -1001,7 +1001,7 @@ class Gap :
1001
1001
1002
1002
#if BLE_FEATURE_EXTENDED_ADVERTISING
1003
1003
#if BLE_GAP_HOST_MAX_OUTSTANDING_ADVERTISING_START_COMMANDS < 1 || BLE_GAP_HOST_MAX_OUTSTANDING_ADVERTISING_START_COMMANDS > BLE_GAP_MAX_ADVERTISING_SETS
1004
- #error "BLE_GAP_HOST_MAX_OUTSTANDING_ADVERTISING_START_COMMANDS must be at least 1 and not bigget than BLE_GAP_MAX_ADVERTISING_SETS"
1004
+ #error "BLE_GAP_HOST_MAX_OUTSTANDING_ADVERTISING_START_COMMANDS must be at least 1 and not bigger than BLE_GAP_MAX_ADVERTISING_SETS"
1005
1005
#endif
1006
1006
struct AdvertisingEnableCommandParams_t {
1007
1007
adv_duration_t max_durations[BLE_GAP_HOST_MAX_OUTSTANDING_ADVERTISING_START_COMMANDS];
You can’t perform that action at this time.
0 commit comments