You Are Here:

Community: Developer Discussion Boards

#1 Old SDP Serice Discovery 12 ERROR - 2003-11-20, 05:48

Join Date: Oct 2003
Posts: 120
alice77
Offline
Regular Contributor
can anyone explain me what service discovery 12 errro

I am trying to update my SDP using the following sequence of statements

_LIT(KHandleFile2,"111111111111C:\\HandleReadDataL.dat");

CSdpAttrValueDES* protocolDescriptorList = CSdpAttrValueDES::NewDESL(NULL);
CleanupStack::PushL(protocolDescriptorList);
protocolDescriptorList->StartListL()->BuildDESL()->StartListL()->BuildUUIDL(KL2CAP)->EndListL()->BuildDESL()->StartListL()->BuildUUIDL(KRFCOMM)->BuildUintL(TBuf8<1>(KChannel))->EndListL()->EndListL();

************//ERROR OVER HERE DOWN LINE*************
iSdpDatabase.UpdateAttributeL(recordh, KSdpAttrIdProtocolDescriptorList, *protocolDescriptorList);

**************//ERROR ABOVE************************ iEikonEnv->AlertWin(KHandleFile2);
CleanupStack::PopAndDestroy(protocolDescriptorList);
iEikonEnv->AlertWin(KHandleFile2);

// Add a Unique ID to the record
iSdpDatabase.UpdateAttributeL(recordh,KSdpAttrIdServiceID,KUidValue);

// Add a name to the record
iSdpDatabase.UpdateAttributeL(recordh, KSdpAttrIdBasePrimaryLanguage + KSdpAttrIdOffsetServiceName,KServiceName);

// Add a description to the record
iSdpDatabase.UpdateAttributeL(recordh,KSdpAttrIdBasePrimaryLanguage + KSdpAttrIdOffsetServiceDescription,KServiceDescription);


I have mentioned the error part too can anyone sort it out for me please. on 7650 target device.
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