The
network and BT Remote is made using the
C++ communication library. It allows you to control the
NXT over either Bluetooth or a network connection. To communicate
with the NXT over Bluetooth a partnership between the PC and
the NXT has to be established. Please follow this link
if you don't know how to do this. To communicate with the NXT
over a network connection you need to download and run the NXT
network server. Please follow
the steps below to connect to the server over a network connection.
At the moment the functionalities of the remote is limited to
controlling the motors and reading the sensors - but more features
will be added...
To make things simple this example
will run the server and client on the same computer:
Download and start the NXT
network server with password, client timeout
and access control disabled - make the sure that
the server uses port 1000 and that your firewall
is forwarding traffic to the server. Normally
a dialog box will pop up and ask whether or not
you want to unblock traffic to/from the server.
Select port 1000 on the remote
and set the IP address to 127.0.0.1.
That's it - with the program you should be
able to read the sensors and control the motor. To connect from
a different computer simply change the IP address.