| Reply | « Previous Thread | Next Thread » |
|
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 | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|