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

Change Channel Numbers before advertise

I am developing Beacon using nRF52832, I want to send advertise using different Channel numbers.

To implement Channel Diversity I want BLE to transmits in three advertisements channels (37, 38 and 39), the receiver will checks the RSSI
in the different channels. Please help in code how we can change to different Channel before advertise.

Regards,

Ashiq Mohammed

Parents
  • The default behavior of the softDevice is to advertise on channel 37, 38 and 39 respectively, as shown in the illustration below.

    However, it is possible to mask advertising channels using the field ble_gap_adv_params_t.channel_mask by setting the respective bit to 1 (at least one advertising channel must be used).

    UPDATE (9/14/2018): Changed the answer, since it was wrong initially

    Best regards, Simon

Reply
  • The default behavior of the softDevice is to advertise on channel 37, 38 and 39 respectively, as shown in the illustration below.

    However, it is possible to mask advertising channels using the field ble_gap_adv_params_t.channel_mask by setting the respective bit to 1 (at least one advertising channel must be used).

    UPDATE (9/14/2018): Changed the answer, since it was wrong initially

    Best regards, Simon

Children
Related