Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query IP address info from the application #25

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

dannybackx
Copy link

These changes allow the (arduino) microcontroller application to query the IP address.
Note : separate commits, one of which contains fixes for compile issues in my environment.

@FernandoGarcia
Copy link

FernandoGarcia commented Dec 7, 2016

Hi @dannybackx !

This changes doesn't work to me.

The result of your test code is:

ELClient test : show IP information
ELC: got 10 @496: 2 482 0 16 7C
RESP_V: 1154
SYNC!
EL-Client synced!
ELC: got 14 @496: 3 482 1 1 0 5 0 31 66
RESP_CB: 1154 1
WIFI CONNECTED
Returning ...
IP Address 0.0.0.0
Network mask 0.0.0.0
IP Gateway 0.0.0.0
MAC Address : 00:00:00:00:00:00

I'm using this version of ESP-link:

esp-link v3.0.alpha0 - 2016-10-23 06:45:14

I changed the 5 files as shown here: https://github.com/jeelabs/el-client/pull/25/files

Best regards.

@dannybackx
Copy link
Author

You need the corresponding change to esp-link also.

@FernandoGarcia
Copy link

Thanks by info!

Now I have to learn how to compile the firmware :)

@dannybackx
Copy link
Author

@FernandoGarcia
Copy link

Thank you very much!

Can you tell me the username and password?

@dannybackx
Copy link
Author

Of the website ? You should be able to download without credentials.

@FernandoGarcia
Copy link

No, for ESP interface.

@dannybackx
Copy link
Author

See esp-link/config.c :
.telnet_port0pass = "1234567890123456\0",
.telnet_port1pass = "1234567890123456\0",

@FernandoGarcia
Copy link

Sorry but I don't understand.

I'm talking about this login:

capturar

@dannybackx
Copy link
Author

Ah, sorry about that. This is stuff still under development in the branch I sent you a build from.
os_strcpy(user, "admin");
os_strcpy(pass, "s3cr3t");

@FernandoGarcia
Copy link

Thank you very much!

It's working very well now.

Best regards.

@steamboating
Copy link

I would love to see this going into the master branch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants