@@ -311,9 +311,9 @@ void BLEManagerImpl::OnSendIndicationTimeout(System::Layer * aLayer, void * appS
311
311
uint8_t connHandle = 1 ;
312
312
ChipLogProgress (DeviceLayer, " BLEManagerImpl::HandleSoftTimerEvent CHIPOBLE_PROTOCOL_ABORT" );
313
313
ChipDeviceEvent event;
314
- event.Type = DeviceEventType::kCHIPoBLEConnectionError ;
315
- event.CHIPoBLEConnectionError .ConId = connHandle;
316
- event.CHIPoBLEConnectionError .Reason = BLE_ERROR_CHIPOBLE_PROTOCOL_ABORT;
314
+ event.Type = DeviceEventType::kCHIPoBLEConnectionError ;
315
+ event.CHIPoBLEConnectionError .ConId = connHandle;
316
+ event.CHIPoBLEConnectionError .Reason = BLE_ERROR_CHIPOBLE_PROTOCOL_ABORT;
317
317
PlatformMgr ().PostEventOrDie (&event);
318
318
}
319
319
@@ -482,17 +482,16 @@ uint16_t BLEManagerImpl::GetMTU(BLE_CONNECTION_OBJECT conId) const
482
482
return (conState != NULL ) ? conState->mtu : 0 ;
483
483
}
484
484
485
-
486
-
487
485
bool BLEManagerImpl::SendIndication (BLE_CONNECTION_OBJECT conId, const ChipBleUUID * svcId, const ChipBleUUID * charId,
488
486
PacketBufferHandle data)
489
487
{
490
488
int32_t status = 0 ;
491
- status = rsi_ble_indicate_value (event_msg.resp_enh_conn .dev_addr , event_msg.rsi_ble_measurement_hndl , (data->DataLength ()),
492
- data->Start ());
493
-
489
+ status = rsi_ble_indicate_value (event_msg.resp_enh_conn .dev_addr , event_msg.rsi_ble_measurement_hndl , (data->DataLength ()),
490
+ data->Start ());
491
+
494
492
// start timer for light indication confirmation. Long delay for spake2 indication
495
- DeviceLayer::SystemLayer ().StartTimer (chip::System::Clock::Milliseconds32 (BLE_SEND_INDICATION_TIMER_PERIOD_MS), OnSendIndicationTimeout, this );
493
+ DeviceLayer::SystemLayer ().StartTimer (chip::System::Clock::Milliseconds32 (BLE_SEND_INDICATION_TIMER_PERIOD_MS),
494
+ OnSendIndicationTimeout, this );
496
495
497
496
if (status != RSI_SUCCESS)
498
497
{
0 commit comments