My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
/**
* BlueCove BlueZ module - Java library for Bluetooth on Linux
* Copyright (C) 2008 Mina Shokry
* Copyright (C) 2007 Vlad Skarzhevskyy
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* @author vlads
* @version $Id$
*/
package com.intel.bluetooth;

import javax.bluetooth.DataElement;
import javax.bluetooth.DiscoveryAgent;
import javax.bluetooth.DiscoveryListener;
import javax.bluetooth.BluetoothConnectionException;
import javax.bluetooth.ServiceRecord;

/**
*
* Export constants to native code
*
*/
abstract class BluetoothStackBlueZConsts {

public static final int NOT_DISCOVERABLE = DiscoveryAgent.NOT_DISCOVERABLE;

public static final int GIAC = DiscoveryAgent.GIAC;

public static final int LIAC = DiscoveryAgent.LIAC;

static final int INQUIRY_COMPLETED = DiscoveryListener.INQUIRY_COMPLETED;

static final int INQUIRY_TERMINATED = DiscoveryListener.INQUIRY_TERMINATED;

static final int INQUIRY_ERROR = DiscoveryListener.INQUIRY_ERROR;

static final int SERVICE_SEARCH_COMPLETED = DiscoveryListener.SERVICE_SEARCH_COMPLETED;

static final int SERVICE_SEARCH_TERMINATED = DiscoveryListener.SERVICE_SEARCH_TERMINATED;

static final int SERVICE_SEARCH_ERROR = DiscoveryListener.SERVICE_SEARCH_ERROR;

static final int SERVICE_SEARCH_NO_RECORDS = DiscoveryListener.SERVICE_SEARCH_NO_RECORDS;

static final int SERVICE_SEARCH_DEVICE_NOT_REACHABLE = DiscoveryListener.SERVICE_SEARCH_DEVICE_NOT_REACHABLE;

static final int NOAUTHENTICATE_NOENCRYPT = ServiceRecord.NOAUTHENTICATE_NOENCRYPT;

static final int AUTHENTICATE_NOENCRYPT = ServiceRecord.AUTHENTICATE_NOENCRYPT;

static final int AUTHENTICATE_ENCRYPT = ServiceRecord.AUTHENTICATE_ENCRYPT;

static final int DataElement_NULL = DataElement.NULL;

static final int DataElement_U_INT_1 = DataElement.U_INT_1;

static final int DataElement_U_INT_2 = DataElement.U_INT_2;

static final int DataElement_U_INT_4 = DataElement.U_INT_4;

static final int DataElement_U_INT_8 = DataElement.U_INT_8;

static final int DataElement_U_INT_16 = DataElement.U_INT_16;

static final int DataElement_INT_1 = DataElement.INT_1;

static final int DataElement_INT_2 = DataElement.INT_2;

static final int DataElement_INT_4 = DataElement.INT_4;

static final int DataElement_INT_8 = DataElement.INT_8;

static final int DataElement_INT_16 = DataElement.INT_16;

static final int DataElement_URL = DataElement.URL;

static final int DataElement_UUID = DataElement.UUID;

static final int DataElement_BOOL = DataElement.BOOL;

static final int DataElement_STRING = DataElement.STRING;

static final int DataElement_DATSEQ = DataElement.DATSEQ;

static final int DataElement_DATALT = DataElement.DATALT;

static final int CONNECTION_ERROR_UNKNOWN_PSM = BluetoothConnectionException.UNKNOWN_PSM;

static final int CONNECTION_ERROR_SECURITY_BLOCK = BluetoothConnectionException.SECURITY_BLOCK;

static final int CONNECTION_ERROR_NO_RESOURCES = BluetoothConnectionException.NO_RESOURCES;

static final int CONNECTION_ERROR_FAILED_NOINFO = BluetoothConnectionException.FAILED_NOINFO;

static final int CONNECTION_ERROR_TIMEOUT = BluetoothConnectionException.TIMEOUT;

static final int CONNECTION_ERROR_UNACCEPTABLE_PARAMS = BluetoothConnectionException.UNACCEPTABLE_PARAMS;
}

Change log

r2476 by skarzhevskyy on Dec 1, 2008   Diff
Correction to headers
Go to: 
Project members, sign in to write a code review

Older revisions

r2409 by skarzhevskyy on Oct 9, 2008   Diff
organize product to modules
r1745 by skarzhevskyy on Feb 2, 2008   Diff
Work on SetLocalDeviceDiscoverable
r1601 by skarzhevskyy on Jan 19, 2008   Diff
Working RFCOMM
All revisions of this file

File info

Size: 3880 bytes, 110 lines

File properties

svn:mime-type
text/plain
svn:eol-style
native
svn:executable
*
svn:keywords
Date Author Id Revision
Powered by Google Project Hosting