remconcoreapi.h File Reference

KRemConCoreApiMaxOperationSpecificDataSize

const TUintKRemConCoreApiMaxOperationSpecificDataSize

The operation-specific data field for operations in the Core API has the following format. For commands, there is 1 byte containing the button action. There is optional further data, depending on the operation itself. For instance, Play carries an extra 4 bytes of 'play speed' information. Hence the operation-specific data for a Play command is 5 bytes long. For responses, there are 4 bytes of 'results' data. This is followed by whatever operation-specific data was attached to the originating command (so that the client can identify if necessary what the response is a response to). Hence the operation-specific data for a Play response is 9 bytes long. A buffer size for Core API operations' operation-specific data.

KRemConCoreApiResultDataLength

const TUintKRemConCoreApiResultDataLength

Length of the results data in bytes.

KRemConCoreApiResultPad

const TLitC8< sizeof(" ")>KRemConCoreApiResultPad[static]

String of same length as result data.

KRemConCoreApiCommandDataOffset

const TUintKRemConCoreApiCommandDataOffset

Offset for operation data for commands

KRemConCoreApiResponseDataOffset

const TUintKRemConCoreApiResponseDataOffset

Offset for operation data for responses

KRemConCoreApiButtonDataOffset

const TUintKRemConCoreApiButtonDataOffset

Offset of button data from beginning of data section. ie the offset of the data for commands is KRemConCoreApiCommandDataOffset +KRemConCoreApiButtonDataOffset. The offset of the button data for responses is KRemConCoreApiResponseDataOffset+KRemConCoreApiButtonDataOffset.

KRemConCoreApiButtonDataLength

const TUintKRemConCoreApiButtonDataLength

Length of the button action data in bytes.

Enum TRemConCoreApiButtonAction

Button actions.

EnumeratorValueDescription
ERemConCoreApiButtonPress0

A button has been pressed.

ERemConCoreApiButtonRelease1

A button has been released.

ERemConCoreApiButtonClick2

A button has been clicked.

KRemConCoreApiPressRefreshInterval

const TUintKRemConCoreApiPressRefreshInterval

Button press refresh interval. If the client wants to emulate a button being held down, they send a press. The client must re-post the press within this time, and continue to re-post at least this frequently, otherwise the bearer may assume that the hold has finished. The client may finish the hold by sending a release.

KRemConCoreApiUid

const TIntKRemConCoreApiUid

The UID identifying this outer-layer RemCon interface.

Enum TRemConCoreApiOperationId

Operation ids belonging to the Core API. These values are not numbered sequentially as a facility to AVRCP, which may assume that they are numbered the same as the operation IDs in the AV/C Panel Subunit Specification 1.21 Table 9.21.

EnumeratorValueDescription
ERemConCoreApiSelect0x00

Select.

ERemConCoreApiUp0x01

Up.

ERemConCoreApiDown0x02

Down.

ERemConCoreApiLeft0x03

Left.

ERemConCoreApiRight0x04

Right.

ERemConCoreApiRightUp0x05

RightUp.

ERemConCoreApiRightDown0x06

RightDown.

ERemConCoreApiLeftUp0x07

LeftUp.

ERemConCoreApiLeftDown0x08

LeftDown.

ERemConCoreApiRootMenu0x09

RootMenu.

ERemConCoreApiSetupMenu0x0a

SetupMenu.

ERemConCoreApiContentsMenu0x0b

ContentsMenu.

ERemConCoreApiFavoriteMenu0x0c

FavoriteMenu.

ERemConCoreApiExit0x0d

Exit.

ERemConCoreApi00x20

0.

ERemConCoreApi10x21

1.

ERemConCoreApi20x22

2.

ERemConCoreApi30x23

3.

ERemConCoreApi40x24

4.

ERemConCoreApi50x25

5.

ERemConCoreApi60x26

6.

ERemConCoreApi70x27

7.

ERemConCoreApi80x28

8.

ERemConCoreApi90x29

9.

ERemConCoreApiDot0x2a

Dot.

ERemConCoreApiEnter0x2b

Enter.

ERemConCoreApiClear0x2c

Clear.

ERemConCoreApiChannelUp0x30

ChannelUp.

ERemConCoreApiChannelDown0x31

ChannelDown.

ERemConCoreApiPreviousChannel0x32

PreviousChannel.

ERemConCoreApiSoundSelect0x33

SoundSelect.

ERemConCoreApiInputSelect0x34

InputSelect.

ERemConCoreApiDisplayInformation0x35

DisplayInformation.

ERemConCoreApiHelp0x36

Help.

ERemConCoreApiPageUp0x37

PageUp.

ERemConCoreApiPageDown0x38

PageDown.

ERemConCoreApiPower0x40

Power.

ERemConCoreApiVolumeUp0x41

VolumeUp.

ERemConCoreApiVolumeDown0x42

VolumeDown.

ERemConCoreApiMute0x43

Mute.

ERemConCoreApiPlay0x44

Play.

ERemConCoreApiStop0x45

