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

Is there a 2.4G Frequency hopping Example?

Hi: When I use nRF51822's 2.4G Radio(not BLE),I want to improve anti-interference level,Make sure that all my pairs of host and device can communicate normally.

Thank you!

Parents
  • Hi Chenyu,

    You can have a look at our gazell protocol. Channel hopping is supported with gazell.

    Examples are provided in the SDK.

  • Hi Chenyu,

    Do you plan to use the gazell library or you want to implement your own protocol with channel hopping ?

    If you want to use gazell you can follow what we have in the example.

    If you want to create your own protocol with channel hopping, this is what you need to do:

    • Define a channel table that include the number and the sequence of channel will be used.

    • Have a mechanism to sync between the master and the slave on the hopping period. One example is to start a timer when you receive a packet on one channel, and when the timer timeout, you jump to the next channel and start listen on that channel. The timer interval should be the same on the master and the central.

    • You can define a common channel so that all should start first with that channel. Once connected we can start the channel hopping.

    • The table of hopping channel can be dynamic, it can be transferred when the connection is established.

Reply
  • Hi Chenyu,

    Do you plan to use the gazell library or you want to implement your own protocol with channel hopping ?

    If you want to use gazell you can follow what we have in the example.

    If you want to create your own protocol with channel hopping, this is what you need to do:

    • Define a channel table that include the number and the sequence of channel will be used.

    • Have a mechanism to sync between the master and the slave on the hopping period. One example is to start a timer when you receive a packet on one channel, and when the timer timeout, you jump to the next channel and start listen on that channel. The timer interval should be the same on the master and the central.

    • You can define a common channel so that all should start first with that channel. Once connected we can start the channel hopping.

    • The table of hopping channel can be dynamic, it can be transferred when the connection is established.

Children
No Data
Related