From a8c5ee240645c2ad165fe06bc7f3a05b87f1a699 Mon Sep 17 00:00:00 2001 From: "mila@ringwald.ch" Date: Thu, 4 Dec 2014 13:57:11 +0000 Subject: [PATCH] create service search pattern from uuid16 fix --- java/src/com/bluekitchen/btstack/Util.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/src/com/bluekitchen/btstack/Util.java b/java/src/com/bluekitchen/btstack/Util.java index 6bfab66d5..5481a26d1 100644 --- a/java/src/com/bluekitchen/btstack/Util.java +++ b/java/src/com/bluekitchen/btstack/Util.java @@ -145,6 +145,6 @@ public class Util { } public static byte[] serviceSearchPatternForUUID16(int uuid){ - return new byte[] {(byte)0x35, (byte)0x03, (byte)0x19, 0, 0,(byte) (uuid >> 8), (byte) (uuid & 0xff)}; + return new byte[] {(byte)0x35, (byte)0x03, (byte)0x19, (byte) (uuid >> 8), (byte) (uuid & 0xff)}; } }