OSDN Git Service

GATT: Fix parameters order for gattClientGetIncludedServiceNative
authorSzymon Janc <szymon.janc@tieto.com>
Mon, 30 Jun 2014 15:51:55 +0000 (17:51 +0200)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Wed, 15 Jul 2015 07:13:34 +0000 (15:13 +0800)
inclSrvcInstId and inclSrvcType were in reverse order.

Change-Id: I28c1f464344af2893c1a63f72cae8d49eb7bb990

src/com/android/bluetooth/gatt/GattService.java

index 71000a5..7d0b9fb 100644 (file)
@@ -775,7 +775,7 @@ public class GattService extends ProfileService {
             // Find additional included services
             gattClientGetIncludedServiceNative(connId,
                 srvcType, srvcInstId, srvcUuidLsb, srvcUuidMsb,
-                inclSrvcType, inclSrvcInstId, inclSrvcUuidLsb, inclSrvcUuidMsb);
+                inclSrvcInstId, inclSrvcType, inclSrvcUuidLsb, inclSrvcUuidMsb);
         } else {
             // Discover descriptors now
             continueSearch(connId, 0);