-
Good Day Micropythoner's I've setup 2 ESP32s (w/spiram) devices via UART. I have done this direct from esp32 to esp32 with a simple jumper and also using rs-422 modules. Life it great in terms of sending data from 1 to the other. I was trying to see if I could get a peer PPP session between the two and ping the other's IP address from one to the other. (I did this with some rasp pi zeros, so wanted to see if I could do so with esp32's). Is that possible with micropython and the esp32's? It seems like it could since I understand PPP was implemented in MP for esp32 but I'm not sure -- it seems like mostly people are using if for modem connections/etc. Here's as far as I got. I seem not to be able to assign IPs to the esp32's:
If I switch connect() and infconfig() around it does not seem to help. I will soon try to connect an esp32 to a rasp pi zero as well, but for now am trying as stated. Many thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
A bit of an update:
And some background:
I can get 2 ri pizeros to establish a ppp session perfectly. When I try with the esp32 as the client, it never establishes the ppp session, but again data ("Hello PI/ Hello World") transfers just fine. Either I don't quite have the esp32 side ppp commands correct or perhaps there are some limits with respect to the esp32 ppp implementation? |
Beta Was this translation helpful? Give feedback.
-
Thank you @rkompass for the heads up and reply! I am guessing that would make it into a preview build. I'll look in to pursing this. |
Beta Was this translation helpful? Give feedback.
-
Interesting. Both v1.24.0-preview.23.g8809ae716 and v1.24.0-preview.10.gc1a6b95bf are working. I am sharing some more details in case someone else happens upon this (sometimes it's good to have a reference of a good outcome):
So now honestly speaking, I had a bunch of problems, which I thought I resolved one by one, which may not have been true, Now that I see the ppp.connect() sending data across I believe it was a line speed mismatch that I corrected ( |
Beta Was this translation helpful? Give feedback.
-
Also a separate note: Everything works without the esp32 needing to call |
Beta Was this translation helpful? Give feedback.
Interesting. Both
v1.24.0-preview.23.g8809ae716 and v1.24.0-preview.10.gc1a6b95bf are working.
I am sharing some more details in case someone else happens upon this (sometimes it's good to have a reference of a good outcome):