Revision history [back]

click to hide/show revision 1
initial version

Getting a peer disconnected callback means that the AllJoyn.js device got a session lost signal from that peer. Either that peer sent a session lost signal, because it really was disconnected, or the routing node could no longer find that peer and sent a session lost on its behalf. Are all your devices in a session together? Meaning did they all receive a peer disconnected callback? BTW a peer disconnected callback is not for the AllJoyn.js instance thats running, its for some other peer that is no longer in the session. Perhaps you should print out what peer got disconnected and also print unique names on the other devices to see whats going on.

AJ.onPeerDisconnected = function(peer)