NXJ: Uploading Programs via Bluetooth

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: 99jonathan, roger, imaqine

NXJ: Uploading Programs via Bluetooth

Postby bbagnall » Thu Jul 19, 2007 4:56 pm

Once you have the firmware installed via USB you might want to upload your code using Bluetooth instead, which is more convenient. You can do this using the following command, as mentioned in the readme (using the Tune sample):

NXJ -b Tune

If you get an error that it can't find the brick, this probably means you need to use the updated version of Bluecove. (We included Bluecove 1.2.2 in the leJOS distribution, but there is a version 2.0 that now works with the Widcomm drivers.) Download the new Bluecove 2.0 jar file from here:
http://code.google.com/p/bluecove/

Place it in the \lejos_nxj\3rdparty\lib directory and rename it 'bluecove.jar'.

The first time you use it, your system will ask for the Bluetooth code (a balloon will pop up in Windows - click it). Enter '1234' and you're set for good.

BTW Our next release, which should be out in a few weeks, will include Bluecove 2.0 so you won't have to worry about this anymore.
Last edited by bbagnall on Mon Sep 03, 2007 8:14 pm, edited 2 times in total.
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm

Postby bbagnall » Mon Sep 03, 2007 8:13 pm

Unstickied due to new release of leJOS NXJ today with bluecove 2.0.
User avatar
bbagnall
Site Admin
 
Posts: 392
Joined: Fri Aug 04, 2006 4:03 pm


Return to NXJ Software

Who is online

Users browsing this forum: gloomyandy and 2 guests

more stuff