I've been scratching my head for a few days now, trying to send a sessionless signal between android devices. This is what i have (boiled down to) so far:
msgBus.CreateInterface(interfaceName, AllJoyn.InterfaceDescription.SecurityPolicy.Off, out iface); iface.AddSignal("searchRoom", null, null); iface.Activate(); busObject = new LobbyBusObject(iface, servicePath); msgBus.RegisterBusObject(busObject); msgBus.RegisterSignalHandler(SearchRoomHandler, busObject.searchRoomMember, null); msgBus.AddMatch("type='signal',member='searchRoom'"); msgBus.AddMatch("sessionless='t'");
The sender can see its own signal, but not the other devices. All I can find on the internet is a post on the old forum about adding AddMatch("sessionless='t'") and the ALLJOYN_FLAG_SESSIONLESS flag on the BusObject Signal function, but so far it just doesn't work.