javaextensions/bluetooth/bluetoothcommons/bluetoothplatformcontrol/src.s60/bluetoothsystemproperty.h
branchRCL_3
changeset 19 04becd199f91
equal deleted inserted replaced
16:f5050f1da672 19:04becd199f91
       
     1 /*
       
     2 * Copyright (c) 2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "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 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef BLUETOOTHSYSTEMPROPERTY_H
       
    21 #define BLUETOOTHSYSTEMPROPERTY_H
       
    22 
       
    23 /**
       
    24  * System property names. Idea is to keep the platform specific stuff here.
       
    25  * LocalDevice.getProperty and System.getProperty, both load this dll and
       
    26  * query for the platform specific values.
       
    27  *
       
    28  */
       
    29 
       
    30 #define BT_L2CAP_RECEIVEMTU_MAX     1
       
    31 #define BT_CONNECTED_DEVICES_MAX    2
       
    32 
       
    33 //Following return True/False
       
    34 #define BT_CONNECTED_INQUIRY        3
       
    35 #define BT_CONNECTED_PAGE           4
       
    36 #define BT_CONNECTED_INQUIRY_SCAN   5
       
    37 #define BT_CONNECTED_PAGE_SCAN      6
       
    38 #define BT_MASTER_SWITCH            7
       
    39 
       
    40 //Value as a string in Base10 Digits
       
    41 #define BT_SD_TRANS_MAX             8
       
    42 #define BT_SD_ATTR_RETRIEVE_MAX     9
       
    43 
       
    44 #define BT_L2CAP_RECEIVEMTU_MAX_V   L"672"
       
    45 #define BT_CONNECTED_DEVICES_MAX_V  L"7"
       
    46 
       
    47 //Following return True/False
       
    48 #define BT_CONNECTED_INQUIRY_V      L"false"
       
    49 #define BT_CONNECTED_PAGE_V         L"false"
       
    50 #define BT_CONNECTED_INQUIRY_SCAN_V L"false"
       
    51 #define BT_CONNECTED_PAGE_SCAN_V    L"false"
       
    52 
       
    53 #ifdef BLUETOOTH_MASTER_SUPPORT
       
    54 #define BT_MASTER_SWITCH_V      L"true"
       
    55 #else
       
    56 #define BT_MASTER_SWITCH_V      L"false"
       
    57 #endif
       
    58 
       
    59 //Value as a string in Base10 Digits
       
    60 #define BT_SD_TRANS_MAX_V           L"1"
       
    61 #define BT_SD_ATTR_RETRIEVE_MAX_V   L"65535"
       
    62 
       
    63 #endif // BLUETOOTHSYSTEMPROPERTY_H