From 8af9147f02a363deb608c7fdae3e2d56a7c59d1b Mon Sep 17 00:00:00 2001 From: Jose Alamos Date: Fri, 16 Oct 2020 16:52:15 +0200 Subject: [PATCH] tests/ieee802154_hal: go to RX_ON on frame receive --- tests/ieee802154_hal/main.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/ieee802154_hal/main.c b/tests/ieee802154_hal/main.c index 49e5faa194..2d7c2bba65 100644 --- a/tests/ieee802154_hal/main.c +++ b/tests/ieee802154_hal/main.c @@ -116,6 +116,10 @@ void _rx_done_handler(event_t *event) /* Print packet while we wait for the state transition */ _print_packet(size, info.lqi, info.rssi); } + + /* Go out of the HAL's FB Lock state after frame reception and trigger a + * state change */ + _set_trx_state(IEEE802154_TRX_STATE_RX_ON, false); } static event_t _rx_done_event = {