⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 structl2cap__config__params.html

📁 BlueLab3 bluetooth API 说明文档
💻 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: l2cap_config_params Struct 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&nbsp;Page</a> | <a class="qindex" href="annotated.html">Data&nbsp;Structures</a> | <a class="qindex" href="files.html">File&nbsp;List</a> | <a class="qindex" href="functions.html">Data&nbsp;Fields</a> | <a class="qindex" href="globals.html">Globals</a></div><h1>l2cap_config_params Struct Reference</h1>L2CAP connection configuration parameters.  <a href="#_details">More...</a><p><h2>Data Fields</h2><ul><li><a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structl2cap__config__params.html#o0">mtu_local</a><li><a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structl2cap__config__params.html#o1">mtu_remote_min</a><li><a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structl2cap__config__params.html#o2">flush_timeout</a><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="structl2cap__config__params.html#o3">accept_non_default_flush</a><li><a class="el" href="structqos__flow.html">qos_flow</a> <a class="el" href="structl2cap__config__params.html#o4">qos</a><li><a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="structl2cap__config__params.html#o5">accept_qos_settings</a><li><a class="el" href="csrtypes_8h.html#a3">uint32</a> <a class="el" href="structl2cap__config__params.html#o6">timeout</a></ul><hr><a name="_details"></a><h2>Detailed Description</h2>L2CAP connection configuration parameters. <p><hr><h2>Field Documentation</h2><a class="anchor" name="o0" doxytag="l2cap_config_params::mtu_local" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structl2cap__config__params.html#o0">l2cap_config_params::mtu_local</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>This is the L2CAP MTU the local device will advertise during the L2CAP connection configuration. The L2CAP MTU advertised by a device is defined in the L2CAP section of the Bluetooth specification.     </td>  </tr></table><a class="anchor" name="o1" doxytag="l2cap_config_params::mtu_remote_min" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structl2cap__config__params.html#o1">l2cap_config_params::mtu_remote_min</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>If the remote device advertises an MTU smaller than this value then the Connection library will not proceed with the L2CAP connection to that device. This field should be used when a profile mandates a specific minimum MTU since a device attempting to use a smaller MTU would be breaking that particular profile specification. Unless such an MTU value is specified in the profile being implemenmted it is recommended that this value is set to MINIMUM_MTU (as definedin l2cap_prim.h) in order to ensure better interoperability i.e. we allow the remote device to advertise any size of MTU as long as it is greater than the minimum MTU allowed in the L2CAP specification.     </td>  </tr></table><a class="anchor" name="o2" doxytag="l2cap_config_params::flush_timeout" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a4">uint16</a> <a class="el" href="structl2cap__config__params.html#o2">l2cap_config_params::flush_timeout</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Informs the remote end of the local device's flush timeout settings.     </td>  </tr></table><a class="anchor" name="o3" doxytag="l2cap_config_params::accept_non_default_flush" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="structl2cap__config__params.html#o3">l2cap_config_params::accept_non_default_flush</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>If set to TRUE we will connect to a device regardless of its flush timeout setting. If set to FALSE we will not proceed with the L2CAP connection unless the remote device is using the default flush timeout. Once a connection is established the client will be informed of the remote device's flush timeout.     </td>  </tr></table><a class="anchor" name="o4" doxytag="l2cap_config_params::qos" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="structqos__flow.html">qos_flow</a> <a class="el" href="structl2cap__config__params.html#o4">l2cap_config_params::qos</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>The local device's Quality of Service settings.     </td>  </tr></table><a class="anchor" name="o5" doxytag="l2cap_config_params::accept_qos_settings" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a9">bool</a> <a class="el" href="structl2cap__config__params.html#o5">l2cap_config_params::accept_qos_settings</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>If set to TRUE the local device accepts the Quality of Service settings of the remote device whatever they are. If FALSE the local device will only proceed with the connection if the remote device has set its Quality of Service settings to "best effort". Once a connection is established the client will be informed of the Quality of Service settings of the remote device.     </td>  </tr></table><a class="anchor" name="o6" doxytag="l2cap_config_params::timeout" ></a><p><table class="mdTable" width="100%" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="csrtypes_8h.html#a3">uint32</a> <a class="el" href="structl2cap__config__params.html#o6">l2cap_config_params::timeout</a>          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Connection attempt timeout specified in seconds. If the connection is not established before this timeout expires then the connect attempt is aborted.     </td>  </tr></table><hr>The documentation for this struct was generated from the following file:<ul><li><a class="el" href="connection_8h.html">connection.h</a></ul></body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -