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.

CC2540: BLE advertisement interval and connected interval

Part Number: CC2540
Other Parts Discussed in Thread: CC2640R2F

Hi,

I am currently testing "keyfob Demo" and "SimpleBLEPeripheral" projects event interval.

As can be seen in below print screen:

During advertisement, for both "keyfob Demo" and "SimpleBLEPeripheral" project, each event happen roughly every ~100ms.

However, once they are connected with ios application (LightBlue), their event interval changed to ~25ms.

--------------------------------------------------------------------------------------------------------------------------------------------------------------------

My question is :

Q1. I would like to know where is it defined in the code (for both projects) for advertisement interval as 100ms, and after connected interval as 25ms?

Q2. Is it must be always by that 4:1 kind of ratio for advertisement and after connected event interval?

Thanks a lot.

LB