BlackBerryForums.com : Your Number One BlackBerry Community      

»Sponsored Links




Closed Thread
 
LinkBack Thread Tools
  (#1 (permalink)) Old
riete Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Sep 2005
Location: France
Model: 7290
Question Bluetooth as input stream - 09-07-2005, 09:06 AM

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
   
Sponsored Links
Please Login or Register to Remove these Advertisements!

  (#2 (permalink)) Old
Mark Rejhon Offline
Retired BBF Moderator
 
Mark Rejhon's Avatar
 
Posts: 4,846
Join Date: Aug 2004
Location: Ottawa, Ontario, Canada
Model: 8310
Carrier: Rogers
Default 09-12-2005, 04:33 PM

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

Questions? New BlackBerry User?
   
  (#3 (permalink)) Old
ac@peg Offline
New Member
 
Posts: 5
Join Date: Aug 2005
Model: 7290
Default 09-13-2005, 11:48 AM

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.
   
  (#4 (permalink)) Old
riete Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Sep 2005
Location: France
Model: 7290
Default 80% solution - 09-22-2005, 03:05 AM

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
   
  (#5 (permalink)) Old
sose82 Offline
New Member
 
Posts: 6
Join Date: Sep 2005
Location: Germany
Model: 7230
Default 09-30-2005, 11:30 AM

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.
   
  (#6 (permalink)) Old
riete Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Sep 2005
Location: France
Model: 7290
Default The story continue - 10-03-2005, 09:48 AM

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.
   
  (#7 (permalink)) Old
sose82 Offline
New Member
 
Posts: 6
Join Date: Sep 2005
Location: Germany
Model: 7230
Default 10-03-2005, 03:11 PM

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.
   
  (#8 (permalink)) Old
simon.hain Offline
CrackBerry Addict
 
Posts: 774
Join Date: Apr 2005
Location: hamburg, germany
Model: 8700
Carrier: o2
Default 10-04-2005, 08:04 AM

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
   
  (#9 (permalink)) Old
riete Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Sep 2005
Location: France
Model: 7290
Default 10-04-2005, 10:51 AM

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
   
  (#10 (permalink)) Old
wss Offline
Knows Where the Search Button Is
 
Posts: 17
Join Date: Aug 2005
Model: 7100
Default 05-10-2006, 11:55 AM

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
   
  (#11 (permalink)) Old
simon.hain Offline
CrackBerry Addict
 
Posts: 774
Join Date: Apr 2005
Location: hamburg, germany
Model: 8700
Carrier: o2
Default 05-11-2006, 07:56 AM

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
   
  (#12 (permalink)) Old
southwestcomm Offline
BlackBerry Extraordinaire
 
Posts: 1,066
Join Date: Jan 2005
Model: A few
Carrier: Sprint
Default 05-11-2006, 10:40 PM

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

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
   
  (#14 (permalink)) Old
southwestcomm Offline
BlackBerry Extraordinaire
 
Posts: 1,066
Join Date: Jan 2005
Model: A few
Carrier: Sprint
Default 05-23-2006, 12:34 AM

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

we've tried vaious pens including Nokia Su-1B and the Maxell PC-201
   
  (#16 (permalink)) Old
simon.hain Offline
CrackBerry Addict
 
Posts: 774
Join Date: Apr 2005
Location: hamburg, germany
Model: 8700
Carrier: o2
Default 05-29-2006, 04:49 AM

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
   
  (#17 (permalink)) Old
New Member
 
Posts: 1
Join Date: May 2006
Model: 7290
Default Question - 05-29-2006, 11:07 AM

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
   
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-2008 BlackBerryNews.com, BlackBerryFAQ.com, BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of Research In Motion Limited.
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.1