Example: obtain the neighbor table using the XBee Java Library

Now that you have learned how to request the neighbor table by creating the packet and sending it with XCTU, you complete the same task, but with the help of the XBee Java Library.

The Java application creates the packet to request the neighbor table, send it to the other module, receive the response, parse it, and display the details of each neighbor.

If you get stuck, see Troubleshooting.