Lego Mindstorms

Lego Mindstorms: what does BluetoothWrite send ?

I'm trying to get some telemetry working between a mobile robot and a PC over bluetooth.

NXC has all the features you need to send messages between robots and a PC. There are functions to send boolean, integers and so on, using a "mailbox" dispatching of messages, for example SendRemoteNumber.

t2n: usbnxt: upload: can'y initiate upload (reply=0x02,status=0xffffff92,error=0x0000)

If you're getting this error, most likely you're trying to upload to your Lego Mindstorm NXT with t2n a program compiled with nbc.

If you're using an adequat version of nbc (I'm using 1.0.1.35), the point is that you don't need t2n at all.

nbc can upload the program to the NXT
Just type (as root):

  nbc -d your-program.nxc

and you'll get the familiar beep telling your program has been uploaded to the brick.

Syndicate content