This is an old revision of the document!
In this example enable ITxPT on Netmodule NG800 and receive specific CAN Data of the router via ITxPT implementation. As a client, we use a pc with linux-debian 11.
Requirements:
1. Step SERVICES → ITxPT → Configuration → ITxPT Administratio enable. Choose your LAN Interface, your client is connected to. In our case this is LAN1.
Go to FMStoIP Tab, and configure as followed:
Almost done, now we need to discover the services offered by netmodule ITxPT service. As discovery tool, we use avahi-discover. Once, started, we can click on a service to get detail information.
Now we have the multicast address for the fmstoip service discovered, we can join the multicast group and recvice the udp messages.
Group - 239.255.42.21 Port - 15015
Note: If you are connected to other networks too, make sure to add a route for the multicast address. In my case, I add the route:
Please clone https://github.com/troglobit/mtools and build the mtools:
CC msend.o LINK msend CC mreceive.o LINK mreceive
klueppel@fang:/tmp/mtools$
Now we can start mrecevie, with multiacast IP and port: ./mreceive -g 239.255.42.21 -p 14005
Done.