Lines Matching defs:characteristic
106 * @param writeTime - how long (sec) to write GATT characteristic
143 * and then to write characteristic
220 BluetoothGattCharacteristic characteristic, int status) {
226 BluetoothGattCharacteristic characteristic, int status) {
236 BluetoothGattCharacteristic characteristic) {
266 // First time to write a characteristic to GATT server
272 * Function to be called to write a new GATT characteristic
275 * @param value - value to be set inside GATT characteristic
285 BluetoothGattCharacteristic characteristic = service.getCharacteristic(cUuid);
287 if (characteristic == null) {
298 characteristic.setValue(byteValue);
299 characteristic.setWriteType(BluetoothGattCharacteristic.WRITE_TYPE_DEFAULT);
300 gatt.writeCharacteristic(characteristic);