asked 2014-04-02 04:13:03 -0700
This post is a wiki. Anyone with karma >75 is welcome to improve it.
I ran the sample which name is "ledctrl.exe" and "AJ_LedService.ino" and so on... It works very well. The console printed "do work".
I found that the source code, ledctrl.exe, is based on C++, so that I modify the code to Java(Android) I matched the interface name, daemon name, port number, and so on... But the arduino cannot connect to the AllJoyn Standard Client(Android)
The Arduino Serial Monitor Msg is
Hello <node name="/org/alljoyn/sample/ledcontroller"> <interface name="org.alljoyn.sample.ledcontroller"> <method name="Flash"> <arg direction="in" name="msec" type="u"> </arg></method> <method name="On"> </method> <method name="Off"> </method> </interface> </node> 000.000 ajnet.cpp:209 AJNetConnect(): connect() success: status=AJOK
001.365 ajhelper.cpp:285 AJStartService2(): connect failed: sleeping for 10 seconds
How can I do? Thanks in advance! :)