|
@@ -0,0 +1,1327 @@
|
|
|
|
|
+{
|
|
|
|
|
+ "imports": [
|
|
|
|
|
+ "android.app.PendingIntent",
|
|
|
|
|
+ "android.bluetooth.BluetoothDevice",
|
|
|
|
|
+ "android.bluetooth.BluetoothGattService",
|
|
|
|
|
+ "android.bluetooth.le.AdvertiseSettings",
|
|
|
|
|
+ "android.bluetooth.le.AdvertiseData",
|
|
|
|
|
+ "android.bluetooth.le.AdvertisingSetParameters",
|
|
|
|
|
+ "android.bluetooth.le.PeriodicAdvertisingParameters",
|
|
|
|
|
+ "android.bluetooth.le.ScanFilter",
|
|
|
|
|
+ "android.bluetooth.le.ScanResult",
|
|
|
|
|
+ "android.bluetooth.le.ScanSettings",
|
|
|
|
|
+ "android.bluetooth.le.ResultStorageDescriptor",
|
|
|
|
|
+ "android.os.ParcelUuid",
|
|
|
|
|
+ "android.os.WorkSource",
|
|
|
|
|
+ "android.bluetooth.IBluetoothGattCallback",
|
|
|
|
|
+ "android.bluetooth.IBluetoothGattServerCallback",
|
|
|
|
|
+ "android.bluetooth.le.IAdvertisingSetCallback",
|
|
|
|
|
+ "android.bluetooth.le.IPeriodicAdvertisingCallback",
|
|
|
|
|
+ "android.bluetooth.le.IScannerCallback"
|
|
|
|
|
+ ],
|
|
|
|
|
+ "name": "IBluetoothGatt",
|
|
|
|
|
+ "statements": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "getDevicesMatchingConnectionStates",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "states",
|
|
|
|
|
+ "type": "int[]",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "List<BluetoothDevice>"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "registerScanner",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callback",
|
|
|
|
|
+ "type": "IScannerCallback",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "workSource",
|
|
|
|
|
+ "type": "WorkSource",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "unregisterScanner",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "scannerId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "startScan",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "scannerId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "settings",
|
|
|
|
|
+ "type": "ScanSettings",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "filters",
|
|
|
|
|
+ "type": "List<ScanFilter>",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "scanStorages",
|
|
|
|
|
+ "type": "List",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callingPackage",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "startScanForIntent",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "intent",
|
|
|
|
|
+ "type": "PendingIntent",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "settings",
|
|
|
|
|
+ "type": "ScanSettings",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "filters",
|
|
|
|
|
+ "type": "List<ScanFilter>",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callingPackage",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "stopScanForIntent",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "intent",
|
|
|
|
|
+ "type": "PendingIntent",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callingPackage",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "stopScan",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "scannerId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "flushPendingBatchResults",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "scannerId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "startAdvertisingSet",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "parameters",
|
|
|
|
|
+ "type": "AdvertisingSetParameters",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiseData",
|
|
|
|
|
+ "type": "AdvertiseData",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "scanResponse",
|
|
|
|
|
+ "type": "AdvertiseData",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "periodicParameters",
|
|
|
|
|
+ "type": "PeriodicAdvertisingParameters",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "periodicData",
|
|
|
|
|
+ "type": "AdvertiseData",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "duration",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "maxExtAdvEvents",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callback",
|
|
|
|
|
+ "type": "IAdvertisingSetCallback",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "stopAdvertisingSet",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callback",
|
|
|
|
|
+ "type": "IAdvertisingSetCallback",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "getOwnAddress",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiserId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "enableAdvertisingSet",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiserId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "enable",
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "duration",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "maxExtAdvEvents",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "setAdvertisingData",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiserId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "data",
|
|
|
|
|
+ "type": "AdvertiseData",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "setScanResponseData",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiserId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "data",
|
|
|
|
|
+ "type": "AdvertiseData",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "setAdvertisingParameters",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiserId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "parameters",
|
|
|
|
|
+ "type": "AdvertisingSetParameters",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "setPeriodicAdvertisingParameters",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiserId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "parameters",
|
|
|
|
|
+ "type": "PeriodicAdvertisingParameters",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "setPeriodicAdvertisingData",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiserId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "data",
|
|
|
|
|
+ "type": "AdvertiseData",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "setPeriodicAdvertisingEnable",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "advertiserId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "enable",
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "registerSync",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "scanResult",
|
|
|
|
|
+ "type": "ScanResult",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "skip",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "timeout",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callback",
|
|
|
|
|
+ "type": "IPeriodicAdvertisingCallback",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "unregisterSync",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callback",
|
|
|
|
|
+ "type": "IPeriodicAdvertisingCallback",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "registerClient",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "appId",
|
|
|
|
|
+ "type": "ParcelUuid",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callback",
|
|
|
|
|
+ "type": "IBluetoothGattCallback",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "unregisterClient",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "clientConnect",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "isDirect",
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "transport",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "opportunistic",
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "phy",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "clientDisconnect",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "clientSetPreferredPhy",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "txPhy",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "rxPhy",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "phyOptions",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "clientReadPhy",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "refreshDevice",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "discoverServices",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "discoverServiceByUuid",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "uuid",
|
|
|
|
|
+ "type": "ParcelUuid",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "readCharacteristic",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "handle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "authReq",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "readUsingCharacteristicUuid",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "uuid",
|
|
|
|
|
+ "type": "ParcelUuid",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "startHandle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "endHandle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "authReq",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "writeCharacteristic",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "handle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "writeType",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "authReq",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "value",
|
|
|
|
|
+ "type": "byte[]",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "readDescriptor",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "handle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "authReq",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "writeDescriptor",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "handle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "authReq",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "value",
|
|
|
|
|
+ "type": "byte[]",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "registerForNotification",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "handle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "enable",
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "beginReliableWrite",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "endReliableWrite",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "execute",
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "readRemoteRssi",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "configureMTU",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "mtu",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "connectionParameterUpdate",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "connectionPriority",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "leConnectionUpdate",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "minInterval",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "maxInterval",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "slaveLatency",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "supervisionTimeout",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "minConnectionEventLen",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "maxConnectionEventLen",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "registerServer",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "appId",
|
|
|
|
|
+ "type": "ParcelUuid",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "callback",
|
|
|
|
|
+ "type": "IBluetoothGattServerCallback",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "unregisterServer",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "serverIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "serverConnect",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "serverIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "isDirect",
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "transport",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "serverDisconnect",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "serverIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "serverSetPreferredPhy",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "txPhy",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "rxPhy",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "phyOptions",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "serverReadPhy",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "clientIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "addService",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "serverIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "service",
|
|
|
|
|
+ "type": "BluetoothGattService",
|
|
|
|
|
+ "tid": -1
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "removeService",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "serverIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "handle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "clearServices",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "serverIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "sendResponse",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "serverIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "requestId",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "status",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "offset",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "value",
|
|
|
|
|
+ "type": "byte[]",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "sendNotification",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "params": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "serverIf",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "address",
|
|
|
|
|
+ "type": "String",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "handle",
|
|
|
|
|
+ "type": "int",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "confirm",
|
|
|
|
|
+ "type": "boolean",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "tag": "in",
|
|
|
|
|
+ "id": "value",
|
|
|
|
|
+ "type": "byte[]",
|
|
|
|
|
+ "tid": 0
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "disconnectAll",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "unregAll",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "return": "void"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "id": "numHwTrackFiltersAvailable",
|
|
|
|
|
+ "type": "method",
|
|
|
|
|
+ "return": "int"
|
|
|
|
|
+ }
|
|
|
|
|
+ ],
|
|
|
|
|
+ "type": "interface"
|
|
|
|
|
+}
|