avrcp.h (e5b24613ab55fa65047e4948d34e536006ea77a4) | avrcp.h (c0a054f62cfe78c7a035c56db57c84fb42d7f3e3) |
---|---|
1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 230 unchanged lines hidden (view full) --- 239 AVRCP_BATTERY_STATUS_EXTERNAL, // Plugged to external power supply 240 AVRCP_BATTERY_STATUS_FULL_CHARGE // when the device is completely charged from the external power supply 241} avrcp_battery_status_t; 242 243 244typedef enum { 245 AVCTP_CONNECTION_IDLE, 246 AVCTP_CONNECTION_W4_SDP_QUERY_COMPLETE, | 1/* 2 * Copyright (C) 2016 BlueKitchen GmbH 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 8 * 1. Redistributions of source code must retain the above copyright --- 230 unchanged lines hidden (view full) --- 239 AVRCP_BATTERY_STATUS_EXTERNAL, // Plugged to external power supply 240 AVRCP_BATTERY_STATUS_FULL_CHARGE // when the device is completely charged from the external power supply 241} avrcp_battery_status_t; 242 243 244typedef enum { 245 AVCTP_CONNECTION_IDLE, 246 AVCTP_CONNECTION_W4_SDP_QUERY_COMPLETE, |
247 AVCTP_CONNECTION_W4_ERTM_CONFIGURATION, |
|
247 AVCTP_CONNECTION_W4_L2CAP_CONNECTED, 248 AVCTP_CONNECTION_OPENED, 249 AVCTP_W2_SEND_PRESS_COMMAND, 250 AVCTP_W2_SEND_RELEASE_COMMAND, 251 AVCTP_W4_STOP, 252 AVCTP_W2_SEND_COMMAND, 253 AVCTP_W2_SEND_RESPONSE, 254 AVCTP_W2_RECEIVE_PRESS_RESPONSE, --- 161 unchanged lines hidden (view full) --- 416} rfc2978_charset_mib_enumid_t; 417 418typedef struct { 419 avrcp_role_t role; 420 btstack_linked_list_t connections; 421 btstack_packet_handler_t avrcp_callback; 422 btstack_packet_handler_t packet_handler; 423 | 248 AVCTP_CONNECTION_W4_L2CAP_CONNECTED, 249 AVCTP_CONNECTION_OPENED, 250 AVCTP_W2_SEND_PRESS_COMMAND, 251 AVCTP_W2_SEND_RELEASE_COMMAND, 252 AVCTP_W4_STOP, 253 AVCTP_W2_SEND_COMMAND, 254 AVCTP_W2_SEND_RESPONSE, 255 AVCTP_W2_RECEIVE_PRESS_RESPONSE, --- 161 unchanged lines hidden (view full) --- 417} rfc2978_charset_mib_enumid_t; 418 419typedef struct { 420 avrcp_role_t role; 421 btstack_linked_list_t connections; 422 btstack_packet_handler_t avrcp_callback; 423 btstack_packet_handler_t packet_handler; 424 |
424 // btstack_packet_handler_t browsing_callback; | 425 btstack_packet_handler_t browsing_avrcp_callback; |
425 btstack_packet_handler_t browsing_packet_handler; 426 427 // SDP query 428 uint8_t parse_sdp_record; 429 uint32_t record_id; 430 uint16_t avrcp_cid; 431 uint16_t avrcp_l2cap_psm; 432 uint16_t avrcp_version; --- 34 unchanged lines hidden --- | 426 btstack_packet_handler_t browsing_packet_handler; 427 428 // SDP query 429 uint8_t parse_sdp_record; 430 uint32_t record_id; 431 uint16_t avrcp_cid; 432 uint16_t avrcp_l2cap_psm; 433 uint16_t avrcp_version; --- 34 unchanged lines hidden --- |