Is it possible to send data from the phone to alljoyn thin client applications using Control Panel Service framework?
So I have a few AJTC apps running Alljoyn.js and implementing Control Panel and an Android App which renders the UI of each device.
I am wondering how to send data TO each device, I can see that I am able to receive data from the devices, such as data when the value has changed and/or to control each device using actions widgets. What about if I wanna pass data to a device, lets say every time a button is pressed or every time i click on the device and its UI gets rendered on the phone.
I have been going through the source code of control panel framework for android, I have tried modifying it such as adding parameters inside the Exec() bus method inside the ActionControl interface to try sending data that way but then I got a pop massage "Action failed", every time i would click on a button to turn on the device.
Please let me what is the simplest way to do this or what would i need to modify in the source code.