Thank you so much for your suggestions. Yes, we are using batman-adv. The one running as a kernel module. Just a few quick follow up questions.
Our goal is to build an ad hoc mesh network. Each node may not have IP address. I can use batctl ping functionality to ping my peer with MAC address. Just wondering if I can send data packet to my peers with MAC address.
I have noticed the packet.h file in the batctl source code contains several C structures. One of them is
struct batadv_unicast_packet { struct batadv_header header; uint8_t ttvn; /* destination translation table version number */ uint8_t dest[ETH_ALEN]; } __packed;
To send my data packet, I have to use this C structure. Is that correct? and where to look up the value for ttvn?
Thanks for your time Have a nice day
b.a.t.m.a.n@lists.open-mesh.org