I am using 14.06 android sample "Simple Client" and try to connect it to basic_service from the latest linux code of git. I have set the same (1)interface name, (2)service name, (3)service path and (4)session port.
I have 2 problems: 1. The android sample "Simple Client" shows "ALLJOYN_JOINSESSION_REPLY_UNREACHABLE" message but still connects to the "basic_service" on linux (There are some error message showed in basic_service: UDPTransport::AcceptCb(): ARDP_Accept() failed: ER_FAIL). The ping function works fine.
2."Simple client" cannot find the advertised name of "basic_service" after leaving the program(I press the back button of my android and the android is back to the desktop). "Simple client" doesn't call foundAdvertisedName() anymore after close the "Simple Client".
Does anyone have the same issue?
UPDATE: After I set the TransportMask SERVICE_TRANSPORT_TYPE to TRANSPORT_TCP from TRANSPORT_ANY; The 1st issues is solved, but the 2nd issue sometime still shows up.
I don't understand the reason why setting of TransportMask does solve the issue because TRANSPORT_TCP should be included in TRANSPORT_ANY