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.eclipse.jdt.annotation.NonNullByDefault;
18 import org.openhab.binding.bluetooth.BluetoothCharacteristic;
21 * The {@link BlueGigaBluetoothCharacteristic} class extends BluetoothCharacteristic
22 * to provide write access to certain BluetoothCharacteristic fields that BlueGiga
23 * may not be initially aware of during characteristic construction but must be discovered
26 * @author Connor Petty - Initial contribution
30 public class BlueGigaBluetoothCharacteristic extends BluetoothCharacteristic {
32 private boolean notifying;
34 public BlueGigaBluetoothCharacteristic(int handle) {
39 public void setProperties(int properties) {
40 this.properties = properties;
43 public void setHandle(int handle) {
47 public void setUUID(UUID uuid) {
51 public boolean isNotifying() {
55 public void setNotifying(boolean enable) {
56 this.notifying = enable;