libraries/btserial/inc/btserialclientserver.h
changeset 0 7f656887cf89
equal deleted inserted replaced
-1:000000000000 0:7f656887cf89
       
     1 // btserialclientserver.h
       
     2 // 
       
     3 // Copyright (c) 2008 - 2010 Accenture. All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of the "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 // 
       
     9 // Initial Contributors:
       
    10 // Accenture - Initial contribution
       
    11 //
       
    12 
       
    13 #ifndef __BTSERIALCLIENTSERVER_H
       
    14 #define __BTSERIALCLIENTSERVER_H
       
    15 
       
    16 #include <e32std.h>
       
    17 
       
    18 _LIT(KBtSerialServerThreadName,"btserial");
       
    19 
       
    20 const TInt KMaxBtSerialMessage=100;
       
    21 
       
    22 enum TBtSerialMessages
       
    23 	{
       
    24 	EBtSerialWaitForConnection,
       
    25 	EBtSerialCancelWaitForConnection,
       
    26 	EBtSerialIsConnected,
       
    27 	EBtSerialWrite,
       
    28 	EBtSerialCancelWrite,
       
    29 	EBtSerialRead,
       
    30 	EBtSerialCancelRead,
       
    31 	EBtSerialSetInputMode,
       
    32 	EBtSerialGetConnectedDeviceAddr,
       
    33 	EBtSerialGetConnectedDeviceName,
       
    34 	};
       
    35 	
       
    36 TInt ServerThread(TAny* aParam);
       
    37 
       
    38 #endif //__BTSERIALCLIENTSERVER_H