Lawrie and Andy,
The PAN network is not working as I intended. I cannot have the PC connect to the EV3 at 10.0.1.1 because I will be using the software in a lab with up to 30 EV3 devices ... all having the same IP address of 10.0.1.1. So, I need to have each student connect to their individual EV3 via their laptops. The plan was to have a ServerSocket running on the laptop, and have the EV3 connect to the ServerSocket using TCP. However, the EV3 cannot see my PC. I started the server socket on the PC as follows (try/catch exception code not shown for brevity):
ServerSocket serverSocket = new ServerSocket(6000); // 6000 is arbitrary port number
Socket robotSocket = serverSocket.accept(); // waits here for robot to connect, bet never returns!
The EV3 code simply does this:
String IPaddress = "220.127.116.11"; // This is my PC's IP address
Socket socket = new Socket(InetAddress.getByName(IPaddress), 6000);
But the call to establish the Socket here returns with a "No Route to Host" exception.
From my PC, I did as suggested ... I clicked on the Bluetooth icon, selected Join a Personal Area Network, selected my EV3, and then Connected using > Access Point. But it will not connect.
Any ideas ?