This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-CC2650: Event of GAP_DeviceDiscoveryRequest takes longer time

Part Number: LAUNCHXL-CC2650
Other Parts Discussed in Thread: CC2650

Tool/software: Code Composer Studio

I use two CC2650 launchpad to perform some test. launchpad A set with central role and launchpad B set with peripheral role. both launchpad flashed with Host Test application and using ble_sdk_2_02_01_18

I set TGAP_GEN_DISC_SCAN_WIND to 10 mSec, TGAP_GEN_DISC_SCAN_INT to 10 mSec, TGAP_FILTER_ADV_REPORTS set to false, TGAP_GEN_DISC_SCAN set to 130 mSec in launchpad A

When we initiate GAP_DeviceDiscoveryRequest from launchpad A, the event for GAP_DeviceDiscoveryRequest from launchpad A takes 20 mSec to 45 mSec or so

GAP_DeviceDiscoveryRequest acknowledge to Connectable Undirect Advertisement in Launchpad A also takes more than 50mSec. 

Any idea, how i can reduce those two latency and some of the code can't able to put break point to debug for example ble_dispatch.c

  • Hello,

    Since scanning is not deterministic it can take extra scan iterations until the controller is able to observe the broadcaster. Since you are using a network processor configuration, you also have to account for the NPI (UART) hop time.

    I would suggest using an embedded project, such as simple_central or simple_observer if you are attempting to reduce latency.

    Best wishes