logo       

Re: Sending messages over Bluethooth "serial port": msg#00122

Subject: Re: Sending messages over Bluethooth "serial port"
Never mind, I've got it working. I am not using the SerialPort class,
but the complete implementation of Lukas. I am not even made any
change but just said that the filename was COM4 (in my case).

On 2/26/07, Mispunt <mispunt@xxxxxxxxxxxxxxxxxxxxx> wrote:
> I can connect to the port using the SerialPort class (at least I don't
> get any message that tell otherwise), but when I try to send any
> message to the serial port Squeak doesn't response anymore. When I
> turn off Bluetooth I get an message like: "Error: a primitive has
> failed."

Well, I am still not able to send any message to the serial port of
Windows. (Same error)
Does anyone else have problems with the SerialPort class?

On 2/23/07, Lukas Renggli <renggli@xxxxxxxxx> wrote:
> > > > 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
> _______________________________________________
> Beginners mailing list
> Beginners@xxxxxxxxxxxxxxxxxxxxxxxxxx
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
linux.arklinux....    user-groups.lin...    kde.usability/2...    ietf.ipp/2002-0...    mail.spam.spamc...    os.netbsd.devel...    audio.cd-record...    text.unicode.de...    php.documentati...    games.fps.halfl...    window-managers...    suse.oracle.gen...    bug-tracking.gn...    video.dvdrip.us...    xfree86.cvs/200...    java.netbeans.m...    network.argus/2...    culture.sf.kill...    debian.ports.al...    freebsd.questio...    qplus.devel/200...    handhelds.palm....   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe