Bluetooth L2CAP on Raspberry Pi

I've been developing bluetooth application using Bluecove library with java.

It works fine when I tested on PC, but the error occurs on raspberry pi. (no changes in code)
The error shows when the code try to make l2cap connection. (RFCOMM connection works properly.)
- l2capConn = (L2CAPConnection)Connector.open(url);
This is error code. Failed to connect. [22] Invalid argument.

Have any ideas?

My pi configuration
- os: Soft-float Debian “wheezy”
- bluecove: This site provides bluecove for arm. http://www.neotos.de/en/content/bluecove-arm
- jdk: jdk-7u6-linux-arm-sfp.tar.gz

Best Regards,
arpa

Probable answsers

More information,after "dmesg" command,The results from my pc areBluetooth: l2cap ver 2.15Bluetooth: l2cap socket layer initializedThe results from RPi areBluetooth: l2cap socket layer initializedAfter ...

I've got bluetooth audio (at least simple SCO mono 8KHz audio) working on a bluetooth headset, but because the raspberry Pi USB driver has trouble with the 'isochronous' traffic involved I had to force it to run ...

Look at the BluetoothChat example in the 2.1 SDK. It should get you started... it uses the RFCOMM protocol.  

James, there are RaspberryJam groups in Bristol, Oxford and Basingstoke. I know these are all about 1 hour away by car. Perhaps you could set one up in Marlborough? http://raspberryjam.org.uk/

Hey,If you're not after making a profile - I will buy it off you for the going rate - £32 (or whatever the Element14 price + VAT/Tax + shipping is).Let me know and I'll buy it now!


Similair questions

Hi guys, im not trying to advertise or make a profit in anyway - my 2nd raspberry Pi arrived the other day and I do not want it as I already have one. I have put it on ebay for anybody to have; check it out if you ...

Hello, raspberry Pi Community! I'm James Webb and I got to school at St John's Marlborough. I am currently in Year 9, and at the end of Year 9 everyone does a project. So I decided that for my project I would programme ...

Hello, all. I took a course somewhat based on java programming 3 years ago (I didn't learn much, honestly) but I was able to follow the tutorials from the Android website to set up the SDK, ...

Can I autosave the files that my friends send me to my memory card? Because when my friend send me things through "mark all". I don have enough space and the sending will stop. And when I want to receive ...

Has anyone tried to pair their headset with the N800 since the update? I was surprised to see that I could now move MP3's from my phone to my N800. If someone gets it working can you give me the model number ...

Open Embedded Linux Entertainment Center, or OpenELEC for short, is a small Linux distribution built from scratch as a platform to turn your computer into a complete XBMC media center. OpenELEC is designed to make ...

Yesterday I have got my raspberry pi. I love its performance I love its size. I want to use this for Robotics project. PWM Connector Motor Controller [] I wonder if some can throw any idea how to use my existing ...

It would be interesting to use raspberry pc with an touchscreen eink (no power needed if you don't refresh your display, good readability). Don't you think so?Thanks for your beautiful project ;)

More evidence that a start-from-absolute-scratch, modular-lesson website for kids going from how-do-i-turn-this-thing-on newbie to Jedi Code Master in 99 project steps would yield HUGE benefits:http://www.theregister.co.uk/2011/09/30/dont_bother_with_it_degree/ ...

Hi, reading from wiki [1] I found out about armhf - "hard float" optimization that some raspberry Pi distros have but most dont.There are some info online that "hard float" optimization can speed ...

I love the Lego Case, but the post in the forum got me thinking about other neat alternatives. The key is to ensure a snug fit to a bespoke item (the raspberry Pi) and optional extras (e.g., Gertboard). One ...

I modelled a low quality 3d printer ready case for raspberry:Here the STL format:http://dl.dropbox.com/u/43696308/online/raspberry/TOP.stlhttp://dl.dropbox.com/u/43696308/online/raspberry/BOTTOM.stlI need to verify ...

after alot of thought i think im going to just eventually smack a screen portable keyboard and pinpoint mouse on this thing for a hand help desktop, only thing i need help with is i have no clue about voltages for ...

There has been a few comparisons to some of the gaming consoles, even some talk of using the Raspi as one. So, I got to thinking, "would would be a nice way to do that?"So, here are my thoughts:Plastic topRaspi, ...

- Did you already receive your ?- Would you like to get one sample of http://marcoalici.wordpress.com/2012/03/08/me-and-the-raspberrypi-3/ for your raspberry Pi for free?http://marcoalici.files.wordpress.com/2012/02/raspberry-pi-case_05c.jpgIf ...

While I, like many of you, am awaiting for the delivery of my raspberry Pi B I thought it would be nice to share something with you and get your opinion.I am a Dutch designer and working for about a year on a project ...

New topic, so it isn't buried in the other one:Today https://www.riscosopen.org/news/articles/2012/10/26/risc-os-pi-released-risc-os-for-the-raspberry-pi You can get it from the http://downloads.raspberrypi.org/images/riscos/riscos-2012-10-16-RC5, ...

how do I install/compile Quemu for the pi?I believe this is faster than dosbox, so I'm using it as my next step to get better performance for some games.

I came across a post on amiga.org today about the amiga roms & emulation on the Pi.http://www.facebook.com/ptyschtschenko this link is to the commodore director who helped keep the amiga alive under Amiga International. ...

Do you wont a official raspberry pi os adapted on education world and children use. :DWhat is your idea for raspi os ? :the name, the special orientation(education, programmation média, internet service) the ...