Commit de25cb7
authored
Fixes for class C activation and deactivation (#1325)
* Deactivate radio on a switch from class C to A
When the MAC switches from class C to class A, we must update one of the
internal state variables to make sure that the radio is not put into the
continuous RX mode again in LoRaMacProcess.
* Reactivate radio for continuous RX when starting in class C
* Put radio to sleep in LoRaMacStop if in class C
If the MAC is operating in class C and the application invokes
LoRaMacStop, make sure the radio will not remain receiving continuously,
draining batteries. LoRaMacStart will switch the radio into a continuous
RX mode again.1 parent ff9dfea commit de25cb7
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2018 | 2018 | | |
2019 | 2019 | | |
2020 | 2020 | | |
| 2021 | + | |
| 2022 | + | |
| 2023 | + | |
2021 | 2024 | | |
2022 | 2025 | | |
2023 | 2026 | | |
| |||
3827 | 3830 | | |
3828 | 3831 | | |
3829 | 3832 | | |
| 3833 | + | |
3830 | 3834 | | |
3831 | 3835 | | |
3832 | 3836 | | |
3833 | 3837 | | |
3834 | 3838 | | |
3835 | 3839 | | |
3836 | 3840 | | |
| 3841 | + | |
| 3842 | + | |
| 3843 | + | |
| 3844 | + | |
3837 | 3845 | | |
3838 | 3846 | | |
3839 | 3847 | | |
| |||
0 commit comments