Back to project page GroveColourSensorAndroidApp.
The source code is released under:
Copyright (c) 2014, Rohit Grover All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: *...
If you think the Android project GroveColourSensorAndroidApp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.example.coloursensorapp; /*w ww .ja va 2 s. co m*/ import java.util.UUID; public class BleDefinedUUIDs { public static class Service { final static public UUID HEART_RATE = UUID.fromString("0000180d-0000-1000-8000-00805f9b34fb"); final static public UUID COLOR_SENSOR = UUID.fromString("0000181d-0000-1000-8000-00805f9b34fb"); }; public static class Characteristic { final static public UUID HEART_RATE_MEASUREMENT = UUID.fromString("00002a37-0000-1000-8000-00805f9b34fb"); final static public UUID MANUFACTURER_STRING = UUID.fromString("00002a29-0000-1000-8000-00805f9b34fb"); final static public UUID MODEL_NUMBER_STRING = UUID.fromString("00002a24-0000-1000-8000-00805f9b34fb"); final static public UUID FIRMWARE_REVISION_STRING = UUID.fromString("00002a26-0000-1000-8000-00805f9b34fb"); final static public UUID APPEARANCE = UUID.fromString("00002a01-0000-1000-8000-00805f9b34fb"); final static public UUID BODY_SENSOR_LOCATION = UUID.fromString("00002a38-0000-1000-8000-00805f9b34fb"); final static public UUID BATTERY_LEVEL = UUID.fromString("00002a19-0000-1000-8000-00805f9b34fb"); final static public UUID COLOR_SENSOR_RED = UUID.fromString("00003000-0000-1000-8000-00805f9b34fb"); final static public UUID COLOR_SENSOR_GREEN = UUID.fromString("00003001-0000-1000-8000-00805f9b34fb"); final static public UUID COLOR_SENSOR_BLUE = UUID.fromString("00003002-0000-1000-8000-00805f9b34fb"); final static public UUID COLOR_SENSOR_AMBIENCE = UUID.fromString("00003003-0000-1000-8000-00805f9b34fb"); } public static class Descriptor { final static public UUID CHAR_CLIENT_CONFIG = UUID.fromString("00002902-0000-1000-8000-00805f9b34fb"); } }