1 /**
2 * BlueCove - Java library for Bluetooth
3 * Copyright (C) 2006-2007 Vlad Skarzhevskyy
4 *
5 * Licensed to the Apache Software Foundation (ASF) under one
6 * or more contributor license agreements. See the NOTICE file
7 * distributed with this work for additional information
8 * regarding copyright ownership. The ASF licenses this file
9 * to you under the Apache License, Version 2.0 (the
10 * "License"); you may not use this file except in compliance
11 * with the License. You may obtain a copy of the License at
12 *
13 * http://www.apache.org/licenses/LICENSE-2.0
14 *
15 * Unless required by applicable law or agreed to in writing,
16 * software distributed under the License is distributed on an
17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 * KIND, either express or implied. See the License for the
19 * specific language governing permissions and limitations
20 * under the License.
21 *
22 * @author vlads
23 * @version $Id: CommunicationData.java 2471 2008-12-01 03:44:20Z skarzhevskyy $
24 */
25 package net.sf.bluecove;
26
27 /**
28 *
29 *
30 */
31 public class CommunicationData implements Consts {
32
33 public static final String stringData = "TestString2007";
34
35 public static final String stringUTFData = "\u0413\u043E\u043B\u0443\u0431\u043E\u0439\u0417\u0443\u0431";
36
37 public static final int byteCount = 12; // 1024;
38
39 public static final byte[] byteAray = new byte[] { 1, 7, -40, 80, 90, -1, 126, 100, 87, -10, 127, 31, -127, 0, -77 };
40
41 public static final byte streamAvailableByteCount = 126;
42
43 public static final int byteAray8KPlusSize = 0x2010; // More then 8K
44
45 public static final int byteAray64KPlusSize = 0x10100; // More then 64K
46
47 public static final int byteAray128KSize = 0x20000; // 64K
48
49 public static final byte aKnowndPositiveByte = 21;
50
51 public static final byte aKnowndNegativeByte = -33;
52
53 }