I set the NI USB 8502 to a bus-off state by shorting the CAN TX and RX pins for a port, causing the LED to turn red. I'm working on a logic to close the connection and restart CAN communication to recover from this error. However, the NI-XNET low-level driver does not return an error code when this bus-off state is triggered, making it difficult to test the bus-off state recovery logic. Any suggestions on how i can get this error code?