bluetooth/btcomm/src/states.cpp
branchRCL_3
changeset 11 20fda83a6398
parent 0 29b1cd4cb562
child 12 9b6d3ca0c601
equal deleted inserted replaced
10:8a27654f7b62 11:20fda83a6398
   691 			
   691 			
   692 		//now retrieve the ServiceClassIDList from the first ServiceRecordHandle
   692 		//now retrieve the ServiceClassIDList from the first ServiceRecordHandle
   693 		RNetDatabase& netdb=aContext->iNetDatabase;
   693 		RNetDatabase& netdb=aContext->iNetDatabase;
   694 
   694 
   695 		TSDPAttributeKey key;
   695 		TSDPAttributeKey key;
       
   696 		Mem::FillZ(&key, sizeof(TSDPAttributeKey));
   696 		key.iQueryType = KSDPAttributeQuery;
   697 		key.iQueryType = KSDPAttributeQuery;
   697 		// suck out the first service record handle.
   698 		// suck out the first service record handle.
   698 		iFactory->iExtractedHandleCount = 1;
   699 		iFactory->iExtractedHandleCount = 1;
   699 		key.iServiceRecordHandle = BigEndian::Get32(&aContext->iSDPServRecordHandle[4]);
   700 		key.iServiceRecordHandle = BigEndian::Get32(&aContext->iSDPServRecordHandle[4]);
   700 		key.iMaxLength = 200;
   701 		key.iMaxLength = 200;