You are here

VESC Tool TCP server, how to start connection to VESC ?

1 post / 0 new
pf26
Offline
Last seen: 5 days 19 hours ago
Joined: 2018-12-04 08:44
Posts: 54
VESC Tool TCP server, how to start connection to VESC ?

Hello, I need to access via internet to a VESC which has a wifi / uart interface (ESP32C3 based, simply replicating the UART to tcp byte frames) and a wifi client connected to a RUT240 Wifi/4G router.

This interface connects to VESC Tool TCP server at my office : I can see that the TCP connection is established :

Connected Clients

::ffff:47.145.89.75   <----  the IP of the mobile router  (numbers changed for security), I don't know what the ::ffff refers to

BUT then, how do I start using VESC tool ? 

I tried sending the very first frame of VESC to VESC tool dialog, in a desperate attempt to initiate further without success..

Ideally, I wanted to make it the other way around, ie VESC tool as a client, which works fine but there it seems impossible to initiate an incoming TCP connection to the router using the SIM cards I have.

I looked into TCP Hub but could not really figure out how I could add a VESC ID to the TCP frames from my UART interface. Also lowest mobile data is wanted.

Any ideas very welcome, I should install this setup shortly in a foreign country... and internet access to the VESC would be sooo nice !

 

Again thks a lot for this wonderfull project, Pierre.