We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpOther Libraries › Bluetooth library for processing
Pages: 1 2 3 4 
Bluetooth library for processing (Read 25571 times)
Re: Bluetooth library for processing
Reply #30 - Aug 11th, 2008, 7:28pm
 
hi,

actually, if you downloaded the newest version from here http://www.extrapixel.ch/processing/bluetoothDesktop/download.html , it should work out of the box. please re-check you have the newest version and answer back here if it still does not work.

patrick
Re: Bluetooth library for processing
Reply #31 - Aug 11th, 2008, 9:39pm
 
I've downloaded the most recent version.

Just to make sure I wasn't doing something stupid, I deleted the avetana.jar file, which made the error go away. So the examples work now.
Re: Bluetooth library for processing
Reply #32 - Sep 4th, 2008, 5:09pm
 
Hello!

First of all, thanks alot for the great library, extrapixel.

I do have one question, though. The whole thing works for me, but the connection takes very long (about 5 minutes from find() to serviceDiscoveryCompleteEvent()). As I do know which device I want to connect to, can I specify that in advance? Or can I somehow else accelerate the find() thing?

Thanks!
Fabian
Re: Bluetooth library for processing
Reply #33 - Sep 4th, 2008, 5:12pm
 
(I am on WinXP, which acts as the Client, trying to connect to a SE W880i, which acts as the Server. I created my own Service name ("FService"), which I use on both.)
Re: Bluetooth library for processing
Reply #34 - Sep 6th, 2008, 3:03am
 


Hi extrapixel,
do you have a list of mobile phone models you are sure to work with bluetoothDesktop library?
i m looking to buy the most affordable one to experiment with ..
tnx,
mat
Re: Bluetooth library for processing
Reply #35 - Sep 6th, 2008, 1:54pm
 
hi!

mat, bluetoothDesktop runs on your computer, so it theoretically can communicate with every bluetooth device. However, you need some application on your phone, that can control the phone-side of bluetooth communication. I suggest to have a look at Mobile Processing: http://mobile.processing.org/phones/index.php

Fabian, i guess the implementation of bluetooth has no influence on the find()-speed. as i understand it, bluetooth-searches can be quite complex... the more bt-devices near you, the more complex. i think the devices also act as nodes, connecting devices further away. so, when a device initiates a search, it waits for answers from the other devices... so, basically there's nothing you can do about speed. maybe someone can prove me wrong here...

patrick
Re: Bluetooth library for processing
Reply #36 - Sep 8th, 2008, 2:32pm
 
Hi Patrick,
tnx for the reply!!
actually I got a conection to my nokia 6021 with sympleBluetooth sketch, reporting all the services available. I would like to write a sketch that just print on the window the sms messages when they arrive on the phone.
I am really novice with mobile networking .. do you have an idea about which service i should use to get sms from the phone to processing!? Or could you advise me on some web reference?
Thank you in advce!
mat
Re: Bluetooth library for processing
Reply #37 - Sep 8th, 2008, 2:53pm
 
hey mat, as far as i know there's a library for mobile processing (mobile.processing.org that gives you access to the sms that arrive while your (mobile) sketch is running. You need to forward the received text to your computer using the mobile bluetooth library and bluetoothDesktop library.
take step by step. try to set up a communication between your phone and processing, send some text. Then, try to get the sms thing working (search the mobile processing forum / docs). Combining the two shouln't be too hard then.

(reading your question again... i'm pretty sure you need to create your own service on the phone, using mobile processig for example. i guess none of the available services gives you access to the messages on the phone by default)
Re: Bluetooth library for processing
Reply #38 - Sep 8th, 2008, 3:52pm
 
yep, seems quite strightforward, but can I use mobile processing on a nokia 6021 ?? for what i saw from the mobile processing site the nokia 6021 is too old ..
Re: Bluetooth library for processing
Reply #39 - Sep 17th, 2008, 11:32pm
 
dear extrapixel and all,
tnx for the tips, now the bluetooth comm between my 6300 and processing (win) works, but how could i create a service to send my pc the incoming sms?
is it possible create new nokia services with JME and mobile processing?
the problem is that when i receive a new sms i dont see where it is stored and i dont get which protocol or method i should use to send the sms string to the pc ..
any direction's more than apreciated !!!
tnx,
m
Re: Bluetooth library for processing
Reply #40 - Sep 22nd, 2008, 6:36pm
 
Hi extrapixel

im working with bluetooth desktop but we have some problems  :S

We've bought avetanaBluetooth.jar for a bluetooth development involving processing in mac osx and mobile processing on a nokia n95.

for testing purposes, we are using example client on the mobile phone which receives and sends data, and a example server on a mac osx computer that also sends and receives data.

the server application looses the connection with the phone when it sends data (server to the phone).

we tested with bluecove but it doesn't recognize the bluetooth

settings:
Server:
Hardware:
os x 10.5.2
apple Bluetooth software version 2.1.0f16
Bluetooth hardware: MSI Star Key 2.0 V2  Class 1
Software: attached file.
Processing 135
Bluetooth Desktop Library

Client:
Hardware:
Nokia N95 8gb.
Software: attached file.
.jar compiled with mobile.processing.org

Server Code
http://tratadodeintegracion.cc/bluetoothServer.pde
Client Code
http://tratadodeintegracion.cc/bluetoothCliente.pde

Re: Bluetooth library for processing
Reply #41 - Oct 4th, 2008, 12:30pm
 
Hi

I'm trying to adapt the bluecam-example on http://www.d-parc.be/index.php/BlueCam;78/2 which is used to capture video on one cell phone while showing it on another one. What i'd like to do now is let the cell phone capture the video but use the laptop as the monitor. so i guess i have to use the bluetooth-library for the mobile and bluetoothdesktop for the computer. but for i'm quite a newbie i have no idea how to send and recieve live video... i also tried to work with the example on the bluetooth-desktop website where they send single pictures from the mobile to the pc, but i don't know which part of the code would have to be exchanged to use the phone as a live camera...

can anyone help me??
Re: Bluetooth library for processing
Reply #42 - Nov 3rd, 2008, 7:42pm
 
For those on Winblows that keep getting this error:

"java.lang.RuntimeException: No supported stack installed or no dongle available"

The first thing you should do is remove the "avetanaBT.jar" file from:processing\libraries\bluetoothDesktop\library

Then, if it still doesn't work, you may need to remove whatever bluetooth 'stack' windows is using and re-install one that works by re-installing your bluetooth drivers (I have heard issues with some versions of BlueSoliel's  drivers exist, but can't say for sure).

I'm only posting this 'cause it took me two days to figure out all i needed to do was delete one little file and hope to save someone else the struggle.  Good Luck!
Re: Bluetooth library for processing
Reply #43 - Jan 9th, 2009, 3:45pm
 
you just solved my problem
thanks!
Re: Bluetooth library for processing
Reply #44 - Mar 17th, 2009, 12:36pm
 
Many, many thanks for posting this.  Getting rid of avetanaBT.jar made it work for me.....you've just saved me allot of work!

cheers

DrWig
Pages: 1 2 3 4