WIFI and GSM Module (PPP module) working with the same MQTT or Azure IoT hub libary
Posted: Sun Jan 16, 2022 2:09 pm
Hi
We aim to use ESP32-WROVER-E module with the Quectel BG-95-M3 or EG-9x , the purpose is to have the ability to connect to the internet using WIFI or GSM/GPRS/4G/CATM1 or NB-IOT.
If I am correct we would need to use a PPP library, so that TCP stack be controlled within the ESP32 instead module, instead of using additional AT commands?
I would like to develop my code to firstly check the internet connection on both the WIFI and GSM module. If WIFI is not available then to use the GSM module.
Once connected, then using the same MQTT library or Azure Iot Hub library.
I would like to avoid have two sets of MQTT or Azure Iot Hub libraries or processes.
Can this be achieved?
We aim to use ESP32-WROVER-E module with the Quectel BG-95-M3 or EG-9x , the purpose is to have the ability to connect to the internet using WIFI or GSM/GPRS/4G/CATM1 or NB-IOT.
If I am correct we would need to use a PPP library, so that TCP stack be controlled within the ESP32 instead module, instead of using additional AT commands?
I would like to develop my code to firstly check the internet connection on both the WIFI and GSM module. If WIFI is not available then to use the GSM module.
Once connected, then using the same MQTT library or Azure Iot Hub library.
I would like to avoid have two sets of MQTT or Azure Iot Hub libraries or processes.
Can this be achieved?