AdHocLib version 1.0.1
AdHocLib is a library which allows to create and manage ad hoc connections on Android mobile devices. It is designed for my master thesis at the Université de Liège (Montefiore Institute). It works both with Bluetooth and Wi-Fi Direct technologies. It is compatible with Android Minimum SDK 16 (Android 4.1 - JELLY_BEAN).
Its interface offers the following basic functionalities:
- create an ad hoc network;
- join an ad hoc network;
- leave an ad hoc network;
- send data to a destination (using routing algorithm if needed);
- forward data to another node (using routing algorithm if needed);
- broadcast data to all neighbours;
- provides notifications to applications using the library when a specific event has occurred.
For installation and documentation, a wiki is available on this address.
Further information can be found here (master thesis): https://matheo.uliege.be/handle/2268.2/4702
AdhocLib is an open source project (under MIT license) and is currently hosted at https://github.com/gaulthiergain/AdHocLib. You are encouraged to download the code, examine it, modify it, and submit bug reports, bug fixes, feature requests, new features and other issues and pull requests.