obexconstants.h File Reference

KChallResponseSize

const TIntKChallResponseSize

KObexRespSize

const TIntKObexRespSize

KUsbIntStringDescLength

const TIntKUsbIntStringDescLength

KObexObjectDescriptionSize

const TUint8KObexObjectDescriptionSize

KErrIrObexRespBase

const TIntKErrIrObexRespBase

Must not use as not in the allocated range

KErrIrObexClientNoDevicesFound

const TIntKErrIrObexClientNoDevicesFound

Extended error for IrObex - No other infrared device found

KErrIrObexClientPeerDoesNotHaveObex

const TIntKErrIrObexClientPeerDoesNotHaveObex

Extended error for IrObex - Other IR device cannot handle IrObex

KErrIrObexClientPutPeerAborted

const TIntKErrIrObexClientPutPeerAborted

Extended error for IrObex - Other IR device aborted the transfer

KErrIrObexServerPutPeerAborted

const TIntKErrIrObexServerPutPeerAborted

Extended error for IrObex - Peer device aborted data transmission/obex sending

KErrIrObexConnectChallRejected

const TIntKErrIrObexConnectChallRejected

Extended error for IrObex - Cannot authorise the challenge so link dropped

KErrIrObexBadEvent

const TIntKErrIrObexBadEvent

Unexpected event for the given state

KErrIrObexServerStopped

const TIntKErrIrObexServerStopped

Event occurred while Server is stopped

KErrIrObexPacketDuringWait

const TIntKErrIrObexPacketDuringWait

Packet received while state machine is in a wait state

KObexTransportInfoVersion0

const TIntKObexTransportInfoVersion0

Version number for TObexTransportInfo and derived classes. When iVersion is set to this value the following fields of TObexTransportInfo must be set: iTransportName, iReceiveMtu iTransmitMtu The iVersion member variable must be set to this value. If in future any of the iFuture variables are used a new version constant will be created.

See also: TObexTransportInfo

KObexDefaultMtuSize

const TIntKObexDefaultMtuSize

Default for the receive and transmit MTU sizes Use this default value for setting the iReceiveMtu or iTransmitMtu in TObexTransportInfo objects or derived classes.

See also: TObexTransportInfo

KObexIrdaDefaultDiscoverySlotsToUse

const TUintKObexIrdaDefaultDiscoverySlotsToUse

Default value for the number of discovery slots to use. Use this value as a default for iDiscoverySlots in TObexIrdaV2TransportInfo.

See also: TObexIrdaV2TransportInfo

KObexIrdaDefaultDiscoveryAttempts

const TUintKObexIrdaDefaultDiscoveryAttempts

Default value for the number of discovery attempts made. Use this value as a default for iDiscoveryAttempts in TObexIrdaV2TransportInfo.

See also: TObexIrdaV2TransportInfo

_LIT ( KObexIrTTPProtocol, "IrTinyTP" )

_LIT(KObexIrTTPProtocol,
"IrTinyTP"
)

Protocol string when running over IrDA

See also: TObexIrProtocolInfo TObexTransportInfo

_LIT ( KObexIrTTPProtocolV2, "IrTinyTP-V2" )

_LIT(KObexIrTTPProtocolV2,
"IrTinyTP-V2"
)

Protocol string when running over IrDA Using this version indicates that the configuration object contains discovery parameters.

See also: TObexIrProtocolInfo

_LIT ( KObexIrTTPProtocolV3, "IrTinyTP-V3" )

_LIT(KObexIrTTPProtocolV3,
"IrTinyTP-V3"
)

Protocol string when running over IrDA Using this version indicates that the configuration object contains the device nickname.

See also: TObexIrProtocolInfo

Capability
WriteDeviceDataIf the TObexIrV3TransportInfo is passed as the argument to CObexServer::NewL or CObexClient::NewL and the associated name is valid.

_LIT ( KObexRfcommProtocol, "RFCOMM" )

_LIT(KObexRfcommProtocol,
"RFCOMM"
)

Protocol string when running over Bluetooth

See also: TObexBluetoothProtocolInfo TObexTransportInfo

_LIT ( KObexUsbProtocol, "USB" )

_LIT(KObexUsbProtocol,
"USB"
)

Protocol string when running over USB

See also: TObexUsbProtocolInfo TObexTransportInfo

_LIT ( KObexWin32UsbProtocol, "Win32Usb" )

