@@ -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 (400 )
250
+ #define BLE_SEND_INDICATION_TIMER_PERIOD_MS (500 ) // 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.
@@ -481,9 +481,7 @@ bool BLEManagerImpl::SendIndication(BLE_CONNECTION_OBJECT conId, const ChipBleUU
481
481
status = rsi_ble_indicate_value (event_msg.resp_enh_conn .dev_addr , event_msg.rsi_ble_measurement_hndl , (data->DataLength ()),
482
482
data->Start ());
483
483
484
- ChipLogProgress (DeviceLayer, " StartTimer start" );
485
484
StartBleSendIndicationTimeoutTimer (BLE_SEND_INDICATION_TIMER_PERIOD_MS);
486
- ChipLogProgress (DeviceLayer, " StartTimer Stop" );
487
485
488
486
if (status != RSI_SUCCESS)
489
487
{
@@ -951,7 +949,6 @@ void BLEManagerImpl::HandleSoftTimerEvent(void)
951
949
event.Type = DeviceEventType::kCHIPoBLEConnectionError ;
952
950
event.CHIPoBLEConnectionError .ConId = connHandle;
953
951
event.CHIPoBLEConnectionError .Reason = BLE_ERROR_CHIPOBLE_PROTOCOL_ABORT;
954
- ChipLogProgress (DeviceLayer, " BLEManagerImpl::HandleSoftTimerEvent CHIPOBLE_PROTOCOL_ABORT" );
955
952
PlatformMgr ().PostEventOrDie (&event);
956
953
}
957
954
0 commit comments