ROBOTC.net forums
http://robotc.net/forums/

PC to Brick via Bluetooth
http://robotc.net/forums/viewtopic.php?f=1&t=10543
Page 1 of 1

Author:  ultraforce.nott [ Tue Feb 17, 2015 10:18 am ]
Post subject:  PC to Brick via Bluetooth

Hello guys,

We have a fully-working java programme which can connect to another computer and can send messages from this(both sides run java and we used ObexPutClient and ObexServer), however when trying to connect to the NXT Brick and send a message via bluetooth we are able to pair with the brick and we can send a message but we have no idea if the NXT receives it.

When we tried to use Java ObexPutClient on computer(we provide the ServerURL of NXT to java programme) to send the message to NXT Brick running the RobotC, it does't work. On java side, the error is given:

"Failed to connect; [10064] A socket operation failed because the destination host was down."
Is the error we receive on Java.


Using robotc the brick is waiting for a message to be sent and it is awaiting 3 integers to help the robot move.

How have people sucessfully done this, we have ensured the port number is the same.

Page 1 of 1 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/