Skip to content

Commit 1ada11d

Browse files
committed
Updated the timer timeout
1 parent 2950473 commit 1ada11d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/platform/silabs/rs911x/BLEManagerImpl.cpp

+3-1
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ namespace {
247247
#define BLE_CONFIG_MAX_CE_LENGTH (0xFFFF) // Leave to max value
248248

249249
#define BLE_DEFAULT_TIMER_PERIOD_MS (1)
250-
#define BLE_SEND_INDICATION_TIMER_PERIOD_MS (10)
250+
#define BLE_SEND_INDICATION_TIMER_PERIOD_MS (400)
251251

252252
TimerHandle_t sbleAdvTimeoutTimer; // FreeRTOS sw timer.
253253
TimerHandle_t sbleSendIndicationTimeoutTimer; // FreeRTOS sw timer.
@@ -951,6 +951,7 @@ void BLEManagerImpl::HandleSoftTimerEvent(void)
951951
event.Type = DeviceEventType::kCHIPoBLEConnectionError;
952952
event.CHIPoBLEConnectionError.ConId = connHandle;
953953
event.CHIPoBLEConnectionError.Reason = BLE_ERROR_CHIPOBLE_PROTOCOL_ABORT;
954+
ChipLogProgress(DeviceLayer, "BLEManagerImpl::HandleSoftTimerEvent CHIPOBLE_PROTOCOL_ABORT");
954955
PlatformMgr().PostEventOrDie(&event);
955956
}
956957

@@ -1125,6 +1126,7 @@ void BLEManagerImpl::StartBleAdvTimeoutTimer(uint32_t aTimeoutInMs)
11251126

11261127
void BLEManagerImpl::BleSendIndicationTimeoutHandler(TimerHandle_t xTimer)
11271128
{
1129+
ChipLogProgress(DeviceLayer, "BleSendIndicationTimeoutHandler::Start");
11281130
sInstance.HandleSoftTimerEvent();
11291131
}
11301132

0 commit comments

Comments
 (0)