Home | History | Annotate | Download | only in bluetooth

Lines Matching refs:characteristic

361      * Reads the requested characteristic from the associated remote device.
366 * @param characteristicUuid the characteristic uuid to read
370 @Rpc(description = "Reads the requested characteristic from the associated remote device.")
392 throw new Exception("Invalid characteristic uuid: " + characteristicUuid);
402 * @param characteristicUuid - the characteristic uuid in which the descriptor is
429 throw new Exception("Invalid characteristic uuid: " + characteristicUuid);
471 throw new Exception("Invalid characteristic uuid: " + characteristicUuid);
486 * @param characteristicUuid - the characteristic uuid in which the descriptor is
514 throw new Exception("Invalid characteristic uuid: " + characteristicUuid);
525 * Write the value of a given characteristic to the associated remote device
528 * @param serviceIndex the service where the characteristic lives
529 * @param characteristicUuid the characteristic uuid to write to
533 @Rpc(description = "Write the value of a given characteristic to the associated remote device")
554 throw new Exception("Invalid characteristic uuid: " + characteristicUuid);
560 * Write the value to a discovered characteristic.
564 * @param characteristicUuid - the characteristic uuid in which the descriptor is
565 * @param value - the value to set the characteristic to
566 * @return true, if the value was set to the characteristic
569 @Rpc(description = "Write the value of a given characteristic to the associated remote device")
590 throw new Exception("Invalid characteristic uuid: " + characteristicUuid);
596 * Set write type to a discovered characteristic.
600 * @param characteristicUuid - the characteristic uuid in which the descriptor is
601 * @param writeType - the write type for characteristic
602 * @return true, if the value was set to the characteristic
605 @Rpc(description = "Set write type of a given characteristic to the associated remote device")
627 throw new Exception("Invalid characteristic uuid: " + characteristicUuid);
697 * Sets the characteristic notification of a bluetooth gatt
700 * @param characteristicIndex the characteristic index
701 * @param enable Enable or disable notifications/indications for a given characteristic
705 @Rpc(description = "Sets the characteristic notification of a bluetooth gatt")
728 throw new Exception ("Invalid characteristic uuid: " + characteristicUuid);
791 * Get discovered characteristic uuids from the pheripheral device.
794 * @return the list of characteristic uuids
914 BluetoothGattCharacteristic characteristic,
918 mResults.putString("CharacteristicUuid", characteristic.getUuid().toString());
919 mResults.putByteArray("CharacteristicValue", characteristic.getValue());
927 BluetoothGattCharacteristic characteristic, int status) {
930 mResults.putString("CharacteristicUuid", characteristic.getUuid().toString());
931 mResults.putByteArray("CharacteristicValue", characteristic.getValue());
939 BluetoothGattCharacteristic characteristic) {
942 mResults.putString("CharacteristicUuid", characteristic.getUuid().toString());
943 mResults.putByteArray("CharacteristicValue", characteristic.getValue());