| Author |
How to implement a Bluetooth server for non-J2ME phones ?
|
Christoph Ehret
Greenhorn
Joined: Dec 30, 2002
Posts: 12
|
|
Hi, I have to implement a bluetooth server running on a desktop computer that has to provide special services to non-J2ME phones. When a phone sees the service and connect to the server, the latter has to propose it different menus, for example if a user presses 1, he receives what is under the first menu, if presses 2, he receives what is under the second menu, and so on. 1) What kind of connection have I to establish ? RFCOMM or L2CAP, or even another type ? 2) How have I to send the different elements to the connected phones, i.e so that it appears as different menus on the phone display (for example 1 Sport 2 Mensa 3 Uni events etc.) ? 3) How do I catch on the server the number pressed on the phone ? Certainly with a listener, but ... ? Would be great if someone could help me a little bit. Thanks Chris
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
|
I believe you'll have to reveal some details of your solution such as what Bluetooth stack you're using on the desktop, etc.
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
Christoph Ehret
Greenhorn
Joined: Dec 30, 2002
Posts: 12
|
|
I use the brand new JSR-82 implementation from Avetana that works on OS X (actually the first one) Windows and Linux . So this is actually the bluetooth stack I use on OS X . The result I want should be similar to Salling Clicker or Romeo , both working very well with me T68i . Just tell me what kink of other details you need. I really thank you. Chris
|
 |
 |
|
|
subject: How to implement a Bluetooth server for non-J2ME phones ?
|
|
|