I just set up a VM for cross-compiling AllJoyn apps on OpenWrt. I can compile C/C++ apps and run them on the Atheros CPU of the Yun. Now I'd like to enable bidirectional communication between AllJoyn on the Atheros CPU and Arduino on the Atmel CPU on the Yun:
- GPIO events should cause the Atheros CPU to send out a sessionless signal
- Certain incoming AllJoyn messages should be sent to the Atmel CPU to toggle GPIOs
It is my understanding that the Arduino Yun only supports the Bridge library to communicate between the Atheros and Atmel CPUs. But the Bridge library is written in Python and as far as I know, there's no AllJoyn binding for Python.
I feel like there should be a way to interrupt the Atmel CPU from my C++ app on the Atheros CPU without going through the Python bridge. Has anyone done this before, or is there a better way of going about doing this?