Stop.

ERemConCoreApiPause0x46

Pause.

ERemConCoreApiRecord0x47

Record.

ERemConCoreApiRewind0x48

Rewind.

ERemConCoreApiFastForward0x49

FastForward.

ERemConCoreApiEject0x4a

Eject.

ERemConCoreApiForward0x4b

Forward.

ERemConCoreApiBackward0x4c

Backward.

ERemConCoreApiAngle0x50

Angle.

ERemConCoreApiSubpicture0x51

Subpicture.

ERemConCoreApiPausePlayFunction0x61

PausePlayFunction.

ERemConCoreApiRestoreVolumeFunction0x66

RestoreVolumeFunction.

ERemConCoreApiTuneFunction0x67

TuneFunction.

ERemConCoreApiSelectDiskFunction0x68

SelectDiskFunction.

ERemConCoreApiSelectAvInputFunction0x69

SelectAvInputFunction.

ERemConCoreApiSelectAudioInputFunction0x6a

SelectAudioInputFunction.

ERemConCoreApiF10x71

F1.

ERemConCoreApiF20x72

F2.

ERemConCoreApiF30x73

F3.

ERemConCoreApiF40x74

F4.

ERemConCoreApiF50x75

F5.

ENop0x76
ELargestOperationId0x76

This enum is created for internal purpose to have the largest value in TRemConCoreApiOperationId. If anyone needs an value for no-operation then we suggest to use 'ENop' instead. If new enums values are added in TRemConCoreApiOperationId then value of ELargestOperationId may change resulting in a BC break.

Enum TRemConCoreApiPlaybackSpeed

Speeds associated with Play APIs. These values are not numbered sequentially as a facility to AVRCP, which may assume that they are numbered the same as the playback speeds in the AV/C Panel Subunit Specification 1.21 Table 9.26.

EnumeratorValueDescription
ERemConCoreApiPlaybackSpeedNextFrame0x30

NextFrame.

ERemConCoreApiPlaybackSpeedSlowestForward0x31

SlowestForward.

ERemConCoreApiPlaybackSpeedSlowForward60x32

SlowForward6.

ERemConCoreApiPlaybackSpeedSlowForward50x33

SlowForward5.

ERemConCoreApiPlaybackSpeedSlowForward40x34

SlowForward4.

ERemConCoreApiPlaybackSpeedSlowForward30x35

SlowForward3.

ERemConCoreApiPlaybackSpeedSlowForward20x36

SlowForward2.

ERemConCoreApiPlaybackSpeedSlowForward10x37

SlowForward1.

ERemConCoreApiPlaybackSpeedX10x38

X1.

ERemConCoreApiPlaybackSpeedFastForward10x39

FastForward1.

ERemConCoreApiPlaybackSpeedFastForward20x3a

FastForward2.

ERemConCoreApiPlaybackSpeedFastForward30x3b

FastForward3.

ERemConCoreApiPlaybackSpeedFastForward40x3c

FastForward4.

ERemConCoreApiPlaybackSpeedFastForward50x3d

FastForward5.

ERemConCoreApiPlaybackSpeedFastForward60x3e

FastForward6.

ERemConCoreApiPlaybackSpeedFastestForward0x3f

FastestForward.

ERemConCoreApiPlaybackSpeedPreviousFrame0x40

PreviousFrame.

ERemConCoreApiPlaybackSpeedSlowestReverse0x41

SlowestReverse.

ERemConCoreApiPlaybackSpeedSlowReverse60x42

SlowReverse6.

ERemConCoreApiPlaybackSpeedSlowReverse50x43

SlowReverse5.

ERemConCoreApiPlaybackSpeedSlowReverse40x44

SlowReverse4.

ERemConCoreApiPlaybackSpeedSlowReverse30x45

SlowReverse3.

ERemConCoreApiPlaybackSpeedSlowReverse20x46

SlowReverse2.

ERemConCoreApiPlaybackSpeedSlowReverse10x47

SlowReverse1.

ERemConCoreApiPlaybackSpeedX1Reverse0x48

X1Reverse.

ERemConCoreApiPlaybackSpeedFastReverse10x49

FastReverse1.

ERemConCoreApiPlaybackSpeedFastReverse20x4a

FastReverse2.

ERemConCoreApiPlaybackSpeedFastReverse30x4b

FastReverse3.

ERemConCoreApiPlaybackSpeedFastReverse40x4c

FastReverse4.

ERemConCoreApiPlaybackSpeedFastReverse50x4d

FastReverse5.

ERemConCoreApiPlaybackSpeedFastReverse60x4e

FastReverse6.

ERemConCoreApiPlaybackSpeedFastestReverse0x4f

FastestReverse.

ERemConCoreApiPlaybackSpeedReverse0x65

Reverse.

ERemConCoreApiPlaybackSpeedReversePause0x6d

ReversePause.

ERemConCoreApiPlaybackSpeedForward0x75

Forward.

ERemConCoreApiPlaybackSpeedForwardPause0x7d

ForwardPause.