-
-
Notifications
You must be signed in to change notification settings - Fork 347
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump dependencies, add support for v3.3 firmware (#216)
* Update dependency coveralls to v3.0.4 (#206) * Update dependency ava to v2.1.0 (#211) * Update dependency documentation to v11.0.1 (#213) * Update dependency delay to v4.3.0 (#212) * Protocol 3.3 and encrypted discovery (#214) * Add check for set resolver * Don't emit event on set ACK * Don't emit event on set ACK * Hacked in support for protocol 3.3 and new UDP broadcast * MessageParser.decode now attempts to parse JSON after decryption Cipher.decrypt now always outputs a string, as MessageParser handles JSON parsing Updated cipher tests to account for this API change Tests now pass * Rollback cipher changes for now -- saving breaking changes for v6.0.0 Minor version bump to v5.1.0 as a result of the added protocol support * Fixed 3.1 producing a buffer on decryption failure Fixed 3.3 crc being taken before the payload is written * Removed debug used during testing * Removed redundant try catch block, as it throws the errors it catches * Moved some shared code from encode31() and encode33() to shared code path in encode() * Updated tests for improved coverage, including 3.3 protocol code paths * Refactored out encode31 and encode33 entirely as their differences could be contained to payload treatment * Ensure that version is a string Switched constructor to terse defaults pattern * Moved UDP key to its own file Added note about using protocol 3.3 without find()
- Loading branch information
1 parent
2fb72e8
commit 94f24f1
Showing
9 changed files
with
290 additions
and
166 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"udpKey":"yGAdlopoPVldABfn"} |
This file contains 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
Oops, something went wrong.