Hi,
We have device which should be able to communicate with cloud via WiFi and external modem (connected to uart), if WiFi connection is unavailable. Of course using TLS connection.
Is possible to change (programically) driver from wifi to custom eg. in esp_tls_conn_new command?
Or whether is possible to use integrated mBedTLS for establish TLS connection via external LTE modem ?
Thanks.
Best regards,
Andrzej T.
Use integrated mBedTLS with external modem
Re: Use integrated mBedTLS with external modem
Hi,
No one tried establish TLS connection using external LTE modem?
So I assume, that no answer means that it is impossible.
Regards,
Andrzej T.
No one tried establish TLS connection using external LTE modem?
So I assume, that no answer means that it is impossible.
Regards,
Andrzej T.
Re: Use integrated mBedTLS with external modem
If modem integrates to lwip as netif then higher level protocols should work normally
Re: Use integrated mBedTLS with external modem
Yes, you can use PPPoS (PPP over serial) with most cellular modems. The same LWIP network stack is used, so the modem connection can be used the same way that a Wi-Fi or Ethernet connection would be used.
Take a look at this example (the README has a lot of explanation):
https://github.com/espressif/esp-idf/tr ... pos_client
There is some difference between cellular modems. If you don't use of the modems mentioned in the example README then you may need to tweak the code a bit.
Take a look at this example (the README has a lot of explanation):
https://github.com/espressif/esp-idf/tr ... pos_client
There is some difference between cellular modems. If you don't use of the modems mentioned in the example README then you may need to tweak the code a bit.
Re: Use integrated mBedTLS with external modem
Thanks a lot.
This is exactly what I need.
Regards,
Andrzej T.
This is exactly what I need.
Regards,
Andrzej T.
Who is online
Users browsing this forum: Google [Bot] and 305 guests