wisun-br-linux icon indicating copy to clipboard operation
wisun-br-linux copied to clipboard

Implemented channel hopping for FHSS

Open mahboobkarimian opened this issue 3 years ago • 2 comments

This commit expands the RF driver for MAC simulation to support channel hopping and enables CCA. It can be enabled/disabled with CHANNEL_HOPPING_ON macro definition within Cmake. The implementation creates a thread for every transmission. This will help to wait for CCA time and do relevant callbacks to the MAC layer. The TX procedure is inspired by the open-source STM s2lp PHY driver available in the Mbed OS repository at https://github.com/ARMmbed/mbed-os/blob/master/connectivity/drivers/802.15.4_RF/stm-s2lp-rf-driver/source/NanostackRfPhys2lp.cpp

mahboobkarimian avatar Jun 30 '22 09:06 mahboobkarimian

Jerome, I updated the pull request by requested/recommended modifications and marked them as "Resolved". For more rest that you had concerns, I answered them. Please review the code. Thanks

mahboobkarimian avatar Jul 11 '22 19:07 mahboobkarimian

Hello @mahboobkarimian,

In order to simplify the review process, could you squash/split your commits to make them more atomic (the process is well described here https://github.blog/2022-06-30-write-better-commits-build-better-projects/ ).

It will ask you a bit of time, but it simplifies the review process a lot.

jerome-pouiller avatar Jul 21 '22 16:07 jerome-pouiller