This project includes the implementation of the following MultiAP modules as defined in the MultiAP low level architecture - broker (local & global), MultiAP library, WFA-CA, discovery agent and the 1905 transport, platform agent core & PAL (the PAL links to platform specific library implementing the PAL for the platform - libplat.so).
The MultiAP controller and agent are external to this project.
The following are needed for building the MultiAP framework on any Linux machine (local and cross compile):
Package | Version |
---|---|
cmake | >=2.8 |
c++11 | |
json-c | 0.12.1 |
ubus | any |
Cross compiling - currently supporting UGW & RDKB cross compiling, see feed_multiap.
It is recommended to build "out of tree". This is specially useful if the same sources are used for compiling on the local machine and cross compiling.
git clone ssh://[email protected]:29418/sw_ugw/multiap.git
mkdir build && cd build
cmake ../multiap && make install
For building examples, add -DBUILD_EXAMPLES=ON to the cmake command. See examples/*/README.md for each example instructions
At this point multiap framework is built, binaries are available in build/install
folder.
The MultiAP framework project has support for CMAKE CTEST.
To compile and run the tests: cmake ../multiap && make install && make test
Supported Unit Tests:
- version - messaging library sanity test and show version
- broker_test - test the broker functionality by running a broker, subscriber and publisher that sends a single message
- socket_test - test socket class
- poller_test - test poller class
- transport_test - Sending 1905 CMDUs over 1905.1 Transport service over local bus + raw socket
- Tomer Eliyahu [email protected]
This project is licensed under the BSD+Pantet License - see the LICENSE file for details