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

📄 avrcp_8h.html

📁 BlueLab3 bluetooth API 说明文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a3">uint32</a>&nbsp;</td>          <td class="mdname" nowrap> <em>company_id</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Respond to an AVRCP_UNITINFO_IND message requesting information about this device. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>avrcp</em>&nbsp;</td><td>The profile instance which will be used. </td></tr>    <tr><td></td><td valign=top><em>accept</em>&nbsp;</td><td>Yes(TRUE) or No(FALSE). </td></tr>    <tr><td></td><td valign=top><em>unit_type</em>&nbsp;</td><td>The unit type. </td></tr>    <tr><td></td><td valign=top><em>company_id</em>&nbsp;</td><td>The company identifier. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a106" doxytag="avrcp.h::AvrcpSubUnitInfo" ></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"> void AvrcpSubUnitInfo           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>avrcp</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a8">uint8</a>&nbsp;</td>          <td class="mdname" nowrap> <em>page</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Request that a SubUnitInfo control command is sent to the target on the connection identified by the specified sink. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>avrcp</em>&nbsp;</td><td>The profile instance which will be used.</td></tr>    <tr><td></td><td valign=top><em>page</em>&nbsp;</td><td>Specifies which part of the subunit table is to be returned. Each page consists of at most four subunits, and each AV/C unit contains up to 32 AV/C subunits</td></tr>  </table></dl>The UnitInfo command is used to obtain information about the subunit(s) of a device. The extension code is not used at present, should always be 0x7.<p>AVRCP_SUBUNITINFO_CFM message will be received by the application.     </td>  </tr></table><a class="anchor" name="a107" doxytag="avrcp.h::AvrcpSubUnitInfoResponse" ></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"> void AvrcpSubUnitInfoResponse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>avrcp</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a9">bool</a>&nbsp;</td>          <td class="mdname" nowrap> <em>accept</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="csrtypes_8h.html#a8">uint8</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>page_data</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Obtain information about the subunit(s) of a device. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>avrcp</em>&nbsp;</td><td>The profile instance which will be used.</td></tr>    <tr><td></td><td valign=top><em>accept</em>&nbsp;</td><td>Flag accepting or rejecting request for SubUnitInfo.</td></tr>    <tr><td></td><td valign=top><em>page_data</em>&nbsp;</td><td>Four entries from the subunit table for the requested page on the target device. </td></tr>  </table></dl>    </td>  </tr></table><a class="anchor" name="a108" doxytag="avrcp.h::AvrcpVendorDependent" ></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"> void AvrcpVendorDependent           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>avrcp</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="avrcp_8h.html#a113">avc_subunit_type</a>&nbsp;</td>          <td class="mdname" nowrap> <em>subunit_type</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="avrcp_8h.html#a3">avc_subunit_id</a>&nbsp;</td>          <td class="mdname" nowrap> <em>subunit_id</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a8">uint8</a>&nbsp;</td>          <td class="mdname" nowrap> <em>ctype</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a3">uint32</a>&nbsp;</td>          <td class="mdname" nowrap> <em>company_id</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a>&nbsp;</td>          <td class="mdname" nowrap> <em>size_data</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="source___8h.html#a0">Source</a>&nbsp;</td>          <td class="mdname" nowrap> <em>data</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Call to send vendor specific data to the peer entity. <p>If the data_length is greater than the l2cap mtu then the message becomes fragmented.<p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>avrcp</em>&nbsp;</td><td>The profile instance which will be used.</td></tr>    <tr><td></td><td valign=top><em>subunit_type</em>&nbsp;</td><td>The subunit type.</td></tr>    <tr><td></td><td valign=top><em>subunit_id</em>&nbsp;</td><td>AV/C protocol. Used to form the targets address.</td></tr>    <tr><td></td><td valign=top><em>ctype</em>&nbsp;</td><td>The ctype.</td></tr>    <tr><td></td><td valign=top><em>company_id</em>&nbsp;</td><td>24-bit unique ID obtained from IEEE RAC.</td></tr>    <tr><td></td><td valign=top><em>size_data</em>&nbsp;</td><td>Length of the data field.</td></tr>    <tr><td></td><td valign=top><em>data</em>&nbsp;</td><td>Required for the Vendor Unique operation. The app should use StreamRegionSource as defined in <a class="el" href="stream_8h.html">stream.h</a>, and pass the source returned as this parameter.</td></tr>  </table></dl>AVRCP_VENDORDEPENDENT_CFM message is returned, indicating the status of the connection request.     </td>  </tr></table><a class="anchor" name="a109" doxytag="avrcp.h::AvrcpVendorDependentResponse" ></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"> void AvrcpVendorDependentResponse           </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> *&nbsp;</td>          <td class="mdname" nowrap> <em>avrcp</em>, </td>        </tr>        <tr>          <td class="md" nowrap align="right"></td>          <td></td>          <td class="md" nowrap><a class="el" href="avrcp_8h.html#a110">avrcp_response_type</a>&nbsp;</td>          <td class="mdname" nowrap> <em>response</em></td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Verify the data that was sent. <p><dl compact><dt><b>Parameters:</b></dt><dd>  <table border="0" cellspacing="2" cellpadding="0">    <tr><td></td><td valign=top><em>avrcp</em>&nbsp;</td><td>The profile instance which will be used. </td></tr>    <tr><td></td><td valign=top><em>response</em>&nbsp;</td><td>The AVRCP response. </td></tr>    <tr><td></td><td valign=top><em>identifier</em>&nbsp;</td><td>The identifier.</td></tr>  </table></dl>This function is called in response to an AVRCP_VENDORDEPENDENT_IND message.    </td>  </tr></table></body></html>

⌨️ 快捷键说明

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