-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path00182.html
147 lines (137 loc) · 6.58 KB
/
00182.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN">
<html>
<head>
<title>DRV_BM64_PlayNextSong Function</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Doc-O-Matic" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<link rel="STYLESHEET" href="default.css" type="text/css" />
<script type="text/javascript" src="scripts.js"></script>
</head>
<body class="Element700" onload="onBodyLoadEx('frames.html', 'topic', '00182.html');" onmousedown="onBodyMouseDown();">
<!-- Begin Popups -->
<!-- End Popups -->
<!-- Begin Page Header -->
<div class="Element710" id="areafixed">
<div class="Element94">
<a href="00022.html" target="topic">Drivers Libraries Help</a> > <a href="00016.html" target="topic">BM64 Bluetooth Driver Library</a> > <a href="00044.html" target="topic">Library Interface</a> > f) AVRCP Functions > <a href="00182.html" target="topic">DRV_BM64_PlayNextSong Function</a></div>
<div class="Element92">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element1">
MPLAB Harmony Bluetooth Help</div>
</td><td width="25%">
<div class="Element2">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00020.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element90">
<a href="00174.html" target="topic">Previous</a> | <a href="00044.html" target="topic">Up</a> | <a href="00183.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element96">
<a href="mailto:[email protected]&subject=MPLAB Harmony Documentation Feedback (Topic ID: DRV_BM64_PlayNextSong@DRV_HANDLE Topic Title: DRV_BM64_PlayNextSong Function)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table><div class="Element5">
DRV_BM64_PlayNextSong Function</div>
</div>
</div>
<!-- End Page Header -->
<!-- Begin Client Area -->
<div class="Element720" id="areascroll">
<div class="Element721">
<!-- Begin Page Content -->
<a name="PageContent"></a><div class="Element58">
<a name="53756D6D617279"></a><div class="Element11">
<div class="Element10">
<p class="Element10">
Play the next song.</p></div>
</div>
<a name="4465736372697074696F6E"></a><div class="Element14">
Description</div>
<div class="Element11">
<div class="Element10">
<p class="Element10">
Function DRV_BM64_PlayNextSong: </p>
<p class="Element10">
void DRV_BM64_PlayNextSong(const DRV_HANDLE handle); </p>
<p class="Element10">
Send an AVRCP command to the host device to play the next song in a playlist.</p></div>
</div>
<a name="507265636F6E646974696F6E73"></a><div class="Element14">
Preconditions</div>
<div class="Element11">
<div class="Element10">
<p class="Element10">
<a href="00172.html" target="topic">DRV_BM64_Open</a> must have been called to obtain a valid opened device handle.</p></div>
</div>
<a name="506172616D6574657273"></a><div class="Element14">
Parameters</div>
<div class="Element11">
<div class="Element10">
<div class="Element312">
<div class="TableDiv">
<table cellspacing="0" class="Table4">
<tr>
<td class="Element300" valign="top" width="35%">
<div class="Element301">
Parameters </div></td><td class="Element304" valign="top" width="65%">
<div class="Element305">
Description </div></td></tr><tr>
<td class="Element302" valign="top" width="35%">
<div class="Element303">
handle </div></td><td class="Element306" valign="top" width="65%">
<div class="Element307">
valid handle to an opened BM64 device driver unique to client </div></td></tr></table></div></div>
</div>
</div>
<a name="52657475726E73"></a><div class="Element14">
Returns</div>
<div class="Element11">
<div class="Element10">
<p class="Element10">
None.</p></div>
</div>
<a name="4578616D706C65"></a><div class="Element14">
Example</div>
<div class="Element11">
<div class="Element10">
<div class="Element13"><div class="Element12"><pre class="Element12"><strong><span style="color: #000080">case</span></strong> BUTTON_STATE_PRESSED: <i><span style="color: #008000">// (debouncing not shown)</span></i>
{
<strong><span style="color: #000080">if</span></strong> (BSP_SwitchStateGet(BSP_SWITCH_3)==BSP_SWITCH_STATE_PRESSED))
{
<i><span style="color: #008000">// note generic version of call (DRV_BT instead of DRV_BM64) is used</span></i>
DRV_BT_PlayNextSong(appData.bt.handle);
appData.buttonState=BUTTON_STATE_WAIT_FOR_RELEASE;
}
}
<strong><span style="color: #000080">break</span></strong>; </pre></div></div>
</div>
</div>
<a name="43"></a><div class="Element99">
C</div>
<div class="Element101"><div class="Element100"><pre class="Element100"><strong><span style="color: #000080">void</span></strong> <strong><span style="color: #000000">DRV_BM64_PlayNextSong</span></strong>(
<strong><span style="color: #000080">const</span></strong> DRV_HANDLE <strong><span style="color: #000000">handle</span></strong>
);</pre></div></div>
</div>
<!-- End Page Content -->
<!-- Begin Page Footer -->
<div class="Element95">
<a href="00022.html" target="topic">Drivers Libraries Help</a> > <a href="00016.html" target="topic">BM64 Bluetooth Driver Library</a> > <a href="00044.html" target="topic">Library Interface</a> > f) AVRCP Functions > <a href="00182.html" target="topic">DRV_BM64_PlayNextSong Function</a></div>
<div class="Element93">
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td width="25%">
<div class="Element3">
MPLAB Harmony Bluetooth Help</div>
</td><td width="25%">
<div class="Element4">
<a href="contents.html" target="tocidx">Contents</a> | <a href="00020.html" target="topic">Home</a></div>
</td><td width="25%">
<div class="Element91">
<a href="00174.html" target="topic">Previous</a> | <a href="00044.html" target="topic">Up</a> | <a href="00183.html" target="topic">Next</a></div>
</td><td width="25%">
<div class="Element97">
<a href="mailto:[email protected]&subject=MPLAB Harmony Documentation Feedback (Topic ID: DRV_BM64_PlayNextSong@DRV_HANDLE Topic Title: DRV_BM64_PlayNextSong Function)&body=Thank you for your feedback! Please include a description of your feedback, and indicate whether you are reporting an an error in the documentation or an enhancement.">Documentation Feedback</a><br> <a href="http://support.microchip.com" target="_blank">Microchip Support</a></div>
</td></tr></table></div>
<!-- End Page Footer -->
</div>
</div>
<!-- End Client Area -->
</body></html>