Possibility to disabling native AFH function and using our own frequency hopping algorithm

Hi everyone,

I am developing a frequency hopping algorithm, including RSSI based channel evaluation and frequency hopping sequence generation. In my project, a nrf52840 device is used as master and 2 nrf52832 devices used as slaves.

The questions are as follows,

1. Is it possible to modify the channel map and update it in 1 second or less? If there's any constraint when updating channel map?

2. Is it possible to modify channel hopping sequence using nrf52 series with nordiac protocol stack?

I already know I can use  sd_ble_opt_get to get the current channel map and sd_ble_opt_set to set a new channel map,but I'm not sure if there's any  API or other methods I can use to make the devices communicate in the channel  sequence my algorithm generated.

Best regards, 

panzerp

Parents
  • Hi,

    1. Is it possible to modify the channel map and update it in 1 second or less? If there's any constraint when updating channel map?

    That should be possible. The Central decide the channel map.

    2. Is it possible to modify channel hopping sequence using nrf52 series with nordiac protocol stack?

    No. The stack uses the Bluetooth SIG defined Channel Selection Algorithm (CSA #2) for the channel hop selection.

    I am developing a frequency hopping algorithm, including RSSI based channel evaluation and frequency hopping sequence generation. In my project, a nrf52840 device is used as master and 2 nrf52832 devices used as slaves.

    There is an unofficial example for this here: https://github.com/jimmywong2003/nrf52-central-channel-map-update-with-survey

Reply
  • Hi,

    1. Is it possible to modify the channel map and update it in 1 second or less? If there's any constraint when updating channel map?

    That should be possible. The Central decide the channel map.

    2. Is it possible to modify channel hopping sequence using nrf52 series with nordiac protocol stack?

    No. The stack uses the Bluetooth SIG defined Channel Selection Algorithm (CSA #2) for the channel hop selection.

    I am developing a frequency hopping algorithm, including RSSI based channel evaluation and frequency hopping sequence generation. In my project, a nrf52840 device is used as master and 2 nrf52832 devices used as slaves.

    There is an unofficial example for this here: https://github.com/jimmywong2003/nrf52-central-channel-map-update-with-survey

Children
Related