Lines Matching refs:instanceId

199      *  gattServerIndex, bluetoothDeviceIndex, instanceId, confirm)} instead.
254 @RpcParameter(name = "instanceId") Integer instanceId,
275 if (mGattChar.getInstanceId() == instanceId) {
276 Log.i("Found Characteristic to get value. instanceId: "
277 + Integer.toString(instanceId)
483 * @return Integer instanceId
486 @Rpc(description = "Get instanceId of the input characteristic")
583 * instanceId, value)} instead.
608 @RpcParameter(name = "instanceId") Integer instanceId,
612 if (mGattChar.getInstanceId() == instanceId) {
616 throw new Exception("Cannot find instance ID:" + instanceId);
657 * @param instanceId of the Characteristic of the Descriptor to get the value of
660 @Rpc(description = "Returns the read value of a matching instanceId")
662 @RpcParameter(name = "instanceId") Integer instanceId)
665 if (mGattChar.getInstanceId() == instanceId) {
666 Log.i("Found Characteristic to get value. instanceId: "
667 + Integer.toString(instanceId)
673 if (mGattDesc.getInstanceId() == instanceId) {
674 Log.i("Found Descriptor to get value. instanceId: "
675 + Integer.toString(instanceId)
681 throw new Exception("Cannot find instance ID:" + instanceId);
687 * @param instanceId of the Characteristic of the Descriptor to get the value of
693 @RpcParameter(name = "instanceId") Integer instanceId,
697 if (mGattChar.getInstanceId() == instanceId) {
698 Log.i("Found Characteristic to get value. instanceId: "
699 + Integer.toString(instanceId)
705 if (mGattDesc.getInstanceId() == instanceId) {
706 Log.i("Found Descriptor to set value. instanceId: "
707 + Integer.toString(instanceId)
713 throw new Exception("Cannot find instance ID:" + instanceId);
720 * @param instanceId instanceId
726 @RpcParameter(name = "instanceId") Integer instanceId) throws Exception {
733 setInstanceIdMethod.invoke(mGattServiceList.get(serviceIndex), instanceId);
844 * @param instanceId the instanceId to set
849 @RpcParameter(name = "instanceId") Integer instanceId)
852 mCharacteristicList.get(index).setInstanceId(instanceId);
862 * @param instanceId the instanceId to set
867 @RpcParameter(name = "instanceId") Integer instanceId)
875 mDescriptorList.get(index), instanceId);
946 mResults.putInt("instanceId", service.getInstanceId());
957 mResults.putInt("instanceId", characteristic.getInstanceId());
977 mResults.putInt("instanceId", characteristic.getInstanceId());
994 mResults.putInt("instanceId", descriptor.getInstanceId());
1013 mResults.putInt("instanceId", descriptor.getInstanceId());