Bug #253
closedHow to use Batman-adv api in developing a simple application
0%
Description
So i just started using batman-adv. I wish to know if anyone can point me to some sample code where batman-adv APIs are used to develop an application. For example, how would i use batman-adv api to do file transfer between two devices connected over batman-adv mesh.
Updated by Sven Eckelmann over 8 years ago
- Status changed from New to Rejected
batman-adv is just an extra layer between the real link layer and the transport layer. So it behaves like a distributed ethernet switch.
There is no special API which you use for batman-adv data transfers. Just the normal network stack and sockets. Applications usually don't know that they send data over batman-adv. They also usually don't know that they send data over wifi or over ethernet or something else.
Btw. this is not a bug. So you filled it incorrectly in the issue tracker.