-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Conversation
- Add TimemoreScale implementation (Service FFF0, Notify FFF1, Write FFF2) - Protocol uses CRC-16/MODBUS checksum on all commands - Matches devices advertising name prefix 'Basic3 Link' - Register in DeviceImplementation, DeviceMatcher, DeviceFactory Protocol reverse-engineered from HCI snoop logs (12/12 verified).
SongPaul
marked this pull request as draft
September 3, 2026 11:24
SongPaul
marked this pull request as ready for review
September 3, 2026 11:24
Rework TimemoreScale to use the official framed protocol instead of hardcoded byte sequences: - Generic frame builder: A5 5A | opcode | cmd | length(2,BE) | data | crc - CRC-16/MODBUS auto-computed per frame - Notify parsing now reads Int32 BE weight, Int16 BE flow, UInt16 BE timer from the 0x01/0x01 stream frame (length 0x0009) - Populate ScaleSnapshot.flow and timerValue from the scale's own fields - Query battery on connect and report batteryLevel in snapshots - Tare/timer commands rebuilt via frame(opcode, cmd, data)
...t/timemore-link-scale
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
Adds support for the Timemore Link (Basic3 Link) BLE scale.
Protocol Details
Protocol was reverse-engineered from HCI snoop logs (12/12 verified).