I would like to search the attributes of a BT device's serial port service. Howeever, i would like to begin searching for the service name and then search again for the protocol descriptor list. I used the CSdpAgent to search and i did a code like this :
in NextRecordRequestComplete:
iAgent->AttributeRequestL(aHandle, 256) //256 is the attribute id of the service name
in AttributeRequestComplete()
iAgent->AttributeRequestL(aHandle, 4)
//where 4 is the AttID of the Protocol Descriptor List
But i get errors saying that the attributes cannot be searched.
Can anyone tell me other solutions for this. I would appreciate any reply from you. Thanks in advance!