802.11p FSM received an unknown event when in TRANSMITFRAME state

110 Views Asked by At

I am currently doing vanets simulation with Veins 2.0-rc1, my network stack use the 802.11p class as a mac layer.

I am receiving the current error: 802.11 FSM received an unkown event. I looked for the associated event and mac state related to this error and found that the error occurs under TRANSMITFRAME_4 state after receiving an event like EV_BROADCAST_RECEIVED.

  1. how can i fix this error ?
  2. what is generating this error ?

I am joining to this post a diagramm of the current FSM and a link to the 802.11p c++ class.

Many thanks,

802.11p FSM diagramm 802.11p c++ class

1

There are 1 best solutions below

2
On BEST ANSWER

Veins 2.0-rc1 was still using the MiXiM 802.11 FSM, which had some issues. Since then, many bugs have been found and the MAC layer has been rewritten for improved stability and speed. If you can, upgrade to a more recent version (like Veins 2.2).

A larger change (though likely still very worthwhile) would be to upgrade to one of the even later releases like Veins 3 or Veins 4. This would also allow you to use more recent versions of SUMO, for which several bugs have been fixed since the version you are using.