How to handle when a Xbee radio Joins a network?

Hello,

I know that if I start the discovery process (speaking about Java library), a listener class (IDiscoveryListener) bring to me a list of the discovered radios during the process, but there is a “step” that I haven’t couldn’t catch, and is when an en device radio joinst the network (gattering the same PAN ID)…
I’m using XBEE Pro programmable S2B and working with the java library

I am not sure I understand your question. Can you rephrase it?

OK np.
I would like to know if with the java lib, there is a kind of ‘‘call back method’’ that is executed when a radio joins the network.

This is the environment:

I have a Coordinator radio, and I wan to know if some radio joins the network, the Coordiantor tellsme that one radio has joined the network.

OK np.
I would like to know if with the java lib, there is a kind of ‘‘call back method’’ that is executed when a radio joins the network.

This is the environment:

I have a Coordinator radio, and I wan to know if some radio joins the network, the Coordiantor tellsme that one radio has joined the network.

I don’t know if the Java Lib can or not but the radio can if you enable API mode and enable the JN command.

When a module joins the network.it automatically receive the network key from the so called center.in Xbee network,the trust center always runs inside the coordinator.

This is not a trust center function but a function of the Join Notification command or JN command.