mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2025-08-01 11:14:26 +02:00
Remove broken links from docs.
This commit is contained in:
@@ -138,7 +138,6 @@ void app_main(void) {
|
|||||||
NIMBLE_PROPERTY::INDICATE
|
NIMBLE_PROPERTY::INDICATE
|
||||||
);
|
);
|
||||||
|
|
||||||
// https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.client_characteristic_configuration.xml
|
|
||||||
// Create a BLE Descriptor
|
// Create a BLE Descriptor
|
||||||
/***************************************************
|
/***************************************************
|
||||||
NOTE: DO NOT create a 2902 descriptor.
|
NOTE: DO NOT create a 2902 descriptor.
|
||||||
|
@@ -12,10 +12,6 @@
|
|||||||
* Author: kolban
|
* Author: kolban
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* See also:
|
|
||||||
* https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.characteristic_presentation_format.xml
|
|
||||||
*/
|
|
||||||
#include "nimconfig.h"
|
#include "nimconfig.h"
|
||||||
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
|
#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
|
||||||
|
|
||||||
|
@@ -33,9 +33,6 @@ struct BLE2904_Data {
|
|||||||
* @brief Descriptor for Characteristic Presentation Format.
|
* @brief Descriptor for Characteristic Presentation Format.
|
||||||
*
|
*
|
||||||
* This is a convenience descriptor for the Characteristic Presentation Format which has a UUID of 0x2904.
|
* 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 {
|
class NimBLE2904: public NimBLEDescriptor {
|
||||||
public:
|
public:
|
||||||
|
@@ -112,8 +112,6 @@ void NimBLEAdvertising::removeServiceUUID(const NimBLEUUID &serviceUUID) {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Set the device appearance in the advertising data.
|
* @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.
|
* @param [in] appearance The appearance of the device in the advertising data.
|
||||||
*/
|
*/
|
||||||
void NimBLEAdvertising::setAppearance(uint16_t appearance) {
|
void NimBLEAdvertising::setAppearance(uint16_t appearance) {
|
||||||
@@ -800,9 +798,6 @@ void NimBLEAdvertisementData::addData(char * data, size_t length) {
|
|||||||
/**
|
/**
|
||||||
* @brief Set the appearance.
|
* @brief Set the appearance.
|
||||||
* @param [in] appearance The appearance code value.
|
* @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) {
|
void NimBLEAdvertisementData::setAppearance(uint16_t appearance) {
|
||||||
char cdata[2];
|
char cdata[2];
|
||||||
|
@@ -623,9 +623,6 @@ void NimBLEExtAdvertisement::addData(const uint8_t * data, size_t length) {
|
|||||||
/**
|
/**
|
||||||
* @brief Set the appearance.
|
* @brief Set the appearance.
|
||||||
* @param [in] appearance The appearance code value.
|
* @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) {
|
void NimBLEExtAdvertisement::setAppearance(uint16_t appearance) {
|
||||||
char cdata[2];
|
char cdata[2];
|
||||||
|
Reference in New Issue
Block a user