How to use SIM800l connect internet with network.socket?Thanks

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
2776012999@qq.com
Posts: 2
Joined: Mon Jan 07, 2019 9:50 am

How to use SIM800l connect internet with network.socket?Thanks

Post by 2776012999@qq.com » Fri Jan 11, 2019 5:10 pm

How to use SIM800l connect internet with network.socket?Thanks

loboris
Posts: 344
Joined: Fri Oct 02, 2015 6:19 pm

Re: How to use SIM800l connect internet with network.socket?Thanks

Post by loboris » Sat Jan 12, 2019 8:15 am

There is a gsm module in my MicroPython port which makes it possible to use any network related function with GSM the same way as with WiFi.

2776012999@qq.com
Posts: 2
Joined: Mon Jan 07, 2019 9:50 am

Re: How to use SIM800l connect internet with network.socket?Thanks

Post by 2776012999@qq.com » Sat Jan 12, 2019 9:01 pm

I see. Thank loboris!

sarusso
Posts: 10
Joined: Fri Dec 09, 2016 9:49 am

Re: How to use SIM800l connect internet with network.socket?Thanks

Post by sarusso » Thu Feb 13, 2020 3:09 pm

Not sure if this is off-topic, but here is a pure-MicroPython driver ready to use for http GET and POST (not socket, uses AT commands): https://github.com/pythings/Drivers/blo ... SIM800L.py

I was looking at using SIM800L with network.socket because I could not find any decent driver allowing me to do GETs and POSTs, so I wrote this one. Maybe can be of use to someone. :)

Post Reply