Last year I have successfully created AJTCL app which was running on Arduino Due with the Ethernet shield and an AJSCL app running on the Android smartphone. In this project I had Alljoyn router bundled with the Android app and I was using only Alljoyn Core to implement private services and interfaces.
The project that I am working on now is supposed to involve multiple devices, where each device would expose its services and be able to interoperate with other Alljoyn devices and apps. Before starting on this project I wanted to know what are the best practices to create a large Alljoyn ecosystem, so I have a few questions regarding both software and hardware and would like to get a confirmation on some things as well:
- What would be the best way to setup everything? I am assuming I should have one Alljoyn router that all devices connect to so that they are always available...the question is on what kind of device shall this be running, is it okay to have an app on my laptop running in the background and could this also be used as a rule engine or is there a better way to do it?
- For each device to expose its services and to interoperate with other devices which Alljoyn service frameworks would I use? In my previous project I used the Alljoyn Core only so I don't have experience with any Alljoyn Service Frameworks. However, I have read that we are encouraged to use them to make things standard.
- Secondly, since my project is based on IoT, should I be using DDAPI or stick with the Alljoyn Core, what are the benefits of each one?
- Is Arduino Yun a good choice to implement an AJTCL app on and will it be able to communicate over WiFi? I know that for Arduino Due there was an issue with the existing WiFi shields so we had to use the Ethernet shield.
I think that's all, I know I am asking so many questions but I really wanna follow the best convention when building this, so if I have missed something I would really appreciate your suggestions and recommendations. Also, if you could point me to the sample programs for the things I need, that would be great!
Thanks in advance!