From 70c2d83b3bf061a60a1dffeb6babfb01aaf86d12 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. --- examples/basic/BLE_notify/main/main.cpp | 1 - src/NimBLE2904.cpp | 4 ---- src/NimBLE2904.h | 3 --- src/NimBLEAdvertising.cpp | 5 ----- src/NimBLEExtAdvertising.cpp | 3 --- 5 files changed, 16 deletions(-) diff --git a/examples/basic/BLE_notify/main/main.cpp b/examples/basic/BLE_notify/main/main.cpp index d2d80bb..b17f49a 100644 --- a/examples/basic/BLE_notify/main/main.cpp +++ b/examples/basic/BLE_notify/main/main.cpp @@ -138,7 +138,6 @@ void app_main(void) { 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 b518d9b..486fa5e 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 29dde51..52ae2d3 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 3d752a6..57ae5e6 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 b979c9f..81dad0d 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];