Lines Matching refs:printf
72 printf("AVRCP: HCI_EVENT_DISCONNECTION_COMPLETE\n"); in packet_handler()
79 …printf("Connection is not established, expected 0x%02X l2cap cid, received 0x%02X\n", avrcp_cid, l… in packet_handler()
86 printf("AVRCP Connection failed: status 0x%02x\n", status); in packet_handler()
90 …printf("Channel successfully opened: %s, avrcp_cid 0x%02x\n", bd_addr_to_str(event_addr), avrcp_ci… in packet_handler()
97 …printf("Channel released: avrcp_cid 0x%02x\n", avrcp_subevent_connection_released_get_avrcp_cid(pa… in packet_handler()
108 printf("AVRCP: command status: %s, ", avrcp_ctype2str(status)); in packet_handler()
111 …printf("notification, playback status changed %s\n", avrcp_play_status2str(avrcp_subevent_notifica… in packet_handler()
114 printf("notification, playing content changed\n"); in packet_handler()
117 printf("notification track changed\n"); in packet_handler()
120 …printf("notification absolute volume changed %d\n", avrcp_subevent_notification_volume_changed_get… in packet_handler()
123 printf("notification changed\n"); in packet_handler()
128 … printf("%s, %s\n", avrcp_shuffle2str(shuffle_mode), avrcp_repeat2str(repeat_mode)); in packet_handler()
133 …printf("AVRCP_SUBEVENT_NOW_PLAYING_TITLE_INFO len %d \n", avrcp_subevent_now_playing_title_info_ge… in packet_handler()
136 printf(" Title: %s\n", value); in packet_handler()
143 printf(" Title: %s\n", value); in packet_handler()
150 printf(" Title: %s\n", value); in packet_handler()
157 printf(" Title: %s\n", value); in packet_handler()
161 printf("song length: %d ms, song position: %d ms, play status: %s\n", in packet_handler()
167 …printf("operation done %s\n", avrcp_operation2str(avrcp_subevent_operation_complete_get_operation_… in packet_handler()
170 …printf("operation start %s\n", avrcp_operation2str(avrcp_subevent_operation_complete_get_operation… in packet_handler()
174 printf("\n"); in packet_handler()
177 printf("Not implemented\n"); in packet_handler()
196 printf("\n--- Bluetooth AVRCP Test Console %s ---\n", bd_addr_to_str(iut_address)); in show_usage()
197 printf("c - create connection to addr %s\n", bd_addr_to_str(device_addr)); in show_usage()
198 printf("D - disconnect\n"); in show_usage()
199 printf("\n--- Bluetooth AVRCP Commands ---\n"); in show_usage()
200 printf("i - get play status\n"); in show_usage()
201 printf("j - get now playing info\n"); in show_usage()
202 printf("k - play\n"); in show_usage()
203 printf("K - stop\n"); in show_usage()
204 printf("L - pause\n"); in show_usage()
205 printf("m - start fast forward\n"); in show_usage()
206 printf("M - stop fast forward\n"); in show_usage()
207 printf("n - start rewind\n"); in show_usage()
208 printf("N - stop rewind\n"); in show_usage()
209 printf("o - forward\n"); in show_usage()
210 printf("O - backward\n"); in show_usage()
211 printf("p - volume up\n"); in show_usage()
212 printf("P - volume down\n"); in show_usage()
213 printf("r - absolute volume of 50 percent\n"); in show_usage()
214 printf("s - mute\n"); in show_usage()
215 printf("t - skip\n"); in show_usage()
216 printf("u - query repeat and shuffle mode\n"); in show_usage()
217 printf("v - repeat single track\n"); in show_usage()
218 printf("x - repeat all tracks\n"); in show_usage()
219 printf("X - disable repeat mode\n"); in show_usage()
220 printf("z - shuffle all tracks\n"); in show_usage()
221 printf("Z - disable shuffle mode\n"); in show_usage()
223 printf("Ctrl-c - exit\n"); in show_usage()
224 printf("---\n"); in show_usage()
231 printf(" - Create AVRCP connection to addr %s.\n", bd_addr_to_str(device_addr)); in stdin_process()
235 printf(" - Disconnect\n"); in stdin_process()
239 printf(" - get play status\n"); in stdin_process()
243 printf(" - get now playing info\n"); in stdin_process()
247 printf(" - play\n"); in stdin_process()
251 printf(" - stop\n"); in stdin_process()
255 printf(" - pause\n"); in stdin_process()
259 printf(" - start fast forward\n"); in stdin_process()
263 printf(" - stop fast forward\n"); in stdin_process()
267 printf(" - start rewind\n"); in stdin_process()
271 printf(" - stop rewind\n"); in stdin_process()
275 printf(" - forward\n"); in stdin_process()
279 printf(" - backward\n"); in stdin_process()
283 printf(" - volume up\n"); in stdin_process()
287 printf(" - volume down\n"); in stdin_process()
291 printf(" - absolute volume of 50 percent\n"); in stdin_process()
295 printf(" - mute\n"); in stdin_process()
299 printf(" - skip\n"); in stdin_process()
303 printf(" - query repeat and shuffle mode\n"); in stdin_process()
307 printf(" - repeat single track\n"); in stdin_process()
311 printf(" - repeat all tracks\n"); in stdin_process()
315 printf(" - disable repeat mode\n"); in stdin_process()
319 printf(" - shuffle all tracks\n"); in stdin_process()
323 printf(" - disable shuffle mode\n"); in stdin_process()
331 printf("Could not perform command, status 0x%02x\n", status); in stdin_process()