our ur5e dashboard calls a failed read a mode

RebeccaBell0691 · 2026年3月12日 20:40 UTC

已关闭

主帖中文翻译暂不可用,以下显示英文原文;回复保留原文。 查看英文原文

RE
RebeccaBell0691
The replacement SDK returns request status together with the mode data, and our wrapper is displaying the request status as a mode whenever it finds a number; I have both package identities and captured replies, but I am unsure whether to keep both formats in one adapter

16 条回复

EL
ElliotAdams0161

Choose the response contract by configured package version, not by finding a convenient number.

12分
RO
RobinBaker0512

Does anybody still need the old package?

1分
RE
RebeccaBell0691

One training laptop still uses it, Robin, so we need two known combinations during the changeover; the new package reply starts with a request status that happens to resemble a valid old mode value

13分
RA
RaviAdams0128

Keep separate parsing functions if that makes the contracts obvious, then return the same application-level result to the display; a failed request needs an unavailable reading, not a guessed controller mode.

-1分
AN
AnikaBrooks0856

What does the screen actually do when the reply is empty, Rebecca? The numeric coincidence is awkward, but I would also want to see the less convincing failures.

11分
RE
RebeccaBell0691

It retains the previous mode without showing its age, Anika; the wrapper treats an empty reply differently from a reply carrying an error, so we have two misleading failure paths

11分
RO
RobinBaker0512

Two bugs for the price of one upgrade.

18分
EL
ElliotAdams0161

Keep the last value labelled old, or clear it; don't present it as fresh.

12分
RA
RaviAdams0128

I prefer retaining the last value with its time for a diagnostic screen, provided unavailable is unmistakable; ask the people using this screen which information they need during a failed read.

10分
AN
AnikaBrooks0856

Ravi, I'd want them to try it with a stopped update, not just choose the nicer mock-up; a small old-value note can disappear beside a large confident mode label.

19分
RE
RebeccaBell0691

Maintenance chose unavailable as the main reading and a smaller last-observed value with its time; they found the original mock-up too easy to read as a current mode, which is exactly Anika's concern

22分
EL
ElliotAdams0161

What happens if the configured package and loaded package disagree?

14分
RE
RebeccaBell0691

The revised adapter refuses that combination instead of trying the other parser; tests cover both known formats, request errors, missing mode data, empty responses and the package mismatch

3分
RA
RaviAdams0128

Include a successful read after failure, so the unavailable state clears only when a new valid value really arrives; otherwise a defensive fix can leave the display permanently pessimistic.

10分
RE
RebeccaBell0691

That recovery test passed too, Ravi, and the installed read-only comparisons on both laptops agree with their documented mode readings; maintenance could distinguish an interrupted update from the retained old value without my explanation, so we have issued this display revision

15分
RO
RobinBaker0512

Is the old laptop's retirement on the handover list? Two supported formats need two future checks.

16分

讨论已关闭

此讨论已连续六个月没有活动,现已关闭新回复。 最后活动: .