Handler for absolute volume requests from a remote peer. See AVRCP v 1.6.2 section 6.13.2.
Absolute volume is represented as a percentage using one byte with the most significant bit
reserved. 0% is represented as 0x0 and 100% as 0x7f. Volume should scaled between the
two values.
Set get_all
if we want all attributes of a media element item.
Set attribute_list
if we want to get only the specified attributes.
If get_all
is set to false, it will be treated as attribute request
with emtpy list of attribute IDs.
Defined by AV\C Panel specification.
Defined by AVRCP 1.6.2 section 6.7.2 (RegisterNotification).
Format for EVENT_BATT_STATUS_CHANGED
.
Same encoding also defined by 6.5.8 (InformBatteryStatusOfCT).
Errors from AVRCP 1.6.2 Section 6.15.3.
Client wrapper for local controller (CT) -> remote target (TG) AVCTP
connections between devices for browse related commands.
Status codes for commands sent as the controller.
Client wrapper for local controller (CT) -> remote target (TG) AVCTP
connections between devices for AV/C commands.
Defined by AVRCP 1.6.2 Appendix F (player application settings).
Items returned from GetFolderItems(Filesystem) may be either a folder or media element.
Defined by AVRCP 1.6.2 section 6.10.1.2.
Only one of folder
or media_element
should be set.
The folder type associated with a folder item.
Defined by AVRCP 1.6.2 section 6.10.2.2.
Defined by AVRCP 1.6.2 Appendix E (media attributes).
0x9-0xFFFFFFFF reserved for future use.
Type of a media element item.
Defined by AVRCP 1.6.2 section 6.10.2.3.
Defined by AVRCP 1.6.2 section 6.7.2 (RegisterNotification) and Appendix H.
Style note: named exactly as they are in the specification with the “EVENT_” prefix.
Relative path from the current directory.
As per AVRCP 1.6.2 Section 6.10.4.1.1, it either specifies a parent folder
for Folder Up direction or a child folder by its unique ID for Folder
Down direction.
Defined by AVRCP 1.6.2 section 6.7.2 (RegisterNotification).
Format for EVENT_PLAYBACK_STATUS_CHANGED
.
0x80 - 0xFF is reserved for custom player application settings.
Defined by AVRCP 1.6.2 Appendix F (player application settings).
Defined by AVRCP 1.6.2 Appendix F (player application settings).
Defined by AVRCP 1.6.2 Appendix F (player application settings).
Defined by AVRCP 1.6.2 Appendix F (player application settings).
Defined by AVRCP 1.6.2 section 6.7.2 (RegisterNotification).
Format for EVENT_SYSTEM_STATUS_CHANGED
.
Status codes for AVRCP specific AV/C commands.
Defined in AVRCP 1.6.2 section 6.15.3, Table 6.49.
Style note: named exactly as they are in Table 6.49 with the “REJECTED_” prefix.
Client wrapper for the local target.
A client is a high level construct and does not represent a connection with a device.
Status codes for passthrough responses received from the target.
The total number of attributes that can be set. The custom attributes + the 4
defined attributes, PlayerApplicationSettingAttributeId
. 4 + 127 = 131.
The maximum number of possible values an attribute can take on.
Defined by AVRCP 1.6.2 Sec 6.5.2
The maximum length of an attribute value in the media attributes.
Defined by AVRCP 1.6.2 Sec 6.6.1.
The maximum number of custom attributes that can be used.
Defined by AVRCP 1.6.2 Appendix F.
The maximum number of MediaPlayerItems that can be returned from a call to
GetFileSystemItems.
This value is arbitrary and is meant to limit the number of items that can be returned.
AVRCP 1.6.2, Section 6.10.4.2.2 defines the Number of Items
parameter as a uint16.
The maximum number of MediaPlayerItems that can be returned from a call to
GetMediaPlayerItems.
This value is arbitrary and is meant to limit the number of items that can be returned.
AVRCP 1.6.2, Section 6.10.4.2.2 defines the Number of Items
parameter as a uint16.
The maximum number of Notification Event IDs that can be supported by the TG.
0x0E to 0xFF are reserved for future use.
Defined by AVRCP 1.6.2 Appendix H.
The maximum number of MediaPlayerItems that can be returned from a call to
GetFileSystemItems.
This value is arbitrary and is meant to limit the number of items that can be returned.
AVRCP 1.6.2, Section 6.10.4.2.2 defines the Number of Items
parameter as a uint16.
The maximum number of MediaAttributeId that can be returned from a call to
GetFileSystemItems or GetNowPlayingItems.
This value based on list of media attributes available as per
AVRCP 1.6.2, 26 Appendix E: list of media attributes.