PING Function
Posted: Mon Feb 27, 2017 4:33 pm
Hello everyone! Little questions:
Is there ESPbasic function like a standard internet PING ???
I mean, that like to come home with my phone, my router automatically assigns me my IP.
example such as 192.168.1.100
Now ESP detects in timer loop this event and automatically launches, for example:
- Runs my computer,
- Runs my favorite light,
- Or warms up my dinner ....
It looks to me like this:
Thank you for any suggestions: dziloo@wp.pl
Is there ESPbasic function like a standard internet PING ???
I mean, that like to come home with my phone, my router automatically assigns me my IP.
example such as 192.168.1.100
Now ESP detects in timer loop this event and automatically launches, for example:
- Runs my computer,
- Runs my favorite light,
- Or warms up my dinner ....
It looks to me like this:
Code: Select all
'*** Example code- Not work !!! ***
IF PING "192.168.1.100" = 1
Then GOTO [Warm Dinner]
Else [Do Nothing]
Thank you for any suggestions: dziloo@wp.pl