examples/ForumNokia/BluetoothPMPExample/inc/Common.h

00001 /*
00002  * Copyright © 2009 Nokia Corporation.
00003  */
00004 
00005 #ifndef COMMON_H
00006 #define COMMON_H
00007 
00008 #include <e32base.h>
00009 #include <es_sock.h>
00010 #include <bttypes.h>
00011 
00012 // structure that will hold the info about the remote device
00013 struct TDeviceData
00014     {
00015     THostName iDeviceName;
00016     TBTDevAddr iDeviceAddr;
00017     TUint iDeviceServicePort;
00018     };
00019 
00020 // for ease of use and clarity, the type definition for device data list
00021 typedef RPointerArray<TDeviceData> TDeviceDataList;
00022 
00023 // the service id that identifies our service.  this id will be 
00024 // used when advertising the service and discovering the service.
00025 #define KBT_serviceID 0x10ff
00026 
00027 // passed to RSocket::Listen, the size of listen queue
00028 const TInt KSizeOfListenQueue = 5; 
00029 _LIT(KRfComm,"RFCOMM");
00030 
00031 #endif
00032 

Generated by  doxygen 1.6.2