I am very new to coding and learning how to use Arduino so please excuse my ignorance. I am trying to create project where i have a push button when i push it it turns on LED and send the following Json Command string to multiple IP devices on Port 9999. I have gotten the code to work as far as pushing button and turning on LED ... what i cant figure out is how to send this command to IP device on specific port, let alone sending it to multiple IP's. i have been able to to do telnet commands to open IP but not Json.
I am super new to this and maybe in it way over my head or missing something simple as not knowing how to properly format a string.. IF anyone can help i would really appreciate it and if someone can write up small few lines of complete code example on how i can send this it would be even more appreciated.
Json command i am trying to send :
{"params": {"presetSno": 1.00, "type": 1}, "method":"activatePreset",
"id":"1234", "jsonrpc":"2.0"}