Lines Matching refs:ctx_shell

56 		shell_error(ctx_shell, "Discovery failed (%d)", err);  in mcc_discover_mcs_cb()
60 shell_print(ctx_shell, "Discovery complete"); in mcc_discover_mcs_cb()
66 shell_error(ctx_shell, "Player Name read failed (%d)", err); in mcc_read_player_name_cb()
70 shell_print(ctx_shell, "Player name: %s", name); in mcc_read_player_name_cb()
79 shell_error(ctx_shell, "Icon Object ID read failed (%d)", err); in mcc_read_icon_obj_id_cb()
84 shell_print(ctx_shell, "Icon object ID: %s", str); in mcc_read_icon_obj_id_cb()
94 shell_error(ctx_shell, "Icon URL read failed (%d)", err); in mcc_read_icon_url_cb()
98 shell_print(ctx_shell, "Icon URL: 0x%s", url); in mcc_read_icon_url_cb()
106 shell_error(ctx_shell, "Track title read failed (%d)", err); in mcc_read_track_title_cb()
110 shell_print(ctx_shell, "Track title: %s", title); in mcc_read_track_title_cb()
117 shell_error(ctx_shell, "Track changed notification failed (%d)", err); in mcc_track_changed_ntf_cb()
121 shell_print(ctx_shell, "Track changed"); in mcc_track_changed_ntf_cb()
128 shell_error(ctx_shell, "Track duration read failed (%d)", err); in mcc_read_track_duration_cb()
132 shell_print(ctx_shell, "Track duration: %d", dur); in mcc_read_track_duration_cb()
140 shell_error(ctx_shell, "Track position read failed (%d)", err); in mcc_read_track_position_cb()
144 shell_print(ctx_shell, "Track Position: %d", pos); in mcc_read_track_position_cb()
152 shell_error(ctx_shell, "Track Position set failed (%d)", err); in mcc_set_track_position_cb()
156 shell_print(ctx_shell, "Track Position: %d", pos); in mcc_set_track_position_cb()
165 shell_error(ctx_shell, "Playback speed read failed (%d)", err); in mcc_read_playback_speed_cb()
169 shell_print(ctx_shell, "Playback speed: %d", speed); in mcc_read_playback_speed_cb()
177 shell_error(ctx_shell, "Playback speed set failed (%d)", err); in mcc_set_playback_speed_cb()
181 shell_print(ctx_shell, "Playback speed: %d", speed); in mcc_set_playback_speed_cb()
190 shell_error(ctx_shell, "Seeking speed read failed (%d)", err); in mcc_read_seeking_speed_cb()
194 shell_print(ctx_shell, "Seeking speed: %d", speed); in mcc_read_seeking_speed_cb()
206 shell_error(ctx_shell, in mcc_read_segments_obj_id_cb()
212 shell_print(ctx_shell, "Track Segments Object ID: %s", str); in mcc_read_segments_obj_id_cb()
224 shell_error(ctx_shell, "Current Track Object ID read failed (%d)", in mcc_read_current_track_obj_id_cb()
230 shell_print(ctx_shell, "Current Track Object ID: %s", str); in mcc_read_current_track_obj_id_cb()
242 shell_error(ctx_shell, "Current Track Object ID set failed (%d)", err); in mcc_set_current_track_obj_id_cb()
247 shell_print(ctx_shell, "Current Track Object ID written: %s", str); in mcc_set_current_track_obj_id_cb()
257 shell_error(ctx_shell, "Next Track Object ID read failed (%d)", in mcc_read_next_track_obj_id_cb()
263 shell_print(ctx_shell, "Next Track Object ID is empty"); in mcc_read_next_track_obj_id_cb()
266 shell_print(ctx_shell, "Next Track Object ID: %s", str); in mcc_read_next_track_obj_id_cb()
279 shell_error(ctx_shell, "Next Track Object ID set failed (%d)", err); in mcc_set_next_track_obj_id_cb()
284 shell_print(ctx_shell, "Next Track Object ID written: %s", str); in mcc_set_next_track_obj_id_cb()
294 shell_error(ctx_shell, in mcc_read_parent_group_obj_id_cb()
300 shell_print(ctx_shell, "Parent Group Object ID: %s", str); in mcc_read_parent_group_obj_id_cb()
312 shell_error(ctx_shell, in mcc_read_current_group_obj_id_cb()
318 shell_print(ctx_shell, "Current Group Object ID: %s", str); in mcc_read_current_group_obj_id_cb()
329 shell_error(ctx_shell, "Current Group Object ID set failed (%d)", err); in mcc_set_current_group_obj_id_cb()
334 shell_print(ctx_shell, "Current Group Object ID written: %s", str); in mcc_set_current_group_obj_id_cb()
343 shell_error(ctx_shell, "Playing order read failed (%d)", err); in mcc_read_playing_order_cb()
347 shell_print(ctx_shell, "Playing order: %d", order); in mcc_read_playing_order_cb()
355 shell_error(ctx_shell, "Playing order set failed (%d)", err); in mcc_set_playing_order_cb()
359 shell_print(ctx_shell, "Playing order: %d", order); in mcc_set_playing_order_cb()
368 shell_error(ctx_shell, in mcc_read_playing_orders_supported_cb()
373 shell_print(ctx_shell, "Playing orders supported: %d", orders); in mcc_read_playing_orders_supported_cb()
381 shell_error(ctx_shell, "Media State read failed (%d)", err); in mcc_read_media_state_cb()
385 shell_print(ctx_shell, "Media State: %d", state); in mcc_read_media_state_cb()
393 shell_error(ctx_shell, in mcc_send_cmd_cb()
399 shell_print(ctx_shell, "Command opcode: %d, param: %d", cmd->opcode, cmd->param); in mcc_send_cmd_cb()
407 shell_error(ctx_shell, in mcc_cmd_ntf_cb()
413 shell_print(ctx_shell, "Command opcode: %d, result: %d", in mcc_cmd_ntf_cb()
422 shell_error(ctx_shell, "Opcodes supported read failed (%d)", in mcc_read_opcodes_supported_cb()
427 shell_print(ctx_shell, "Opcodes supported: %d", opcodes); in mcc_read_opcodes_supported_cb()
436 shell_error(ctx_shell, in mcc_send_search_cb()
441 shell_print(ctx_shell, "Search sent"); in mcc_send_search_cb()
447 shell_error(ctx_shell, in mcc_search_ntf_cb()
453 shell_print(ctx_shell, "Search notification result code: %d", in mcc_search_ntf_cb()
463 shell_error(ctx_shell, in mcc_read_search_results_obj_id_cb()
469 shell_print(ctx_shell, "Search Results Object ID: 0x000000000000"); in mcc_read_search_results_obj_id_cb()
472 shell_print(ctx_shell, "Search Results Object ID: %s", str); in mcc_read_search_results_obj_id_cb()
483 shell_error(ctx_shell, "Content Control ID read failed (%d)", err); in mcc_read_content_control_id_cb()
487 shell_print(ctx_shell, "Content Control ID: %d", ccid); in mcc_read_content_control_id_cb()
496 shell_error(ctx_shell, in mcc_otc_obj_selected_cb()
501 shell_print(ctx_shell, "Selecting object succeeded"); in mcc_otc_obj_selected_cb()
507 shell_error(ctx_shell, in mcc_otc_obj_metadata_cb()
512 shell_print(ctx_shell, "Reading object metadata succeeded\n"); in mcc_otc_obj_metadata_cb()
519 shell_error(ctx_shell, in mcc_icon_object_read_cb()
524 shell_print(ctx_shell, "Icon content (%d octets)", buf->len); in mcc_icon_object_read_cb()
525 shell_hexdump(ctx_shell, buf->data, buf->len); in mcc_icon_object_read_cb()
533 shell_error(ctx_shell, in mcc_track_segments_object_read_cb()
538 shell_print(ctx_shell, "Track Segments content (%d octets)", buf->len); in mcc_track_segments_object_read_cb()
539 shell_hexdump(ctx_shell, buf->data, buf->len); in mcc_track_segments_object_read_cb()
546 shell_error(ctx_shell, in mcc_otc_read_current_track_object_cb()
551 shell_print(ctx_shell, "Current Track content (%d octets)", buf->len); in mcc_otc_read_current_track_object_cb()
552 shell_hexdump(ctx_shell, buf->data, buf->len); in mcc_otc_read_current_track_object_cb()
559 shell_error(ctx_shell, in mcc_otc_read_next_track_object_cb()
564 shell_print(ctx_shell, "Next Track content (%d octets)", buf->len); in mcc_otc_read_next_track_object_cb()
565 shell_hexdump(ctx_shell, buf->data, buf->len); in mcc_otc_read_next_track_object_cb()
572 shell_error(ctx_shell, in mcc_otc_read_parent_group_object_cb()
577 shell_print(ctx_shell, "Parent Group content (%d octets)", buf->len); in mcc_otc_read_parent_group_object_cb()
578 shell_hexdump(ctx_shell, buf->data, buf->len); in mcc_otc_read_parent_group_object_cb()
585 shell_error(ctx_shell, in mcc_otc_read_current_group_object_cb()
590 shell_print(ctx_shell, "Current Group content (%d octets)", buf->len); in mcc_otc_read_current_group_object_cb()
591 shell_hexdump(ctx_shell, buf->data, buf->len); in mcc_otc_read_current_group_object_cb()
601 if (!ctx_shell) { in cmd_mcc_init()
602 ctx_shell = sh; in cmd_mcc_init()