Search found 32 matches
- Mon Feb 24, 2020 4:57 pm
- Forum: ESP32 boards
- Topic: SIM800L + UART + network module?
- Replies: 14
- Views: 10739
Re: SIM800L + UART + network module?
I took some time to review my code and I believe you haven't called the connect funciton. ppp.connect() from machine import UART, Pin import network def send_command(command): command = command + '\r\n' uart.write(command) line = uart.read(100) if line: line = line.decode('utf-8') print(line.replace...
- Sun Feb 23, 2020 8:49 pm
- Forum: ESP32 boards
- Topic: SIM800L + UART + network module?
- Replies: 14
- Views: 10739
Re: SIM800L + UART + network module?
Try putting sleeps here: from machine import UART, Pin import network def send_command(command): command = command + '\r\n' uart.write(command) line = uart.read(100) if line: line = line.decode('utf-8') print(line.replace('\r\n','\n')) else: print('Hmmm...') uart = UART(1, 9600, timeout=2000, rx=17,...
- Sat Feb 22, 2020 3:51 pm
- Forum: ESP32 boards
- Topic: SIM800L + UART + network module?
- Replies: 14
- Views: 10739
Re: SIM800L + UART + network module?
Try using either of these commands to have the simcom module allow the takeover of the TCP/IP stack: ATD*99# or AT+CGDATA="PPP",1 You can google these commands as well to find out more information. So your code would look like this: from machine import UART, Pin import network def send_command(comma...
- Thu Jan 16, 2020 6:10 pm
- Forum: General Discussion and Questions
- Topic: Proposal to add TLS PSK cipher suites
- Replies: 1
- Views: 1897
- Thu Jan 09, 2020 12:32 pm
- Forum: General Discussion and Questions
- Topic: uasyncio, PPP, and uMQTT - Blocking?
- Replies: 2
- Views: 1924
Re: uasyncio, PPP, and uMQTT - Blocking?
Thank you for the reply and the non-blocking mqtt.
Does network.PPP also block asyncio?
- Wed Jan 08, 2020 9:18 pm
- Forum: General Discussion and Questions
- Topic: uasyncio, PPP, and uMQTT - Blocking?
- Replies: 2
- Views: 1924
uasyncio, PPP, and uMQTT - Blocking?
Good afternoon everyone! I would like to explore the topic of PPP, uMQTT and, uAsynio in relation to eachother. I finally got my ESP32 and Simcom 7000g board to use the PPP interface and I am able to periodically send information over MQTT (umqtt.simple). Now I wish to apply this PPP interface into ...
- Mon Nov 18, 2019 3:43 pm
- Forum: ESP32 boards
- Topic: MQTT using transparent mode on Cellular modem (SIM7000g)
- Replies: 4
- Views: 3919
Re: MQTT using transparent mode on Cellular modem (SIM7000g)
So, I have thought of an idea in order to use the transparent mode of my cellular modem on UART 1. I am looking for feedback on this general idea as I am having trouble sorting through the higher level conceptualization of this. I am looking to make a sort of proxy server on the ESP32 that handles t...
- Tue Nov 12, 2019 9:31 pm
- Forum: ESP32 boards
- Topic: MQTT using transparent mode on Cellular modem (SIM7000g)
- Replies: 4
- Views: 3919
Re: MQTT using transparent mode on Cellular modem (SIM7000g)
@kevinkk525 After some more fiddling today I think you are right with the idea of scripting the AT commands and using the Simcom 7000g's MQTT protocol. I am asking for a whole bunch of trouble by trying to use libraries that are not designed for this type of use. I am going to be doing more research...
- Tue Nov 12, 2019 5:04 pm
- Forum: ESP32 boards
- Topic: MQTT using transparent mode on Cellular modem (SIM7000g)
- Replies: 4
- Views: 3919
MQTT using transparent mode on Cellular modem (SIM7000g)
Good morning friends! I am working through a proof of concept idea for adapting MQTT libraries to use the transparent mode of my cellular modem. Topology: ESP32 connected to Cellular modem (SIM7000g) via UART 1. Then modem goes into transparent mode after connecting to my MQTT server. This means ALL...
- Sat Nov 09, 2019 2:46 pm
- Forum: ESP32 boards
- Topic: Full List of Args for network.WLAN(network.AP_IF)
- Replies: 3
- Views: 3838
Re: Full List of Args for network.WLAN(network.AP_IF)
Thank you both for your replies. I really appreciate the time. I am slowly getting the full picture of how micropython works on the ESP32 and 8266. It is one thing to program for it and another to understand the whole process including ESP-IDF and the Kernel of ESP's etc. So forgive me if I ask igno...