AchimKraus FMPOV, some more details on DTLS would be great:
Will it support ECDHE_PSK cipher suites as well?
Right now only AES128_CCM_8. Since it’s in the CoAP RFC it made sense to start there. The main developer on dimpl was wary, rightfully so, of adding many ciphers since that creates mess to support.
Will it support DTLS 1.2 CID (RFC 9146)?
Draft CID is in use right now. PR in progress.
Which implementation is used on the servers side? piondtls/GO, mbedtls/C, californium/Java, or?
dimpl/Rust
Will it support a “DTLS graceful shutdown” (sometimes useful for non breaking server updates).
I’ve add this to the roadmap because that makes sense! The FOTA side is fairly robust and will simply continue where it leaves off if the connection is interrupted during download.
Does it mean, when the device sends sensor data in e.g. a POST, it will also need to send a separate GET for the Shadow?
As you know keeping a connection open with push capabilities is expensive power and data wise. For devices that are sleepy, lion allows for devices to still receive commands in an atomic manor. All data is stored in CBOR format that way it can be translated easy to JSON to consuming services and stay CBOR for the embedded side.
Device push does work but requires frequent ping/keep alive to prevent NAT from closing out the connection (at least for cellular). It basically sends the same shadow with updates if there’s a diff on the server side.
Thanks for your questions @AchimKraus!