[Newbies] Sending messages over Bluethooth "serial port"

Lukas Renggli renggli at gmail.com
Fri Feb 23 16:37:33 UTC 2007


> > > I am trying to write some code (in squeak) to talk to the Lego
> > > Mindstorms NXT. Therefore I need to communicate with a Bluetooth
> > > "serial port".
> >
> > I once wrote started doing exactly that. The basic communication
> > protocol using bluetooth is working but I didn't got any further as
> > time is missing. The code certainly only works on OS X and Linux right
> > now, but maybe it is still useful to you? Probably you need to
> > implement a different subclass of NxtConnection to access the serial
> > port the windows-way.
>
> Thanks for you're help, I probably could use it. It gives me some
> inside of how I have to do the message lengt thing ;)
> I will try to get this working. I have enough time because this is for
> my work :)

Cool. I put the code into my monticello repository, that's maybe
easier if you want to commit something. So far only #name:, #ping and
#battery works ;-)

MCHttpRepository
	location: 'http://mc.lukas-renggli.ch/nxt/'
	user: ''
	password: ''

Cheers,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch


More information about the Beginners mailing list