×
Namespaces

Variants
Actions
Revision as of 08:40, 28 June 2012 by hamishwillee (Talk | contribs)

Archived:New Bluetooth discovery should not be started from within DiscoveryListener's callback methods (Known Issue)

From Nokia Developer Wiki
Jump to: navigation, search

Archived.pngArchived: This article is archived because it is not considered relevant for third-party developers creating commercial solutions today. If you think this article is still relevant, let us know by adding the template {{ReviewForRemovalFromArchive|user=~~~~|write your reason here}}.

The article is believed to be still valid for the original topic scope.


Article Metadata
Tested with
Devices(s): All S60 3rd Edition and S60 3rd Edition, Feature Pack 1 devices
Compatibility
Platform(s): S60 3rd Edition and S60 3rd Edition, Feature Pack 1
S60 3rd Edition FP1
S60 3rd Edition (initial release)
Article
Created: User:Technical writer 1 (28 Nov 2007)
Last edited: hamishwillee (28 Jun 2012)

Overview

{Abstract|Bluetooth MIDlet fails starting new device and service discoveries when calling such methods from within DiscoveryListener.inquiryCompleted and DiscoveryListener.searchServicesCompleted callback methods. }]

Description

For service discovery, a new service discovery cannot be started with DiscoveryAgent.searchServices from within the DiscoveryListener.serviceSearchCompleted callback method. If searchServices is called from within serviceSearchCompleted, the searchServices call does not fail, but the servicesDiscovered will not be called again. The same applies for device discovery when calling DiscoveryAgent.startInquiry from within the DiscoveryListener.inquiryCompleted method.

Solution

The problem has been fixed in S60 3rd Edition, Feature Pack 2. For previous releases, try starting a new device and service discovery when the previous discovery has completed (that is, after serviceSearchCompleted and DiscoveryListener.inquiryCompleted have returned).

38 page views in the last 30 days.
×