You Are Here:

Community: Developer Discussion Boards

#1 Old About SDPAgent inquiry results, help! - 2003-11-09, 20:38

Join Date: Jun 2003
Posts: 318
advocatee
Offline
Regular Contributor
It is said in the documentation:
» Symbian OS v6.1 Edition for C++ » API Guide » Bluetooth » Using Bluetooth Service Discovery Agent » How to create an object to handle inquiry results


virtual void NextRecordRequestComplete(TInt aError, TSdpServRecordHandle aHandle, TInt aTotalRecordsCount)

"...aHandle gives the service record handle of the matching service, and can be used in a subsequent attribute query. aTotalRecordsCount gives the total number of matching records...."

This callback returns only a handle to a single matching record, but also returns the total number of matching records.

Is this correct? If i want the next record, i call NextRecordRequestL() again?

Am i then wrong to say that subsequent calls to NextRecordRequestL() will return a handle to the NEXT matching service record (if any), while returning the SAME total number of matching records?

I just feel that its abit redundant, so i thought that it could be my understanding of it that is wrong...

Assume that i'm using CSdpSearchPattern with my queries.

help!


- aDvo -
Last edited by advocatee : 2003-11-09 at 20:42.
Reply With Quote
Reply « Previous Thread | Next Thread »
Display Modes
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Rate This

 
Bookmark this page: DeliciousDiggFacebookGoogleYahooStumbleUponRedditDiigoTechnocratiTwitter  Share this page Share this page Print this Page Print this page Invite a friend Invite a friend
京ICP备05048969号    Email Newsletters Press Terms & Conditions Privacy Policy Sitemap Contact Us © 2009 Nokia