Thanks. I will slog through it and hopefully get someplace. I have to wait
for my STUART board to show up so I can load new images... going to be a few
On Tuesday 14 February 2006 16:50, Nick Taptiklis wrote:
> It's quite a while since I did this, before jamvm was in the buildroot. I
> used kaffe, and was able to compile the JNI stuff with this after compiling
> kaffe for gumstix. But kaffe's performance was very poor.
> On 14/02/06, Jay Petersen <jay@...> wrote:
> > Craig,
> > Basically I'm looking to use a bluetooth api from java. There
> > are a couple
> > of different kinds, those that piggy back via javax.comm (I have rxtx
> > working
> > so that is covered), or tie directly into the BlueZ layer via JNI (the
> > aventana route).
> > I was having trouble reading data to and from the serial port and
> > have had
> > zero luck as of yet compiling any of the JNI stuff for the gumstix yet.
> > The Serial Port method:
> > I did some digging and notice in the S30Bluetooth init.d script
> > it fires off
> > hciattach /dev/ttyS3... However, reading or writting to it gets me no
> > results. I have tried rfcomm0, but it doesn't list as a valid serial
> > port from the rxtx package, and to be honest I'm not sure how to bind the
> > local bluetooth adapter to a local serial port like that. I used rfcomm
> > to get onto the board when I got it yesterday because I am still waiting
> > for ups to
> > deliver my STUART board ;) hehehe
> > I tried creating a symlink between the two and the serial api
> > didn't barf,
> > but it sat quiet also.
> > The JNI method:
> > I was able to get the avetana BlueZ jni stuff compiled, and
> > scanning on my
> > desktop box. I just need to figure out how to get the native stuff
> > compiled
> > down for the gumstix.
> > for what it's worth i'm going to post someplace everything I've been
> > doing to
> > get mine up and running with bt etc...
> > Thanks,
> > -Jay
> > On Tuesday 14 February 2006 12:12, Craig Hughes wrote:
> > > On Feb 14, 2006, at 7:33 AM, Jay Petersen wrote:
> > > > haha sorry, that last one was for Ed.
> > > >
> > > > Nick,
> > > > If you dont mind me asking but how did you get it to communicate
> > > > with the bt
> > > > module? Did it access it via ttyS3?
> > >
> > > Jay, not sure I'm understanding what you're trying to do -- you want
> > > to talk HCI to the bluetooth module from Java, instead of using the
> > > kernel's HCI translation layer? Do you have the data sheet for the
> > > bluetooth module to know what HCI commands it responds to for the
> > > basic setup stuff (like setting up baud rate, flow control, etc)? Or
> > > do you want to use Java to talk over a bluetooth serial port to a
> > > remote device, in which case you should be having Java open /dev/
> > > rfcomm0 instead of /dev/ttyS3
> > >
> > > C
> > >
> > >
> > >
> > > -------------------------------------------------------
> > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > > files for problems? Stop! Download the new AJAX search engine that
> > makes
> > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=12164
> > >2 _______________________________________________
> > > gumstix-users mailing list
> > > gumstix-users@...
> > > https://lists.sourceforge.net/lists/listinfo/gumstix-users
> > -------------------------------------------------------
> > This SF.net email is sponsored by: Splunk Inc. Do you grep through log
> > files
> > for problems? Stop! Download the new AJAX search engine that makes
> > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
> > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> > _______________________________________________
> > gumstix-users mailing list
> > gumstix-users@...
> > https://lists.sourceforge.net/lists/listinfo/gumstix-users