1 // Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Symbian Foundation License v1.0" to Symbian Foundation members and "Symbian Foundation End User License Agreement v1.0" to non-members
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.symbianfoundation.org/legal/licencesv10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __OBEXIRTRANSPORTINFO_H__
17 #define __OBEXIRTRANSPORTINFO_H__
20 #include <obextransportinfo.h>
23 Concrete transport info type for use when using Irda ttp transport controller.
24 @see KObexIrTTPProtocol
28 NONSHARABLE_CLASS(TObexIrTransportInfo) : public TObexTransportInfo
31 //From TObexIrProtocolInfo
33 /** IrDA address information for this connection, as used in the IrDA sockets interface.
34 Refer to the SDK for more information about this.
35 Its main use is for setting the port that the local machine will listen on. */
37 /** The IAS class value that the OBEX session will register its listener port,
38 or request remote port with. */
39 TBuf8<KIASClassNameMax> iClassName;
40 /** The IAS attribute value that the OBEX session will register its listener port,
41 or request remote port with. */
42 TBuf8<KIASAttributeNameMax> iAttributeName;
46 Concrete transport info type for use when using Irda ttp transport controller, with discovery extensions.
47 @see KObexIrTTPProtocolV2
51 NONSHARABLE_CLASS(TObexIrV2TransportInfo) : public TObexIrTransportInfo
54 //From TObexIrProtocolInfo
56 /** The number of discovery slots to use. */
57 TUint8 iDiscoverySlots;
58 /** The number of discovery attempts to make. */
59 TUint8 iDiscoveryAttempts;
62 // This data padding has been added to help prevent future binary compatibility breaks
63 // None of these padding variables have been zero'd because they are currently not used
72 Concrete transport info type for use when using Irda ttp transport controller, with nickname extension.
73 @see KObexIrTTPProtocolV3
76 @capability WriteDeviceData If the TObexIrV3TransportInfo is passed as the argument
77 to CObexServer::NewL or CObexClient::NewL and the associated
82 NONSHARABLE_CLASS(TObexIrV3TransportInfo) : public TObexIrV2TransportInfo
85 /** The device nickname. The maximum length in the IrDA specification
86 is defined as 23 - (number of hint octets [2] + 1) = 20
88 TBuf<20> iLocalDeviceNickname;
90 /** A flag indicating if the device nickname field is valid. This
91 allows Symbian to make further derivations of this interface without making
92 the device nickname mandatory */
93 TBool iLocalDeviceNicknameValid;
96 #endif // __OBEXIRTRANSPORTINFO_H__