?? avrcp_8h.html
字號:
<td class="md" nowrap><a class="el" href="csrtypes_8h.html#a4">uint16</a> </td> <td class="mdname" nowrap> <em>connection_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#a9">bool</a> </td> <td class="mdname" nowrap> <em>accept</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Either accept or reject the incoming connection from the remote 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> </td><td>The profile instance which will be used. </td></tr> <tr><td></td><td valign=top><em>connection_id</em> </td><td>Connection identifier </td></tr> <tr><td></td><td valign=top><em>accept</em> </td><td>Yes(TRUE) or No(FALSE)</td></tr> </table></dl>This function is called on receipt of an AVRCP_CONNECT_IND message. The AVRCP_CONNECT_IND message contains the remote devices Bluetooth address.<p>AVRCP_CONNECT_IND message will be received by the application. </td> </tr></table><a class="anchor" name="a101" doxytag="avrcp.h::AvrcpDisconnect" ></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 AvrcpDisconnect </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> * </td> <td class="mdname1" valign="top" nowrap> <em>avrcp</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Request an AVRCP disconnection. <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> </td><td>The profile instance which will be used.</td></tr> </table></dl>AVRCP_DISCONNECT_IND message will be received by the application. </td> </tr></table><a class="anchor" name="a102" doxytag="avrcp.h::AvrcpPassthrough" ></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 AvrcpPassthrough </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> * </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> </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> </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#a9">bool</a> </td> <td class="mdname" nowrap> <em>state</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap><a class="el" href="avrcp_8h.html#a112">avc_operation_id</a> </td> <td class="mdname" nowrap> <em>opid</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> </td> <td class="mdname" nowrap> <em>size_operation_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> </td> <td class="mdname" nowrap> <em>operation_data</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Request that a Pass Through control command is sent to the target on the 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> </td><td>The profile instance which will be used.</td></tr> <tr><td></td><td valign=top><em>subunit_type</em> </td><td>The subunit type.</td></tr> <tr><td></td><td valign=top><em>subunit_id</em> </td><td>AV/C protocol. Used to form the targets address.</td></tr> <tr><td></td><td valign=top><em>state</em> </td><td>Indicates the user action of pressing or releasing the button identified by opid. Active low.</td></tr> <tr><td></td><td valign=top><em>opid</em> </td><td>Identifies the button pressed.</td></tr> <tr><td></td><td valign=top><em>size_operation_data</em> </td><td>Size of operation_data. Should be zero if no operation_data passed.</td></tr> <tr><td></td><td valign=top><em>operation_data</em> </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>The Passthrough command is used to convey the proper user operation to the target(transparently to the user).<p>AVRCP_PASSTHROUGH_CFM message will be received by the application. </td> </tr></table><a class="anchor" name="a103" doxytag="avrcp.h::AvrcpPassthroughResponse" ></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 AvrcpPassthroughResponse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> * </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> </td> <td class="mdname" nowrap> <em>response</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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> </td><td>The profile instance which will be used. </td></tr> <tr><td></td><td valign=top><em>response</em> </td><td>The AVRCP response.</td></tr> </table></dl>This function is called in response to an AVRCP_PASSTHROUGH_IND message. </td> </tr></table><a class="anchor" name="a104" doxytag="avrcp.h::AvrcpUnitInfo" ></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 AvrcpUnitInfo </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> * </td> <td class="mdname1" valign="top" nowrap> <em>avrcp</em> </td> <td class="md" valign="top"> ) </td> <td class="md" nowrap></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Request that a UnitInfo control commandis 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> </td><td>The profile instance which will be used.</td></tr> </table></dl>The UnitInfo command is used to obtain information that pertains to the AV/C unit as a whole<p>AVRCP_UNITINFO_CFM message will be received by the application. This message contains the unit_type and a unique 24-bit Company ID. </td> </tr></table><a class="anchor" name="a105" doxytag="avrcp.h::AvrcpUnitInfoResponse" ></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 AvrcpUnitInfoResponse </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="avrcp_8h.html#a2">AVRCP</a> * </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> </td> <td class="mdname" nowrap> <em>accept</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> </td> <td class="mdname" nowrap> <em>unit_type</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> </td> <td class="mdname" nowrap> <em>unit</em>, </td> </tr> <tr>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -