Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

> bluetooth in j2me

views
     
TSerictioh84
post Feb 23 2006, 01:51 AM, updated 14y ago

On my way
****
Senior Member
638 posts

Joined: Dec 2004
From: Sri Kembangan | Penang


i'm going to create an application which is running on a computer with bluetooth adaptor on it.

another is a j2me program which is to placed into a mobile phone. it is used to connect to the computer and do something like login system using mobile phone.

what i'm not sure :
1. how many simultaneous mobile phones can connect to the computer at the same time?
2. i don't want the computer or the phone to ask for any paring key, whenever the phone request for connection, then the computer must allow.


so any can basically describe how is this going to be done?
dstl1128
post Feb 23 2006, 01:07 PM

Look at all my stars!!
*******
Senior Member
4,436 posts

Joined: Jan 2003
For PC,
- you need to register a service, basically a RFCOMM and serial communication type.
- multithreaded for multiple connection
- must be at least XP SP1 for using MS Bluetooth stack
- if you are coding in C++, you need platform SDK 2003 SP1.

For handphone,
- device detection and for each device search for the correct service (e.g. compare the name of the service)
- connect to the correct service port



 

Switch to:
| Lo-Fi Version
0.0282sec    1.41    5 queries    GZIP Disabled
Time is now: 20th November 2019 - 09:03 AM