ble-ruuvi.js: Support packet versions 3, C5 and (drafted, encrypted) 8#160
Open
tvogel wants to merge 1 commit intoALLTERCO:mainfrom
Open
ble-ruuvi.js: Support packet versions 3, C5 and (drafted, encrypted) 8#160tvogel wants to merge 1 commit intoALLTERCO:mainfrom
tvogel wants to merge 1 commit intoALLTERCO:mainfrom
Conversation
Due to the lack of devices, I could only test version 3 and implemented C5 and 8 according to https://docs.ruuvi.com/communication/bluetooth-advertisements . In particular V8 nonce/checksum handling is not completely clear from the docs and needs review as soon as devices are released.
|
How about versions 6 and E1 used by new Ruuvi Air device? https://github.com/ttu/ruuvitag-sensor?tab=readme-ov-file#ruuvi-air-data-formats |
Author
The real specifications are:
As I currently don't have use for it, I will not adapt the patch for now but you can probably easily follow my changes and adapt them to the new formats. If you (or vibe coding) cannot do it, I am open for contracting, see my profile. |
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.
Due to the lack of devices, I could only test version 3 and implemented C5 and 8 according to https://docs.ruuvi.com/communication/bluetooth-advertisements .
In particular V8 nonce/checksum handling is not completely clear from the docs and needs review as soon as devices are released.