nrf-rs / nrf-hal

A Rust HAL for the nRF family of devices
Apache License 2.0
503 stars 139 forks source link

ieee802154: handle the transitory state TXDISABLE #369

Closed japaric closed 2 years ago

japaric commented 2 years ago

after PR #356 the radio is disabled after every send operation. if one calls recv immediately after send, recv can observe the radio in the TXDISABLE state TXDISABLE is a transitory state that leads to the final DISABLED state which the impl knows how to handle

this PR adds logic to handle the transitory TXDISABLE state

fixes #368


I have checked that the programs in https://github.com/ferrous-systems/embedded-trainings-2020 work again with this change

jonas-schievink commented 2 years ago

bors r+

bors[bot] commented 2 years ago

Build failed:

jonas-schievink commented 2 years ago

bors r+

bors[bot] commented 2 years ago

Build succeeded: