Dear altruist, I am trying to send some data on this settings
#define SERVER_IP "192.168.1.121"
#define SERVER_PORT 5000
#define TCP_DATA_LEN 256
this is on a WiFi board(ESP32) which is directly controlling some actions. Is there any simple demo example of such application Regards
Edit: Hello gvdhoorn, thanks for your querry. I have setup the server with the card. So if I now send
> echo "3" | nc 192.168.0.102 3000
I get response to that.
So to implement in ROS, I need to send a value to IP address: 192.168.0.102 and Port: 3000
How can I achieve that easily, if my computer is connected to this server by LAN connection.
Regards Muntahi
Originally posted by KARIM on ROS Answers with karma: 1 on 2018-07-23
Post score: 0
Original comments
Comment by gvdhoorn on 2018-07-23:
Can you clarify how this is related to ROS? This board is rather focused on ROS-specific topics, and general programming of embedded boards (such as an ESP32) does not fall into that category.
Comment by gvdhoorn on 2018-07-23:
re: edit: so you are trying to write a ROS node that sends that 3
to the IP?
If so: I don't believe there is anything that ROS adds or changes here. I would advise you to look up some plain C++ examples of what you are trying to achieve, make sure you understand those and then add ROS.