I have created an application on an ESP32 (S3 Wroom) that uses the Azure SDK for C for provisioning to an IoT Hub using the Device Provisioning Service. Here I used the WiFi connection.
My board is a LilyGo T-SIM7670G and I would like to change my application to access the Internet using the modem (SIM7670G) instead. Wifi is not an option where it is going to run.
I successfully got an IP address from the modem connection, where I used TinyGsm.
My problem is, how do I configure the azure_iot_config to use the modem connection, and not the Wifi?
As far as I understand, that right strategy would be to use netif to register the SIM7670G modem network interface.
Unfortunately, I lack the skills to implement this.
Are there anyone that can help?
I have studied the netif documentation, but it requires quite deep knowledge and I have been unsuccessful in getting anything to work.
The current implementation of the modem is using the TinyGsm framework, but I have found this incompatible with the netif configuration.
Anes is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.