On Friday, June 17, 2022 10:45:48 AM CEST Sven Eckelmann wrote: > On Friday, 17 June 2022 10:41:46 CEST [email protected] 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.
In other words, if your radio comes up as a regular Ethernet interface in
Linux (like WiFi, for example), then you can easily run batman-adv on top of
it. If that's not the case, then you can write a driver to present a (virtual)
interface to the system like Sven suggested.
Cheers,
Simon
signature.asc
Description: This is a digitally signed message part.
