avrcp.h (a959741731c235aefe3a8e560d55f8986be9ed23) avrcp.h (8c413f9ace4a9f22f333cacb1880ccb183283f89)
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

--- 96 unchanged lines hidden (view full) ---

105
106typedef enum {
107 AVRCP_CAPABILITY_ID_COMPANY = 0x02,
108 AVRCP_CAPABILITY_ID_EVENT = 0x03
109} avrcp_capability_id_t;
110
111#define AVRCP_BROWSING_MAX_NUM_ATTR_IDS 8
112typedef enum {
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

--- 96 unchanged lines hidden (view full) ---

105
106typedef enum {
107 AVRCP_CAPABILITY_ID_COMPANY = 0x02,
108 AVRCP_CAPABILITY_ID_EVENT = 0x03
109} avrcp_capability_id_t;
110
111#define AVRCP_BROWSING_MAX_NUM_ATTR_IDS 8
112typedef enum {
113 AVRCP_MEDIA_ATTR_ALL = 0x00000000,
113 AVRCP_MEDIA_ATTR_ALL = 0x0000,
114 AVRCP_MEDIA_ATTR_TITLE,
115 AVRCP_MEDIA_ATTR_ARTIST,
116 AVRCP_MEDIA_ATTR_ALBUM,
117 AVRCP_MEDIA_ATTR_TRACK,
118 AVRCP_MEDIA_ATTR_TOTAL_NUM_ITEMS,
119 AVRCP_MEDIA_ATTR_GENRE,
120 AVRCP_MEDIA_ATTR_SONG_LENGTH_MS,
121 AVRCP_MEDIA_ATTR_DEFAULT_COVER_ART,
114 AVRCP_MEDIA_ATTR_TITLE,
115 AVRCP_MEDIA_ATTR_ARTIST,
116 AVRCP_MEDIA_ATTR_ALBUM,
117 AVRCP_MEDIA_ATTR_TRACK,
118 AVRCP_MEDIA_ATTR_TOTAL_NUM_ITEMS,
119 AVRCP_MEDIA_ATTR_GENRE,
120 AVRCP_MEDIA_ATTR_SONG_LENGTH_MS,
121 AVRCP_MEDIA_ATTR_DEFAULT_COVER_ART,
122 AVRCP_MEDIA_ATTR_NONE = 0xFFFFFFFF
122 AVRCP_MEDIA_ATTR_NONE = 0x7FFF
123} avrcp_media_attribute_id_t;
124
125typedef enum {
126 AVRCP_PDU_ID_GET_CAPABILITIES = 0x10,
127 AVRCP_PDU_ID_GetCurrentPlayerApplicationSettingValue = 0x13,
128 AVRCP_PDU_ID_SetPlayerApplicationSettingValue = 0x14,
129 AVRCP_PDU_ID_GET_ELEMENT_ATTRIBUTES = 0x20,
130 AVRCP_PDU_ID_GET_PLAY_STATUS = 0x30,

--- 427 unchanged lines hidden ---
123} avrcp_media_attribute_id_t;
124
125typedef enum {
126 AVRCP_PDU_ID_GET_CAPABILITIES = 0x10,
127 AVRCP_PDU_ID_GetCurrentPlayerApplicationSettingValue = 0x13,
128 AVRCP_PDU_ID_SetPlayerApplicationSettingValue = 0x14,
129 AVRCP_PDU_ID_GET_ELEMENT_ATTRIBUTES = 0x20,
130 AVRCP_PDU_ID_GET_PLAY_STATUS = 0x30,

--- 427 unchanged lines hidden ---