📄 connection_8h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>BlueLab: connection.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.3.8 --><div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>connection.h File Reference</h1>Header file for the Connection library. <a href="#_details">More...</a><p><h2>Data Structures</h2><ul><li>struct <a class="el" href="structsync__config__params.html">sync_config_params</a><dl class="el"><dd class="mdescRight">Synchronous connection configuration parameters. <a href="structsync__config__params.html#_details">More...</a><br></dl><li>struct <a class="el" href="structsync__link__params.html">sync_link_params</a><dl class="el"><dd class="mdescRight">Synchronous connection negotiated link parameters. <a href="structsync__link__params.html#_details">More...</a><br></dl><li>struct <a class="el" href="structlp__power__table.html">lp_power_table</a><dl class="el"><dd class="mdescRight">Power table. <a href="structlp__power__table.html#_details">More...</a><br></dl><li>struct <a class="el" href="structlp__config__params.html">lp_config_params</a><dl class="el"><dd class="mdescRight">Link policy configuration parameters. <a href="structlp__config__params.html#_details">More...</a><br></dl><li>struct <a class="el" href="structqos__flow.html">qos_flow</a><dl class="el"><dd class="mdescRight">L2CAP Quality of Service Parameters. <a href="structqos__flow.html#_details">More...</a><br></dl><li>struct <a class="el" href="structl2cap__config__params.html">l2cap_config_params</a><dl class="el"><dd class="mdescRight">L2CAP connection configuration parameters. <a href="structl2cap__config__params.html#_details">More...</a><br></dl><li>struct <a class="el" href="structport__par.html">port_par</a><dl class="el"><dd class="mdescRight">Port parameters. <a href="structport__par.html#_details">More...</a><br></dl><li>struct <a class="el" href="structrfcomm__config__params.html">rfcomm_config_params</a><dl class="el"><dd class="mdescRight">RFCOMM configuration parameters. <a href="structrfcomm__config__params.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___i_n_i_t___c_f_m___t.html">CL_INIT_CFM_T</a><dl class="el"><dd class="mdescRight">A Connection Library entity has completed it's initialisation process. <a href="struct_c_l___i_n_i_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___r_o_l_e___c_f_m___t.html">CL_DM_ROLE_CFM_T</a><dl class="el"><dd class="mdescRight">Return as a result of an attempt to switch or discover the role. <a href="struct_c_l___d_m___r_o_l_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___i_n_q_u_i_r_e___r_e_s_u_l_t___t.html">CL_DM_INQUIRE_RESULT_T</a><dl class="el"><dd class="mdescRight">Message informing the client of an inquiry result or that the inquiry has completed. <a href="struct_c_l___d_m___i_n_q_u_i_r_e___r_e_s_u_l_t___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___r_e_m_o_t_e___n_a_m_e___c_o_m_p_l_e_t_e___t.html">CL_DM_REMOTE_NAME_COMPLETE_T</a><dl class="el"><dd class="mdescRight">This message indicates that a call to ConnectionReadRemoteName has completed. <a href="struct_c_l___d_m___r_e_m_o_t_e___n_a_m_e___c_o_m_p_l_e_t_e___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___l_o_c_a_l___n_a_m_e___c_o_m_p_l_e_t_e___t.html">CL_DM_LOCAL_NAME_COMPLETE_T</a><dl class="el"><dd class="mdescRight">This message indicates that a call to ConnectionReadLocalName has completed. <a href="struct_c_l___d_m___l_o_c_a_l___n_a_m_e___c_o_m_p_l_e_t_e___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___c_l_a_s_s___o_f___d_e_v_i_c_e___c_f_m___t.html">CL_DM_CLASS_OF_DEVICE_CFM_T</a><dl class="el"><dd class="mdescRight">Message containing the local class of device. <a href="struct_c_l___d_m___c_l_a_s_s___o_f___d_e_v_i_c_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___s_y_n_c___r_e_g_i_s_t_e_r___c_f_m___t.html">CL_DM_SYNC_REGISTER_CFM_T</a><dl class="el"><dd class="mdescRight">Message received after an attempt is made to register for synchronous connection notifications. <a href="struct_c_l___d_m___s_y_n_c___r_e_g_i_s_t_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___s_y_n_c___u_n_r_e_g_i_s_t_e_r___c_f_m___t.html">CL_DM_SYNC_UNREGISTER_CFM_T</a><dl class="el"><dd class="mdescRight">Message received after an attempt is made to de-register from synchronous connection notifications. <a href="struct_c_l___d_m___s_y_n_c___u_n_r_e_g_i_s_t_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___s_y_n_c___c_o_n_n_e_c_t___c_f_m___t.html">CL_DM_SYNC_CONNECT_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionSyncConnect or ConnectionSyncResponse. <a href="struct_c_l___d_m___s_y_n_c___c_o_n_n_e_c_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___s_y_n_c___c_o_n_n_e_c_t___i_n_d___t.html">CL_DM_SYNC_CONNECT_IND_T</a><dl class="el"><dd class="mdescRight">Message received when a remote device wishes to establish a connection. <a href="struct_c_l___d_m___s_y_n_c___c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___s_y_n_c___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html">CL_DM_SYNC_DISCONNECT_IND_T</a><dl class="el"><dd class="mdescRight">Message received when the either the local or remote device has attempted a disconnect. <a href="struct_c_l___d_m___s_y_n_c___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___s_y_n_c___r_e_n_e_g_o_t_i_a_t_e___i_n_d___t.html">CL_DM_SYNC_RENEGOTIATE_IND_T</a><dl class="el"><dd class="mdescRight">Message received when the either the local or remote device has attempted a renegotiation of an existing synchronous connection's parameters. <a href="struct_c_l___d_m___s_y_n_c___r_e_n_e_g_o_t_i_a_t_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___l_o_c_a_l___b_d___a_d_d_r___c_f_m___t.html">CL_DM_LOCAL_BD_ADDR_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionReadLocalAddr. <a href="struct_c_l___d_m___l_o_c_a_l___b_d___a_d_d_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___l_i_n_k___q_u_a_l_i_t_y___c_f_m___t.html">CL_DM_LINK_QUALITY_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionGetLinkQuality. <a href="struct_c_l___d_m___l_i_n_k___q_u_a_l_i_t_y___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___r_s_s_i___c_f_m___t.html">CL_DM_RSSI_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionGetRssi. <a href="struct_c_l___d_m___r_s_s_i___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___r_e_m_o_t_e___f_e_a_t_u_r_e_s___c_f_m___t.html">CL_DM_REMOTE_FEATURES_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionReadRemoteSuppFeatures. <a href="struct_c_l___d_m___r_e_m_o_t_e___f_e_a_t_u_r_e_s___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___c_l_o_c_k___o_f_f_s_e_t___c_f_m___t.html">CL_DM_CLOCK_OFFSET_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionReadClockOffset. <a href="struct_c_l___d_m___c_l_o_c_k___o_f_f_s_e_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___a_c_l___o_p_e_n_e_d___i_n_d___t.html">CL_DM_ACL_OPENED_IND_T</a><dl class="el"><dd class="mdescRight">Unsolicited informational message alerting the client that an ACL has been opened. <a href="struct_c_l___d_m___a_c_l___o_p_e_n_e_d___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___a_c_l___c_l_o_s_e_d___i_n_d___t.html">CL_DM_ACL_CLOSED_IND_T</a><dl class="el"><dd class="mdescRight">Unsolicited informational message alerting the client that an ACL has been closed. <a href="struct_c_l___d_m___a_c_l___c_l_o_s_e_d___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___l_i_n_k___p_o_l_i_c_y___i_n_d___t.html">CL_DM_LINK_POLICY_IND_T</a><dl class="el"><dd class="mdescRight">Message received due to the remote device attempting to change the link policy configuration. <a href="struct_c_l___d_m___l_i_n_k___p_o_l_i_c_y___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___w_r_i_t_e___i_n_q_u_i_r_y___a_c_c_e_s_s___c_o_d_e___c_f_m___t.html">CL_DM_WRITE_INQUIRY_ACCESS_CODE_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionWriteInquiryAccessCode. <a href="struct_c_l___d_m___w_r_i_t_e___i_n_q_u_i_r_y___a_c_c_e_s_s___c_o_d_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___w_r_i_t_e___i_n_q_u_i_r_y___m_o_d_e___c_f_m___t.html">CL_DM_WRITE_INQUIRY_MODE_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionWriteInquiryMode. <a href="struct_c_l___d_m___w_r_i_t_e___i_n_q_u_i_r_y___m_o_d_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___r_e_a_d___i_n_q_u_i_r_y___m_o_d_e___c_f_m___t.html">CL_DM_READ_INQUIRY_MODE_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionReadInquiryMode. <a href="struct_c_l___d_m___r_e_a_d___i_n_q_u_i_r_y___m_o_d_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___a_u_t_h_e_n_t_i_c_a_t_e___c_f_m___t.html">CL_SM_AUTHENTICATE_CFM_T</a><dl class="el"><dd class="mdescRight">Message received due to a call to ConnectionSmAuthenticate. <a href="struct_c_l___s_m___a_u_t_h_e_n_t_i_c_a_t_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___p_i_n___c_o_d_e___i_n_d___t.html">CL_SM_PIN_CODE_IND_T</a><dl class="el"><dd class="mdescRight">Message received when the remote device is requesting a pin code. <a href="struct_c_l___s_m___p_i_n___c_o_d_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___a_u_t_h_o_r_i_s_e___i_n_d___t.html">CL_SM_AUTHORISE_IND_T</a><dl class="el"><dd class="mdescRight">This is a request from the Bluestack Security Manager for authorisation from the application when an untrusted or unknown device is attempting to access a service that requires authorisation in security mode 2. <a href="struct_c_l___s_m___a_u_t_h_o_r_i_s_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___e_n_c_r_y_p_t___c_f_m___t.html">CL_SM_ENCRYPT_CFM_T</a><dl class="el"><dd class="mdescRight">This message is received in response to a call to ConnectionSmEncrypt. <a href="struct_c_l___s_m___e_n_c_r_y_p_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___e_n_c_r_y_p_t_i_o_n___c_h_a_n_g_e___i_n_d___t.html">CL_SM_ENCRYPTION_CHANGE_IND_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a notification from BlueStack of a possible change in the encryption status of a link due to an encryption procedure initiated by the remote device. <a href="struct_c_l___s_m___e_n_c_r_y_p_t_i_o_n___c_h_a_n_g_e___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___s_e_c_u_r_i_t_y___l_e_v_e_l___c_f_m___t.html">CL_SM_SECURITY_LEVEL_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionSmSetSecurityMode. <a href="struct_c_l___s_m___s_e_c_u_r_i_t_y___l_e_v_e_l___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_d_p___r_e_g_i_s_t_e_r___c_f_m___t.html">CL_SDP_REGISTER_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionRegisterServiceRecord. <a href="struct_c_l___s_d_p___r_e_g_i_s_t_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_d_p___u_n_r_e_g_i_s_t_e_r___c_f_m___t.html">CL_SDP_UNREGISTER_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionUnregisterServiceRecord. <a href="struct_c_l___s_d_p___u_n_r_e_g_i_s_t_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_d_p___o_p_e_n___s_e_a_r_c_h___c_f_m___t.html">CL_SDP_OPEN_SEARCH_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionSdpOpenSearchRequest. <a href="struct_c_l___s_d_p___o_p_e_n___s_e_a_r_c_h___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_d_p___c_l_o_s_e___s_e_a_r_c_h___c_f_m___t.html">CL_SDP_CLOSE_SEARCH_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionSdpCloseSearchRequest. <a href="struct_c_l___s_d_p___c_l_o_s_e___s_e_a_r_c_h___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_d_p___s_e_r_v_i_c_e___s_e_a_r_c_h___c_f_m___t.html">CL_SDP_SERVICE_SEARCH_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionSdpServiceSearchRequest. <a href="struct_c_l___s_d_p___s_e_r_v_i_c_e___s_e_a_r_c_h___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_d_p___a_t_t_r_i_b_u_t_e___s_e_a_r_c_h___c_f_m___t.html">CL_SDP_ATTRIBUTE_SEARCH_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionSdpAttributeSearchRequest. <a href="struct_c_l___s_d_p___a_t_t_r_i_b_u_t_e___s_e_a_r_c_h___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_d_p___s_e_r_v_i_c_e___s_e_a_r_c_h___a_t_t_r_i_b_u_t_e___c_f_m___t.html">CL_SDP_SERVICE_SEARCH_ATTRIBUTE_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionSdpServiceSearchAttributeRequest. <a href="struct_c_l___s_d_p___s_e_r_v_i_c_e___s_e_a_r_c_h___a_t_t_r_i_b_u_t_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___l2_c_a_p___r_e_g_i_s_t_e_r___c_f_m___t.html">CL_L2CAP_REGISTER_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a request to register a PSM with the Connection library. <a href="struct_c_l___l2_c_a_p___r_e_g_i_s_t_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___l2_c_a_p___u_n_r_e_g_i_s_t_e_r___c_f_m___t.html">CL_L2CAP_UNREGISTER_CFM_T</a><dl class="el"><dd class="mdescRight">This message is sent in response to a request to unregister a PSM from the Connection library. <a href="struct_c_l___l2_c_a_p___u_n_r_e_g_i_s_t_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___l2_c_a_p___c_o_n_n_e_c_t___c_f_m___t.html">CL_L2CAP_CONNECT_CFM_T</a><dl class="el"><dd class="mdescRight">This message returns the result of the L2CAP connect attempt. <a href="struct_c_l___l2_c_a_p___c_o_n_n_e_c_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___l2_c_a_p___c_o_n_n_e_c_t___i_n_d___t.html">CL_L2CAP_CONNECT_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the client task of an incoming L2CAP connection. <a href="struct_c_l___l2_c_a_p___c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___l2_c_a_p___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html">CL_L2CAP_DISCONNECT_IND_T</a><dl class="el"><dd class="mdescRight">This message informs the client that an L2CAP connection that it owns has been disconnected. <a href="struct_c_l___l2_c_a_p___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___r_f_c_o_m_m___r_e_g_i_s_t_e_r___c_f_m___t.html">CL_RFCOMM_REGISTER_CFM_T</a><dl class="el"><dd class="mdescRight">The RFCOMM register confirm message. <a href="struct_c_l___r_f_c_o_m_m___r_e_g_i_s_t_e_r___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___r_f_c_o_m_m___c_o_n_n_e_c_t___c_f_m___t.html">CL_RFCOMM_CONNECT_CFM_T</a><dl class="el"><dd class="mdescRight">Message sent due to a call to ConnectionRfcommConnectRequest. <a href="struct_c_l___r_f_c_o_m_m___c_o_n_n_e_c_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___r_f_c_o_m_m___c_o_n_n_e_c_t___i_n_d___t.html">CL_RFCOMM_CONNECT_IND_T</a><dl class="el"><dd class="mdescRight">Received when a remote device wishes open an RFCOMM connection. <a href="struct_c_l___r_f_c_o_m_m___c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___r_f_c_o_m_m___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html">CL_RFCOMM_DISCONNECT_IND_T</a><dl class="el"><dd class="mdescRight">Received when a remote device wishes to close an RFCOMM connection. <a href="struct_c_l___r_f_c_o_m_m___d_i_s_c_o_n_n_e_c_t___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___r_f_c_o_m_m___c_o_n_t_r_o_l___i_n_d___t.html">CL_RFCOMM_CONTROL_IND_T</a><dl class="el"><dd class="mdescRight">Received when a remote device wishes to send control signals. <a href="struct_c_l___r_f_c_o_m_m___c_o_n_t_r_o_l___i_n_d___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___d_u_t___c_f_m___t.html">CL_DM_DUT_CFM_T</a><dl class="el"><dd class="mdescRight">Send to the task that initialised the connection library to confirm that Device Under Test (DUT) mode has been entered. <a href="struct_c_l___d_m___d_u_t___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___d_m___m_o_d_e___c_h_a_n_g_e___e_v_e_n_t___t.html">CL_DM_MODE_CHANGE_EVENT_T</a><dl class="el"><dd class="mdescRight">Send to the task. <a href="struct_c_l___d_m___m_o_d_e___c_h_a_n_g_e___e_v_e_n_t___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___g_e_t___a_t_t_r_i_b_u_t_e___c_f_m___t.html">CL_SM_GET_ATTRIBUTE_CFM_T</a><dl class="el"><dd class="mdescRight">Send to the task that initialised the connection library to send back the requested attribute. <a href="struct_c_l___s_m___g_e_t___a_t_t_r_i_b_u_t_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___g_e_t___i_n_d_e_x_e_d___a_t_t_r_i_b_u_t_e___c_f_m___t.html">CL_SM_GET_INDEXED_ATTRIBUTE_CFM_T</a><dl class="el"><dd class="mdescRight">Send to the task that initialised the connection library to send back the requested attribute and Bluetooth address. <a href="struct_c_l___s_m___g_e_t___i_n_d_e_x_e_d___a_t_t_r_i_b_u_t_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___a_d_d___a_u_t_h___d_e_v_i_c_e___c_f_m___t.html">CL_SM_ADD_AUTH_DEVICE_CFM_T</a><dl class="el"><dd class="mdescRight">Send to the task that initialised the connection library to confirm that the Device was added to the trusted device list. <a href="struct_c_l___s_m___a_d_d___a_u_t_h___d_e_v_i_c_e___c_f_m___t.html#_details">More...</a><br></dl><li>struct <a class="el" href="struct_c_l___s_m___g_e_t___a_u_t_h___d_e_v_i_c_e___c_f_m___t.html">CL_SM_GET_AUTH_DEVICE_CFM_T</a><dl class="el"><dd class="mdescRight">Send to the task that initialised the connection library to confirm that the Device was added to the trusted device list. <a href="struct_c_l___s_m___g_e_t___a_u_t_h___d_e_v_i_c_e___c_f_m___t.html#_details">More...</a><br></dl></ul><h2>Connection attempt timeouts.</h2>Once a connection has been initiated this timeout is set and if the connection has not been established by the time this expires, then the connect attempt is terminated. <ul><li>#define <a class="el" href="connection_8h.html#a0">DEFAULT_RFCOMM_CONNECTION_TIMEOUT</a> (60)<dl class="el"><dd class="mdescRight">Default timeout for RFCOMM connection establishment. <a href="#a0"></a><br></dl><li>#define <a class="el" href="connection_8h.html#a1">DEFAULT_L2CAP_CONNECTION_TIMEOUT</a> (60)<dl class="el"><dd class="mdescRight">Default timeout for L2CAP connection establishment. <a href="#a1"></a><br></dl></ul><h2>Defines</h2><ul><li>#define <a class="el" href="connection_8h.html#a2">SDP_CLOSE_STATUS_BASE</a> (0x02)<dl class="el"><dd class="mdescRight">Base value for SDP close status enums. <a href="#a2"></a><br></dl><li>#define <a class="el" href="connection_8h.html#a3">CL_MESSAGE_BASE</a> 0x7000<dl class="el"><dd class="mdescRight">The base number for connection library messages. <a href="#a3"></a><br></dl><li>#define <a class="el" href="connection_8h.html#a4">CL_RSSI_UNKNOWN</a> ((<a class="el" href="csrtypes_8h.html#a6">int16</a>)0x7FFF)<dl class="el"><dd class="mdescRight">Specifies that RSSI parameter returned in CL_DM_INQUIRE_RESULT primitive is unknown. <a href="#a4"></a><br></dl></ul><h2>Typedefs</h2><ul><li>typedef <a class="el" href="csrtypes_8h.html#a8">uint8</a> <a class="el" href="connection_8h.html#a5">lp_power_mode</a><li>typedef <a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="connection_8h.html#a6">msg_filter</a><dl class="el"><dd class="mdescRight">The message filter is a bitmap that controls which status messages the connection library will send to the application. Each bit controls one or more messages, when the bit is set the connection library will send the message to the application. See msg_group enum for definitions of the message groups. <a href="#a6"></a><br></dl></ul><h2>Enumerations</h2><ul><li>enum <a class="el" href="connection_8h.html#a315">connection_lib_status</a> { <br> <a class="el" href="connection_8h.html#a315a7">success</a>, <br> <a class="el" href="connection_8h.html#a315a8">fail</a><br> }<dl class="el"><dd class="mdescRight">Generic Connection library return status. <a href="#a315">More...</a><br></dl><li>enum <a class="el" href="connection_8h.html#a316">hci_status</a> { <br> <a class="el" href="connection_8h.html#a316a9">hci_success</a>, <br> <a class="el" href="connection_8h.html#a316a10">hci_error_illegal_command</a>, <br> <a class="el" href="connection_8h.html#a316a11">hci_error_no_connection</a>, <br> <a class="el" href="connection_8h.html#a316a12">hci_error_hardware_fail</a>, <br> <a class="el" href="connection_8h.html#a316a13">hci_error_page_timeout</a>, <br> <a class="el" href="connection_8h.html#a316a14">hci_error_auth_fail</a>, <br> <a class="el" href="connection_8h.html#a316a15">hci_error_key_missing</a>, <br> <a class="el" href="connection_8h.html#a316a16">hci_error_memory_full</a>, <br> <a class="el" href="connection_8h.html#a316a17">hci_error_conn_timeout</a>, <br> <a class="el" href="connection_8h.html#a316a18">hci_error_max_nr_of_conns</a>, <br> <a class="el" href="connection_8h.html#a316a19">hci_error_max_nr_of_sco</a>, <br> <a class="el" href="connection_8h.html#a316a20">hci_error_max_nr_of_acl</a>, <br> <a class="el" href="connection_8h.html#a316a21">hci_error_command_disallowed</a>, <br> <a class="el" href="connection_8h.html#a316a22">hci_error_rej_by_remote_no_res</a>, <br> <a class="el" href="connection_8h.html#a316a23">hci_error_rej_by_remote_sec</a>, <br> <a class="el" href="connection_8h.html#a316a24">hci_error_rej_by_remote_pers</a>, <br> <a class="el" href="connection_8h.html#a316a25">hci_error_host_timeout</a>, <br> <a class="el" href="connection_8h.html#a316a26">hci_error_unsupported_feature</a>,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -