Skip to content

Correct OBP error 12 and add the missing error numbers - #20

Merged
berameric merged 1 commit into
mainfrom
fix/obp-error-codes
Nov 26, 2026
Merged

berameric merged 1 commit into
mainfrom
fix/obp-error-codes

Conversation

@berameric

Copy link
Copy Markdown
Owner

Error 12 was described as "command not found"; Ocean's STS and QE Pro data sheets and python-seabreeze define it as "message is valid, but the requested information does not exist". This also adds error 13 (internal device error), 100–104 (firmware update errors) and 255 (response deferred) to the driver's table (src/device/obp.js) and to Section 5 of docs/PROTOCOL.md, with the sources named.

Only the text of error messages changes; no request or reply handling is touched.

How tested: npm test passes (the driver test still checks that error 2 is reported with its text). No hardware needed: the HDX path is unchanged.

🤖 Generated with Claude Code

Error 12 means the message is valid but the requested information does not exist, not
"command not found" (STS and QE Pro data sheets, python-seabreeze). Adds 13, 100-104 and 255,
so an instrument reporting them is shown with a meaning instead of a bare number.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@berameric
berameric merged commit d032907 into main Nov 26, 2026
1 check passed
@berameric
berameric deleted the fix/obp-error-codes branch November 26, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant