Mercator: add missing radio_rxNow()
Calling radio_rxNow() after radio_rxEnable() seems the right way to
make the radio listen according to IEEE802154E.c.
IoT-LAB M3 doesn't need the radio_rxNow() call since the function is
empty for that board. On the other hand, OpenMote-B needs the function
call, although radio_rxOn() is empty in the OpenMote-B case.
@@ -258,6 +258,7 @@ void serial_rx_REQ_RX(void) {
// switch in RX
radio_rxEnable();
+ radio_rxNow();
// change status to RX
mercator_vars.status = ST_RX;
@@ -523,6 +524,7 @@ void cb_endFrame(PORT_TIMER_WIDTH timestamp) {
// get ready for a following frame
radio_rfOn();
radio_rxEnable();
+ radio_rxNow();
}
}
