I am using the MainApp.java on Eclipse that Digi provides.
For the section of code where it’s necessary to change the port number I can’t seem to enter the right string:
/* Constants */
// TODO Replace with the port where your module is connected to.
private static final String PORT = "COM1";
// TODO Replace with the baud rate of your module.
private static final int BAUD_RATE = 9600;
When I copy the port information from the XCTU for my COORD I get usbserial-A104IB9R - 9600/8/N/1/N - API 1. From what I’ve read I think that PORT = “A104IB9R” but this doesn’t actually work. It gives a “no such port error.” I haven’t used eclipse much and am just getting started with xbee. Thanks!