2 * Copyright (c) 2010-2023 Contributors to the openHAB project
4 * See the NOTICE file(s) distributed with this work for additional
7 * This program and the accompanying materials are made available under the
8 * terms of the Eclipse Public License 2.0 which is available at
9 * http://www.eclipse.org/legal/epl-2.0
11 * SPDX-License-Identifier: EPL-2.0
13 package org.openhab.binding.bluetooth.bluegiga;
15 import java.util.UUID;
17 import org.openhab.binding.bluetooth.BluetoothCharacteristic;
20 * The {@link BlueGigaBluetoothCharacteristic} class extends BluetoothCharacteristic
21 * to provide write access to certain BluetoothCharacteristic fields that BlueGiga
22 * may not be initially aware of during characteristic construction but must be discovered
25 * @author Connor Petty - Initial contribution
28 public class BlueGigaBluetoothCharacteristic extends BluetoothCharacteristic {
30 private boolean notifying;
32 public BlueGigaBluetoothCharacteristic(int handle) {
36 public void setProperties(int properties) {
37 this.properties = properties;
40 public void setHandle(int handle) {
44 public void setUUID(UUID uuid) {
48 public boolean isNotifying() {
52 public void setNotifying(boolean enable) {
53 this.notifying = enable;