shamblett / coap

A Coap package for dart
Other
16 stars 13 forks source link

fix!: upgrade `dart_tinydtls`, use `Uint8List` for `PskCredentials` instead of `String` #115

Closed JKRhb closed 1 year ago

JKRhb commented 1 year ago

Due to the fact that not all PSK credentials consist of UTF-8 strings, the API in dart_tinydtls to accept Uint8Lists as parameters instead of Strings.

This PR updates the CoAP API accordingly, while also upgrading dart_tinydtls to the latest version, which also fixes some issues with connections that are closed by a peer due to an error.