Search code examples
androidalljoyn

AllJoyn - How to test the Control Panel service framework


I'm testing AllJoyn's Control Panel service framework (detailed description). There's an Android sample (AllJoyn Control Panel Service Framework SDK) of a controller device but I can't find a sample of a controlled device (the controllee).

Is there a way for me to simulate a device that implements AllJoyn's Control Panel service interface as the controllee endpoint? An Android sample would make my day!


Solution

  • While there is indeed no controlle sample in the android SDK, there is one in the C++ SDK

    You'll find the documentation explaining how to develop a controllee in C++ here : https://allseenalliance.org/docs-and-downloads/documentation/alljoyn-control-panel-service-framework-10-usage-guide-linux-cpp

    It seems you need to get the code from git and compile it yourself.

    https://git.allseenalliance.org/cgit/services/controlpanel.git/tree/cpp/samples

    It it actually quite logical as controllee will typically be device with no screen, or any user-interaction mechanism and thus will generally not be based on android but on a C / C++ firmware.