xwatch: pairs and banks raw data, decodes nothing yet - #351
Conversation
Reviewer's GuideAdds an experimental XWatch integration that discovers and pairs against the generic FFF0 GATT profile, listens for notify frames during bounded foreground/background sync sessions, archives raw bytes on arrival, and deliberately performs no commands, decoding, or signal derivation. Entity relationship diagram for XWatch raw frame archivalerDiagram
DEVICE {
string id
string adapter_id
string remote_id
}
ARCHIVE_RECORD {
string device_id
string hex
int packet_type
int captured_at
string reason
}
DEVICE ||--o{ ARCHIVE_RECORD : produces
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
|
Warning Review limit reachedNext included review available in 25 minutes. View limit detailsLimit details: You’ve used all 4 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Team Run ID: ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Hey - I've reviewed your changes and they look great!
Sourcery assessment
Needs a human reviewer. If the assumed XWatch characteristics or notification behavior are wrong, the sync can create bounded, incorrect raw archive records and consume a short BLE session. Reverting stops future connections, and the persisted rows can be removed or repaired separately.
|
Failed to generate code suggestions for PR |
|
Failed to generate code suggestions for PR |
|
@coderabbitai review |
|
|
@coderabbitai review |
|
|
@coderabbitai review |
|
|
@coderabbitai review |
|
|
Failed to generate code suggestions for PR |
|
@coderabbitai review |
|
|
@coderabbitai review |
Rate Limit Exceeded
|
|
Failed to generate code suggestions for PR |
|
@coderabbitai review |
|
|
@coderabbitai review |
|
|
Failed to generate code suggestions for PR |
pairs-only adapter for the unbranded XWatch board. no signals declared, no commands sent.
Summary by Sourcery
Add experimental XWatch pairing and raw-data collection while deferring protocol decoding and derived metrics.
New Features:
Bug Fixes:
Enhancements:
Tests: