getting a (KErrL2CAPRequestTimeout -6312) while doing a SDP search
| Tue, 2008-04-29 15:47 | |
|
hi i am writing my code as follows and iAddr is the address of the device to connect ANY HELP void CObjectExchangeClient::FindServiceL() // delete any existing agent and search pattern delete iAgent; iAgent = CSdpAgent::NewL( *this, iAddr ); iSdpSearchPattern = CSdpSearchPattern::NewL(); iAgent->NextRecordRequestL(); thanks in adavance . |
|







Forum posts: 3
Hi,
The UUID you send matters.
Where did u find 0x1105.
As per my obeservation it might be 0x1106.
Please let me know if you have find the solution.
Bye..
Forum posts: 18
for me that code works fine.
void CObexImplementation::FindServiceL()
{
LOG("-> @ CObexImplimentation::FindServiceL");
iHasFoundService = EFalse;
iState = EGettingConnection;
if (iSdpAgent)
{
delete iSdpAgent;
iSdpAgent = NULL;
}
iSdpAgent = CSdpAgent::NewL( *this, iAddress);
iSdpSearchPattern->AddL(KServiceClass);//adding OBEX service ID 0x1105(OBEX)
iSdpAgent->SetRecordFilterL( *iSdpSearchPattern);//Giving it the filter list
iSdpAgent->NextRecordRequestL();
LOG("<- @ CObexImplimentation::FindServiceL");
}