Re: How to use DTLS with offloaded socket if the underlying modem does not support DTLS


Jukka Rissanen
 

Hi Holger,

one option is use the generic GSM modem, which uses PPP to connect to
modem, instead of offloading the IP stack to the modem. In that case
one can send DTLS data via the modem. Unfortunately the modem you
mentioned (Quectel BC68) does not seem to support PPP mode.

Cheers,
Jukka

On Wed, 2020-02-26 at 02:04 -0800, Holger Gräf wrote:
Hi Billy,

thanks for the reply. I still have to clean up the driver a bit, then
I will create the PR.

With regard to the second message, thanks for the hint. I have
already stumbled upon these commands, but according to the manual
they are specific to Huawei's IoT platform, which I don't use. I have
the impression that it's based on LwM2M, but I would like to be able
to use DTLS encryption regardless of the protocol I use (UDP, TCP or
the higher level COAPS or LwM2M).

That's why I'm looking for a way to use Zephyr's mbedtls with my
offloaded sockets. Any help would be very much appreciated :-)

All the best,

Holger

Join devel@lists.zephyrproject.org to automatically receive all group messages.