From 1dbd8c9c6595c07f7d0c6eaffca5d8d9a6236bb1 Mon Sep 17 00:00:00 2001 From: h2zero Date: Thu, 13 Jun 2024 13:56:06 -0600 Subject: [PATCH] Remove broken links from docs. --- .../Refactored_original_examples/BLE_notify/BLE_notify.ino | 1 - .../BLE_server_multiconnect/BLE_server_multiconnect.ino | 1 - src/NimBLE2904.cpp | 4 ---- src/NimBLE2904.h | 3 --- src/NimBLEAdvertising.cpp | 5 ----- src/NimBLEExtAdvertising.cpp | 3 --- 6 files changed, 17 deletions(-) diff --git a/examples/Refactored_original_examples/BLE_notify/BLE_notify.ino b/examples/Refactored_original_examples/BLE_notify/BLE_notify.ino index 876b7d11..5ff203b6 100644 --- a/examples/Refactored_original_examples/BLE_notify/BLE_notify.ino +++ b/examples/Refactored_original_examples/BLE_notify/BLE_notify.ino @@ -104,7 +104,6 @@ void setup() { NIMBLE_PROPERTY::INDICATE ); - // https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.client_characteristic_configuration.xml // Create a BLE Descriptor /*************************************************** NOTE: DO NOT create a 2902 descriptor. diff --git a/examples/Refactored_original_examples/BLE_server_multiconnect/BLE_server_multiconnect.ino b/examples/Refactored_original_examples/BLE_server_multiconnect/BLE_server_multiconnect.ino index 44daf00e..5a6ad01e 100644 --- a/examples/Refactored_original_examples/BLE_server_multiconnect/BLE_server_multiconnect.ino +++ b/examples/Refactored_original_examples/BLE_server_multiconnect/BLE_server_multiconnect.ino @@ -107,7 +107,6 @@ void setup() { NIMBLE_PROPERTY::INDICATE ); - // https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.client_characteristic_configuration.xml // Create a BLE Descriptor /*************************************************** NOTE: DO NOT create a 2902 descriptor diff --git a/src/NimBLE2904.cpp b/src/NimBLE2904.cpp index b518d9b0..486fa5ef 100644 --- a/src/NimBLE2904.cpp +++ b/src/NimBLE2904.cpp @@ -12,10 +12,6 @@ * Author: kolban */ -/* - * See also: - * https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.characteristic_presentation_format.xml - */ #include "nimconfig.h" #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) diff --git a/src/NimBLE2904.h b/src/NimBLE2904.h index 29dde51e..52ae2d3d 100644 --- a/src/NimBLE2904.h +++ b/src/NimBLE2904.h @@ -33,9 +33,6 @@ struct BLE2904_Data { * @brief Descriptor for Characteristic Presentation Format. * * This is a convenience descriptor for the Characteristic Presentation Format which has a UUID of 0x2904. - * - * See also: - * https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.characteristic_presentation_format.xml */ class NimBLE2904: public NimBLEDescriptor { public: diff --git a/src/NimBLEAdvertising.cpp b/src/NimBLEAdvertising.cpp index 3d752a62..57ae5e6f 100644 --- a/src/NimBLEAdvertising.cpp +++ b/src/NimBLEAdvertising.cpp @@ -112,8 +112,6 @@ void NimBLEAdvertising::removeServiceUUID(const NimBLEUUID &serviceUUID) { /** * @brief Set the device appearance in the advertising data. - * The codes for distinct appearances can be found here:\n - * https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml. * @param [in] appearance The appearance of the device in the advertising data. */ void NimBLEAdvertising::setAppearance(uint16_t appearance) { @@ -800,9 +798,6 @@ void NimBLEAdvertisementData::addData(char * data, size_t length) { /** * @brief Set the appearance. * @param [in] appearance The appearance code value. - * - * See also: - * https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml */ void NimBLEAdvertisementData::setAppearance(uint16_t appearance) { char cdata[2]; diff --git a/src/NimBLEExtAdvertising.cpp b/src/NimBLEExtAdvertising.cpp index b979c9fd..81dad0d7 100644 --- a/src/NimBLEExtAdvertising.cpp +++ b/src/NimBLEExtAdvertising.cpp @@ -623,9 +623,6 @@ void NimBLEExtAdvertisement::addData(const uint8_t * data, size_t length) { /** * @brief Set the appearance. * @param [in] appearance The appearance code value. - * - * See also: - * https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml */ void NimBLEExtAdvertisement::setAppearance(uint16_t appearance) { char cdata[2];