Hello,
so i have an esp8266 and i want to store ip of 3 devices in one array string and then send it via json.
const char* GAME_people_ip[] = {192.168.0.104, 192.168.0.105, 192.168.0.106};
but it gives me and error
error: too many decimal points in number
on the other side there is another esp8266 that gets the GAME_people_ip and connects to the ips.
I dont need to do it this way as long as it is transfered through json and on the second esp8266 there is 3 ips with dots in an array.
I am no sure but maby you can on the first ep change the dots to another character like this:
192d168d0d104
and then send it through json
then change the character back to dots.
Thanks in advance!