You Are Here:

Community: Developer Discussion Boards

#1 Old getting the service description, using RHostResolver - 2003-11-09, 18:11

Join Date: Jun 2003
Posts: 318
advocatee
Offline
Regular Contributor
hi people,

Im using RHostResolver on my application, i would like to connect and retrieve the service description. In the Bluetooth Point to Point example this is used to request the Protocl Descriptor List.

iAgent->AttributeRequestL(aHandle, KSdpAttrIdProtocolDescriptorList);

I assume that the 2nd parameter with any of the following:
static const TInt KSdpAttrIdOffsetServiceName = 0x0000; // + Language offset
static const TInt KSdpAttrIdOffsetServiceDescription = 0x0001; // + Language offset

Gets the desired results,,,

The example also shows 'checking' of the retrieved protocol descriptor list to see if it is structured correctly, which is rather confusing.

On the contrary, I'm wondering if i can do a simple, string comparison of some sort with the retrieved service name and description attributes. Can someone shine some light on this?

Thanks!

- aDvo -
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