Skip to content

Conversation

JordanYates
Copy link
Contributor

Change the COAP DTLS identity from the Infuse ID as a little endian byte array to a hex formatted string of the Infuse ID. This is required as the Nordic LTE modem library reads the identity as a string, and therefore terminates the identity on the first 0x00 character. This causes the incorrect identity to be presented to the server if any of the ID bytes are 0x00.

Copy link

codecov bot commented Oct 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.26%. Comparing base (3ec577d) to head (1c2f2c7).
Report is 11 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #286      +/-   ##
==========================================
+ Coverage   90.79%   91.26%   +0.47%     
==========================================
  Files         111      113       +2     
  Lines        4377     4466      +89     
  Branches      698      717      +19     
==========================================
+ Hits         3974     4076     +102     
+ Misses        210      200      -10     
+ Partials      193      190       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Change the COAP DTLS identity from the Infuse ID as a little endian
byte array to a hex formatted string of the Infuse ID. This is required
as the Nordic LTE modem library reads the identity as a string, and
therefore terminates the identity on the first 0x00 character. This
causes the incorrect identity to be presented to the server if any of
the ID bytes are 0x00.

Signed-off-by: Jordan Yates <[email protected]>
Increase the tick rate to 1000hz on the native simulation platform for
these tests as we need the increased resolution to ensure that timeouts
actually timeout before the next tick.

Signed-off-by: Jordan Yates <[email protected]>
@JordanYates JordanYates merged commit 93dea58 into main Oct 16, 2024
11 checks passed
@JordanYates JordanYates deleted the bugfix/dtls_identity branch October 16, 2024 13:15
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