Search found 4 matches

by mgsanava
Fri Sep 22, 2023 7:18 am
Forum: General Discussion
Topic: esp32s3 - how to read IP address from serial port?
Replies: 6
Views: 4589

Re: esp32s3 - how to read IP address from serial port?

Thanks! It is working.
Actually I'm using a script which is very similar to what you have posted. Of course it was generated by AI as well.

I will surely look into your suggestion about the other way of downloading data via server when I get time.
by mgsanava
Sat Sep 09, 2023 10:05 am
Forum: General Discussion
Topic: esp32s3 - how to read IP address from serial port?
Replies: 6
Views: 4589

Re: esp32s3 - how to read IP address from serial port?

How about the otherway around? So the esp uploads to a server? esp is the one that has the a tiny web server running inside it btw, still not explaining what the underlying problem is that you want to solve. I am not sure what you are expecting. The device boots and connects automatically to intern...
by mgsanava
Thu Sep 07, 2023 11:17 am
Forum: General Discussion
Topic: esp32s3 - how to read IP address from serial port?
Replies: 6
Views: 4589

Re: esp32s3 - how to read IP address from serial port?

I need to upload few files to a location in the server that is running inside the esp32s3 using - curl -F 'file=@somefile.zip' http://ipaddr/app/main/ where ipaddr is the local ip address that was assigned to the board. I'm trying to write a bash script to automate this process. Something like readi...
by mgsanava
Thu Sep 07, 2023 6:22 am
Forum: General Discussion
Topic: esp32s3 - how to read IP address from serial port?
Replies: 6
Views: 4589

esp32s3 - how to read IP address from serial port?

I want to read the IP address assigned to esp32s3 board via serial port (/dev/ttyACM0)

This board is connected to internet via SPI-Ethernet module (w5500) and will be connected to internet on boot up.

Is it possible to read IP address (refer attached image) from bash script?