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

Gazell changing channel maps frequently causes issues

Our application frequently changes the channel table when we find interference in multiple channels. So changing channels frequently (because of high interference) causes lot of problems. TX fails continuously sometimes without being able to recover. Re initializing gazell library fixes it.

Parents
  • Hi,

     

    Changing the channel table shall be done while gazell is fully disabled. When it is disabled, setting the channel_tab is a memcpy() operation with guards (null, size, etc). Since you state that re-initializing the whole gazell library fixes the issue, it is a indication that the source of the issue is not in the nrf_gzll_set_channel_table() function, but somewhere else (memory corruption of some sort?)

    Could you provide more detailed information or a way to recreate this scenario?

     

    Kind regards,

    Håkon

     

Reply
  • Hi,

     

    Changing the channel table shall be done while gazell is fully disabled. When it is disabled, setting the channel_tab is a memcpy() operation with guards (null, size, etc). Since you state that re-initializing the whole gazell library fixes the issue, it is a indication that the source of the issue is not in the nrf_gzll_set_channel_table() function, but somewhere else (memory corruption of some sort?)

    Could you provide more detailed information or a way to recreate this scenario?

     

    Kind regards,

    Håkon

     

Children
Related