How to establish PTLS session
As a security library, we recommend using MbedTLS.
To startup establishing PTLS session you need to:
Register connectable device in our Tedee API with ECDSA asymmetric public key.
Turn on notifications on PTLS TX.
Establish PTLS session via 3 stages writting on characteristic PTLS RX and reading from PTLS TX:
PTLS session establishment is presented in below communication diagram.