Skip to content

docs: clarify Cyton marker AUX1 wire format - #337

Open
KrisITB wants to merge 1 commit into
OpenBCI:masterfrom
KrisITB:docs/cyton-marker-aux1-wire-format-final
Open

docs: clarify Cyton marker AUX1 wire format#337
KrisITB wants to merge 1 commit into
OpenBCI:masterfrom
KrisITB:docs/cyton-marker-aux1-wire-format-final

Conversation

@KrisITB

@KrisITB KrisITB commented Aug 28, 2026

Copy link
Copy Markdown

The Cyton SDK currently describes marker mode as adding the marker character to the "first AUX byte." In the Cyton library, however, the marker is stored in auxData[0], which is a signed 16-bit short, and raw-AUX serialization writes each AUX value MSB first.

For a positive marker value such as 0x28, AUX1 is 0x0028, so packet bytes 27–28 are serialized as 00 28.

This PR updates only the marker-mode description to distinguish AUX1 (auxData[0]) from the first physical AUX wire byte and to state the packet positions and byte order explicitly. No firmware behavior is changed.

This is intentionally separate from #334, which addresses board-mode response examples rather than AUX1 wire representation.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The documentation now accurately aligns AUX1 storage with the existing packet format.

Pull request overview

Clarifies Cyton marker-mode AUX serialization without changing firmware behavior.

Changes:

  • Identifies markers as auxData[0].
  • Documents MSB-first packet bytes 27–28 with an example.
File summaries
File Description
website/docs/Cyton/04-OpenBCI_Cyton_SDK.md Clarifies marker-mode wire representation.
Review details
  • Files reviewed: 1/1 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

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.

2 participants