BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-07-2005, 09:06 AM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: France
Model: 7290
Carrier: Orange
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question Bluetooth as input stream

Please Login to Remove!

I'm asking myself a question which could be helpfull for a lot of us, and I would like to have your opinions.

Would it be realistic to use a Bluetooth peripheral (like Barecode or RFID reader) as an input stream in a web page FORM in a BlackBerry browser. The inofrmations readen from the stream would be redirected to the selected text field in the active web page.

The goal would be to identify a precise location (in a building, a car or whatever) where a person is, via a DataBase.

I already done most of the interface (DataBase and Client side), I'm Just wondering if anyone has an experience in such cases?

Any suggestions welcome.

Thierry
Offline  
Old 09-12-2005, 04:33 PM   #2 (permalink)
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: Bold
Carrier: Rogers
Posts: 4,870
Post Thanks: 1
Thanked 0 Times in 0 Posts
Default

If the Bluetooth peripheral uses the SPP profile, I do not see why not. It certainly is possible to use Bluetooth SPP devices with BlackBerry (i.e. serial Bluetooth keyboards, Bluetooth GPS, etc)

You will need access to the appropriate signed API's though.
__________________
Thanks,
Mark Rejhon
Author of XMPP extension XEP-0301:
www.xmpp.org/extensions/xep-0301.html - specification
www.realjabber.org - open source
Offline  
Old 09-13-2005, 11:48 AM   #3 (permalink)
New Member
 
Join Date: Aug 2005
Model: 7290
Posts: 5
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

I am streaming data from a datalogger to BB7290 using bluetooth SPP. My blackberry program collects the data and performs diagnostics to assist service technicians during maintainence and equipment repairs. The data and diagnostic results are directed to fields on the blackberry screen, but in the future I plan to stream to a web page and into a database. It was not difficult getting bluetooth SPP to work, you just need to purchase access to the API.
Offline  
Old 09-22-2005, 03:05 AM   #4 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: France
Model: 7290
Carrier: Orange
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default 80% solution

good news, I finally found a great little RFID Pen device which appear to work fine (the API just need to be adjusted by the constructor).
I fill up WEB pages and the DB connected.

Now the challenge is to store the data offline and to synchronize later.

Riete
Offline  
Old 09-30-2005, 11:30 AM   #5 (permalink)
New Member
 
Join Date: Sep 2005
Location: Germany
Model: 7230
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Take care when you try to store data.All Objects and attributs to store must be "Persistble" an Date Object can´t be stored. Then you use long. Amount of data you store in a synchronized Object.
to get the stored Object you must also synchronize the store.
Vector and Hashtables are aslo persistable.
Offline  
Old 10-03-2005, 09:48 AM   #6 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: France
Model: 7290
Carrier: Orange
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default The story continue

Thanks Sose82

I will take care about persisble storage of Date objects.
At the moment, I can manage to post synchronize a single ogject from the BB with the DB when the signal is back.
Offline  
Old 10-03-2005, 03:11 PM   #7 (permalink)
New Member
 
Join Date: Sep 2005
Location: Germany
Model: 7230
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Then can you help me?
How can I manage to be sure that Bluetooth is activated on the Handheld?
Because when I once connect to a Gps-Bluetooth , and then stop the application restart the application without bluetooth activated, i have to reset my BB.
Offline  
Old 10-04-2005, 08:04 AM   #8 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

once you connect a device via bluetooth the pairing stays active even with one device going to sleepmode iirc.
you should check in your application if a serial bt-connection is available.

