?? avrcp_8h.html
字號:
</td></tr><tr><td valign=top><em><a class="anchor" name="a112a50" doxytag="opid_channel_down" ></a>opid_channel_down</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a51" doxytag="opid_sound_select" ></a>opid_sound_select</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a52" doxytag="opid_input_select" ></a>opid_input_select</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a53" doxytag="opid_display_information" ></a>opid_display_information</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a54" doxytag="opid_help" ></a>opid_help</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a55" doxytag="opid_page_up" ></a>opid_page_up</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a56" doxytag="opid_page_down" ></a>opid_page_down</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a57" doxytag="opid_power" ></a>opid_power</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a58" doxytag="opid_volume_up" ></a>opid_volume_up</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a59" doxytag="opid_volume_down" ></a>opid_volume_down</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a60" doxytag="opid_mute" ></a>opid_mute</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a61" doxytag="opid_play" ></a>opid_play</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a62" doxytag="opid_stop" ></a>opid_stop</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a63" doxytag="opid_pause" ></a>opid_pause</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a64" doxytag="opid_record" ></a>opid_record</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a65" doxytag="opid_rewind" ></a>opid_rewind</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a66" doxytag="opid_fast_forward" ></a>opid_fast_forward</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a67" doxytag="opid_eject" ></a>opid_eject</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a68" doxytag="opid_forward" ></a>opid_forward</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a69" doxytag="opid_backward" ></a>opid_backward</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a70" doxytag="opid_angle" ></a>opid_angle</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a71" doxytag="opid_subpicture" ></a>opid_subpicture</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a72" doxytag="opid_f1" ></a>opid_f1</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a73" doxytag="opid_f2" ></a>opid_f2</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a74" doxytag="opid_f3" ></a>opid_f3</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a75" doxytag="opid_f4" ></a>opid_f4</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a76" doxytag="opid_f5" ></a>opid_f5</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a112a77" doxytag="opid_vendor_unique" ></a>opid_vendor_unique</em> </td><td></td></tr></table></dl> </td> </tr></table><a class="anchor" name="a113" doxytag="avrcp.h::avc_subunit_type" ></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"> enum <a class="el" href="avrcp_8h.html#a113">avc_subunit_type</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Subunit types. <p><dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="a113a78" doxytag="subunit_monitor" ></a>subunit_monitor</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a79" doxytag="subunit_audio" ></a>subunit_audio</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a80" doxytag="subunit_printer" ></a>subunit_printer</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a81" doxytag="subunit_disc" ></a>subunit_disc</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a82" doxytag="subunit_tape_recorder_player" ></a>subunit_tape_recorder_player</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a83" doxytag="subunit_tuner" ></a>subunit_tuner</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a84" doxytag="subunit_CA" ></a>subunit_CA</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a85" doxytag="subunit_camera" ></a>subunit_camera</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a86" doxytag="subunit_reserved" ></a>subunit_reserved</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a87" doxytag="subunit_panel" ></a>subunit_panel</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a88" doxytag="subunit_bulletin_board" ></a>subunit_bulletin_board</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a89" doxytag="subunit_camera_storage" ></a>subunit_camera_storage</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a90" doxytag="subunit_vendor_unique" ></a>subunit_vendor_unique</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a91" doxytag="subunit_reserved_for_all" ></a>subunit_reserved_for_all</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a92" doxytag="subunit_extended" ></a>subunit_extended</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a113a93" doxytag="subunit_unit" ></a>subunit_unit</em> </td><td></td></tr></table></dl> </td> </tr></table><a class="anchor" name="a114" doxytag="avrcp.h::avrcp_device_type" ></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"> enum <a class="el" href="avrcp_8h.html#a114">avrcp_device_type</a> </td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>AVRCP device type. <p>The avrcp library can be configured to be either a target or a controller device. <dl compact><dt><b>Enumeration values: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em><a class="anchor" name="a114a94" doxytag="avrcp_device_none" ></a>avrcp_device_none</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a114a95" doxytag="avrcp_target" ></a>avrcp_target</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a114a96" doxytag="avrcp_controller" ></a>avrcp_controller</em> </td><td></td></tr><tr><td valign=top><em><a class="anchor" name="a114a97" doxytag="avrcp_target_and_controller" ></a>avrcp_target_and_controller</em> </td><td></td></tr></table></dl> </td> </tr></table><hr><h2>Function Documentation</h2><a class="anchor" name="a98" doxytag="avrcp.h::AvrcpInit" ></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 AvrcpInit </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="struct_task_data.html">Task</a> </td> <td class="mdname" nowrap> <em>theAppTask</em>, </td> </tr> <tr> <td class="md" nowrap align="right"></td> <td></td> <td class="md" nowrap>const <a class="el" href="structavrcp__init__params.html">avrcp_init_params</a> * </td> <td class="mdname" nowrap> <em>config</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>Initialise the AVRCP library. <p><dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td></td><td valign=top><em>theAppTask</em> </td><td>The current application task.</td></tr> <tr><td></td><td valign=top><em>priority</em> </td><td>The profile instance low power mode priority. For a set of profile instances with connections on a given ACL the instance with the highest priority value wins and the low power mode on the ACL is set according to it's power table.</td></tr> </table></dl>This function also takes care of registering a service record for an AVRCP device. No further library functions should be called until the AVRCP_INIT_CFM message has been received by the client.<p>AVRCP_INIT_CFM message will be received by the application. </td> </tr></table><a class="anchor" name="a99" doxytag="avrcp.h::AvrcpConnect" ></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 AvrcpConnect </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>const <a class="el" href="structbdaddr.html">bdaddr</a> * </td> <td class="mdname" nowrap> <em>bd_addr</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>Initiate an AVRCP connection to a 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>bd_addr</em> </td><td>The Bluetooth address of the remote device.</td></tr> </table></dl>AVRCP_CONNECT_CFM message will be received by the application. </td> </tr></table><a class="anchor" name="a100" doxytag="avrcp.h::AvrcpConnectResponse" ></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 AvrcpConnectResponse </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>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -