Home | History | Annotate | Download | only in llcp

Lines Matching refs:sap

340 **                  reg_sap : Well-Known SAP except LM and SDP (0x02 - 0x0F)
347 ** Returns SAP between 0x02 and 0x1F, if success
356 UINT8 sap;
360 LLCP_TRACE_API3 ("LLCP_RegisterServer (): SAP:0x%x, link_type:0x%x, ServiceName:<%s>",
377 /* allocate a SAP between 0x10 and 0x1F */
378 for (sap = 0; sap < LLCP_MAX_SERVER; sap++)
380 if (llcp_cb.server_cb[sap].p_app_cback == NULL)
382 p_app_cb = &llcp_cb.server_cb[sap];
383 reg_sap = LLCP_LOWER_BOUND_SDP_SAP + sap;
396 LLCP_TRACE_ERROR1 ("LLCP_RegisterServer (): SAP (0x%x) is for link manager", reg_sap);
403 LLCP_TRACE_ERROR1 ("LLCP_RegisterServer (): out of resource for SAP (0x%x)", reg_sap);
408 LLCP_TRACE_ERROR1 ("LLCP_RegisterServer (): SAP (0x%x) is already registered", reg_sap);
420 LLCP_TRACE_ERROR1 ("LLCP_RegisterServer (): out of resource for SAP (0x%x)", reg_sap);
425 LLCP_TRACE_ERROR1 ("LLCP_RegisterServer (): SAP (0x%x) is already registered", reg_sap);
435 LLCP_TRACE_ERROR2 ("LLCP_RegisterServer (): SAP
472 LLCP_TRACE_DEBUG1 ("LLCP_RegisterServer (): Registered SAP = 0x%02X", reg_sap);
492 ** Returns SAP between 0x20 and 0x3F, if success
500 UINT8 sap;
517 /* allocate a SAP between 0x20 and 0x3F */
518 for (sap = 0; sap < LLCP_MAX_CLIENT; sap++)
520 if (llcp_cb.client_cb[sap].p_app_cback == NULL)
522 p_app_cb = &llcp_cb.client_cb[sap];
524 reg_sap = LLCP_LOWER_BOUND_LOCAL_SAP + sap;
539 LLCP_TRACE_DEBUG1 ("LLCP_RegisterClient (): Registered SAP = 0x%02X", reg_sap);
565 LLCP_TRACE_API1 ("LLCP_Deregister () SAP:0x%x", local_sap);
571 LLCP_TRACE_ERROR1 ("LLCP_Deregister (): SAP (0x%x) is not registered", local_sap);
584 /* discard any received UI PDU on this SAP */
588 /* deallocate any data link connection on this SAP */
600 /* discard any pending tx UI PDU from this SAP */
636 LLCP_TRACE_API4 ("LLCP_IsLogicalLinkCongested () Local SAP:0x%x, pending = (%d, %d, %d)",
734 ** Description Read information of UI PDU for local SAP
736 ** - Remote SAP who sent UI PDU is returned.
755 LLCP_TRACE_API1 ("LLCP_ReadLogicalLinkData () Local SAP:0x%x", local_sap);
773 /* get remote SAP from LLCP header */
825 LLCP_TRACE_ERROR1 ("LLCP_ReadLogicalLinkData (): Unregistered SAP:0x%x", local_sap);
835 ** Description Discard received data in logical data link of local SAP
849 LLCP_TRACE_API1 ("LLCP_FlushLogicalLinkRxData () Local SAP:0x%x", local_sap);
886 LLCP_TRACE_ERROR1 ("LLCP_FlushLogicalLinkRxData (): Unregistered SAP:0x%x", local_sap);
896 ** Description Create data link connection between registered SAP and DSAP
942 LLCP_TRACE_ERROR1 ("LLCP_ConnectReq (): DSAP (0x%x) must not be link manager SAP", dsap);
967 ** Accepting LLCP may change SAP in CC, so we cannot find right data link connection
968 ** if there is multiple pending connection request on the same local SAP.
1013 LLCP_TRACE_API2 ("LLCP_ConnectCfm () Local SAP:0x%x, Remote SAP:0x%x)",
1067 LLCP_TRACE_API3 ("LLCP_ConnectReject () Local SAP:0x%x, Remote SAP:0x%x, reason:0x%x",
1104 LLCP_TRACE_API5 ("LLCP_IsDataLinkCongested () Local SAP:0x%x, Remote SAP:0x%x, pending = (%d, %d, %d)",
1146 LLCP_TRACE_API2 ("LLCP_SendData () Local SAP:0x%x, Remote SAP:0x%x",
1209 LLCP_TRACE_API2 ("LLCP_ReadDataLinkData () Local SAP:0x%x, Remote SAP:0x%x",
1314 LLCP_TRACE_API2 ("LLCP_FlushDataLinkRxData () Local SAP:0x%x, Remote SAP:0x%x",
1385 LLCP_TRACE_API3 ("LLCP_DisconnectReq () Local SAP:0x%x, Remote SAP:0x%x, flush=%d",
1421 LLCP_TRACE_API2 ("LLCP_SetTxCompleteNtf () Local SAP:0x%x, Remote SAP:0x%x",
1458 LLCP_TRACE_API2 ("LLCP_SetLocalBusyStatus () Local SAP:0x%x, is_busy=%d",
1568 ** Description Return SAP of service name in connected device through callback