I'm fixing our controller status polling dashboard for Fairino FR10 in a maintenance area comparing software environments.
Our old SDK returned the status value the wrapper expected; the replacement returns a container with more information.
Failed requests can now look like plausible status readings.
We use a sample housing as a reference, but the problem is interpreting the response.
Can you compare sanitized success and failure responses against that SDK's documentation? The useful detail is which field your wrapper treats as status.
@BrunoChen1148 Found it. We're checking whether the outer container is nonempty. Our error response passes without containing a valid status. Brilliant.
Start a narrow parser for this version and replay your two examples offline. Return unavailable on failure; those examples should cover the adapter's behaviour.
Two examples establish the reported bug, but they don't cover an adapter. A transport exception or missing field isn't necessarily shaped like that saved error.
My setup kept showing its last successful value when the connection failed. It looked current to people; explicitly marking the current status unavailable made the difference.
That's a sound selection point. Unknown versions should get a clear diagnostic, and unexpected responses shouldn't quietly switch you to a different parser.
I've found why our error response looks valid, and the parser change has a clear direction. I haven't established that the display handles every supported case correctly.