Closed petermartx closed 3 years ago
The UNRESET
status when an link layer is brought up or down is the intended behaviour. UNRESET
means the link-layer hasn't been synchronized with the other device, which is the default state at startup. Once a proper RESET_LINK_STATES
will be received, than the link-layer will be RESET
and synchronized , ready to receive confirmed user-data.
For more details, have a look at section 9.2.6.1 and Figure 9-8 of IEEE 1815-2012. Please also note that this UNRESET
/RESET
status is only useful when using confirmed link-layer user-data, which is not recommended (see section 10.2).
On both OnLowerLayerUp and OnLowerLayerDown the listener is reported an UNRESET status. I think If the link is up a RESET status should be reported, as this patch suggest.