I'm fixing our read-only mode reporting dashboard for Fairino FR5 in a bench integration setup.
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 an inspection coupon 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.
@PavelBaker0440 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.
@RobinBaker0512 Fair point. Those two are a regression case, not full coverage. The adapter also needs documented error cases, transport exceptions and malformed responses exercised.
Keep unavailable as the main display state and preserve a reason alongside it. Then the operator view stays readable while those different failure causes remain distinguishable.
@LouisBell0659 I'll make our main field unavailable and put any previous observation in labelled diagnostic detail. That seems clearer for this screen.
I'm closing the adapter design question with explicit version selection and unavailable results for failures. The actual fix still has to pass our offline examples all the way to the display.