@@ -247,7 +247,7 @@ namespace {
247
247
#define BLE_CONFIG_MAX_CE_LENGTH (0xFFFF ) // Leave to max value
248
248
249
249
#define BLE_DEFAULT_TIMER_PERIOD_MS (1 )
250
- #define BLE_SEND_INDICATION_TIMER_PERIOD_MS (500 ) // Time kept to support all WiFi chips BLE (RS9116/ SiWx917 NCP/SOC)
250
+ #define BLE_SEND_INDICATION_TIMER_PERIOD_MS (400 ) // Time kept to support all WiFi chips BLE (RS9116/ SiWx917 NCP/SOC)
251
251
252
252
TimerHandle_t sbleAdvTimeoutTimer; // FreeRTOS sw timer.
253
253
TimerHandle_t sbleSendIndicationTimeoutTimer; // FreeRTOS sw timer.
@@ -1123,7 +1123,6 @@ void BLEManagerImpl::StartBleAdvTimeoutTimer(uint32_t aTimeoutInMs)
1123
1123
1124
1124
void BLEManagerImpl::BleSendIndicationTimeoutHandler (TimerHandle_t xTimer)
1125
1125
{
1126
- ChipLogProgress (DeviceLayer, " BleSendIndicationTimeoutHandler::Start" );
1127
1126
sInstance .HandleSoftTimerEvent ();
1128
1127
}
1129
1128
@@ -1145,7 +1144,7 @@ void BLEManagerImpl::StartBleSendIndicationTimeoutTimer(uint32_t aTimeoutInMs)
1145
1144
// timer is not active, change its period to required value (== restart).
1146
1145
// FreeRTOS- Block for a maximum of 100 ticks if the change period command
1147
1146
// cannot immediately be sent to the timer command queue.
1148
- if (xTimerChangePeriod (sbleSendIndicationTimeoutTimer, pdMS_TO_TICKS (aTimeoutInMs), pdMS_TO_TICKS (100 )) != pdPASS)
1147
+ if (xTimerChangePeriod (sbleSendIndicationTimeoutTimer, pdMS_TO_TICKS (aTimeoutInMs), pdMS_TO_TICKS (BLE_CONFIG_TIMEOUT )) != pdPASS)
1149
1148
{
1150
1149
ChipLogError (DeviceLayer, " Failed to start BledAdv timeout timer" );
1151
1150
}
0 commit comments