User manual
the board later.
Communication with the board works similarly to the previous experiments. Only
the IP of the module and your computer will have changed, since both devices
now have had an IP assigned by the router. Packet Sender receives no measure-
ments at first after the start. First, you need to send a message, e.g., the com-
mand led=1, to the module. For this, enter the new IP of the module in the Packet
Sender, which you can find via the serial monitor. After the command, new meas-
urements will arrive approx. once per second.
The measured data are received by Packet Sender.
There is another change in the CIPSTART-command for this program. The broad-
cast address has been expanded because it cannot be said in advance which
subnet your router will open. The second change is the addition of a parameter, in
this case the second one. The new parameter permits changing the target address
of the
CIPSEND-command. The module listens in the entire space starting 192.168. first.
Once a command is received, the module will switch to the new IP.
success &= sendCom("AT+CIPSTART=\"UDP\",\"