i made an application to read data with a barcode scanner, display them on the device and store them into a sql-database, i did not add a offline module though (shouldn't be too hard to add).

riete, could you tell me what RFID-pen you are using? i am currently trying to get my BB working with a SU-1B from nokia but it seems that the device does not support SPP and i have no idea how to connect it otherwise.

gs
simon
Offline  
Old 10-04-2005, 10:51 AM   #9 (permalink)
Knows Where the Search Button Is
 
Join Date: Sep 2005
Location: France
Model: 7290
Carrier: Orange
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Two answers in the same message.

FIrst: I have the same kind of problem Sose have. The answer from the Bluetooth device supplier is that BB system doesn't supported the auto detect "rebirth" of already paired devices.
I don't know if this is true or not, but BB is supposed to soon update?
I have to restart the application which drive the bluetooth device after it goes to spleep mode.

Second: You can find the RFID device on www.baracoda.com under IDPEN

Thierry
Offline  
Old 05-10-2006, 11:55 AM   #10 (permalink)
wss
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: 7100
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by simon.hain
could you tell me what RFID-pen you are using? i am currently trying to get my BB working with a SU-1B from nokia but it seems that the device does not support SPP and i have no idea how to connect it otherwise.
How did you get on Simon? I've been trying to do this via a class which implements BluetoothSerialPortListener but have had no luck. I cannot get the phone to see that there is a connection - deviceconnected doesnt get called and when i look into the bluetooth serial port info it says that there are none present. Any info that you can give to get passed this?
Thanks
Offline  
Old 05-11-2006, 07:56 AM   #11 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

we are communicating with a logitech pen (same model as the nokia one) but it was quite some work to come that far.
right now the pen is happy with "its" blackberry and hands over all the data.
very sorry not being able to help you further, we are still working on the topic.
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 05-11-2006, 10:40 PM   #12 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2005
Model: Many
Carrier: Sprint
Posts: 1,475
Post Thanks: 0
Thanked 6 Times in 5 Posts
Default

There are Bluetooth barcode scanners and pens compatible with iDEN 7520's. Have used both and they work great.
Offline  
Old 05-22-2006, 12:38 PM   #13 (permalink)
wss
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: 7100
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

When we try connecting our pen to the blackberry there are no services listed in the bluetooth device properties and so we have been unable to process the data using the Serial Port classes. Does anyone know if it is possible to work around this programatically by manually creating the Serial Port connection or must the Serial Port service be found automatically on pairing for it to be used?
Thanks
Offline  
Old 05-23-2006, 12:34 AM   #14 (permalink)
BlackBerry Extraordinaire
 
Join Date: Jan 2005
Model: Many
Carrier: Sprint
Posts: 1,475
Post Thanks: 0
Thanked 6 Times in 5 Posts
Default

What pen device are you using?
Offline  
Old 05-23-2006, 04:08 AM   #15 (permalink)
wss
Knows Where the Search Button Is
 
Join Date: Aug 2005
Model: 7100
Posts: 17
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

we've tried vaious pens including Nokia Su-1B and the Maxell PC-201
Offline  
Old 05-29-2006, 04:49 AM   #16 (permalink)
CrackBerry Addict
 
Join Date: Apr 2005
Location: hamburg, germany
Model: 8900
Carrier: o2
Posts: 838
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

the services of the pen are hidden. you have to create a spp-connection yourself. quite the tricky part of it though!
__________________
java developer, Devinto, hamburg/germany
Offline  
Old 05-29-2006, 11:07 AM   #17 (permalink)
New Member
 
Join Date: May 2006
Model: 7290
Posts: 1
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default Question

Simon,

I have the same problem that you, I need to connect my BB with the SU-1B digital pen but I don't undestand how send the information to the BB.
The BB see the pen using the bluetooth connection but I don't know if I need to install any software in the BB to recieve the pen data.

Could you help me.

Thanks

Quote:
Originally Posted by simon.hain
once you connect a device via bluetooth the pairing stays active even with one device going to sleepmode iirc.
you should check in your application if a serial bt-connection is available.

i made an application to read data with a barcode scanner, display them on the device and store them into a sql-database, i did not add a offline module though (shouldn't be too hard to add).

riete, could you tell me what RFID-pen you are using? i am currently trying to get my BB working with a SU-1B from nokia but it seems that the device does not support SPP and i have no idea how to connect it otherwise.

gs
simon
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright © 2004-2014 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.