public class CaLeClientInterface {
- private static String SERVICE_UUID = "713d0000-503e-4c75-ba94-3148f18d941e";
+ private static String SERVICE_UUID = "ADE3D529-C784-4F63-A987-EB69F70EE816";
private CaLeClientInterface(Context context) {
List<UUID> uuids = getUuids(scanRecord);
for (UUID uuid : uuids) {
Log.d("CA", "UUID : " + uuid.toString());
- if(uuid.toString().contains(SERVICE_UUID)) {
+ if(uuid.toString().contains(SERVICE_UUID.toLowerCase())) {
Log.d("CA", "we found that has the Device");
caLeScanCallback(device, rssi, scanRecord);
}
public class CaLeClientInterface {
- private static String SERVICE_UUID = "713d0000-503e-4c75-ba94-3148f18d941e";
+ private static String SERVICE_UUID = "ADE3D529-C784-4F63-A987-EB69F70EE816";
private static String TAG = "Sample_Service : CaLeClientInterface";
private CaLeClientInterface(Context context) {
List<UUID> uuids = getUuids(scanRecord);
for (UUID uuid : uuids) {
Log.d(TAG, "UUID : " + uuid.toString());
- if(uuid.toString().contains(SERVICE_UUID)) {
+ if(uuid.toString().contains(SERVICE_UUID.toLowerCase())) {
Log.d(TAG, "we found that has the Device");
caLeScanCallback(device, rssi, scanRecord);
}
#endif
/* Service UUID */
-static const char OIC_GATT_SERVICE_UUID[] = "713d0000-503e-4c75-ba94-3148f18d941e";
-static const char OIC_GATT_CHARACTERISTIC_RESPONSE_UUID[] = "713d0002-503e-4c75-ba94-3148f18d941e";
-static const char OIC_GATT_CHARACTERISTIC_REQUEST_UUID[] = "713d0003-503e-4c75-ba94-3148f18d941e";
+static const char OIC_GATT_SERVICE_UUID[] = "ADE3D529-C784-4F63-A987-EB69F70EE816";
+static const char OIC_GATT_CHARACTERISTIC_REQUEST_UUID[] = "AD7B334F-4637-4B86-90B6-9D787F03D218";
+static const char OIC_GATT_CHARACTERISTIC_RESPONSE_UUID[] = "E9241982-4580-42C4-8831-95048216B256";
static const char OIC_GATT_CHARACTERISTIC_CONFIG_UUID[] = "00002902-0000-1000-8000-00805f9b34fb";
static const uint32_t GATT_SUCCESS = 0;