×

Discussion Board

Results 1 to 9 of 9
  1. #1
    Registered User
    Join Date
    Sep 2006
    Posts
    4

    Possible to make Bluetooth link without JSR 82

    I'm a J2ME newbie.

    I want to make a bluetooth connection from phone to PC, but many phones do not support JSR 82, or only some parts of it. Most phones provide a DUN or SPP profile, so is it possible to make a DUN or SPP bluetooth connection to a PC & develop a simple client/server application?

    I have read the MIDP 2 specification, & in "Port Name Requirements" it talks about a port called "BT#, where BT is for Bluetooth Serial Port Profile ports and # is a number assigned to the port".

    Can I use this port with Nokia phones, in a manner similar to that presented in this document http://www.forum.nokia.com/info/sw.n..._v1_0.zip.html (assuming the phone supports MIDP 2)

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    No, this is not possible.

  3. #3
    Registered User
    Join Date
    Sep 2006
    Posts
    4

    Re: Possible to make Bluetooth link without JSR 82

    Thanks for the quick answer.

    What if the PC opens a BT connection to the phones' modem, can a Midlet access the modem, (I'm assuming that a Midelet can get details of the connection, & that the phone + PC are already paired)?

    Apologies if this question is very similar to the last, I'm trying to understand what the connection possibilities are when JSR 82 is not available.

  4. #4
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    No, this is not possible.

    When JSR-82 is missing which is rare for current devices, then you are lost. You could play around with OBEX File Exchange and JSR-75, however, there are only two or three Nokia Bluetooth models having JSR-75 and no JSR-82.

    Which devices do you want to target and do not have JSR-82?

  5. #5
    Registered User
    Join Date
    Sep 2006
    Posts
    4

    Re: Possible to make Bluetooth link without JSR 82

    Quote Originally Posted by traud
    Which devices do you want to target and do not have JSR-82?
    I want to target a 6230i (which does support JSR 82, but not OBEX) 5140i,3510i (which I might just forget about, as it's very old).

    However, I'd like to develop something that might work on a wider range of phones. Maybe I'm better off sticking to just phones that support some of JSR 82, some bluetooth is better than none at all.

  6. #6
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    You can OBEX support quite easily yourself – just a moment, now I understand your question.

    Just Push Registry is an issue for later phones. 5410i and 3510i do not even have Bluetooth!? The 5410i has IrDA with is accessable via J2ME. Go for JSR-82 and MIDP 2 and you have a lot of devices. Go for JSR-82 and MIDP 1 and you add the Siemens SX1 (later firmware versions). I guess MIDP 2/JSR-82 is quite a large customer base today.

    OBEX can be added without any problem.

  7. #7
    Registered User
    Join Date
    Sep 2006
    Posts
    4

    Re: Possible to make Bluetooth link without JSR 82

    Quote Originally Posted by traud
    I guess MIDP 2/JSR-82 is quite a large customer base today.

    OBEX can be added without any problem.
    So if a phone says it is JSR 82 complaint, it may have a Bluetooth API, or OBEX or both.

    If OBEX can be added, then Bluetooth is the important API to have.

    Anyone seen a phone lately with OBEX & no Bluetooth (hope not).

  8. #8
    Registered User
    Join Date
    Mar 2003
    Posts
    4,105
    No, this is not possible (again) as the JSR-82 consists of javax.bluetooth (mandatory) and javax.obex (optional). So when a device has JSR-82 it has at least javax.bluetooth and perhaps additionally javax.obex.

    So yes, javax.bluetooth is the important and mandatory JSR-82 part. The rest (OBEX) is nice to have in firmware which would reduce the JAR file size and implementation time. Anyway, you can supply it.

  9. #9
    Super Contributor
    Join Date
    Mar 2005
    Location
    Paris
    Posts
    814

    Re: Possible to make Bluetooth link without JSR 82

    again, a thread that was answered hundreds of time ...

    the _only_ devices that are able to use bluetooth in a jme app are the RIM BlackBerries, that use a specific API.
    No it is not possible to get this api
    No it is not possible to install more jsr on a phone
    No it is not possible to get a bluetooth stack another way
    But search the forum for this answer instead of asking is indeed possible

Similar Threads

  1. How To Make The S60 Emulator See My USB Bluetooth Dongle ?
    By Mo7ammed_01 in forum Symbian Tools & SDKs
    Replies: 1
    Last Post: 2006-07-25, 00:14
  2. send/recv data via bluetooth make phone restart
    By rudycandrasantoso in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2005-06-05, 07:25
  3. How to make Bluetooth switch on/work on emulator ?
    By gaganarora81 in forum Bluetooth Technology
    Replies: 0
    Last Post: 2005-04-30, 09:14
  4. Dial phone via Bluetooth link
    By standox.hung in forum Bluetooth Technology
    Replies: 2
    Last Post: 2004-11-23, 08:53
  5. Bluetooth serial link not established
    By grostim in forum Bluetooth Technology
    Replies: 1
    Last Post: 2003-11-26, 17:31

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×