bluetoothmgmt/bluetoothclientlib/inc/bt_sock.h
changeset 48 22de2e391156
parent 35 14e279d2bbb7
equal deleted inserted replaced
35:14e279d2bbb7 48:22de2e391156
     1 // Copyright (c) 1999-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 1999-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of "Eclipse Public License v1.0"
     4 // under the terms of "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    34 #include <btsocketoptionlevels.h>
    34 #include <btsocketoptionlevels.h>
    35 #include <btdevice.h>
    35 #include <btdevice.h>
    36 
    36 
    37 #include <es_sock.h>
    37 #include <es_sock.h>
    38 #include <bttypes.h>
    38 #include <bttypes.h>
    39 #include <d32comm.h>	// for RS232 signal names for RFCOMM
    39 #include <d32public.h> // for RFCOMM API
    40 #include <bluetooth/hci/hcierrors.h>
    40 #include <bluetooth/hci/hcierrors.h>
    41 #include <btmanclient.h>
    41 #include <btmanclient.h>
    42 #include <bt_subscribe.h>
    42 #include <bt_subscribe.h>
    43 #include <btsockaddr.h>
    43 #include <btsockaddr.h>
    44 #include <btsecurity.h>
    44 #include <btsecurity.h>
   100 // Options available for all Bluetooth protocols
   100 // Options available for all Bluetooth protocols
   101 
   101 
   102 /** BT options. */
   102 /** BT options. */
   103 enum TBTOptions
   103 enum TBTOptions
   104 	{
   104 	{
   105 	/** Override device security */
   105 	KBTSetNoSecurityRequired = 0x997,	/*!< Set No security required for Security Mode 4*/
   106 	KBTRegisterCodService = 0x998,		/*!< Set a CoD Service bit(s) */
   106     KBTRegisterCodService = 0x998,		/*!< Set a CoD Service bit(s) */
   107 	KBTSecurityDeviceOverride = 0x999,
   107 	KBTSecurityDeviceOverride = 0x999,	/*!< Override device security */
   108 	};
   108 	};
   109 
   109 
   110 typedef TPckgBuf<TBTServiceSecurityPerDevice> TBTServiceSecurityPerDeviceBuf;	/*!< Package definition for securty settings */
   110 typedef TPckgBuf<TBTServiceSecurityPerDevice> TBTServiceSecurityPerDeviceBuf;	/*!< Package definition for securty settings */
   111 
   111 
   112 
   112