Skip to content

Conversation

@ovenystas
Copy link

Fix bugs in the handling of DM14 messages with data larger than 7 bytes.

To handle DM14 messages with data larger than 255 bytes, add usage of the three most significant bits in the 11-bit length field for DM14 requests and DM15 responses.

Add test cases for large DM14 messages.

Also:

  • Fix wrong addresses in test data comments
  • Fix race conditions in Dm14Query and Dm14Server, when testing
  • Improve performance by replacing for-loop and .append() with .extend()

Fix bugs in the handling of DM14 messages with data larger than 7 bytes.

To handle DM14 messages with data larger than 255 bytes, add usage of
the three most significant bits in the 11-bit length field for
DM14 requests and DM15 responses.

Add test cases for large DM14 messages.

Also:
- Fix wrong addresses in test data comments
- Fix race conditions in Dm14Query and Dm14Server, when testing
- Improve performance by replacing for-loop and .append() with .extend()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant