Hi Sven,
Thank you for the insight. We definitely do not want to reimplement BATMAN. Does BATMAN ADV interfaces with the radio via the network driver or does BATMAN include the network driver? Can you provide some guidance on where the network driver or interface to network driver is located within BATMAN?
Regards, Charles
-----Original Message----- From: Sven Eckelmann sven@narfation.org Sent: Friday, June 17, 2022 1:46 AM To: cchien@creonexsystems.com Cc: b.a.t.m.a.n@lists.open-mesh.org Subject: Re: Question about batman for ARM
On Friday, 17 June 2022 10:41:46 CEST cchien@creonexsystems.com wrote: [...]
We would like to use batman with a custom radio and are trying to figure
out what part of the source code we may need to modify to allow batman to work with a custom radio.
Custom radio means that the radio is not a commercial radio, such as wi-fi
or Bluetooth.
batman-adv (especially with the B.A.T.M.A.N. IV algo) only requires that the device itself can transport ethernet frames (with proper unicast and broadcast behavior). If you need something else then you either need a virtual interface which does the translation from $whatever to ethernet (and back) - or you need to reimplement the B.A.T.M.A.N. IV/V algorithms yourself.
Kind regards, Sven