SymbianBluetoothAV::ConvertToSymbianError Class Reference

class SymbianBluetoothAV::ConvertToSymbianError

Class used for converting signalling error codes stored in the local namespace into standard system-wide error codes. The values used locally are the same as the error codes set out in the various Bluetooth Profile specifications.

Marked NONSHARABLE and therefore cannot be derived outside the dll.

Member Functions Documentation

A2dpError(TA2dpSignallingErrorCode)

IMPORT_C TIntA2dpError(TA2dpSignallingErrorCodeaA2dpError)[static]

Converts an enumeration value corresponding to an A2DP Signalling error into a system-wide error code. The A2DP Signalling error codes are mapped into the concrete profile error code range which is shared with other profiles that sit on top of the GAVDP, such as VDP.

Mappings into this range of values are done locally by each profile and will typically cover the same subsets of the error code space. These error codes are therefore not globally unique and any value within this range requires the context of the profile it originated from in order for it to be fully defined.

The concrete profile signalling error range: -18300 to -18237 (inclusive)

Parameters

TA2dpSignallingErrorCode aA2dpErrorThe locally defined error value.

AvdtpError(TAvdtpSignallingErrorCode)

IMPORT_C TIntAvdtpError(TAvdtpSignallingErrorCodeaAvdtpError)[static]

Converts an enumeration value corresponding to an AVDTP Signalling error into a system-wide error code.

The AVDTP Signalling error range: -18172 to -18045 (inclusive)

Parameters

TAvdtpSignallingErrorCode aAvdtpErrorThe locally defined error value.

DoConvertError(TBluetoothAvDistributionError)

TInt DoConvertError(TBluetoothAvDistributionErroraError)[private, static]

Takes the local signalling error code (which is a relative offset from the Bluetooth Audio/Visual base signalling error code) of any A/V profile type and calculates the corresponding system-wide error code. This function is called by a profile specific error conversion function. For full documentation of what the error code corresponds to refer to the relevant profile's conversion function.

A Bluetooth A/V Signalling error code will exist within the range -18045 to -18300 (inclusive).

Parameters

TBluetoothAvDistributionError aErrorThe value of the error enumeration object.

GavdpError(TGavdpSignallingErrorCode)

IMPORT_C TIntGavdpError(TGavdpSignallingErrorCodeaGavdpError)[static]

Converts an enumeration value corresponding to a GAVDP Signalling error into a system-wide error code.

The GAVDP Signalling error range: -18236 to -18173 (inclusive)

Parameters

TGavdpSignallingErrorCode aGavdpErrorThe locally defined error value.

VdpError(TVdpSignallingErrorCode)

IMPORT_C TIntVdpError(TVdpSignallingErrorCodeaVdpError)[static]

Converts an enumeration value corresponding to a VDP Signalling error into a system-wide error code. The VDP Signalling error codes are mapped into the concrete profile error code range which is shared with other profiles that sit on top of the GAVDP, such as A2DP.

Mappings into this range of values are done locally by each profile and will typically cover the same subsets of the error code space. These error codes are therefore not globally unique and any value within this range requires the context of the profile it originated from in order for it to be fully defined.

The concrete profile signalling error range: -18300 to -18237 (inclusive)

Parameters

TVdpSignallingErrorCode aVdpErrorThe locally defined error value.