ERROR [IEEE802154E] wrong state 15 in startSlot, at slotOffset X

Description

This issue still happens. Motes stay at S_RXDATAOFFSET at the beginning of the slot, this means that for some reason the previous slot did not finish correctly and the state machine has been broken.

the S_RXDATAOFFSET state is set at the beginning of the slot:

https://github.com/openwsn-berkeley/openwsn-fw/blob/develop/firmware/openos/openwsn/02a-MAClow/IEEE802154E.c#L732

and a timer is set to transit to the new state.

https://github.com/openwsn-berkeley/openwsn-fw/blob/develop/firmware/openos/openwsn/02a-MAClow/IEEE802154E.c#L247

If this state remains this can be attributed to the timer not triggering well (which is odd as timers work well). I'm gonna check that.

when the timer triggers correctly the following function is executed:
https://github.com/openwsn-berkeley/openwsn-fw/blob/develop/firmware/openos/openwsn/02a-MAClow/IEEE802154E.c#L1078

Environment

None

Assignee

Xavier Vilajosana

Reporter

Xavier Vilajosana

Labels

None

Story Points

None

Fix versions

Affects versions

Priority

Critical
Configure