Release 1.2.0

This commit is contained in:
h2zero
2021-02-08 11:46:11 -07:00
parent 1210772332
commit 7bec9c240a
8 changed files with 88 additions and 57 deletions
+2 -2
View File
@@ -142,7 +142,7 @@ void NimBLEAdvertising::setName(const std::string &name) {
/**
* @brief Set the advertised manufacturer data.
* @param [in] name The data to advertise.
* @param [in] data The data to advertise.
*/
void NimBLEAdvertising::setManufacturerData(const std::string &data) {
m_mfgData.assign(data.begin(), data.end());
@@ -154,7 +154,7 @@ void NimBLEAdvertising::setManufacturerData(const std::string &data) {
/**
* @brief Set the advertised URI.
* @param [in] name The URI to advertise.
* @param [in] uri The URI to advertise.
*/
void NimBLEAdvertising::setURI(const std::string &uri) {
m_uri.assign(uri.begin(), uri.end());
+1 -1
View File
@@ -126,7 +126,7 @@ NimBLEDescriptor* NimBLECharacteristic::getDescriptorByUUID(const NimBLEUUID &uu
/**
* @brief Return the BLE Descriptor for the given handle.
* @param [in] uuid The handle of the descriptor.
* @param [in] handle The handle of the descriptor.
* @return A pointer to the descriptor object or nullptr if not found.
*/
NimBLEDescriptor *NimBLECharacteristic::getDescriptorByHandle(uint16_t handle) {
+1 -1
View File
@@ -403,7 +403,7 @@ void NimBLEDevice::stopAdvertising() {
/**
* @brief Set the duplicate filter mode for filtering scanned devices.
* @brief Set the duplicate filter cache size for filtering scanned devices.
* @param [in] cacheSize The number of advertisements filtered before the cache is reset.\n
* Range is 10-1000, a larger value will reduce how often the same devices are reported.
* @details Must only be called before calling NimBLEDevice::init.