Merge protocol reference into API spec; fix all verified errors#2
Merged
Conversation
Combine docs/protocol-reference.md into docs/api-specification.md as per-module Wire-Level Reference sections, making it the single complete protocol spec. Resolve all known contradictions against MetaWear-SDK-Cpp source and the MMRL/MMS product datasheets: - Math processor ops are firmware enum values (Add=1..Constant=11); Negate/Floor/Ceil/Round do not exist - Log readout entries are 9 bytes on BLE (uint32 tick), 8 bytes in flash - I2C id byte precedes the length byte in reads and writes - Settings revision gates: disconnect/MAC=2, battery=3, whitelist=6 - MAC read returns 6 bytes (no address-type byte); device name max is 26 ASCII bytes, not 8 - Buzzer duty is always 0x7F; M4G drives the mag at 25 Hz - Fusion wire units: corrected acc in mg, gravity/linear acc in m/s2 - BMI270 Feature Config writes one bank per command (banks 0-9) - MMRL has no barometer; accel ODR 0.78-1600 Hz, gyro 25-3200 Hz; per-mode fusion output rates; nRF52832/nRF52840 specified per board - Document the per-register notification subscribe mechanism - Add MMS 1.8V vs MMRL 3V logic-level warnings (GPIO, Serial Passthrough) - Deprecate iBeacon, remove MMA8452Q and the nonexistent Peak Detector - Boards are LiPo, not lithium ion Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…re table Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
docs/protocol-reference.mdintodocs/api-specification.mdas per-module Wire-Level Reference sections — one complete protocol specmkdocs build --strictpasses.🤖 Generated with Claude Code