On Thursday 29 November 2012 14:52:08 liu muye wrote:
Hello:
By looking at the packet.h from the batctl source code. I found this:
#define BATADV_ETH_P_BATMAN 0x4305 /* unofficial/not registered Ethertype */
I guess it would be the packet type batman would recognized. When I set the type to 0x4305. However, I cannot even see any output from the receiver side when I run batctl tcpdump bat0 on it.
I think we already had this topic and I've already explained you that you should not fiddle with batman-adv internals when you try to send data from point a to point b.
Just wondering if you guys can have simple examples about the socket programming on B.A.T.M.A.N.
As I told you more than once that batman-adv is transparent for your application: http://beej.us/guide/bgnet/
Kind regards, Sven