Is it possible to use an nrf51822 to detect Wi-Fi channels / frequencies in use for the purpose of avoiding them?
Is it possible to use an nrf51822 to detect Wi-Fi channels / frequencies in use for the purpose of avoiding them?
Hi,
Yes, to a certain degree. The nRF5 series can sample indicent power at the antenna port by using the RSSI module.
If using BLE this is already implemented, the channel map for BLE is aligned so that it is the least likely to receive interference from WiFi (the main source of interference in the 2.4 GHz band), and it also implements frequency hopping when a channel is too bad to get data through.
Best regards,
Øyvind
I am not 100% on the specifics, but I think it will make the decision to change based on high percentage of packet losses, after it decides the packet loss is too high it will start a renegotiation procedure. Details are covered in the BLE core manual.
For your purpose I guess the easiest would be to sample packet throughput in your application, and if it gets too bad you can have a set of frequencies (perhaps in between the most common wifi channels) where your transmitter/receiver will go to and renegotiate the terms of connection (perhaps based on a scan of the channel map).
I am not 100% on the specifics, but I think it will make the decision to change based on high percentage of packet losses, after it decides the packet loss is too high it will start a renegotiation procedure. Details are covered in the BLE core manual.
For your purpose I guess the easiest would be to sample packet throughput in your application, and if it gets too bad you can have a set of frequencies (perhaps in between the most common wifi channels) where your transmitter/receiver will go to and renegotiate the terms of connection (perhaps based on a scan of the channel map).