-->
Page 1 of 1

Communicate without IP

PostPosted: Thu Sep 01, 2016 1:28 am
by ShantanuJ
Is there ANY way that i can send commands to esp8266 12e WITHOUT knowing its IP address??

Re: Communicate without IP

PostPosted: Thu Sep 01, 2016 2:43 am
by eduperez
Yes, you can send broadcast packets, that will be received by all nodes in your network; for example:
viewtopic.php?p=24222

Re: Communicate without IP

PostPosted: Thu Sep 01, 2016 6:32 am
by ShantanuJ
Thank you. I did that. It worked Perfectly.
Now, my problem is with comparing the data received.
for eg. IF RECEIVED "ON" TURN LED HIGH.

i tired to compare (packetBuffer == "ON")

but it doesn't seem to work. What am I missing?

Re: Communicate without IP

PostPosted: Thu Sep 01, 2016 8:36 am
by martinayotte
I've replied to you other post in this thread :
viewtopic.php?f=29&t=4209&p=54250#p54250
You need to learn a bit more about C/C++ syntax ... :ugeek: