How would I create a PPPoS connection over PPP using an ESP32 and a BG95-M3 modem? #11501
Replies: 5 comments 7 replies
-
You can verify AT Command Responses: uwrite("ATE0") uwrite('AT+CGDCONT=1,"IP","data.apn.name",,0,0') uwrite("AT+QIACT?") This will help ensure that you're receiving the correct responses from the modem. |
Beta Was this translation helpful? Give feedback.
-
@peterhinch, @robert-hh, I hate to tag you like this, but you two have so much experience. Would you advise briefly on how I might troubleshoot an issue like this? Could you give me a few pointers, and I can go off and do the leg work? I do know that other folks within my organization on another team have PPPoS working with the ESP32, and the same BG95-M3 modem, but they don't have the capacity to troubleshoot, do not know python/microphone, and were unsure how to advise in troubleshooting when I had them take a look. |
Beta Was this translation helpful? Give feedback.
-
I haven't tried this myself however I know the esp32 has a config option for PPP debugging, LWIP_PPP_DEBUG_ON |
Beta Was this translation helpful? Give feedback.
-
Here is some of the output after turning on LWIP_PPP_DEBUG_ON This is with
|
Beta Was this translation helpful? Give feedback.
-
I've created my own MP board with ESP32 and 4G modem. https://forum.micropython.org/viewtopic.php?f=2&t=12472&p=67705&hilit=PPP#p67705 Any help would be wonderful. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Greetings,
I would like to use a BG95-M3 modem for a small IOT project. The modem has a good connection, I can use IP base functions like opening up socket connections with the modem QOPEN commands and using built-in MQTT functions, sending SMS etc.
I'm hoping to use the modem with some standard MicroPython libraries, but I am struggling to figure out how to use PPP and a serial connection to get a PPPoS connection and get online. Right now, I seem to get a PPP open channel on my BG95-M3, but nothing seems to seem after. I would assume LWIP would take place someplace after the raw connection. However, the device never seems to get an associate IP or get connected and I"m not sure how to troubleshoot the issue even.
Any assistance would be greatly appreciated.
Here is some super basic code below and the current output.
OUTPUT
Beta Was this translation helpful? Give feedback.
All reactions