_LIT(KObexWin32UsbProtocol,
"Win32Usb"
)

Place holder for... protocol string that should be used if a Win32 emulator USB transport were to be created for testing.

See also: TObexUsbProtocolInfo TObexTransportInfo

_LIT ( KObexUsbProtocolV2, "USB-V2" )

_LIT(KObexUsbProtocolV2,
"USB-V2"
)

Protocol string when running over USB using client driver extensions

See also: TObexUsbProtocolInfoV2 TObexTransportInfo

NONSHARABLE_CLASS ( TObexProtocolInfo )

NONSHARABLE_CLASS(TObexProtocolInfo)

This class is derived for each underlying transport protocol OBEX runs over.

The iTransport member holds the unique name for the transport. For example for infra-red (TinyTP) this is "IrTinyTP" or KObexIrTTPProtocol.

See also: TObexIrProtocolInfo for running over TinyTP TObexBluetoothProtocolInfo for running over Rfcomm TObexUsbProtocolInfo for running over USB TObexUsbProtocolInfoV2 for running over USB using client driver extensionsKObexIrTTPProtocol KObexIrTTPProtocolV2 KObexRfcommProtocol KObexUsbProtocol KObexUsbProtocolV2

NONSHARABLE_CLASS ( TObexIrProtocolInfo )

NONSHARABLE_CLASS(TObexIrProtocolInfo)

Used to describe IrDA specific protocol information

To access the default OBEX server, the IAS class value should be "OBEX" and the IAS attribute name "IrDA:TinyTP:LsapSel".

NONSHARABLE_CLASS ( TObexBluetoothProtocolInfo )

NONSHARABLE_CLASS(TObexBluetoothProtocolInfo)

Used to describe Bluetooth specific protocol information

NONSHARABLE_CLASS ( TObexUsbProtocolInfo )

NONSHARABLE_CLASS(TObexUsbProtocolInfo)

Used to describe USB specific protocol information

NONSHARABLE_CLASS ( TObexUsbProtocolInfoV2 )

NONSHARABLE_CLASS(TObexUsbProtocolInfoV2)

Used to set options used by the extended USB client driver for improved performance

See also: TObexUsbProtocolInfo RDevUsbcClient

NONSHARABLE_CLASS ( TObexProtocolPolicy )

NONSHARABLE_CLASS(TObexProtocolPolicy)

Contains information about OBEX packet sizing policy, defining the maximum buffer size for receive and transmit packets

NONSHARABLE_CLASS ( TObexConnectInfo )

NONSHARABLE_CLASS(TObexConnectInfo)

TObexConnectInfo This structure contains information used during OBEX connection. iVersion holds the encoded OBEX version of the machine, use VersionMajor() and VersionMinor() to extract the parts of the version number (each having a value from 0 to 15). iFlags holds OBEX connection flags. iWho holds the Who attribute from the connect packet, if any was specified, or otherwise has a length of 0. It is recommended that this class is only ever allocated on the heap as it is quite big.

Enum TObexResponse

EnumeratorValueDescription
ERespContinue0x10

Response is "Continue"

ERespSuccess0x20

Response is "Success"

ERespCreated0x21

Response is "Created"

ERespAccepted0x22

Response is "Accepted"

ERespNonAuthInfo0x23

Response is "Non-Authenticated Information"

ERespNoContent0x24

Response is "No Content"

ERespResetContent0x25

Response is "Reset Content"

ERespPartialContent0x26

Response is "Partial Content"

ERespMultipleChoices0x30

Response is "Multiple Choices"

ERespMovedPerm0x31

Response is "Moved Permanently"

ERespMovedTemp0x32

Response is "Moved Temporarily"

ERespSeeOther0x33

Response is "See Other"

ERespNotModified0x34

Response is "Not Modified"

ERespUseProxy0x35

Response is "Use Proxy"

ERespBadRequest0x40

Response is "Bad Request"

ERespUnauthorized0x41

Response is "Unauthorized"

ERespPaymentRequired0x42

Response is "Payment Required"

ERespForbidden0x43

Response is "Forbidden"

ERespNotFound0x44

Response is "Not Found"

ERespMethodNotAllowed0x45

Response is "Method Not Allowed"

ERespNotAcceptable0x46

Response is "Not Acceptable"

ERespProxyAuthenReqd0x47

Response is "Proxy Authentication is Required"

ERespTimedOut0x48

Response is "Timed Out"

ERespConflict0x49

