View unanswered posts | View active topics It is currently Tue Nov 21, 2017 2:19 am






Reply to topic  [ 1 post ] 
PC to Brick via Bluetooth 
Author Message
Rookie

Joined: Thu Nov 20, 2014 12:12 pm
Posts: 3
Post 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.


Tue Feb 17, 2015 10:18 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 1 post ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.