Home | History | Annotate | Download | only in llcp

Lines Matching refs:sap

198 static void llcp_sdp_add_sdres (UINT8 tid, UINT8 sap)
207 UINT8_TO_BE_STREAM (p, sap);
222 static tLLCP_STATUS llcp_sdp_send_sdres (UINT8 tid, UINT8 sap)
227 LLCP_TRACE_DEBUG2 ("llcp_sdp_send_sdres (): tid=0x%x, SAP=0x%x", tid, sap);
251 llcp_sdp_add_sdres (tid, sap);
266 llcp_sdp_add_sdres (tid, sap);
295 ** Description Search SAP by service name
298 ** Returns SAP if success
303 UINT8 sap;
306 for (sap = LLCP_SAP_SDP; sap <= LLCP_UPPER_BOUND_SDP_SAP; sap++)
308 p_app_cb = llcp_util_get_app_cb (sap);
315 return (sap);
325 ** Description Report TID and SAP to requester
331 static void llcp_sdp_return_sap (UINT8 tid, UINT8 sap)
335 LLCP_TRACE_DEBUG2 ("llcp_sdp_return_sap (): tid=0x%x, SAP=0x%x", tid, sap);
342 (*llcp_cb.sdp_cb.transac[i].p_cback) (tid, sap);
397 UINT8 type, length, tid, sap, *p_value;
420 sap = llcp_sdp_get_sap_by_name ((char*) p_value, (UINT8) (length - 1));
421 llcp_sdp_send_sdres (tid, sap);
430 if ( (length == LLCP_SDRES_LEN) /* TID and SAP */
431 &&(sdu_length >= 2 + length) ) /* type, length, TID and SAP */
435 BE_STREAM_TO_UINT8 (sap, p_value);
436 llcp_sdp_return_sap (tid, sap);