Response is "Conflict"

ERespGone0x4A

Response is "Gone"

ERespLengthReqd0x4B

Response is "Length Required"

ERespPreCondFailed0x4C

Response is "Precondition Failed"

ERespReqEntityTooLarge0x4D

Response is "Required Entity is Too Large"

ERespReqURLTooLarge0x4E

Response is "Required URL is Too Large"

ERespUnsupMediaType0x4F

Response is "Unsupported Media Type"

ERespInternalError0x50

Response is "Internal Error"

ERespNotImplemented0x51

Response is "Not Implemented"

ERespBadGateway0x52

Response is "Bad Gateway"

ERespServiceUnavail0x53

Response is "Service Unavailable"

ERespGatewayTimeout0x54

Response is "Gateway Timeout"

ERespHTTPVerNotSupp0x55

Response is "HTTP Version is Not Supported"

ERespDatabaseFull0x60

Response is "Database is Full"

ERespDatabaseLocked0x61

Response is "Database is Locked"

ERespServiceUnavailable0xD3

Response is "Service is Unavailable"

KErrIrObexRespSuccess

const TIntKErrIrObexRespSuccess

KErrIrObexRespCreated

const TIntKErrIrObexRespCreated

KErrIrObexRespAccepted

const TIntKErrIrObexRespAccepted

KErrIrObexRespNonAuthInfo

const TIntKErrIrObexRespNonAuthInfo

KErrIrObexRespNoContent

const TIntKErrIrObexRespNoContent

KErrIrObexRespResetContent

const TIntKErrIrObexRespResetContent

KErrIrObexRespPartialContent

const TIntKErrIrObexRespPartialContent

KErrIrObexRespMultipleChoices

const TIntKErrIrObexRespMultipleChoices

KErrIrObexRespMovedPerm

const TIntKErrIrObexRespMovedPerm

KErrIrObexRespMovedTemp

const TIntKErrIrObexRespMovedTemp

KErrIrObexRespSeeOther

const TIntKErrIrObexRespSeeOther

KErrIrObexRespNotModified

const TIntKErrIrObexRespNotModified

KErrIrObexRespUseProxy

const TIntKErrIrObexRespUseProxy

KErrIrObexRespBadRequest

const TIntKErrIrObexRespBadRequest

KErrIrObexRespUnauthorized

const TIntKErrIrObexRespUnauthorized

KErrIrObexRespPaymentRequired

const TIntKErrIrObexRespPaymentRequired

KErrIrObexRespForbidden

const TIntKErrIrObexRespForbidden

KErrIrObexRespNotFound

const TIntKErrIrObexRespNotFound

KErrIrObexRespMethodNotAllowed

const TIntKErrIrObexRespMethodNotAllowed

KErrIrObexRespNotAcceptable

const TIntKErrIrObexRespNotAcceptable

KErrIrObexRespProxyAuthenReqd

const TIntKErrIrObexRespProxyAuthenReqd

KErrIrObexRespTimedOut

const TIntKErrIrObexRespTimedOut

KErrIrObexRespConflict

const TIntKErrIrObexRespConflict

KErrIrObexRespGone

const TIntKErrIrObexRespGone

KErrIrObexRespLengthReqd

const TIntKErrIrObexRespLengthReqd

KErrIrObexRespPreCondFailed

const TIntKErrIrObexRespPreCondFailed

KErrIrObexRespReqEntityTooLarge

const TIntKErrIrObexRespReqEntityTooLarge

KErrIrObexRespReqURLTooLarge

const TIntKErrIrObexRespReqURLTooLarge

KErrIrObexRespUnsupMediaType

const TIntKErrIrObexRespUnsupMediaType

KErrIrObexRespInternalError

const TIntKErrIrObexRespInternalError

KErrIrObexRespNotImplemented

const TIntKErrIrObexRespNotImplemented

KErrIrObexRespBadGateway

const TIntKErrIrObexRespBadGateway

KErrIrObexRespServiceUnavail

const TIntKErrIrObexRespServiceUnavail

KErrIrObexRespGatewayTimeout

const TIntKErrIrObexRespGatewayTimeout

KErrIrObexRespHTTPVerNotSupp

const TIntKErrIrObexRespHTTPVerNotSupp

KErrIrObexRespDatabaseFull

const TIntKErrIrObexRespDatabaseFull

KErrIrObexRespDatabaseLocked

const TIntKErrIrObexRespDatabaseLocked