Files
NxtAR-cam/src/ve/ucv/ciens/ccg/nxtcam/utils/ProjectConstants.java

38 lines
1.4 KiB
Java
Raw Normal View History

/*
* Copyright (C) 2013 Miguel Angel Astor Romero
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
2013-11-05 11:44:26 -04:30
package ve.ucv.ciens.ccg.nxtcam.utils;
import java.util.UUID;
2013-12-16 16:01:22 -04:30
import android.app.Activity;
2013-11-05 11:44:26 -04:30
public abstract class ProjectConstants {
2013-12-16 16:01:22 -04:30
// Network related constants.
2013-11-05 11:44:26 -04:30
public static final int SERVER_UDP_PORT = 8889;
public static final int SERVER_TCP_PORT_1 = 9989;
public static final int SERVER_TCP_PORT_2 = 9990;
public static final int SERVER_TCP_PORT_3 = 9991;
public static final UUID SERIAL_PORT_SERVICE_CLASS_UUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
public static final String OUI_LEGO = "00:16:53";
2013-11-05 18:22:25 -04:30
public static final String MULTICAST_ADDRESS = "230.0.0.1";
public static final String SERVICE_DISCOVERY_MESSAGE = "NxtAR server here!";
2013-12-16 16:01:22 -04:30
// Activity results.
public static final int RESULT_CAMERA_FAILURE = Activity.RESULT_FIRST_USER + 1;
2014-01-15 14:49:58 -04:30
public static final boolean DEBUG = true;
2013-11-05 11:44:26 -04:30
}