This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

BLE advertisement on 1 particular Channel

I am building an application nrf52840 SDK v17.0.2  soft device is S140 with Segger embedded studio.

Application is to send advertisement data in one single channel (say channel 39) with property type BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED.

Below is the line used to configure/mask channels

m_adv_params.channel_mask[4] = 0x60;    //For masking 37 and 38.

If I set the time interval to 100ms, I get the advertising packets in the below order according to nrf connect mobile app

I get 40 packets for 1st 4 seconds then there's a gap of 8 seconds and again 40 packets with 100ms and a gap of 8sec. this sequence continues

what is the reason for this?  how do i get the data continuously?

Parents Reply Children
Related