×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Aug 2005
    Posts
    8

    service discovery speed

    Hello,

    I have written a service discovery app in java for bluetooth. When I invoke service discovery on my Nokia 6600; it takes about 15 seconds to detect a nearby device. But when I execute the phone's built in program to detect bluetooth devices I see that it detects it like in 3 seconds. (I use the javax.bluetooth.* libraries by the way)

    Is such a difference in performance normal, or do you think there could be something wrong with the java code I wrote?

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    Re: service discovery speed

    Before service discovery can be made, the device discovery is required in order to learn the device addresses (BD_ADDRs) of nearby Bluetooth devices. The device discovery, on the other hand, is performed in two-step procedure:

    1: In Inquiry process, Bluetooth device addresses of neighbouring devices are learnt (amongst other information, such as, frequency synchronization etc.)
    2: In Paging procedure, the found bluetooth devices are connected to retrieve their Device Names (that are shown in the discovery list)

    It takes 10.24 seconds (+name discovery) in order to discover all surrounding devices. However, the discovery dialog, implemented in Symbian devices, is performing these two procedures simultaneously. Thus, the list of found devices is updated as device names are resolved and the user can interrupt the discovery as soon as desired device is shown in the list. This reduces the overall discovery time experienced by the user because he doesn't need to to go though the whole discovery process.

    So, if you have implemented your discovery without using the discovery dialog provided by Symbian it probably takes more time as you described

Similar Threads

  1. Replies: 4
    Last Post: 2006-09-05, 15:15
  2. java bluetooth service discovery with 6600
    By jdevmo in forum Bluetooth Technology
    Replies: 7
    Last Post: 2006-05-26, 16:08
  3. Service discovery inconsistency problem
    By tserivdd in forum Bluetooth Technology
    Replies: 0
    Last Post: 2004-02-09, 08:47
  4. Service Discovery
    By jimdeal in forum Bluetooth Technology
    Replies: 1
    Last Post: 2003-09-25, 09:41
  5. Blue Tooth service discovery
    By cgforero in forum Bluetooth Technology
    Replies: 0
    Last Post: 2003-02-26, 10:21

Posting Permissions

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