Join Now
Quality Rating:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)
Expertise Level:
  • Currently 0.0 / 5
(0.0 / 5 - 0 votes cast)

This page was last modified 07:51, 28 November 2007.

KIJ000789 - New Bluetooth discovery should not be started from within DiscoveryListener's callback methods

From Forum Nokia Wiki


ID KIJ000789 Creation date November 28, 2007 
Platform S60 3rd Edition and S60 3rd Edition, Feature Pack 1   Devices All S60 3rd Edition and S60 3rd Edition, Feature Pack 1 devices  
Category Java ME   Subcategory Bluetooth API  

Overview

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).

Related Discussions
Thread Thread Starter Forum Replies Last Post
Mobile-with-PC communication help please objective3 Symbian Networking & Messaging 3 2006-08-29 10:19
回调函数得用法和价值 billqu Symbian 1 2006-05-02 03:30
Http Connection API console app GattusoMatrazzi Symbian Networking & Messaging 6 2008-01-04 05:21
Bluetooth Socket Connection Problem deniz6682 Mobile Java Networking & Messaging & Security 7 2006-03-08 08:07
Bluetooth GPS refuses to connect (KErrCouldNotConnect, -34) micmail Bluetooth Technology 6 2006-08-16 08:48
 
Powered by MediaWiki
     
     RDF Facets:
     
     
     qfnZtypeQUqfnTypeZCommunityContentQ
     qfnZtypeQUqfnTypeZKnowledgeBaseContentQ
     qfnZtypeQUqfnTypeZKnownIssueQ
     qfnZtypeQUqfnTypeZWebpageQ
     qfnZtypeQUqfnTypeZWikiContentQ
     qmarsZlanguageQUxhttpE3aE2fE2fswE2enokiaE2ecomE2flanguageE2d1E2fenX