diff --git a/_h_i_d_keyboard_types_8h_source.html b/_h_i_d_keyboard_types_8h_source.html index eaf7b31..3ecd6e9 100644 --- a/_h_i_d_keyboard_types_8h_source.html +++ b/_h_i_d_keyboard_types_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/_h_i_d_types_8h_source.html b/_h_i_d_types_8h_source.html index 628b3c4..6051fe2 100644 --- a/_h_i_d_types_8h_source.html +++ b/_h_i_d_types_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/_nim_b_l_e2904_8h_source.html b/_nim_b_l_e2904_8h_source.html index 6c516a4..e1b2581 100644 --- a/_nim_b_l_e2904_8h_source.html +++ b/_nim_b_l_e2904_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e2904_8h_source.html',''); in
19#define NIMBLE_CPP_2904_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
23
24# include "NimBLEDescriptor.h"
25
@@ -178,12 +178,12 @@ $(document).ready(function(){initNavTree('_nim_b_l_e2904_8h_source.html',''); in
82#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
83#endif // NIMBLE_CPP_2904_H_
Descriptor for Characteristic Presentation Format.
Definition NimBLE2904.h:39
-
void setDescription(uint16_t description)
Set the description.
Definition NimBLE2904.cpp:32
-
void setNamespace(uint8_t namespace_value)
Set the namespace.
Definition NimBLE2904.cpp:59
-
void setExponent(int8_t exponent)
Set the exponent.
Definition NimBLE2904.cpp:41
-
void setFormat(uint8_t format)
Set the format.
Definition NimBLE2904.cpp:50
-
void setUnit(uint16_t unit)
Set the units for this value.
Definition NimBLE2904.cpp:69
-
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
void setDescription(uint16_t description)
Set the description.
Definition NimBLE2904.cpp:30
+
void setNamespace(uint8_t namespace_value)
Set the namespace.
Definition NimBLE2904.cpp:57
+
void setExponent(int8_t exponent)
Set the exponent.
Definition NimBLE2904.cpp:39
+
void setFormat(uint8_t format)
Set the format.
Definition NimBLE2904.cpp:48
+
void setUnit(uint16_t unit)
Set the units for this value.
Definition NimBLE2904.cpp:67
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:41
A model of a BLE descriptor.
Definition NimBLEDescriptor.h:33
diff --git a/_nim_b_l_e_address_8h_source.html b/_nim_b_l_e_address_8h_source.html index eae02a4..4a4221d 100644 --- a/_nim_b_l_e_address_8h_source.html +++ b/_nim_b_l_e_address_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -116,66 +116,67 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_address_8h_source.html','')
17
18#ifndef NIMBLE_CPP_ADDRESS_H_
19#define NIMBLE_CPP_ADDRESS_H_
-
20#include "nimconfig.h"
-
21#if defined(CONFIG_BT_ENABLED)
-
22
-
23# if defined(CONFIG_NIMBLE_CPP_IDF)
-
24# include "nimble/ble.h"
-
25# else
-
26# include "nimble/nimble/include/nimble/ble.h"
-
27# endif
-
28
-
29/**** FIX COMPILATION ****/
-
30# undef min
-
31# undef max
-
32/**************************/
-
33
-
34# include <string>
-
35
-
-
41class NimBLEAddress : private ble_addr_t {
-
42 public:
-
46 NimBLEAddress() = default;
-
47 NimBLEAddress(const ble_addr_t address);
-
48 NimBLEAddress(const uint8_t address[BLE_DEV_ADDR_LEN], uint8_t type);
-
49 NimBLEAddress(const std::string& stringAddress, uint8_t type);
-
50 NimBLEAddress(const uint64_t& address, uint8_t type);
-
51
-
52 bool isRpa() const;
-
53 bool isNrpa() const;
-
54 bool isStatic() const;
-
55 bool isPublic() const;
-
56 bool isNull() const;
-
57 bool equals(const NimBLEAddress& otherAddress) const;
-
58 const ble_addr_t* getBase() const;
-
59 std::string toString() const;
-
60 uint8_t getType() const;
-
61 const uint8_t* getVal() const;
- -
63 bool operator==(const NimBLEAddress& rhs) const;
-
64 bool operator!=(const NimBLEAddress& rhs) const;
-
65 operator std::string() const;
-
66 operator uint64_t() const;
-
67};
+
20
+
21#include "nimconfig.h"
+
22#if CONFIG_BT_ENABLED
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "nimble/ble.h"
+
26# else
+
27# include "nimble/nimble/include/nimble/ble.h"
+
28# endif
+
29
+
30/**** FIX COMPILATION ****/
+
31# undef min
+
32# undef max
+
33/**************************/
+
34
+
35# include <string>
+
36
+
+
42class NimBLEAddress : private ble_addr_t {
+
43 public:
+
47 NimBLEAddress() = default;
+
48 NimBLEAddress(const ble_addr_t address);
+
49 NimBLEAddress(const uint8_t address[BLE_DEV_ADDR_LEN], uint8_t type);
+
50 NimBLEAddress(const std::string& stringAddress, uint8_t type);
+
51 NimBLEAddress(const uint64_t& address, uint8_t type);
+
52
+
53 bool isRpa() const;
+
54 bool isNrpa() const;
+
55 bool isStatic() const;
+
56 bool isPublic() const;
+
57 bool isNull() const;
+
58 bool equals(const NimBLEAddress& otherAddress) const;
+
59 const ble_addr_t* getBase() const;
+
60 std::string toString() const;
+
61 uint8_t getType() const;
+
62 const uint8_t* getVal() const;
+ +
64 bool operator==(const NimBLEAddress& rhs) const;
+
65 bool operator!=(const NimBLEAddress& rhs) const;
+
66 operator std::string() const;
+
67 operator uint64_t() const;
+
68};
-
68
-
69#endif /* CONFIG_BT_ENABLED */
-
70#endif /* NIMBLE_CPP_ADDRESS_H_ */
-
A BLE device address.
Definition NimBLEAddress.h:41
-
const NimBLEAddress & reverseByteOrder()
Reverse the byte order of the address.
Definition NimBLEAddress.cpp:195
-
uint8_t getType() const
Get the address type.
Definition NimBLEAddress.cpp:130
-
const uint8_t * getVal() const
Get the address value.
Definition NimBLEAddress.cpp:138
-
const ble_addr_t * getBase() const
Get the NimBLE base struct of the address.
Definition NimBLEAddress.cpp:122
-
bool isStatic() const
Determine if this address is a Static Address.
Definition NimBLEAddress.cpp:162
-
bool isPublic() const
Determine if this address is a Public Address.
Definition NimBLEAddress.cpp:170
-
bool equals(const NimBLEAddress &otherAddress) const
Determine if this address equals another.
Definition NimBLEAddress.cpp:114
-
bool operator==(const NimBLEAddress &rhs) const
Convenience operator to check if this address is equal to another.
Definition NimBLEAddress.cpp:203
-
bool isRpa() const
Determine if this address is a Resolvable Private Address.
Definition NimBLEAddress.cpp:146
-
bool isNrpa() const
Determine if this address is a Non-Resolvable Private Address.
Definition NimBLEAddress.cpp:154
-
bool isNull() const
Determine if this address is a NULL Address.
Definition NimBLEAddress.cpp:178
-
std::string toString() const
Convert a BLE address to a string.
Definition NimBLEAddress.cpp:187
+
69
+
70#endif // CONFIG_BT_ENABLED
+
71#endif // NIMBLE_CPP_ADDRESS_H_
+
A BLE device address.
Definition NimBLEAddress.h:42
+
const NimBLEAddress & reverseByteOrder()
Reverse the byte order of the address.
Definition NimBLEAddress.cpp:194
+
uint8_t getType() const
Get the address type.
Definition NimBLEAddress.cpp:129
+
const uint8_t * getVal() const
Get the address value.
Definition NimBLEAddress.cpp:137
+
const ble_addr_t * getBase() const
Get the NimBLE base struct of the address.
Definition NimBLEAddress.cpp:121
+
bool isStatic() const
Determine if this address is a Static Address.
Definition NimBLEAddress.cpp:161
+
bool isPublic() const
Determine if this address is a Public Address.
Definition NimBLEAddress.cpp:169
+
bool equals(const NimBLEAddress &otherAddress) const
Determine if this address equals another.
Definition NimBLEAddress.cpp:113
+
bool operator==(const NimBLEAddress &rhs) const
Convenience operator to check if this address is equal to another.
Definition NimBLEAddress.cpp:202
+
bool isRpa() const
Determine if this address is a Resolvable Private Address.
Definition NimBLEAddress.cpp:145
+
bool isNrpa() const
Determine if this address is a Non-Resolvable Private Address.
Definition NimBLEAddress.cpp:153
+
bool isNull() const
Determine if this address is a NULL Address.
Definition NimBLEAddress.cpp:177
+
std::string toString() const
Convert a BLE address to a string.
Definition NimBLEAddress.cpp:186
NimBLEAddress()=default
Create a blank address, i.e. 00:00:00:00:00:00, type 0.
-
bool operator!=(const NimBLEAddress &rhs) const
Convenience operator to check if this address is not equal to another.
Definition NimBLEAddress.cpp:214
+
bool operator!=(const NimBLEAddress &rhs) const
Convenience operator to check if this address is not equal to another.
Definition NimBLEAddress.cpp:213
diff --git a/_nim_b_l_e_advertised_device_8h_source.html b/_nim_b_l_e_advertised_device_8h_source.html index 2136971..5dba721 100644 --- a/_nim_b_l_e_advertised_device_8h_source.html +++ b/_nim_b_l_e_advertised_device_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertised_device_8h_source
19#define NIMBLE_CPP_ADVERTISED_DEVICE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_OBSERVER
23
24# include "NimBLEAddress.h"
25# include "NimBLEScan.h"
@@ -251,58 +251,58 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertised_device_8h_source
176
177#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_OBSERVER */
178#endif /* NIMBLE_CPP_ADVERTISED_DEVICE_H_ */
-
A BLE device address.
Definition NimBLEAddress.h:41
+
A BLE device address.
Definition NimBLEAddress.h:42
A representation of a BLE advertised device found by a scan.
Definition NimBLEAdvertisedDevice.h:45
-
uint8_t getManufacturerDataCount() const
Get the count of manufacturer data sets.
Definition NimBLEAdvertisedDevice.cpp:200
-
const std::vector< uint8_t > & getPayload() const
Get the payload advertised by the device.
Definition NimBLEAdvertisedDevice.cpp:797
-
uint8_t getTargetAddressCount() const
Get the number of target addresses.
Definition NimBLEAdvertisedDevice.cpp:258
-
bool haveServiceUUID() const
Does this advertisement have a service UUID value?
Definition NimBLEAdvertisedDevice.cpp:572
-
NimBLEScan * getScan() const
Get the scan object that created this advertised device.
Definition NimBLEAdvertisedDevice.cpp:250
+
uint8_t getManufacturerDataCount() const
Get the count of manufacturer data sets.
Definition NimBLEAdvertisedDevice.cpp:199
+
const std::vector< uint8_t > & getPayload() const
Get the payload advertised by the device.
Definition NimBLEAdvertisedDevice.cpp:796
+
uint8_t getTargetAddressCount() const
Get the number of target addresses.
Definition NimBLEAdvertisedDevice.cpp:257
+
bool haveServiceUUID() const
Does this advertisement have a service UUID value?
Definition NimBLEAdvertisedDevice.cpp:571
+
NimBLEScan * getScan() const
Get the scan object that created this advertised device.
Definition NimBLEAdvertisedDevice.cpp:249
T getServiceData(uint8_t index=0, bool skipSizeCheck=false) const
A template to convert the service data to <type>.
Definition NimBLEAdvertisedDevice.h:128
-
bool haveURI() const
Does this advertisement have a URI?
Definition NimBLEAdvertisedDevice.cpp:532
+
bool haveURI() const
Does this advertisement have a URI?
Definition NimBLEAdvertisedDevice.cpp:531
T getManufacturerData(bool skipSizeCheck=false) const
A template to convert the service data to <type>.
Definition NimBLEAdvertisedDevice.h:111
-
uint8_t getAddressType() const
Get the advertised device address type.
Definition NimBLEAdvertisedDevice.cpp:746
-
uint8_t getSecondaryPhy() const
Get the primary PHY used by this advertisement.
Definition NimBLEAdvertisedDevice.cpp:610
-
int8_t getTXPower() const
Get the TX Power.
Definition NimBLEAdvertisedDevice.cpp:484
-
bool isLegacyAdvertisement() const
Check if this advertisement is a legacy or extended type.
Definition NimBLEAdvertisedDevice.cpp:775
-
NimBLEUUID getServiceDataUUID(uint8_t index=0) const
Get the UUID of the service data at the index.
Definition NimBLEAdvertisedDevice.cpp:344
-
std::string getURI() const
Get the URI from the advertisement.
Definition NimBLEAdvertisedDevice.cpp:208
-
bool haveConnParams() const
Does this advertisement have preferred connection parameters?
Definition NimBLEAdvertisedDevice.cpp:500
-
bool haveTargetAddress() const
Does the advertisement contain a target address?
Definition NimBLEAdvertisedDevice.cpp:548
-
bool isScannable() const
Check if this device is advertising as scannable.
Definition NimBLEAdvertisedDevice.cpp:767
-
int8_t getRSSI() const
Get the RSSI.
Definition NimBLEAdvertisedDevice.cpp:242
-
std::string getPayloadByType(uint16_t type, uint8_t index=0) const
Get the data from any type available in the advertisement.
Definition NimBLEAdvertisedDevice.cpp:218
-
uint16_t getAppearance() const
Get the appearance.
Definition NimBLEAdvertisedDevice.cpp:127
-
const std::vector< uint8_t >::const_iterator end() const
Get the end iterator for the payload.
Definition NimBLEAdvertisedDevice.cpp:813
-
uint16_t getPeriodicInterval() const
Get the periodic interval of the advertisement.
Definition NimBLEAdvertisedDevice.cpp:618
-
bool haveAppearance() const
Does this advertisement have an appearance value?
Definition NimBLEAdvertisedDevice.cpp:516
-
bool haveType(uint16_t type) const
Does this advertisement have a adv type type?
Definition NimBLEAdvertisedDevice.cpp:540
-
uint8_t getPrimaryPhy() const
Get the primary PHY used by this advertisement.
Definition NimBLEAdvertisedDevice.cpp:599
-
std::string getServiceData(uint8_t index=0) const
Get the service data.
Definition NimBLEAdvertisedDevice.cpp:298
-
uint8_t getServiceDataCount() const
Get the count of advertised service data UUIDS.
Definition NimBLEAdvertisedDevice.cpp:394
-
bool haveAdvInterval() const
Does this advertisement have have the advertising interval?
Definition NimBLEAdvertisedDevice.cpp:508
-
const std::vector< uint8_t >::const_iterator begin() const
Get the begin iterator for the payload.
Definition NimBLEAdvertisedDevice.cpp:805
-
std::string getManufacturerData(uint8_t index=0) const
Get the manufacturer data.
Definition NimBLEAdvertisedDevice.cpp:192
-
uint8_t getAdvType() const
Get the advertisement type.
Definition NimBLEAdvertisedDevice.cpp:96
-
bool haveServiceData() const
Does this advertisement have a service data value?
Definition NimBLEAdvertisedDevice.cpp:564
-
bool isConnectable() const
Check if this device is advertising as connectable.
Definition NimBLEAdvertisedDevice.cpp:754
-
const NimBLEAddress & getAddress() const
Get the address of the advertising device.
Definition NimBLEAdvertisedDevice.cpp:83
-
uint8_t getAdvFlags() const
Get the advertisement flags.
Definition NimBLEAdvertisedDevice.cpp:107
-
uint16_t getMinInterval() const
Get the preferred min connection interval.
Definition NimBLEAdvertisedDevice.cpp:159
-
std::string getName() const
Get the advertised name.
Definition NimBLEAdvertisedDevice.cpp:234
-
bool isAdvertisingService(const NimBLEUUID &uuid) const
Check advertised services for existence of the required UUID.
Definition NimBLEAdvertisedDevice.cpp:469
-
uint16_t getAdvInterval() const
Get the advertisement interval.
Definition NimBLEAdvertisedDevice.cpp:143
-
std::string toString() const
Create a string representation of this device.
Definition NimBLEAdvertisedDevice.cpp:690
-
bool haveManufacturerData() const
Does this advertisement have manufacturer data?
Definition NimBLEAdvertisedDevice.cpp:524
-
uint8_t getSetId() const
Get the set ID of the extended advertisement.
Definition NimBLEAdvertisedDevice.cpp:589
-
uint8_t getServiceUUIDCount() const
Get the number of services advertised.
Definition NimBLEAdvertisedDevice.cpp:453
+
uint8_t getAddressType() const
Get the advertised device address type.
Definition NimBLEAdvertisedDevice.cpp:745
+
uint8_t getSecondaryPhy() const
Get the primary PHY used by this advertisement.
Definition NimBLEAdvertisedDevice.cpp:609
+
int8_t getTXPower() const
Get the TX Power.
Definition NimBLEAdvertisedDevice.cpp:483
+
bool isLegacyAdvertisement() const
Check if this advertisement is a legacy or extended type.
Definition NimBLEAdvertisedDevice.cpp:774
+
NimBLEUUID getServiceDataUUID(uint8_t index=0) const
Get the UUID of the service data at the index.
Definition NimBLEAdvertisedDevice.cpp:343
+
std::string getURI() const
Get the URI from the advertisement.
Definition NimBLEAdvertisedDevice.cpp:207
+
bool haveConnParams() const
Does this advertisement have preferred connection parameters?
Definition NimBLEAdvertisedDevice.cpp:499
+
bool haveTargetAddress() const
Does the advertisement contain a target address?
Definition NimBLEAdvertisedDevice.cpp:547
+
bool isScannable() const
Check if this device is advertising as scannable.
Definition NimBLEAdvertisedDevice.cpp:766
+
int8_t getRSSI() const
Get the RSSI.
Definition NimBLEAdvertisedDevice.cpp:241
+
std::string getPayloadByType(uint16_t type, uint8_t index=0) const
Get the data from any type available in the advertisement.
Definition NimBLEAdvertisedDevice.cpp:217
+
uint16_t getAppearance() const
Get the appearance.
Definition NimBLEAdvertisedDevice.cpp:126
+
const std::vector< uint8_t >::const_iterator end() const
Get the end iterator for the payload.
Definition NimBLEAdvertisedDevice.cpp:812
+
uint16_t getPeriodicInterval() const
Get the periodic interval of the advertisement.
Definition NimBLEAdvertisedDevice.cpp:617
+
bool haveAppearance() const
Does this advertisement have an appearance value?
Definition NimBLEAdvertisedDevice.cpp:515
+
bool haveType(uint16_t type) const
Does this advertisement have a adv type type?
Definition NimBLEAdvertisedDevice.cpp:539
+
uint8_t getPrimaryPhy() const
Get the primary PHY used by this advertisement.
Definition NimBLEAdvertisedDevice.cpp:598
+
std::string getServiceData(uint8_t index=0) const
Get the service data.
Definition NimBLEAdvertisedDevice.cpp:297
+
uint8_t getServiceDataCount() const
Get the count of advertised service data UUIDS.
Definition NimBLEAdvertisedDevice.cpp:393
+
bool haveAdvInterval() const
Does this advertisement have have the advertising interval?
Definition NimBLEAdvertisedDevice.cpp:507
+
const std::vector< uint8_t >::const_iterator begin() const
Get the begin iterator for the payload.
Definition NimBLEAdvertisedDevice.cpp:804
+
std::string getManufacturerData(uint8_t index=0) const
Get the manufacturer data.
Definition NimBLEAdvertisedDevice.cpp:191
+
uint8_t getAdvType() const
Get the advertisement type.
Definition NimBLEAdvertisedDevice.cpp:95
+
bool haveServiceData() const
Does this advertisement have a service data value?
Definition NimBLEAdvertisedDevice.cpp:563
+
bool isConnectable() const
Check if this device is advertising as connectable.
Definition NimBLEAdvertisedDevice.cpp:753
+
const NimBLEAddress & getAddress() const
Get the address of the advertising device.
Definition NimBLEAdvertisedDevice.cpp:82
+
uint8_t getAdvFlags() const
Get the advertisement flags.
Definition NimBLEAdvertisedDevice.cpp:106
+
uint16_t getMinInterval() const
Get the preferred min connection interval.
Definition NimBLEAdvertisedDevice.cpp:158
+
std::string getName() const
Get the advertised name.
Definition NimBLEAdvertisedDevice.cpp:233
+
bool isAdvertisingService(const NimBLEUUID &uuid) const
Check advertised services for existence of the required UUID.
Definition NimBLEAdvertisedDevice.cpp:468
+
uint16_t getAdvInterval() const
Get the advertisement interval.
Definition NimBLEAdvertisedDevice.cpp:142
+
std::string toString() const
Create a string representation of this device.
Definition NimBLEAdvertisedDevice.cpp:689
+
bool haveManufacturerData() const
Does this advertisement have manufacturer data?
Definition NimBLEAdvertisedDevice.cpp:523
+
uint8_t getSetId() const
Get the set ID of the extended advertisement.
Definition NimBLEAdvertisedDevice.cpp:588
+
uint8_t getServiceUUIDCount() const
Get the number of services advertised.
Definition NimBLEAdvertisedDevice.cpp:452
T getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false) const
A template to convert the service data to <type>.
Definition NimBLEAdvertisedDevice.h:145
-
NimBLEUUID getServiceUUID(uint8_t index=0) const
Get the Service UUID.
Definition NimBLEAdvertisedDevice.cpp:407
-
uint16_t getMaxInterval() const
Get the preferred max connection interval.
Definition NimBLEAdvertisedDevice.cpp:175
-
bool haveName() const
Does this advertisement have a name value?
Definition NimBLEAdvertisedDevice.cpp:556
-
NimBLEAddress getTargetAddress(uint8_t index=0) const
Get the target address at the index.
Definition NimBLEAdvertisedDevice.cpp:270
-
uint8_t getAdvLength() const
Get the length of the advertisement data in the payload.
Definition NimBLEAdvertisedDevice.cpp:734
-
bool haveTXPower() const
Does this advertisement have a transmission power value?
Definition NimBLEAdvertisedDevice.cpp:580
+
NimBLEUUID getServiceUUID(uint8_t index=0) const
Get the Service UUID.
Definition NimBLEAdvertisedDevice.cpp:406
+
uint16_t getMaxInterval() const
Get the preferred max connection interval.
Definition NimBLEAdvertisedDevice.cpp:174
+
bool haveName() const
Does this advertisement have a name value?
Definition NimBLEAdvertisedDevice.cpp:555
+
NimBLEAddress getTargetAddress(uint8_t index=0) const
Get the target address at the index.
Definition NimBLEAdvertisedDevice.cpp:269
+
uint8_t getAdvLength() const
Get the length of the advertisement data in the payload.
Definition NimBLEAdvertisedDevice.cpp:733
+
bool haveTXPower() const
Does this advertisement have a transmission power value?
Definition NimBLEAdvertisedDevice.cpp:579
Perform and manage BLE scans.
Definition NimBLEScan.h:67
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_advertisement_data_8h_source.html b/_nim_b_l_e_advertisement_data_8h_source.html index 7edff9b..254f441 100644 --- a/_nim_b_l_e_advertisement_data_8h_source.html +++ b/_nim_b_l_e_advertisement_data_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,89 +118,88 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertisement_data_8h_sourc
19#define NIMBLE_CPP_ADVERTISEMENT_DATA_H_
20
21#include "nimconfig.h"
-
22#if (defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && !CONFIG_BT_NIMBLE_EXT_ADV) || \
-
23 defined(_DOXYGEN_)
-
24
-
25# include <cstdint>
-
26# include <string>
-
27# include <vector>
-
28
-
29class NimBLEUUID;
-
- -
34 // Only a subset of the possible BLE architected advertisement fields are currently exposed. Others will
-
35 // be exposed on demand/request or as time permits.
-
36 //
-
37 public:
-
38 bool addData(const uint8_t* data, size_t length);
-
39 bool addData(const std::vector<uint8_t>& data);
-
40 bool setAppearance(uint16_t appearance);
-
41 bool setFlags(uint8_t flag);
-
42 bool addTxPower();
-
43 bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval);
-
44 bool addServiceUUID(const NimBLEUUID& serviceUUID);
-
45 bool addServiceUUID(const char* serviceUUID);
-
46 bool removeServiceUUID(const NimBLEUUID& serviceUUID);
-
47 bool removeServiceUUID(const char* serviceUUID);
-
48 bool removeServices();
-
49 bool setManufacturerData(const uint8_t* data, size_t length);
-
50 bool setManufacturerData(const std::string& data);
-
51 bool setManufacturerData(const std::vector<uint8_t>& data);
-
52 bool setURI(const std::string& uri);
-
53 bool setName(const std::string& name, bool isComplete = true);
-
54 bool setShortName(const std::string& name);
-
55 bool setCompleteServices(const NimBLEUUID& uuid);
-
56 bool setCompleteServices16(const std::vector<NimBLEUUID>& uuids);
-
57 bool setCompleteServices32(const std::vector<NimBLEUUID>& uuids);
-
58 bool setPartialServices(const NimBLEUUID& uuid);
-
59 bool setPartialServices16(const std::vector<NimBLEUUID>& uuids);
-
60 bool setPartialServices32(const std::vector<NimBLEUUID>& uuids);
-
61 bool setServiceData(const NimBLEUUID& uuid, const uint8_t* data, size_t length);
-
62 bool setServiceData(const NimBLEUUID& uuid, const std::string& data);
-
63 bool setServiceData(const NimBLEUUID& uuid, const std::vector<uint8_t>& data);
-
64 bool removeData(uint8_t type);
-
65 void clearData();
-
66 int getDataLocation(uint8_t type) const;
-
67
-
68 std::string toString() const;
-
69 std::vector<uint8_t> getPayload() const;
-
70
-
71 private:
-
72 friend class NimBLEAdvertising;
-
73
-
74 bool setServices(bool complete, uint8_t size, const std::vector<NimBLEUUID>& v_uuid);
-
75 std::vector<uint8_t> m_payload{};
-
76}; // NimBLEAdvertisementData
+
22#if (CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV) || defined(_DOXYGEN_)
+
23
+
24# include <cstdint>
+
25# include <string>
+
26# include <vector>
+
27
+
28class NimBLEUUID;
+
+ +
33 // Only a subset of the possible BLE architected advertisement fields are currently exposed. Others will
+
34 // be exposed on demand/request or as time permits.
+
35 //
+
36 public:
+
37 bool addData(const uint8_t* data, size_t length);
+
38 bool addData(const std::vector<uint8_t>& data);
+
39 bool setAppearance(uint16_t appearance);
+
40 bool setFlags(uint8_t flag);
+
41 bool addTxPower();
+
42 bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval);
+
43 bool addServiceUUID(const NimBLEUUID& serviceUUID);
+
44 bool addServiceUUID(const char* serviceUUID);
+
45 bool removeServiceUUID(const NimBLEUUID& serviceUUID);
+
46 bool removeServiceUUID(const char* serviceUUID);
+
47 bool removeServices();
+
48 bool setManufacturerData(const uint8_t* data, size_t length);
+
49 bool setManufacturerData(const std::string& data);
+
50 bool setManufacturerData(const std::vector<uint8_t>& data);
+
51 bool setURI(const std::string& uri);
+
52 bool setName(const std::string& name, bool isComplete = true);
+
53 bool setShortName(const std::string& name);
+
54 bool setCompleteServices(const NimBLEUUID& uuid);
+
55 bool setCompleteServices16(const std::vector<NimBLEUUID>& uuids);
+
56 bool setCompleteServices32(const std::vector<NimBLEUUID>& uuids);
+
57 bool setPartialServices(const NimBLEUUID& uuid);
+
58 bool setPartialServices16(const std::vector<NimBLEUUID>& uuids);
+
59 bool setPartialServices32(const std::vector<NimBLEUUID>& uuids);
+
60 bool setServiceData(const NimBLEUUID& uuid, const uint8_t* data, size_t length);
+
61 bool setServiceData(const NimBLEUUID& uuid, const std::string& data);
+
62 bool setServiceData(const NimBLEUUID& uuid, const std::vector<uint8_t>& data);
+
63 bool removeData(uint8_t type);
+
64 void clearData();
+
65 int getDataLocation(uint8_t type) const;
+
66
+
67 std::string toString() const;
+
68 std::vector<uint8_t> getPayload() const;
+
69
+
70 private:
+
71 friend class NimBLEAdvertising;
+
72
+
73 bool setServices(bool complete, uint8_t size, const std::vector<NimBLEUUID>& v_uuid);
+
74 std::vector<uint8_t> m_payload{};
+
75}; // NimBLEAdvertisementData
-
77
-
78#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV
-
79#endif // NIMBLE_CPP_ADVERTISEMENT_DATA_H_
-
Advertisement data set by the programmer to be published by the BLE server.
Definition NimBLEAdvertisementData.h:33
-
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEAdvertisementData.cpp:462
-
bool setPartialServices(const NimBLEUUID &uuid)
Set a single service to advertise as a partial list of services.
Definition NimBLEAdvertisementData.cpp:384
-
bool setManufacturerData(const uint8_t *data, size_t length)
Set manufacturer specific data.
Definition NimBLEAdvertisementData.cpp:271
-
std::vector< uint8_t > getPayload() const
Retrieve the payload that is to be advertised.
Definition NimBLEAdvertisementData.cpp:559
-
bool setShortName(const std::string &name)
Set the short name.
Definition NimBLEAdvertisementData.cpp:348
-
bool addTxPower()
Adds Tx power level to the advertisement data.
Definition NimBLEAdvertisementData.cpp:108
-
int getDataLocation(uint8_t type) const
Get the location of the data in the payload.
Definition NimBLEAdvertisementData.cpp:526
-
bool setAppearance(uint16_t appearance)
Set the appearance.
Definition NimBLEAdvertisementData.cpp:65
-
bool addData(const uint8_t *data, size_t length)
Add data to the payload to be advertised.
Definition NimBLEAdvertisementData.cpp:41
-
std::string toString() const
Get the string representation of the advertisement data.
Definition NimBLEAdvertisementData.cpp:574
-
bool setPartialServices32(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEAdvertisementData.cpp:402
-
bool setURI(const std::string &uri)
Set the URI to advertise.
Definition NimBLEAdvertisementData.cpp:307
-
bool setCompleteServices16(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 16 bit services to advertise.
Definition NimBLEAdvertisementData.cpp:366
-
bool setPartialServices16(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEAdvertisementData.cpp:393
-
bool setCompleteServices(const NimBLEUUID &uuid)
Set a single service to advertise as a complete list of services.
Definition NimBLEAdvertisementData.cpp:357
-
void clearData()
Clear the advertisement data for reuse.
Definition NimBLEAdvertisementData.cpp:566
-
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEAdvertisementData.cpp:148
-
bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEAdvertisementData.cpp:127
-
bool removeData(uint8_t type)
Remove data from the advertisement data.
Definition NimBLEAdvertisementData.cpp:542
-
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEAdvertisementData.cpp:205
-
bool setName(const std::string &name, bool isComplete=true)
Set the complete name of this device.
Definition NimBLEAdvertisementData.cpp:329
-
bool setCompleteServices32(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 32 bit services to advertise.
Definition NimBLEAdvertisementData.cpp:375
-
bool setFlags(uint8_t flag)
Set the advertisement flags.
Definition NimBLEAdvertisementData.cpp:86
-
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEAdvertisementData.cpp:261
-
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:52
+
76
+
77#endif // (CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV) || defined(_DOXYGEN_)
+
78#endif // NIMBLE_CPP_ADVERTISEMENT_DATA_H_
+
Advertisement data set by the programmer to be published by the BLE server.
Definition NimBLEAdvertisementData.h:32
+
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEAdvertisementData.cpp:460
+
bool setPartialServices(const NimBLEUUID &uuid)
Set a single service to advertise as a partial list of services.
Definition NimBLEAdvertisementData.cpp:382
+
bool setManufacturerData(const uint8_t *data, size_t length)
Set manufacturer specific data.
Definition NimBLEAdvertisementData.cpp:269
+
std::vector< uint8_t > getPayload() const
Retrieve the payload that is to be advertised.
Definition NimBLEAdvertisementData.cpp:557
+
bool setShortName(const std::string &name)
Set the short name.
Definition NimBLEAdvertisementData.cpp:346
+
bool addTxPower()
Adds Tx power level to the advertisement data.
Definition NimBLEAdvertisementData.cpp:106
+
int getDataLocation(uint8_t type) const
Get the location of the data in the payload.
Definition NimBLEAdvertisementData.cpp:524
+
bool setAppearance(uint16_t appearance)
Set the appearance.
Definition NimBLEAdvertisementData.cpp:63
+
bool addData(const uint8_t *data, size_t length)
Add data to the payload to be advertised.
Definition NimBLEAdvertisementData.cpp:39
+
std::string toString() const
Get the string representation of the advertisement data.
Definition NimBLEAdvertisementData.cpp:572
+
bool setPartialServices32(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEAdvertisementData.cpp:400
+
bool setURI(const std::string &uri)
Set the URI to advertise.
Definition NimBLEAdvertisementData.cpp:305
+
bool setCompleteServices16(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 16 bit services to advertise.
Definition NimBLEAdvertisementData.cpp:364
+
bool setPartialServices16(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEAdvertisementData.cpp:391
+
bool setCompleteServices(const NimBLEUUID &uuid)
Set a single service to advertise as a complete list of services.
Definition NimBLEAdvertisementData.cpp:355
+
void clearData()
Clear the advertisement data for reuse.
Definition NimBLEAdvertisementData.cpp:564
+
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEAdvertisementData.cpp:146
+
bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEAdvertisementData.cpp:125
+
bool removeData(uint8_t type)
Remove data from the advertisement data.
Definition NimBLEAdvertisementData.cpp:540
+
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEAdvertisementData.cpp:203
+
bool setName(const std::string &name, bool isComplete=true)
Set the complete name of this device.
Definition NimBLEAdvertisementData.cpp:327
+
bool setCompleteServices32(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 32 bit services to advertise.
Definition NimBLEAdvertisementData.cpp:373
+
bool setFlags(uint8_t flag)
Set the advertisement flags.
Definition NimBLEAdvertisementData.cpp:84
+
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEAdvertisementData.cpp:259
+
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:51
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_advertising_8h_source.html b/_nim_b_l_e_advertising_8h_source.html index b9c1f9e..7f3d7bd 100644 --- a/_nim_b_l_e_advertising_8h_source.html +++ b/_nim_b_l_e_advertising_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,126 +118,125 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertising_8h_source.html'
19#define NIMBLE_CPP_ADVERTISING_H_
20
21#include "nimconfig.h"
-
22#if (defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && !CONFIG_BT_NIMBLE_EXT_ADV) || \
-
23 defined(_DOXYGEN_)
-
24
-
25# if defined(CONFIG_NIMBLE_CPP_IDF)
-
26# include "host/ble_gap.h"
-
27# else
-
28# include "nimble/nimble/host/include/host/ble_gap.h"
-
29# endif
-
30
-
31/**** FIX COMPILATION ****/
-
32# undef min
-
33# undef max
-
34/**************************/
-
35
-
36# include "NimBLEUUID.h"
-
37# include "NimBLEAddress.h"
-
38# include "NimBLEAdvertisementData.h"
-
39
-
40# include <functional>
-
41# include <string>
-
42# include <vector>
-
43
- -
45typedef std::function<void(NimBLEAdvertising*)> advCompleteCB_t;
-
46
-
- -
53 public:
- -
55 bool start(uint32_t duration = 0, const NimBLEAddress* dirAddr = nullptr);
-
56 void setAdvertisingCompleteCallback(advCompleteCB_t callback);
-
57 bool stop();
-
58 bool setConnectableMode(uint8_t mode);
-
59 bool setDiscoverableMode(uint8_t mode);
-
60 bool reset();
-
61 bool isAdvertising();
-
62 void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly);
-
63 void enableScanResponse(bool enable);
-
64 void setAdvertisingInterval(uint16_t interval);
-
65 void setMaxInterval(uint16_t maxInterval);
-
66 void setMinInterval(uint16_t minInterval);
-
67
-
68 bool setAdvertisementData(const NimBLEAdvertisementData& advertisementData);
-
69 bool setScanResponseData(const NimBLEAdvertisementData& advertisementData);
- - -
72 void clearData();
- -
74
-
75 bool addServiceUUID(const NimBLEUUID& serviceUUID);
-
76 bool addServiceUUID(const char* serviceUUID);
-
77 bool removeServiceUUID(const NimBLEUUID& serviceUUID);
-
78 bool removeServiceUUID(const char* serviceUUID);
-
79 bool removeServices();
-
80 bool setAppearance(uint16_t appearance);
-
81 bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval);
-
82 bool addTxPower();
-
83 bool setName(const std::string& name);
-
84 bool setManufacturerData(const uint8_t* data, size_t length);
-
85 bool setManufacturerData(const std::string& data);
-
86 bool setManufacturerData(const std::vector<uint8_t>& data);
-
87 bool setURI(const std::string& uri);
-
88 bool setServiceData(const NimBLEUUID& uuid, const uint8_t* data, size_t length);
-
89 bool setServiceData(const NimBLEUUID& uuid, const std::string& data);
-
90 bool setServiceData(const NimBLEUUID& uuid, const std::vector<uint8_t>& data);
-
91
-
92 private:
-
93 friend class NimBLEDevice;
-
94 friend class NimBLEServer;
-
95
-
96 void onHostSync();
-
97 static int handleGapEvent(ble_gap_event* event, void* arg);
-
98
- -
100 NimBLEAdvertisementData m_scanData;
-
101 ble_gap_adv_params m_advParams;
-
102 advCompleteCB_t m_advCompCb;
-
103 uint8_t m_slaveItvl[4];
-
104 uint32_t m_duration;
-
105 bool m_scanResp : 1;
-
106 bool m_advDataSet : 1;
-
107};
+
22#if (CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV) || defined(_DOXYGEN_)
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "host/ble_gap.h"
+
26# else
+
27# include "nimble/nimble/host/include/host/ble_gap.h"
+
28# endif
+
29
+
30/**** FIX COMPILATION ****/
+
31# undef min
+
32# undef max
+
33/**************************/
+
34
+
35# include "NimBLEUUID.h"
+
36# include "NimBLEAddress.h"
+
37# include "NimBLEAdvertisementData.h"
+
38
+
39# include <functional>
+
40# include <string>
+
41# include <vector>
+
42
+ +
44typedef std::function<void(NimBLEAdvertising*)> advCompleteCB_t;
+
45
+
+ +
52 public:
+ +
54 bool start(uint32_t duration = 0, const NimBLEAddress* dirAddr = nullptr);
+
55 void setAdvertisingCompleteCallback(advCompleteCB_t callback);
+
56 bool stop();
+
57 bool setConnectableMode(uint8_t mode);
+
58 bool setDiscoverableMode(uint8_t mode);
+
59 bool reset();
+
60 bool isAdvertising();
+
61 void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly);
+
62 void enableScanResponse(bool enable);
+
63 void setAdvertisingInterval(uint16_t interval);
+
64 void setMaxInterval(uint16_t maxInterval);
+
65 void setMinInterval(uint16_t minInterval);
+
66
+
67 bool setAdvertisementData(const NimBLEAdvertisementData& advertisementData);
+
68 bool setScanResponseData(const NimBLEAdvertisementData& advertisementData);
+ + +
71 void clearData();
+ +
73
+
74 bool addServiceUUID(const NimBLEUUID& serviceUUID);
+
75 bool addServiceUUID(const char* serviceUUID);
+
76 bool removeServiceUUID(const NimBLEUUID& serviceUUID);
+
77 bool removeServiceUUID(const char* serviceUUID);
+
78 bool removeServices();
+
79 bool setAppearance(uint16_t appearance);
+
80 bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval);
+
81 bool addTxPower();
+
82 bool setName(const std::string& name);
+
83 bool setManufacturerData(const uint8_t* data, size_t length);
+
84 bool setManufacturerData(const std::string& data);
+
85 bool setManufacturerData(const std::vector<uint8_t>& data);
+
86 bool setURI(const std::string& uri);
+
87 bool setServiceData(const NimBLEUUID& uuid, const uint8_t* data, size_t length);
+
88 bool setServiceData(const NimBLEUUID& uuid, const std::string& data);
+
89 bool setServiceData(const NimBLEUUID& uuid, const std::vector<uint8_t>& data);
+
90
+
91 private:
+
92 friend class NimBLEDevice;
+
93 friend class NimBLEServer;
+
94
+
95 void onHostSync();
+
96 static int handleGapEvent(ble_gap_event* event, void* arg);
+
97
+ +
99 NimBLEAdvertisementData m_scanData;
+
100 ble_gap_adv_params m_advParams;
+
101 advCompleteCB_t m_advCompCb;
+
102 uint8_t m_slaveItvl[4];
+
103 uint32_t m_duration;
+
104 bool m_scanResp : 1;
+
105 bool m_advDataSet : 1;
+
106};
-
108
-
109#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV */
-
110#endif /* NIMBLE_CPP_ADVERTISING_H_ */
-
A BLE device address.
Definition NimBLEAddress.h:41
-
Advertisement data set by the programmer to be published by the BLE server.
Definition NimBLEAdvertisementData.h:33
-
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:52
-
bool addTxPower()
Add the transmission power level to the advertisement packet.
Definition NimBLEAdvertising.cpp:501
-
const NimBLEAdvertisementData & getAdvertisementData()
Get the current advertisement data.
Definition NimBLEAdvertising.cpp:348
-
bool setAppearance(uint16_t appearance)
Set the device appearance in the advertising data.
Definition NimBLEAdvertising.cpp:468
-
void setAdvertisingInterval(uint16_t interval)
Set the advertising interval.
Definition NimBLEAdvertising.cpp:123
-
bool stop()
Stop advertising.
Definition NimBLEAdvertising.cpp:249
-
void setAdvertisingCompleteCallback(advCompleteCB_t callback)
Set the callback to be invoked when advertising stops.
Definition NimBLEAdvertising.cpp:263
-
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEAdvertising.cpp:410
-
void setMinInterval(uint16_t minInterval)
Set the minimum advertising interval.
Definition NimBLEAdvertising.cpp:132
-
void enableScanResponse(bool enable)
Enable scan response data.
Definition NimBLEAdvertising.cpp:149
-
bool setDiscoverableMode(uint8_t mode)
Set the discoverable mode to use.
Definition NimBLEAdvertising.cpp:99
-
bool setName(const std::string &name)
Set the advertised name of the device.
Definition NimBLEAdvertising.cpp:519
-
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEAdvertising.cpp:592
-
bool start(uint32_t duration=0, const NimBLEAddress *dirAddr=nullptr)
Start advertising.
Definition NimBLEAdvertising.cpp:184
-
bool reset()
Stops the current advertising and resets the advertising data to the default values.
Definition NimBLEAdvertising.cpp:60
-
bool setScanResponseData(const NimBLEAdvertisementData &advertisementData)
Set the data that is to be provided in a scan response.
Definition NimBLEAdvertising.cpp:359
-
void setMaxInterval(uint16_t maxInterval)
Set the maximum advertising interval.
Definition NimBLEAdvertising.cpp:140
-
bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEAdvertising.cpp:486
-
bool setURI(const std::string &uri)
Set the advertised URI.
Definition NimBLEAdvertising.cpp:573
-
void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
Set the filtering for the scan filter.
Definition NimBLEAdvertising.cpp:159
-
bool setAdvertisementData(const NimBLEAdvertisementData &advertisementData)
Set the advertisement data that is to be broadcast in a regular advertisement.
Definition NimBLEAdvertising.cpp:331
-
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEAdvertising.cpp:435
-
NimBLEAdvertising()
Construct a default advertising object.
Definition NimBLEAdvertising.cpp:38
-
bool isAdvertising()
Check if currently advertising.
Definition NimBLEAdvertising.cpp:271
-
bool setManufacturerData(const uint8_t *data, size_t length)
Set the advertised manufacturer data.
Definition NimBLEAdvertising.cpp:539
-
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEAdvertising.cpp:455
-
bool refreshAdvertisingData()
Refresh advertsing data dynamically without stop/start cycle. For instance allows refreshing manufact...
Definition NimBLEAdvertising.cpp:396
-
const NimBLEAdvertisementData & getScanData()
Get the current scan response data.
Definition NimBLEAdvertising.cpp:375
-
bool setConnectableMode(uint8_t mode)
Set the type of connectable mode to advertise.
Definition NimBLEAdvertising.cpp:77
-
void clearData()
Clear the advertisement and scan response data and set the flags to BLE_HS_ADV_F_DISC_GEN.
Definition NimBLEAdvertising.cpp:382
+
107
+
108#endif // (CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV) || defined(_DOXYGEN_)
+
109#endif // NIMBLE_CPP_ADVERTISING_H_
+
A BLE device address.
Definition NimBLEAddress.h:42
+
Advertisement data set by the programmer to be published by the BLE server.
Definition NimBLEAdvertisementData.h:32
+
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:51
+
bool addTxPower()
Add the transmission power level to the advertisement packet.
Definition NimBLEAdvertising.cpp:499
+
const NimBLEAdvertisementData & getAdvertisementData()
Get the current advertisement data.
Definition NimBLEAdvertising.cpp:346
+
bool setAppearance(uint16_t appearance)
Set the device appearance in the advertising data.
Definition NimBLEAdvertising.cpp:466
+
void setAdvertisingInterval(uint16_t interval)
Set the advertising interval.
Definition NimBLEAdvertising.cpp:121
+
bool stop()
Stop advertising.
Definition NimBLEAdvertising.cpp:247
+
void setAdvertisingCompleteCallback(advCompleteCB_t callback)
Set the callback to be invoked when advertising stops.
Definition NimBLEAdvertising.cpp:261
+
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEAdvertising.cpp:408
+
void setMinInterval(uint16_t minInterval)
Set the minimum advertising interval.
Definition NimBLEAdvertising.cpp:130
+
void enableScanResponse(bool enable)
Enable scan response data.
Definition NimBLEAdvertising.cpp:147
+
bool setDiscoverableMode(uint8_t mode)
Set the discoverable mode to use.
Definition NimBLEAdvertising.cpp:97
+
bool setName(const std::string &name)
Set the advertised name of the device.
Definition NimBLEAdvertising.cpp:517
+
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEAdvertising.cpp:590
+
bool start(uint32_t duration=0, const NimBLEAddress *dirAddr=nullptr)
Start advertising.
Definition NimBLEAdvertising.cpp:182
+
bool reset()
Stops the current advertising and resets the advertising data to the default values.
Definition NimBLEAdvertising.cpp:58
+
bool setScanResponseData(const NimBLEAdvertisementData &advertisementData)
Set the data that is to be provided in a scan response.
Definition NimBLEAdvertising.cpp:357
+
void setMaxInterval(uint16_t maxInterval)
Set the maximum advertising interval.
Definition NimBLEAdvertising.cpp:138
+
bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEAdvertising.cpp:484
+
bool setURI(const std::string &uri)
Set the advertised URI.
Definition NimBLEAdvertising.cpp:571
+
void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
Set the filtering for the scan filter.
Definition NimBLEAdvertising.cpp:157
+
bool setAdvertisementData(const NimBLEAdvertisementData &advertisementData)
Set the advertisement data that is to be broadcast in a regular advertisement.
Definition NimBLEAdvertising.cpp:329
+
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEAdvertising.cpp:433
+
NimBLEAdvertising()
Construct a default advertising object.
Definition NimBLEAdvertising.cpp:36
+
bool isAdvertising()
Check if currently advertising.
Definition NimBLEAdvertising.cpp:269
+
bool setManufacturerData(const uint8_t *data, size_t length)
Set the advertised manufacturer data.
Definition NimBLEAdvertising.cpp:537
+
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEAdvertising.cpp:453
+
bool refreshAdvertisingData()
Refresh advertsing data dynamically without stop/start cycle. For instance allows refreshing manufact...
Definition NimBLEAdvertising.cpp:394
+
const NimBLEAdvertisementData & getScanData()
Get the current scan response data.
Definition NimBLEAdvertising.cpp:373
+
bool setConnectableMode(uint8_t mode)
Set the type of connectable mode to advertise.
Definition NimBLEAdvertising.cpp:75
+
void clearData()
Clear the advertisement and scan response data and set the flags to BLE_HS_ADV_F_DISC_GEN.
Definition NimBLEAdvertising.cpp:380
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:122
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE server.
Definition NimBLEServer.h:62
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_att_value_8h_source.html b/_nim_b_l_e_att_value_8h_source.html index a94fa8a..0d53537 100644 --- a/_nim_b_l_e_att_value_8h_source.html +++ b/_nim_b_l_e_att_value_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -116,286 +116,287 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_att_value_8h_source.html','
17
18#ifndef NIMBLE_CPP_ATTVALUE_H
19#define NIMBLE_CPP_ATTVALUE_H
-
20#include "nimconfig.h"
-
21#if defined(CONFIG_BT_ENABLED)
-
22
-
23# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
-
24# include <Arduino.h>
-
25# endif
-
26
-
27# include <string>
-
28# include <vector>
-
29# include <ctime>
-
30# include <cstring>
-
31# include <cstdint>
-
32
-
33# ifndef CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
34# define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED 0
-
35# endif
-
36
-
37# ifndef BLE_ATT_ATTR_MAX_LEN
-
38# define BLE_ATT_ATTR_MAX_LEN 512
-
39# endif
-
40
-
41# if !defined(CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH)
-
42# define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH 20
-
43# elif CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH > BLE_ATT_ATTR_MAX_LEN
-
44# error CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH cannot be larger than 512 (BLE_ATT_ATTR_MAX_LEN)
-
45# elif CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH < 1
-
46# error CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH cannot be less than 1; Range = 1 : 512
-
47# endif
-
48
-
49/* Used to determine if the type passed to a template has a data() and size() method. */
-
50template <typename T, typename = void, typename = void>
-
51struct Has_data_size : std::false_type {};
-
52
-
53template <typename T>
-
54struct Has_data_size<T, decltype(void(std::declval<T&>().data())), decltype(void(std::declval<T&>().size()))>
-
55 : std::true_type {};
-
56
-
57/* Used to determine if the type passed to a template has a c_str() and length() method. */
-
58template <typename T, typename = void, typename = void>
-
59struct Has_c_str_length : std::false_type {};
-
60
-
61template <typename T>
-
62struct Has_c_str_length<T, decltype(void(std::declval<T&>().c_str())), decltype(void(std::declval<T&>().length()))>
-
63 : std::true_type {};
-
64
-
- -
72 uint8_t* m_attr_value{};
-
73 uint16_t m_attr_max_len{};
-
74 uint16_t m_attr_len{};
-
75 uint16_t m_capacity{};
-
76# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
77 time_t m_timestamp{};
-
78# endif
-
79 void deepCopy(const NimBLEAttValue& source);
-
80
-
81 public:
-
87 NimBLEAttValue(uint16_t init_len = CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
88
-
95 NimBLEAttValue(const uint8_t* value, uint16_t len, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
96
-
-
102 NimBLEAttValue(const char* value, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
103 : NimBLEAttValue((uint8_t*)value, (uint16_t)strlen(value), max_len) {}
+
20
+
21#include "nimconfig.h"
+
22#if CONFIG_BT_ENABLED
+
23
+
24# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
+
25# include <Arduino.h>
+
26# endif
+
27
+
28# include <string>
+
29# include <vector>
+
30# include <ctime>
+
31# include <cstring>
+
32# include <cstdint>
+
33
+
34# ifndef CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
35# define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED 0
+
36# endif
+
37
+
38# ifndef BLE_ATT_ATTR_MAX_LEN
+
39# define BLE_ATT_ATTR_MAX_LEN 512
+
40# endif
+
41
+
42# if !defined(CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH)
+
43# define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH 20
+
44# elif CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH > BLE_ATT_ATTR_MAX_LEN
+
45# error CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH cannot be larger than 512 (BLE_ATT_ATTR_MAX_LEN)
+
46# elif CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH < 1
+
47# error CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH cannot be less than 1; Range = 1 : 512
+
48# endif
+
49
+
50/* Used to determine if the type passed to a template has a data() and size() method. */
+
51template <typename T, typename = void, typename = void>
+
52struct Has_data_size : std::false_type {};
+
53
+
54template <typename T>
+
55struct Has_data_size<T, decltype(void(std::declval<T&>().data())), decltype(void(std::declval<T&>().size()))>
+
56 : std::true_type {};
+
57
+
58/* Used to determine if the type passed to a template has a c_str() and length() method. */
+
59template <typename T, typename = void, typename = void>
+
60struct Has_c_str_length : std::false_type {};
+
61
+
62template <typename T>
+
63struct Has_c_str_length<T, decltype(void(std::declval<T&>().c_str())), decltype(void(std::declval<T&>().length()))>
+
64 : std::true_type {};
+
65
+
+ +
73 uint8_t* m_attr_value{};
+
74 uint16_t m_attr_max_len{};
+
75 uint16_t m_attr_len{};
+
76 uint16_t m_capacity{};
+
77# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
78 time_t m_timestamp{};
+
79# endif
+
80 void deepCopy(const NimBLEAttValue& source);
+
81
+
82 public:
+
88 NimBLEAttValue(uint16_t init_len = CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
+
89
+
96 NimBLEAttValue(const uint8_t* value, uint16_t len, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
+
97
+
+
103 NimBLEAttValue(const char* value, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
104 : NimBLEAttValue((uint8_t*)value, (uint16_t)strlen(value), max_len) {}
-
104
-
-
110 NimBLEAttValue(std::initializer_list<uint8_t> list, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
111 : NimBLEAttValue(list.begin(), list.size(), max_len) {}
+
105
+
+
111 NimBLEAttValue(std::initializer_list<uint8_t> list, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
112 : NimBLEAttValue(list.begin(), list.size(), max_len) {}
-
112
-
-
118 NimBLEAttValue(const std::string str, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
119 : NimBLEAttValue(reinterpret_cast<const uint8_t*>(&str[0]), str.length(), max_len) {}
+
113
+
+
119 NimBLEAttValue(const std::string str, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
120 : NimBLEAttValue(reinterpret_cast<const uint8_t*>(&str[0]), str.length(), max_len) {}
-
120
-
-
126 NimBLEAttValue(const std::vector<uint8_t> vec, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
127 : NimBLEAttValue(&vec[0], vec.size(), max_len) {}
+
121
+
+
127 NimBLEAttValue(const std::vector<uint8_t> vec, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
128 : NimBLEAttValue(&vec[0], vec.size(), max_len) {}
-
128
-
129# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
-
135 NimBLEAttValue(const String str, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
136 : NimBLEAttValue(reinterpret_cast<const uint8_t*>(str.c_str()), str.length(), max_len) {}
-
137# endif
-
138
-
140 NimBLEAttValue(const NimBLEAttValue& source) { deepCopy(source); }
-
141
-
143 NimBLEAttValue(NimBLEAttValue&& source) { *this = std::move(source); }
-
144
- -
147
-
149 uint16_t max_size() const { return m_attr_max_len; }
-
150
-
152 uint16_t capacity() const { return m_capacity; }
-
153
-
155 uint16_t length() const { return m_attr_len; }
-
156
-
158 uint16_t size() const { return m_attr_len; }
-
159
-
161 const uint8_t* data() const { return m_attr_value; }
-
162
-
164 const char* c_str() const { return reinterpret_cast<const char*>(m_attr_value); }
-
165
-
167 const uint8_t* begin() const { return m_attr_value; }
-
168
-
170 const uint8_t* end() const { return m_attr_value + m_attr_len; }
-
171
-
172# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
174 time_t getTimeStamp() const { return m_timestamp; }
-
175
-
177 void setTimeStamp() { m_timestamp = time(nullptr); }
-
178
-
183 void setTimeStamp(time_t t) { m_timestamp = t; }
-
184# else
-
185 time_t getTimeStamp() const { return 0; }
-
186 void setTimeStamp() {}
-
187 void setTimeStamp(time_t t) {}
-
188# endif
-
189
-
196 bool setValue(const uint8_t* value, uint16_t len);
-
197
-
-
203 bool setValue(const char* s, uint16_t len = 0) {
-
204 if (len == 0) {
-
205 len = strlen(s);
-
206 }
-
207 return setValue(reinterpret_cast<const uint8_t*>(s), len);
-
208 }
+
129
+
130# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
+
136 NimBLEAttValue(const String str, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
137 : NimBLEAttValue(reinterpret_cast<const uint8_t*>(str.c_str()), str.length(), max_len) {}
+
138# endif
+
139
+
141 NimBLEAttValue(const NimBLEAttValue& source) { deepCopy(source); }
+
142
+
144 NimBLEAttValue(NimBLEAttValue&& source) { *this = std::move(source); }
+
145
+ +
148
+
150 uint16_t max_size() const { return m_attr_max_len; }
+
151
+
153 uint16_t capacity() const { return m_capacity; }
+
154
+
156 uint16_t length() const { return m_attr_len; }
+
157
+
159 uint16_t size() const { return m_attr_len; }
+
160
+
162 const uint8_t* data() const { return m_attr_value; }
+
163
+
165 const char* c_str() const { return reinterpret_cast<const char*>(m_attr_value); }
+
166
+
168 const uint8_t* begin() const { return m_attr_value; }
+
169
+
171 const uint8_t* end() const { return m_attr_value + m_attr_len; }
+
172
+
173# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
175 time_t getTimeStamp() const { return m_timestamp; }
+
176
+
178 void setTimeStamp() { m_timestamp = time(nullptr); }
+
179
+
184 void setTimeStamp(time_t t) { m_timestamp = t; }
+
185# else
+
186 time_t getTimeStamp() const { return 0; }
+
187 void setTimeStamp() {}
+
188 void setTimeStamp(time_t t) {}
+
189# endif
+
190
+
197 bool setValue(const uint8_t* value, uint16_t len);
+
198
+
+
204 bool setValue(const char* s, uint16_t len = 0) {
+
205 if (len == 0) {
+
206 len = strlen(s);
+
207 }
+
208 return setValue(reinterpret_cast<const uint8_t*>(s), len);
+
209 }
-
209
-
210 const NimBLEAttValue& getValue(time_t* timestamp = nullptr) const {
-
211 if (timestamp != nullptr) {
-
212# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
213 *timestamp = m_timestamp;
-
214# else
-
215 *timestamp = 0;
-
216# endif
-
217 }
-
218 return *this;
-
219 }
-
220
-
227 NimBLEAttValue& append(const uint8_t* value, uint16_t len);
-
228
-
229 /*********************** Template Functions ************************/
-
230
-
231# if __cplusplus < 201703L
-
238 template <typename T>
-
239# ifdef _DOXYGEN_
-
240 bool
-
241# else
-
242 typename std::enable_if<!std::is_pointer<T>::value && !Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
-
243# endif
-
-
244 setValue(const T& v) {
-
245 return setValue(reinterpret_cast<const uint8_t*>(&v), sizeof(T));
-
246 }
+
210
+
211 const NimBLEAttValue& getValue(time_t* timestamp = nullptr) const {
+
212 if (timestamp != nullptr) {
+
213# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
214 *timestamp = m_timestamp;
+
215# else
+
216 *timestamp = 0;
+
217# endif
+
218 }
+
219 return *this;
+
220 }
+
221
+
228 NimBLEAttValue& append(const uint8_t* value, uint16_t len);
+
229
+
230 /*********************** Template Functions ************************/
+
231
+
232# if __cplusplus < 201703L
+
239 template <typename T>
+
240# ifdef _DOXYGEN_
+
241 bool
+
242# else
+
243 typename std::enable_if<!std::is_pointer<T>::value && !Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
244# endif
+
+
245 setValue(const T& v) {
+
246 return setValue(reinterpret_cast<const uint8_t*>(&v), sizeof(T));
+
247 }
-
247
-
253 template <typename T>
-
254# ifdef _DOXYGEN_
-
255 bool
-
256# else
-
257 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
-
258# endif
-
-
259 setValue(const T& s) {
-
260 return setValue(reinterpret_cast<const uint8_t*>(s.c_str()), s.length());
-
261 }
+
248
+
254 template <typename T>
+
255# ifdef _DOXYGEN_
+
256 bool
+
257# else
+
258 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
259# endif
+
+
260 setValue(const T& s) {
+
261 return setValue(reinterpret_cast<const uint8_t*>(s.c_str()), s.length());
+
262 }
-
262
-
268 template <typename T>
-
269# ifdef _DOXYGEN_
-
270 bool
-
271# else
-
272 typename std::enable_if<Has_data_size<T>::value, bool>::type
-
273# endif
-
-
274 setValue(const T& v) {
-
275 return setValue(reinterpret_cast<const uint8_t*>(v.data()), v.size());
-
276 }
+
263
+
269 template <typename T>
+
270# ifdef _DOXYGEN_
+
271 bool
+
272# else
+
273 typename std::enable_if<Has_data_size<T>::value, bool>::type
+
274# endif
+
+
275 setValue(const T& v) {
+
276 return setValue(reinterpret_cast<const uint8_t*>(v.data()), v.size());
+
277 }
-
277
-
278# else
-
284 template <typename T>
-
285 typename std::enable_if<!std::is_pointer<T>::value, bool>::type setValue(const T& s) {
-
286 if constexpr (Has_data_size<T>::value) {
-
287 return setValue(reinterpret_cast<const uint8_t*>(s.data()), s.size());
-
288 } else if constexpr (Has_c_str_length<T>::value) {
-
289 return setValue(reinterpret_cast<const uint8_t*>(s.c_str()), s.length());
-
290 } else {
-
291 return setValue(reinterpret_cast<const uint8_t*>(&s), sizeof(s));
-
292 }
-
293 }
-
294# endif
-
295
-
306 template <typename T>
-
-
307 T getValue(time_t* timestamp = nullptr, bool skipSizeCheck = false) const {
-
308 if (timestamp != nullptr) {
-
309# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
310 *timestamp = m_timestamp;
-
311# else
-
312 *timestamp = 0;
-
313# endif
-
314 }
-
315
-
316 if (!skipSizeCheck && size() < sizeof(T)) {
-
317 return T();
-
318 }
-
319 return *(reinterpret_cast<const T*>(m_attr_value));
-
320 }
+
278
+
279# else
+
285 template <typename T>
+
286 typename std::enable_if<!std::is_pointer<T>::value, bool>::type setValue(const T& s) {
+
287 if constexpr (Has_data_size<T>::value) {
+
288 return setValue(reinterpret_cast<const uint8_t*>(s.data()), s.size());
+
289 } else if constexpr (Has_c_str_length<T>::value) {
+
290 return setValue(reinterpret_cast<const uint8_t*>(s.c_str()), s.length());
+
291 } else {
+
292 return setValue(reinterpret_cast<const uint8_t*>(&s), sizeof(s));
+
293 }
+
294 }
+
295# endif
+
296
+
307 template <typename T>
+
+
308 T getValue(time_t* timestamp = nullptr, bool skipSizeCheck = false) const {
+
309 if (timestamp != nullptr) {
+
310# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
311 *timestamp = m_timestamp;
+
312# else
+
313 *timestamp = 0;
+
314# endif
+
315 }
+
316
+
317 if (!skipSizeCheck && size() < sizeof(T)) {
+
318 return T();
+
319 }
+
320 return *(reinterpret_cast<const T*>(m_attr_value));
+
321 }
-
321
-
322 /*********************** Operators ************************/
-
323
-
325 uint8_t operator[](int pos) const;
-
326
-
328 operator std::vector<uint8_t>() const { return std::vector<uint8_t>(m_attr_value, m_attr_value + m_attr_len); }
-
329
-
331 operator std::string() const { return std::string(reinterpret_cast<char*>(m_attr_value), m_attr_len); }
-
332
-
334 operator const uint8_t*() const { return m_attr_value; }
-
335
-
337 NimBLEAttValue& operator+=(const NimBLEAttValue& source) { return append(source.data(), source.size()); }
-
338
-
-
340 NimBLEAttValue& operator=(const std::string& source) {
-
341 setValue(reinterpret_cast<const uint8_t*>(&source[0]), source.size());
-
342 return *this;
-
343 }
+
322
+
323 /*********************** Operators ************************/
+
324
+
326 uint8_t operator[](int pos) const;
+
327
+
329 operator std::vector<uint8_t>() const { return std::vector<uint8_t>(m_attr_value, m_attr_value + m_attr_len); }
+
330
+
332 operator std::string() const { return std::string(reinterpret_cast<char*>(m_attr_value), m_attr_len); }
+
333
+
335 operator const uint8_t*() const { return m_attr_value; }
+
336
+
338 NimBLEAttValue& operator+=(const NimBLEAttValue& source) { return append(source.data(), source.size()); }
+
339
+
+
341 NimBLEAttValue& operator=(const std::string& source) {
+
342 setValue(reinterpret_cast<const uint8_t*>(&source[0]), source.size());
+
343 return *this;
+
344 }
-
344
- -
347
- -
350
-
-
352 bool operator==(const NimBLEAttValue& source) const {
-
353 return (m_attr_len == source.size()) ? memcmp(m_attr_value, source.data(), m_attr_len) == 0 : false;
-
354 }
+
345
+ +
348
+ +
351
+
+
353 bool operator==(const NimBLEAttValue& source) const {
+
354 return (m_attr_len == source.size()) ? memcmp(m_attr_value, source.data(), m_attr_len) == 0 : false;
+
355 }
-
355
-
357 bool operator!=(const NimBLEAttValue& source) const { return !(*this == source); }
-
358
-
359# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
-
361 operator String() const { return String(reinterpret_cast<char*>(m_attr_value)); }
-
362# endif
-
363};
+
356
+
358 bool operator!=(const NimBLEAttValue& source) const { return !(*this == source); }
+
359
+
360# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
+
362 operator String() const { return String(reinterpret_cast<char*>(m_attr_value)); }
+
363# endif
+
364};
-
364
-
365#endif /*(CONFIG_BT_ENABLED) */
-
366#endif /* NIMBLE_CPP_ATTVALUE_H_ */
-
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:71
-
NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a std::vector<uint8_t>.
Definition NimBLEAttValue.h:126
-
~NimBLEAttValue()
Destructor.
Definition NimBLEAttValue.cpp:58
-
uint16_t length() const
Returns the current length of the value in bytes.
Definition NimBLEAttValue.h:155
-
NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a const char string.
Definition NimBLEAttValue.h:102
-
uint16_t capacity() const
Returns the currently allocated capacity in bytes.
Definition NimBLEAttValue.h:152
-
const char * c_str() const
Returns a pointer to the internal buffer of the value as a const char*.
Definition NimBLEAttValue.h:164
-
NimBLEAttValue(const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a std::string.
Definition NimBLEAttValue.h:118
-
bool setValue(const uint8_t *value, uint16_t len)
Set the value from a buffer.
Definition NimBLEAttValue.cpp:107
-
NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initializer list.
Definition NimBLEAttValue.h:110
-
NimBLEAttValue & operator+=(const NimBLEAttValue &source)
Operator; Append another NimBLEAttValue.
Definition NimBLEAttValue.h:337
-
NimBLEAttValue(const NimBLEAttValue &source)
Copy constructor.
Definition NimBLEAttValue.h:140
-
NimBLEAttValue(NimBLEAttValue &&source)
Move constructor.
Definition NimBLEAttValue.h:143
-
const uint8_t * data() const
Returns a pointer to the internal buffer of the value.
Definition NimBLEAttValue.h:161
-
uint8_t operator[](int pos) const
Subscript operator.
Definition NimBLEAttValue.cpp:154
-
const uint8_t * end() const
Iterator end.
Definition NimBLEAttValue.h:170
-
bool setValue(const T &v)
Template to set value to the value of <type>val.
Definition NimBLEAttValue.h:244
-
NimBLEAttValue & append(const uint8_t *value, uint16_t len)
Append data to the value.
Definition NimBLEAttValue.cpp:115
-
uint16_t size() const
Returns the current size of the value in bytes.
Definition NimBLEAttValue.h:158
-
bool setValue(const char *s, uint16_t len=0)
Set value to the value of const char*.
Definition NimBLEAttValue.h:203
-
T getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false) const
Template to return the value as a <type>.
Definition NimBLEAttValue.h:307
-
uint16_t max_size() const
Returns the max size in bytes.
Definition NimBLEAttValue.h:149
-
bool setValue(const T &s)
Template to set value to the value of <type>val.
Definition NimBLEAttValue.h:259
-
bool operator==(const NimBLEAttValue &source) const
Equality operator.
Definition NimBLEAttValue.h:352
-
NimBLEAttValue & operator=(const std::string &source)
Operator; Set the value from a std::string source.
Definition NimBLEAttValue.h:340
-
const uint8_t * begin() const
Iterator begin.
Definition NimBLEAttValue.h:167
-
bool operator!=(const NimBLEAttValue &source) const
Inequality operator.
Definition NimBLEAttValue.h:357
+
365
+
366#endif // CONFIG_BT_ENABLED
+
367#endif // NIMBLE_CPP_ATTVALUE_H_
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
+
NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a std::vector<uint8_t>.
Definition NimBLEAttValue.h:127
+
~NimBLEAttValue()
Destructor.
Definition NimBLEAttValue.cpp:57
+
uint16_t length() const
Returns the current length of the value in bytes.
Definition NimBLEAttValue.h:156
+
NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a const char string.
Definition NimBLEAttValue.h:103
+
uint16_t capacity() const
Returns the currently allocated capacity in bytes.
Definition NimBLEAttValue.h:153
+
const char * c_str() const
Returns a pointer to the internal buffer of the value as a const char*.
Definition NimBLEAttValue.h:165
+
NimBLEAttValue(const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a std::string.
Definition NimBLEAttValue.h:119
+
bool setValue(const uint8_t *value, uint16_t len)
Set the value from a buffer.
Definition NimBLEAttValue.cpp:106
+
NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initializer list.
Definition NimBLEAttValue.h:111
+
NimBLEAttValue & operator+=(const NimBLEAttValue &source)
Operator; Append another NimBLEAttValue.
Definition NimBLEAttValue.h:338
+
NimBLEAttValue(const NimBLEAttValue &source)
Copy constructor.
Definition NimBLEAttValue.h:141
+
NimBLEAttValue(NimBLEAttValue &&source)
Move constructor.
Definition NimBLEAttValue.h:144
+
const uint8_t * data() const
Returns a pointer to the internal buffer of the value.
Definition NimBLEAttValue.h:162
+
uint8_t operator[](int pos) const
Subscript operator.
Definition NimBLEAttValue.cpp:153
+
const uint8_t * end() const
Iterator end.
Definition NimBLEAttValue.h:171
+
bool setValue(const T &v)
Template to set value to the value of <type>val.
Definition NimBLEAttValue.h:245
+
NimBLEAttValue & append(const uint8_t *value, uint16_t len)
Append data to the value.
Definition NimBLEAttValue.cpp:114
+
uint16_t size() const
Returns the current size of the value in bytes.
Definition NimBLEAttValue.h:159
+
bool setValue(const char *s, uint16_t len=0)
Set value to the value of const char*.
Definition NimBLEAttValue.h:204
+
T getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false) const
Template to return the value as a <type>.
Definition NimBLEAttValue.h:308
+
uint16_t max_size() const
Returns the max size in bytes.
Definition NimBLEAttValue.h:150
+
bool setValue(const T &s)
Template to set value to the value of <type>val.
Definition NimBLEAttValue.h:260
+
bool operator==(const NimBLEAttValue &source) const
Equality operator.
Definition NimBLEAttValue.h:353
+
NimBLEAttValue & operator=(const std::string &source)
Operator; Set the value from a std::string source.
Definition NimBLEAttValue.h:341
+
const uint8_t * begin() const
Iterator begin.
Definition NimBLEAttValue.h:168
+
bool operator!=(const NimBLEAttValue &source) const
Inequality operator.
Definition NimBLEAttValue.h:358
#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH
Uncomment to set the default allocation size (bytes) for each attribute if not specified when the con...
Definition nimconfig.h:68
diff --git a/_nim_b_l_e_attribute_8h_source.html b/_nim_b_l_e_attribute_8h_source.html index 18c937c..c52d742 100644 --- a/_nim_b_l_e_attribute_8h_source.html +++ b/_nim_b_l_e_attribute_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_attribute_8h_source.html','
19#define NIMBLE_CPP_ATTRIBUTE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && (defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) || defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL))
+
22#if CONFIG_BT_ENABLED && (CONFIG_BT_NIMBLE_ROLE_PERIPHERAL || CONFIG_BT_NIMBLE_ROLE_CENTRAL)
23
24# include "NimBLEUUID.h"
25
diff --git a/_nim_b_l_e_beacon_8h_source.html b/_nim_b_l_e_beacon_8h_source.html index 37597bb..41b483a 100644 --- a/_nim_b_l_e_beacon_8h_source.html +++ b/_nim_b_l_e_beacon_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,59 +118,64 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_beacon_8h_source.html','');
19#define NIMBLE_CPP_BEACON_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER
23
24class NimBLEUUID;
25
26# include <cstdint>
-
27
-
- -
34 public:
-
35 struct BeaconData {
-
36 uint16_t manufacturerId{0x4c00};
-
37 uint8_t subType{0x02};
-
38 uint8_t subTypeLength{0x15};
-
39 uint8_t proximityUUID[16]{};
-
40 uint16_t major{};
-
41 uint16_t minor{};
-
42 int8_t signalPower{};
-
43 } __attribute__((packed));
-
44
-
45 const BeaconData& getData();
-
46 uint16_t getMajor();
-
47 uint16_t getMinor();
-
48 uint16_t getManufacturerId();
- -
50 int8_t getSignalPower();
-
51 void setData(const uint8_t* data, uint8_t length);
-
52 void setData(const BeaconData& data);
-
53 void setMajor(uint16_t major);
-
54 void setMinor(uint16_t minor);
-
55 void setManufacturerId(uint16_t manufacturerId);
-
56 void setProximityUUID(const NimBLEUUID& uuid);
-
57 void setSignalPower(int8_t signalPower);
-
58
-
59 private:
-
60 BeaconData m_beaconData;
-
61}; // NimBLEBeacon
+
27# include <vector>
+
28
+
+ +
35 public:
+
36 struct BeaconData {
+
37 uint16_t manufacturerId{0x4c00};
+
38 uint8_t subType{0x02};
+
39 uint8_t subTypeLength{0x15};
+
40 uint8_t proximityUUID[16]{};
+
41 uint16_t major{};
+
42 uint16_t minor{};
+
43 int8_t signalPower{};
+
44 operator std::vector<uint8_t> () const {
+
45 return std::vector<uint8_t>(reinterpret_cast<const uint8_t*>(this),
+
46 reinterpret_cast<const uint8_t*>(this) + sizeof(BeaconData));
+
47 }
+
48 } __attribute__((packed));
+
49
+
50 const BeaconData& getData();
+
51 uint16_t getMajor();
+
52 uint16_t getMinor();
+
53 uint16_t getManufacturerId();
+ +
55 int8_t getSignalPower();
+
56 void setData(const uint8_t* data, uint8_t length);
+
57 void setData(const BeaconData& data);
+
58 void setMajor(uint16_t major);
+
59 void setMinor(uint16_t minor);
+
60 void setManufacturerId(uint16_t manufacturerId);
+
61 void setProximityUUID(const NimBLEUUID& uuid);
+
62 void setSignalPower(int8_t signalPower);
+
63
+
64 private:
+
65 BeaconData m_beaconData;
+
66}; // NimBLEBeacon
-
62
-
63#endif // NIMBLE_CPP_BEACON_H_
-
64#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
-
Representation of a beacon. See:
Definition NimBLEBeacon.h:33
-
void setManufacturerId(uint16_t manufacturerId)
Set the manufacturer ID.
Definition NimBLEBeacon.cpp:110
-
void setMinor(uint16_t minor)
Set the minor value.
Definition NimBLEBeacon.cpp:118
-
uint16_t getMinor()
Get the minor value being advertised.
Definition NimBLEBeacon.cpp:57
-
int8_t getSignalPower()
Get the signal power being advertised.
Definition NimBLEBeacon.cpp:73
-
void setProximityUUID(const NimBLEUUID &uuid)
Set the proximity UUID.
Definition NimBLEBeacon.cpp:126
-
uint16_t getManufacturerId()
Get the manufacturer ID being advertised.
Definition NimBLEBeacon.cpp:49
-
const BeaconData & getData()
Retrieve the data that is being advertised.
Definition NimBLEBeacon.cpp:33
-
NimBLEUUID getProximityUUID()
Get the proximity UUID being advertised.
Definition NimBLEBeacon.cpp:65
-
uint16_t getMajor()
Get the major value being advertised.
Definition NimBLEBeacon.cpp:41
-
void setData(const uint8_t *data, uint8_t length)
Set the beacon data.
Definition NimBLEBeacon.cpp:82
-
void setMajor(uint16_t major)
Set the major value.
Definition NimBLEBeacon.cpp:102
-
void setSignalPower(int8_t signalPower)
Set the signal power.
Definition NimBLEBeacon.cpp:137
+
67
+
68#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
69#endif // NIMBLE_CPP_BEACON_H_
+
Representation of a beacon. See:
Definition NimBLEBeacon.h:34
+
void setManufacturerId(uint16_t manufacturerId)
Set the manufacturer ID.
Definition NimBLEBeacon.cpp:109
+
void setMinor(uint16_t minor)
Set the minor value.
Definition NimBLEBeacon.cpp:117
+
uint16_t getMinor()
Get the minor value being advertised.
Definition NimBLEBeacon.cpp:56
+
int8_t getSignalPower()
Get the signal power being advertised.
Definition NimBLEBeacon.cpp:72
+
void setProximityUUID(const NimBLEUUID &uuid)
Set the proximity UUID.
Definition NimBLEBeacon.cpp:125
+
uint16_t getManufacturerId()
Get the manufacturer ID being advertised.
Definition NimBLEBeacon.cpp:48
+
const BeaconData & getData()
Retrieve the data that is being advertised.
Definition NimBLEBeacon.cpp:32
+
NimBLEUUID getProximityUUID()
Get the proximity UUID being advertised.
Definition NimBLEBeacon.cpp:64
+
uint16_t getMajor()
Get the major value being advertised.
Definition NimBLEBeacon.cpp:40
+
void setData(const uint8_t *data, uint8_t length)
Set the beacon data.
Definition NimBLEBeacon.cpp:81
+
void setMajor(uint16_t major)
Set the major value.
Definition NimBLEBeacon.cpp:101
+
void setSignalPower(int8_t signalPower)
Set the signal power.
Definition NimBLEBeacon.cpp:136
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_characteristic_8h_source.html b/_nim_b_l_e_characteristic_8h_source.html index a3d3839..84b586e 100644 --- a/_nim_b_l_e_characteristic_8h_source.html +++ b/_nim_b_l_e_characteristic_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -116,223 +116,224 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_characteristic_8h_source.ht
17
18#ifndef NIMBLE_CPP_CHARACTERISTIC_H_
19#define NIMBLE_CPP_CHARACTERISTIC_H_
-
20#include "nimconfig.h"
-
21#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
22
- -
24class NimBLEService;
- - -
27class NimBLE2904;
-
28
-
29# include "NimBLELocalValueAttribute.h"
-
30
-
31# include <string>
-
32# include <vector>
-
33
-
-
40class NimBLECharacteristic : public NimBLELocalValueAttribute {
-
41 public:
-
42 NimBLECharacteristic(const char* uuid,
-
43 uint16_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
-
44 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN,
-
45 NimBLEService* pService = nullptr);
- -
47 uint16_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
-
48 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN,
-
49 NimBLEService* pService = nullptr);
-
50
- -
52
-
53 std::string toString() const;
-
54 void addDescriptor(NimBLEDescriptor* pDescriptor);
-
55 void removeDescriptor(NimBLEDescriptor* pDescriptor, bool deleteDsc = false);
-
56 uint16_t getProperties() const;
- -
58 bool indicate(uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
-
59 bool indicate(const uint8_t* value, size_t length, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
-
60 bool notify(uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
-
61 bool notify(const uint8_t* value, size_t length, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
-
62
-
63 NimBLEDescriptor* createDescriptor(const char* uuid,
-
64 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
-
65 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN);
- -
67 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
-
68 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN);
- -
70 NimBLEDescriptor* getDescriptorByUUID(const char* uuid) const;
- -
72 NimBLEDescriptor* getDescriptorByHandle(uint16_t handle) const;
- -
74
- -
76
-
77 /*********************** Template Functions ************************/
-
78
-
79# if __cplusplus < 201703L
-
86 template <typename T>
-
87# ifdef _DOXYGEN_
-
88 bool
-
89# else
-
90 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value && !Has_c_str_length<T>::value &&
-
91 !Has_data_size<T>::value,
-
92 bool>::type
-
93# endif
-
-
94 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
95 return notify(reinterpret_cast<const uint8_t*>(&v), sizeof(T), connHandle);
-
96 }
+
20
+
21#include "nimconfig.h"
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
23
+ +
25class NimBLEService;
+ + +
28class NimBLE2904;
+
29
+
30# include "NimBLELocalValueAttribute.h"
+
31
+
32# include <string>
+
33# include <vector>
+
34
+
+
41class NimBLECharacteristic : public NimBLELocalValueAttribute {
+
42 public:
+
43 NimBLECharacteristic(const char* uuid,
+
44 uint16_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
45 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN,
+
46 NimBLEService* pService = nullptr);
+ +
48 uint16_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
49 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN,
+
50 NimBLEService* pService = nullptr);
+
51
+ +
53
+
54 std::string toString() const;
+
55 void addDescriptor(NimBLEDescriptor* pDescriptor);
+
56 void removeDescriptor(NimBLEDescriptor* pDescriptor, bool deleteDsc = false);
+
57 uint16_t getProperties() const;
+ +
59 bool indicate(uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
60 bool indicate(const uint8_t* value, size_t length, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
61 bool notify(uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
62 bool notify(const uint8_t* value, size_t length, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
63
+
64 NimBLEDescriptor* createDescriptor(const char* uuid,
+
65 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
66 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN);
+ +
68 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
69 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN);
+ +
71 NimBLEDescriptor* getDescriptorByUUID(const char* uuid) const;
+ +
73 NimBLEDescriptor* getDescriptorByHandle(uint16_t handle) const;
+ +
75
+ +
77
+
78 /*********************** Template Functions ************************/
+
79
+
80# if __cplusplus < 201703L
+
87 template <typename T>
+
88# ifdef _DOXYGEN_
+
89 bool
+
90# else
+
91 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value && !Has_c_str_length<T>::value &&
+
92 !Has_data_size<T>::value,
+
93 bool>::type
+
94# endif
+
+
95 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
96 return notify(reinterpret_cast<const uint8_t*>(&v), sizeof(T), connHandle);
+
97 }
-
97
-
103 template <typename T>
-
104# ifdef _DOXYGEN_
-
105 bool
-
106# else
-
107 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
-
108# endif
-
-
109 notify(const T& s, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
110 return notify(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), connHandle);
-
111 }
+
98
+
104 template <typename T>
+
105# ifdef _DOXYGEN_
+
106 bool
+
107# else
+
108 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
109# endif
+
+
110 notify(const T& s, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
111 return notify(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), connHandle);
+
112 }
-
112
-
118 template <typename T>
-
119# ifdef _DOXYGEN_
-
120 bool
-
121# else
-
122 typename std::enable_if<Has_data_size<T>::value, bool>::type
-
123# endif
-
-
124 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
125 return notify(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
-
126 }
+
113
+
119 template <typename T>
+
120# ifdef _DOXYGEN_
+
121 bool
+
122# else
+
123 typename std::enable_if<Has_data_size<T>::value, bool>::type
+
124# endif
+
+
125 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
126 return notify(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
+
127 }
-
127
-
134 template <typename T>
-
135# ifdef _DOXYGEN_
-
136 bool
-
137# else
-
138 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value && !Has_c_str_length<T>::value &&
-
139 !Has_data_size<T>::value,
-
140 bool>::type
-
141# endif
-
-
142 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
143 return indicate(reinterpret_cast<const uint8_t*>(&v), sizeof(T), connHandle);
-
144 }
+
128
+
135 template <typename T>
+
136# ifdef _DOXYGEN_
+
137 bool
+
138# else
+
139 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value && !Has_c_str_length<T>::value &&
+
140 !Has_data_size<T>::value,
+
141 bool>::type
+
142# endif
+
+
143 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
144 return indicate(reinterpret_cast<const uint8_t*>(&v), sizeof(T), connHandle);
+
145 }
-
145
-
151 template <typename T>
-
152# ifdef _DOXYGEN_
-
153 bool
-
154# else
-
155 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
-
156# endif
-
-
157 indicate(const T& s, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
158 return indicate(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), connHandle);
-
159 }
+
146
+
152 template <typename T>
+
153# ifdef _DOXYGEN_
+
154 bool
+
155# else
+
156 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
157# endif
+
+
158 indicate(const T& s, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
159 return indicate(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), connHandle);
+
160 }
-
160
-
166 template <typename T>
-
167# ifdef _DOXYGEN_
-
168 bool
-
169# else
-
170 typename std::enable_if<Has_data_size<T>::value, bool>::type
-
171# endif
-
-
172 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
173 return indicate(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
-
174 }
+
161
+
167 template <typename T>
+
168# ifdef _DOXYGEN_
+
169 bool
+
170# else
+
171 typename std::enable_if<Has_data_size<T>::value, bool>::type
+
172# endif
+
+
173 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
174 return indicate(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
+
175 }
-
175
-
176# else
-
177
-
188 template <typename T>
-
189 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value, bool>::type notify(
-
190 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
191 if constexpr (Has_data_size<T>::value) {
-
192 return notify(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
-
193 } else if constexpr (Has_c_str_length<T>::value) {
-
194 return notify(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
-
195 } else {
-
196 return notify(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
-
197 }
-
198 }
-
199
-
210 template <typename T>
-
211 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value, bool>::type indicate(
-
212 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
213 if constexpr (Has_data_size<T>::value) {
-
214 return indicate(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
-
215 } else if constexpr (Has_c_str_length<T>::value) {
-
216 return indicate(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
-
217 } else {
-
218 return indicate(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
-
219 }
-
220 }
-
221# endif
-
222
-
223 private:
-
224 friend class NimBLEServer;
-
225 friend class NimBLEService;
-
226
-
227 void setService(NimBLEService* pService);
-
228 void readEvent(NimBLEConnInfo& connInfo) override;
-
229 void writeEvent(const uint8_t* val, uint16_t len, NimBLEConnInfo& connInfo) override;
-
230 bool sendValue(const uint8_t* value,
-
231 size_t length,
-
232 bool is_notification = true,
-
233 uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
-
234
-
235 NimBLECharacteristicCallbacks* m_pCallbacks{nullptr};
-
236 NimBLEService* m_pService{nullptr};
-
237 std::vector<NimBLEDescriptor*> m_vDescriptors{};
-
238}; // NimBLECharacteristic
+
176
+
177# else
+
178
+
189 template <typename T>
+
190 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value, bool>::type notify(
+
191 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
192 if constexpr (Has_data_size<T>::value) {
+
193 return notify(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
+
194 } else if constexpr (Has_c_str_length<T>::value) {
+
195 return notify(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
+
196 } else {
+
197 return notify(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
+
198 }
+
199 }
+
200
+
211 template <typename T>
+
212 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value, bool>::type indicate(
+
213 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
214 if constexpr (Has_data_size<T>::value) {
+
215 return indicate(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
+
216 } else if constexpr (Has_c_str_length<T>::value) {
+
217 return indicate(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
+
218 } else {
+
219 return indicate(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
+
220 }
+
221 }
+
222# endif
+
223
+
224 private:
+
225 friend class NimBLEServer;
+
226 friend class NimBLEService;
+
227
+
228 void setService(NimBLEService* pService);
+
229 void readEvent(NimBLEConnInfo& connInfo) override;
+
230 void writeEvent(const uint8_t* val, uint16_t len, NimBLEConnInfo& connInfo) override;
+
231 bool sendValue(const uint8_t* value,
+
232 size_t length,
+
233 bool is_notification = true,
+
234 uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
235
+
236 NimBLECharacteristicCallbacks* m_pCallbacks{nullptr};
+
237 NimBLEService* m_pService{nullptr};
+
238 std::vector<NimBLEDescriptor*> m_vDescriptors{};
+
239}; // NimBLECharacteristic
-
239
-
- -
248 public:
- -
250 virtual void onRead(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
-
251 virtual void onWrite(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
-
252 virtual void onStatus(NimBLECharacteristic* pCharacteristic, int code);
-
253 virtual void onSubscribe(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, uint16_t subValue);
-
254};
+
240
+
+ +
249 public:
+ +
251 virtual void onRead(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
+
252 virtual void onWrite(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
+
253 virtual void onStatus(NimBLECharacteristic* pCharacteristic, int code);
+
254 virtual void onSubscribe(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, uint16_t subValue);
+
255};
-
255
-
256#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
-
257#endif /*NIMBLE_CPP_CHARACTERISTIC_H_*/
+
256
+
257#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
258#endif // NIMBLE_CPP_CHARACTERISTIC_H_
Descriptor for Characteristic Presentation Format.
Definition NimBLE2904.h:39
-
Callbacks that can be associated with a BLE characteristic to inform of events.
Definition NimBLECharacteristic.h:247
-
virtual void onSubscribe(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo, uint16_t subValue)
Callback function called when a client changes subscription status.
Definition NimBLECharacteristic.cpp:412
-
virtual void onRead(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)
Callback function to support a read request.
Definition NimBLECharacteristic.cpp:378
-
virtual void onStatus(NimBLECharacteristic *pCharacteristic, int code)
Callback function to support a Notify/Indicate Status report.
Definition NimBLECharacteristic.cpp:398
-
virtual void onWrite(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)
Callback function to support a write request.
Definition NimBLECharacteristic.cpp:387
-
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
-
uint16_t getProperties() const
Get the properties of the characteristic.
Definition NimBLECharacteristic.cpp:200
-
NimBLEDescriptor * getDescriptorByHandle(uint16_t handle) const
Return the BLE Descriptor for the given handle.
Definition NimBLECharacteristic.cpp:187
-
void setCallbacks(NimBLECharacteristicCallbacks *pCallbacks)
Set the callback handlers for this characteristic.
Definition NimBLECharacteristic.cpp:339
-
void removeDescriptor(NimBLEDescriptor *pDescriptor, bool deleteDsc=false)
Remove a descriptor from the characteristic.
Definition NimBLECharacteristic.cpp:137
-
bool indicate(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a indication with a value from a class that has a c_str() and length() method.
Definition NimBLECharacteristic.h:157
-
NimBLEDescriptor * getDescriptorByUUID(const char *uuid) const
Return the BLE Descriptor for the given UUID.
Definition NimBLECharacteristic.cpp:164
-
~NimBLECharacteristic()
Destructor.
Definition NimBLECharacteristic.cpp:54
-
NimBLEService * getService() const
Get the service that owns this characteristic.
Definition NimBLECharacteristic.cpp:207
-
bool notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a notification with a value from a struct or array.
Definition NimBLECharacteristic.h:94
-
bool indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send an indication with a value from a struct or array.
Definition NimBLECharacteristic.h:142
-
NimBLEDescriptor * createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)
Create a new BLE Descriptor associated with this characteristic.
Definition NimBLECharacteristic.cpp:67
-
bool indicate(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Send an indication.
Definition NimBLECharacteristic.cpp:221
-
bool notify(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a notification with a value from a class that has a c_str() and length() method.
Definition NimBLECharacteristic.h:109
-
NimBLECharacteristicCallbacks * getCallbacks() const
Get the callback handlers for this characteristic.
Definition NimBLECharacteristic.cpp:350
-
bool notify(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Send a notification.
Definition NimBLECharacteristic.cpp:243
-
NimBLE2904 * create2904()
Create a Characteristic Presentation Format Descriptor for this characteristic.
Definition NimBLECharacteristic.cpp:95
-
void addDescriptor(NimBLEDescriptor *pDescriptor)
Add a descriptor to the characteristic.
Definition NimBLECharacteristic.cpp:105
-
std::string toString() const
Return a string representation of the characteristic.
Definition NimBLECharacteristic.cpp:358
+
Callbacks that can be associated with a BLE characteristic to inform of events.
Definition NimBLECharacteristic.h:248
+
virtual void onSubscribe(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo, uint16_t subValue)
Callback function called when a client changes subscription status.
Definition NimBLECharacteristic.cpp:411
+
virtual void onRead(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)
Callback function to support a read request.
Definition NimBLECharacteristic.cpp:377
+
virtual void onStatus(NimBLECharacteristic *pCharacteristic, int code)
Callback function to support a Notify/Indicate Status report.
Definition NimBLECharacteristic.cpp:397
+
virtual void onWrite(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)
Callback function to support a write request.
Definition NimBLECharacteristic.cpp:386
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:41
+
uint16_t getProperties() const
Get the properties of the characteristic.
Definition NimBLECharacteristic.cpp:199
+
NimBLEDescriptor * getDescriptorByHandle(uint16_t handle) const
Return the BLE Descriptor for the given handle.
Definition NimBLECharacteristic.cpp:186
+
void setCallbacks(NimBLECharacteristicCallbacks *pCallbacks)
Set the callback handlers for this characteristic.
Definition NimBLECharacteristic.cpp:338
+
void removeDescriptor(NimBLEDescriptor *pDescriptor, bool deleteDsc=false)
Remove a descriptor from the characteristic.
Definition NimBLECharacteristic.cpp:136
+
bool indicate(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a indication with a value from a class that has a c_str() and length() method.
Definition NimBLECharacteristic.h:158
+
NimBLEDescriptor * getDescriptorByUUID(const char *uuid) const
Return the BLE Descriptor for the given UUID.
Definition NimBLECharacteristic.cpp:163
+
~NimBLECharacteristic()
Destructor.
Definition NimBLECharacteristic.cpp:53
+
NimBLEService * getService() const
Get the service that owns this characteristic.
Definition NimBLECharacteristic.cpp:206
+
bool notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a notification with a value from a struct or array.
Definition NimBLECharacteristic.h:95
+
bool indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send an indication with a value from a struct or array.
Definition NimBLECharacteristic.h:143
+
NimBLEDescriptor * createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)
Create a new BLE Descriptor associated with this characteristic.
Definition NimBLECharacteristic.cpp:66
+
bool indicate(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Send an indication.
Definition NimBLECharacteristic.cpp:220
+
bool notify(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a notification with a value from a class that has a c_str() and length() method.
Definition NimBLECharacteristic.h:110
+
NimBLECharacteristicCallbacks * getCallbacks() const
Get the callback handlers for this characteristic.
Definition NimBLECharacteristic.cpp:349
+
bool notify(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Send a notification.
Definition NimBLECharacteristic.cpp:242
+
NimBLE2904 * create2904()
Create a Characteristic Presentation Format Descriptor for this characteristic.
Definition NimBLECharacteristic.cpp:94
+
void addDescriptor(NimBLEDescriptor *pDescriptor)
Add a descriptor to the characteristic.
Definition NimBLECharacteristic.cpp:104
+
std::string toString() const
Return a string representation of the characteristic.
Definition NimBLECharacteristic.cpp:357
Connection information.
Definition NimBLEConnInfo.h:32
A model of a BLE descriptor.
Definition NimBLEDescriptor.h:33
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE server.
Definition NimBLEServer.h:62
The model of a BLE service.
Definition NimBLEService.h:34
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_client_8h_source.html b/_nim_b_l_e_client_8h_source.html index 5888a8c..fb7bfa2 100644 --- a/_nim_b_l_e_client_8h_source.html +++ b/_nim_b_l_e_client_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_client_8h_source.html','');
19#define NIMBLE_CPP_CLIENT_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
23
24# if defined(CONFIG_NIMBLE_CPP_IDF)
25# include "host/ble_gap.h"
@@ -145,190 +145,192 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_client_8h_source.html','');
50 public:
-
51 bool connect(const NimBLEAdvertisedDevice* device,
-
52 bool deleteAttributes = true,
-
53 bool asyncConnect = false,
-
54 bool exchangeMTU = true);
-
55 bool connect(const NimBLEAddress& address, bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
-
56 bool connect(bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
-
57 bool disconnect(uint8_t reason = BLE_ERR_REM_USER_CONN_TERM);
-
58 bool cancelConnect() const;
-
59 void setSelfDelete(bool deleteOnDisconnect, bool deleteOnConnectFail);
- -
61 bool setPeerAddress(const NimBLEAddress& address);
-
62 int getRssi() const;
-
63 bool isConnected() const;
-
64 void setClientCallbacks(NimBLEClientCallbacks* pClientCallbacks, bool deleteCallbacks = true);
-
65 std::string toString() const;
-
66 uint16_t getConnHandle() const;
-
67 uint16_t getMTU() const;
-
68 bool exchangeMTU();
-
69 bool secureConnection(bool async = false) const;
-
70 void setConnectTimeout(uint32_t timeout);
-
71 bool setDataLen(uint16_t txOctets);
-
72 bool discoverAttributes();
- -
74 int getLastError() const;
-
75 bool updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout);
-
76 void setConnectionParams(uint16_t minInterval,
-
77 uint16_t maxInterval,
-
78 uint16_t latency,
-
79 uint16_t timeout,
-
80 uint16_t scanInterval = 16,
-
81 uint16_t scanWindow = 16);
-
82 const std::vector<NimBLERemoteService*>& getServices(bool refresh = false);
-
83 std::vector<NimBLERemoteService*>::iterator begin();
-
84 std::vector<NimBLERemoteService*>::iterator end();
- -
86 NimBLERemoteService* getService(const char* uuid);
- -
88 void deleteServices();
-
89 size_t deleteService(const NimBLEUUID& uuid);
-
90 NimBLEAttValue getValue(const NimBLEUUID& serviceUUID, const NimBLEUUID& characteristicUUID);
-
91 bool setValue(const NimBLEUUID& serviceUUID,
-
92 const NimBLEUUID& characteristicUUID,
-
93 const NimBLEAttValue& value,
-
94 bool response = false);
-
95
-
96# if CONFIG_BT_NIMBLE_EXT_ADV
-
97 void setConnectPhy(uint8_t phyMask);
-
98# endif
-
99 bool updatePhy(uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions = 0);
-
100 bool getPhy(uint8_t* txPhy, uint8_t* rxPhy);
-
101
-
102 struct Config {
-
103 uint8_t deleteCallbacks : 1; // Delete the callback object when the client is deleted.
-
104 uint8_t deleteOnDisconnect : 1; // Delete the client when disconnected.
-
105 uint8_t deleteOnConnectFail : 1; // Delete the client when a connection attempt fails.
-
106 uint8_t asyncConnect : 1; // Connect asynchronously.
-
107 uint8_t exchangeMTU : 1; // Exchange MTU after connection.
-
108 };
-
109
-
110 Config getConfig() const;
-
111 void setConfig(Config config);
-
112
-
113 private:
-
114 NimBLEClient(const NimBLEAddress& peerAddress);
- -
116 NimBLEClient(const NimBLEClient&) = delete;
-
117 NimBLEClient& operator=(const NimBLEClient&) = delete;
-
118
-
119 bool retrieveServices(const NimBLEUUID* uuidFilter = nullptr);
-
120 static int handleGapEvent(struct ble_gap_event* event, void* arg);
-
121 static int exchangeMTUCb(uint16_t conn_handle, const ble_gatt_error* error, uint16_t mtu, void* arg);
-
122 static int serviceDiscoveredCB(uint16_t connHandle,
-
123 const struct ble_gatt_error* error,
-
124 const struct ble_gatt_svc* service,
-
125 void* arg);
-
126
-
127 NimBLEAddress m_peerAddress;
-
128 mutable int m_lastErr;
-
129 int32_t m_connectTimeout;
-
130 mutable NimBLETaskData* m_pTaskData;
-
131 std::vector<NimBLERemoteService*> m_svcVec;
-
132 NimBLEClientCallbacks* m_pClientCallbacks;
-
133 uint16_t m_connHandle;
-
134 uint8_t m_terminateFailCount;
-
135 mutable uint8_t m_asyncSecureAttempt;
-
136 Config m_config;
-
137
-
138# if CONFIG_BT_NIMBLE_EXT_ADV
-
139 uint8_t m_phyMask;
-
140# endif
-
141 ble_gap_conn_params m_connParams;
-
142
-
143 friend class NimBLEDevice;
-
144 friend class NimBLEServer;
-
145}; // class NimBLEClient
+
51# if CONFIG_BT_NIMBLE_ROLE_OBSERVER
+
52 bool connect(const NimBLEAdvertisedDevice* device,
+
53 bool deleteAttributes = true,
+
54 bool asyncConnect = false,
+
55 bool exchangeMTU = true);
+
56# endif
+
57 bool connect(const NimBLEAddress& address, bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
+
58 bool connect(bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
+
59 bool disconnect(uint8_t reason = BLE_ERR_REM_USER_CONN_TERM);
+
60 bool cancelConnect() const;
+
61 void setSelfDelete(bool deleteOnDisconnect, bool deleteOnConnectFail);
+ +
63 bool setPeerAddress(const NimBLEAddress& address);
+
64 int getRssi() const;
+
65 bool isConnected() const;
+
66 void setClientCallbacks(NimBLEClientCallbacks* pClientCallbacks, bool deleteCallbacks = true);
+
67 std::string toString() const;
+
68 uint16_t getConnHandle() const;
+
69 uint16_t getMTU() const;
+
70 bool exchangeMTU();
+
71 bool secureConnection(bool async = false) const;
+
72 void setConnectTimeout(uint32_t timeout);
+
73 bool setDataLen(uint16_t txOctets);
+
74 bool discoverAttributes();
+ +
76 int getLastError() const;
+
77 bool updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout);
+
78 void setConnectionParams(uint16_t minInterval,
+
79 uint16_t maxInterval,
+
80 uint16_t latency,
+
81 uint16_t timeout,
+
82 uint16_t scanInterval = 16,
+
83 uint16_t scanWindow = 16);
+
84 const std::vector<NimBLERemoteService*>& getServices(bool refresh = false);
+
85 std::vector<NimBLERemoteService*>::iterator begin();
+
86 std::vector<NimBLERemoteService*>::iterator end();
+ +
88 NimBLERemoteService* getService(const char* uuid);
+ +
90 void deleteServices();
+
91 size_t deleteService(const NimBLEUUID& uuid);
+
92 NimBLEAttValue getValue(const NimBLEUUID& serviceUUID, const NimBLEUUID& characteristicUUID);
+
93 bool setValue(const NimBLEUUID& serviceUUID,
+
94 const NimBLEUUID& characteristicUUID,
+
95 const NimBLEAttValue& value,
+
96 bool response = false);
+
97
+
98# if CONFIG_BT_NIMBLE_EXT_ADV
+
99 void setConnectPhy(uint8_t phyMask);
+
100# endif
+
101 bool updatePhy(uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions = 0);
+
102 bool getPhy(uint8_t* txPhy, uint8_t* rxPhy);
+
103
+
104 struct Config {
+
105 uint8_t deleteCallbacks : 1; // Delete the callback object when the client is deleted.
+
106 uint8_t deleteOnDisconnect : 1; // Delete the client when disconnected.
+
107 uint8_t deleteOnConnectFail : 1; // Delete the client when a connection attempt fails.
+
108 uint8_t asyncConnect : 1; // Connect asynchronously.
+
109 uint8_t exchangeMTU : 1; // Exchange MTU after connection.
+
110 };
+
111
+
112 Config getConfig() const;
+
113 void setConfig(Config config);
+
114
+
115 private:
+
116 NimBLEClient(const NimBLEAddress& peerAddress);
+ +
118 NimBLEClient(const NimBLEClient&) = delete;
+
119 NimBLEClient& operator=(const NimBLEClient&) = delete;
+
120
+
121 bool retrieveServices(const NimBLEUUID* uuidFilter = nullptr);
+
122 static int handleGapEvent(struct ble_gap_event* event, void* arg);
+
123 static int exchangeMTUCb(uint16_t conn_handle, const ble_gatt_error* error, uint16_t mtu, void* arg);
+
124 static int serviceDiscoveredCB(uint16_t connHandle,
+
125 const struct ble_gatt_error* error,
+
126 const struct ble_gatt_svc* service,
+
127 void* arg);
+
128
+
129 NimBLEAddress m_peerAddress;
+
130 mutable int m_lastErr;
+
131 int32_t m_connectTimeout;
+
132 mutable NimBLETaskData* m_pTaskData;
+
133 std::vector<NimBLERemoteService*> m_svcVec;
+
134 NimBLEClientCallbacks* m_pClientCallbacks;
+
135 uint16_t m_connHandle;
+
136 uint8_t m_terminateFailCount;
+
137 mutable uint8_t m_asyncSecureAttempt;
+
138 Config m_config;
+
139
+
140# if CONFIG_BT_NIMBLE_EXT_ADV
+
141 uint8_t m_phyMask;
+
142# endif
+
143 ble_gap_conn_params m_connParams;
+
144
+
145 friend class NimBLEDevice;
+
146 friend class NimBLEServer;
+
147}; // class NimBLEClient
-
146
-
- -
151 public:
-
152 virtual ~NimBLEClientCallbacks() {};
-
153
-
158 virtual void onConnect(NimBLEClient* pClient);
-
159
-
165 virtual void onConnectFail(NimBLEClient* pClient, int reason);
-
166
-
172 virtual void onDisconnect(NimBLEClient* pClient, int reason);
-
173
-
180 virtual bool onConnParamsUpdateRequest(NimBLEClient* pClient, const ble_gap_upd_params* params);
-
181
-
186 virtual void onPassKeyEntry(NimBLEConnInfo& connInfo);
-
187
-
193 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
-
194
-
200 virtual void onConfirmPasskey(NimBLEConnInfo& connInfo, uint32_t pin);
-
201
-
206 virtual void onIdentity(NimBLEConnInfo& connInfo);
-
207
-
214 virtual void onMTUChange(NimBLEClient* pClient, uint16_t MTU);
-
215
-
227 virtual void onPhyUpdate(NimBLEClient* pClient, uint8_t txPhy, uint8_t rxPhy);
-
228};
+
148
+
+ +
153 public:
+
154 virtual ~NimBLEClientCallbacks() {};
+
155
+
160 virtual void onConnect(NimBLEClient* pClient);
+
161
+
167 virtual void onConnectFail(NimBLEClient* pClient, int reason);
+
168
+
174 virtual void onDisconnect(NimBLEClient* pClient, int reason);
+
175
+
182 virtual bool onConnParamsUpdateRequest(NimBLEClient* pClient, const ble_gap_upd_params* params);
+
183
+
188 virtual void onPassKeyEntry(NimBLEConnInfo& connInfo);
+
189
+
195 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
+
196
+
202 virtual void onConfirmPasskey(NimBLEConnInfo& connInfo, uint32_t pin);
+
203
+
208 virtual void onIdentity(NimBLEConnInfo& connInfo);
+
209
+
216 virtual void onMTUChange(NimBLEClient* pClient, uint16_t MTU);
+
217
+
229 virtual void onPhyUpdate(NimBLEClient* pClient, uint8_t txPhy, uint8_t rxPhy);
+
230};
-
229
-
230#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
-
231#endif /* NIMBLE_CPP_CLIENT_H_ */
-
A BLE device address.
Definition NimBLEAddress.h:41
+
231
+
232#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
+
233#endif // NIMBLE_CPP_CLIENT_H_
+
A BLE device address.
Definition NimBLEAddress.h:42
A representation of a BLE advertised device found by a scan.
Definition NimBLEAdvertisedDevice.h:45
-
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:71
-
Callbacks associated with a BLE client.
Definition NimBLEClient.h:150
-
virtual void onPhyUpdate(NimBLEClient *pClient, uint8_t txPhy, uint8_t rxPhy)
Called when the PHY update procedure is complete.
Definition NimBLEClient.cpp:1299
-
virtual void onConfirmPasskey(NimBLEConnInfo &connInfo, uint32_t pin)
Called when using numeric comparision for pairing.
Definition NimBLEClient.cpp:1290
-
virtual bool onConnParamsUpdateRequest(NimBLEClient *pClient, const ble_gap_upd_params *params)
Called when server requests to update the connection parameters.
Definition NimBLEClient.cpp:1272
-
virtual void onMTUChange(NimBLEClient *pClient, uint16_t MTU)
Called when the connection MTU changes.
Definition NimBLEClient.cpp:1295
-
virtual void onConnect(NimBLEClient *pClient)
Called after client connects.
Definition NimBLEClient.cpp:1260
-
virtual void onPassKeyEntry(NimBLEConnInfo &connInfo)
Called when server requests a passkey for pairing.
Definition NimBLEClient.cpp:1277
-
virtual void onIdentity(NimBLEConnInfo &connInfo)
Called when the peer identity address is resolved.
Definition NimBLEClient.cpp:1286
-
virtual void onConnectFail(NimBLEClient *pClient, int reason)
Called when a connection attempt fails.
Definition NimBLEClient.cpp:1264
-
virtual void onDisconnect(NimBLEClient *pClient, int reason)
Called when disconnected from the server.
Definition NimBLEClient.cpp:1268
-
virtual void onAuthenticationComplete(NimBLEConnInfo &connInfo)
Called when the pairing procedure is complete.
Definition NimBLEClient.cpp:1282
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
+
Callbacks associated with a BLE client.
Definition NimBLEClient.h:152
+
virtual void onPhyUpdate(NimBLEClient *pClient, uint8_t txPhy, uint8_t rxPhy)
Called when the PHY update procedure is complete.
Definition NimBLEClient.cpp:1305
+
virtual void onConfirmPasskey(NimBLEConnInfo &connInfo, uint32_t pin)
Called when using numeric comparision for pairing.
Definition NimBLEClient.cpp:1296
+
virtual bool onConnParamsUpdateRequest(NimBLEClient *pClient, const ble_gap_upd_params *params)
Called when server requests to update the connection parameters.
Definition NimBLEClient.cpp:1278
+
virtual void onMTUChange(NimBLEClient *pClient, uint16_t MTU)
Called when the connection MTU changes.
Definition NimBLEClient.cpp:1301
+
virtual void onConnect(NimBLEClient *pClient)
Called after client connects.
Definition NimBLEClient.cpp:1266
+
virtual void onPassKeyEntry(NimBLEConnInfo &connInfo)
Called when server requests a passkey for pairing.
Definition NimBLEClient.cpp:1283
+
virtual void onIdentity(NimBLEConnInfo &connInfo)
Called when the peer identity address is resolved.
Definition NimBLEClient.cpp:1292
+
virtual void onConnectFail(NimBLEClient *pClient, int reason)
Called when a connection attempt fails.
Definition NimBLEClient.cpp:1270
+
virtual void onDisconnect(NimBLEClient *pClient, int reason)
Called when disconnected from the server.
Definition NimBLEClient.cpp:1274
+
virtual void onAuthenticationComplete(NimBLEConnInfo &connInfo)
Called when the pairing procedure is complete.
Definition NimBLEClient.cpp:1288
A model of a BLE client.
Definition NimBLEClient.h:49
-
void setConnectPhy(uint8_t phyMask)
Set the PHY types to use when connecting to a server.
Definition NimBLEClient.cpp:408
-
std::vector< NimBLERemoteService * >::iterator end()
Get iterator to the end of the vector of remote service pointers.
Definition NimBLEClient.cpp:614
-
bool isConnected() const
Are we connected to a server?
Definition NimBLEClient.cpp:1216
-
size_t deleteService(const NimBLEUUID &uuid)
Delete a service by UUID from the local database to free resources.
Definition NimBLEClient.cpp:116
-
bool discoverAttributes()
Retrieves the full database of attributes that the peripheral has available.
Definition NimBLEClient.cpp:702
-
bool updatePhy(uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions=0)
Request a change to the PHY used for this peer connection.
Definition NimBLEClient.cpp:431
-
void setConnectionParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout, uint16_t scanInterval=16, uint16_t scanWindow=16)
Set the connection parameters to use when connecting to a server.
Definition NimBLEClient.cpp:464
-
bool exchangeMTU()
Begin the MTU exchange process with the server.
Definition NimBLEClient.cpp:905
-
int getRssi() const
Ask the BLE server for the RSSI value.
Definition NimBLEClient.cpp:585
+
void setConnectPhy(uint8_t phyMask)
Set the PHY types to use when connecting to a server.
Definition NimBLEClient.cpp:414
+
std::vector< NimBLERemoteService * >::iterator end()
Get iterator to the end of the vector of remote service pointers.
Definition NimBLEClient.cpp:620
+
bool isConnected() const
Are we connected to a server?
Definition NimBLEClient.cpp:1222
+
size_t deleteService(const NimBLEUUID &uuid)
Delete a service by UUID from the local database to free resources.
Definition NimBLEClient.cpp:115
+
bool discoverAttributes()
Retrieves the full database of attributes that the peripheral has available.
Definition NimBLEClient.cpp:708
+
bool updatePhy(uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions=0)
Request a change to the PHY used for this peer connection.
Definition NimBLEClient.cpp:437
+
void setConnectionParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout, uint16_t scanInterval=16, uint16_t scanWindow=16)
Set the connection parameters to use when connecting to a server.
Definition NimBLEClient.cpp:470
+
bool exchangeMTU()
Begin the MTU exchange process with the server.
Definition NimBLEClient.cpp:911
+
int getRssi() const
Ask the BLE server for the RSSI value.
Definition NimBLEClient.cpp:591
bool connect(const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)
Connect to an advertising device.
Definition NimBLEClient.cpp:140
-
bool secureConnection(bool async=false) const
Initiate a secure connection (pair/bond) with the server. Called automatically when a characteristic ...
Definition NimBLEClient.cpp:306
-
bool disconnect(uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
Disconnect from the peer.
Definition NimBLEClient.cpp:347
-
NimBLEAttValue getValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)
Get the value of a specific characteristic associated with a specific service.
Definition NimBLEClient.cpp:805
-
NimBLEAddress getPeerAddress() const
Retrieve the address of the peer.
Definition NimBLEClient.cpp:562
-
bool setDataLen(uint16_t txOctets)
Request an update of the data packet length.
Definition NimBLEClient.cpp:514
-
NimBLEConnInfo getConnInfo() const
Get detailed information about the current peer connection.
Definition NimBLEClient.cpp:533
-
void setSelfDelete(bool deleteOnDisconnect, bool deleteOnConnectFail)
Set or unset a flag to delete this client when disconnected or connection failed.
Definition NimBLEClient.cpp:378
-
void deleteServices()
Delete all service objects created by this client and clear the vector.
Definition NimBLEClient.cpp:102
-
NimBLERemoteCharacteristic * getCharacteristic(uint16_t handle)
Get the remote characteristic with the specified handle.
Definition NimBLEClient.cpp:859
-
bool getPhy(uint8_t *txPhy, uint8_t *rxPhy)
Get the PHY used for this peer connection.
Definition NimBLEClient.cpp:446
-
uint16_t getMTU() const
Get the current mtu of this connection.
Definition NimBLEClient.cpp:877
-
bool setPeerAddress(const NimBLEAddress &address)
Set the peer address.
Definition NimBLEClient.cpp:571
-
std::string toString() const
Return a string representation of this client.
Definition NimBLEClient.cpp:1239
-
bool setValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID, const NimBLEAttValue &value, bool response=false)
Set the value of a specific characteristic associated with a specific service.
Definition NimBLEClient.cpp:832
-
std::vector< NimBLERemoteService * >::iterator begin()
Get iterator to the beginning of the vector of remote service pointers.
Definition NimBLEClient.cpp:606
-
Config getConfig() const
Get a copy of the clients configuration.
Definition NimBLEClient.cpp:387
-
uint16_t getConnHandle() const
Get the connection handle for this client.
Definition NimBLEClient.cpp:554
-
bool updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
Update the connection parameters:
Definition NimBLEClient.cpp:488
-
void setConfig(Config config)
Set the client configuration options.
Definition NimBLEClient.cpp:395
-
const std::vector< NimBLERemoteService * > & getServices(bool refresh=false)
Get a pointer to the vector of found services.
Definition NimBLEClient.cpp:685
-
NimBLERemoteService * getService(const char *uuid)
Get the service BLE Remote Service instance corresponding to the uuid.
Definition NimBLEClient.cpp:623
-
int getLastError() const
Get the last error code reported by the NimBLE host.
Definition NimBLEClient.cpp:1256
-
void setConnectTimeout(uint32_t timeout)
Set the timeout to wait for connection attempt to complete.
Definition NimBLEClient.cpp:546
-
void setClientCallbacks(NimBLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true)
Set the callbacks that will be invoked when events are received.
Definition NimBLEClient.cpp:1225
-
bool cancelConnect() const
Cancel an ongoing connection attempt.
Definition NimBLEClient.cpp:362
+
bool secureConnection(bool async=false) const
Initiate a secure connection (pair/bond) with the server. Called automatically when a characteristic ...
Definition NimBLEClient.cpp:312
+
bool disconnect(uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
Disconnect from the peer.
Definition NimBLEClient.cpp:353
+
NimBLEAttValue getValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)
Get the value of a specific characteristic associated with a specific service.
Definition NimBLEClient.cpp:811
+
NimBLEAddress getPeerAddress() const
Retrieve the address of the peer.
Definition NimBLEClient.cpp:568
+
bool setDataLen(uint16_t txOctets)
Request an update of the data packet length.
Definition NimBLEClient.cpp:520
+
NimBLEConnInfo getConnInfo() const
Get detailed information about the current peer connection.
Definition NimBLEClient.cpp:539
+
void setSelfDelete(bool deleteOnDisconnect, bool deleteOnConnectFail)
Set or unset a flag to delete this client when disconnected or connection failed.
Definition NimBLEClient.cpp:384
+
void deleteServices()
Delete all service objects created by this client and clear the vector.
Definition NimBLEClient.cpp:101
+
NimBLERemoteCharacteristic * getCharacteristic(uint16_t handle)
Get the remote characteristic with the specified handle.
Definition NimBLEClient.cpp:865
+
bool getPhy(uint8_t *txPhy, uint8_t *rxPhy)
Get the PHY used for this peer connection.
Definition NimBLEClient.cpp:452
+
uint16_t getMTU() const
Get the current mtu of this connection.
Definition NimBLEClient.cpp:883
+
bool setPeerAddress(const NimBLEAddress &address)
Set the peer address.
Definition NimBLEClient.cpp:577
+
std::string toString() const
Return a string representation of this client.
Definition NimBLEClient.cpp:1245
+
bool setValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID, const NimBLEAttValue &value, bool response=false)
Set the value of a specific characteristic associated with a specific service.
Definition NimBLEClient.cpp:838
+
std::vector< NimBLERemoteService * >::iterator begin()
Get iterator to the beginning of the vector of remote service pointers.
Definition NimBLEClient.cpp:612
+
Config getConfig() const
Get a copy of the clients configuration.
Definition NimBLEClient.cpp:393
+
uint16_t getConnHandle() const
Get the connection handle for this client.
Definition NimBLEClient.cpp:560
+
bool updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
Update the connection parameters:
Definition NimBLEClient.cpp:494
+
void setConfig(Config config)
Set the client configuration options.
Definition NimBLEClient.cpp:401
+
const std::vector< NimBLERemoteService * > & getServices(bool refresh=false)
Get a pointer to the vector of found services.
Definition NimBLEClient.cpp:691
+
NimBLERemoteService * getService(const char *uuid)
Get the service BLE Remote Service instance corresponding to the uuid.
Definition NimBLEClient.cpp:629
+
int getLastError() const
Get the last error code reported by the NimBLE host.
Definition NimBLEClient.cpp:1262
+
void setConnectTimeout(uint32_t timeout)
Set the timeout to wait for connection attempt to complete.
Definition NimBLEClient.cpp:552
+
void setClientCallbacks(NimBLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true)
Set the callbacks that will be invoked when events are received.
Definition NimBLEClient.cpp:1231
+
bool cancelConnect() const
Cancel an ongoing connection attempt.
Definition NimBLEClient.cpp:368
Connection information.
Definition NimBLEConnInfo.h:32
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:122
A model of a remote BLE characteristic.
Definition NimBLERemoteCharacteristic.h:36
A model of a remote BLE service.
Definition NimBLERemoteService.h:34
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE server.
Definition NimBLEServer.h:62
A model of a BLE UUID.
Definition NimBLEUUID.h:41
-
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:32
+
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:33
diff --git a/_nim_b_l_e_conn_info_8h_source.html b/_nim_b_l_e_conn_info_8h_source.html index 575037f..980783a 100644 --- a/_nim_b_l_e_conn_info_8h_source.html +++ b/_nim_b_l_e_conn_info_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -114,8 +114,8 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_conn_info_8h_source.html','
15 * limitations under the License.
16 */
17
-
18#ifndef NIMBLECONNINFO_H_
-
19#define NIMBLECONNINFO_H_
+
18#ifndef NIMBLE_CPP_CONNINFO_H_
+
19#define NIMBLE_CPP_CONNINFO_H_
20
21#if defined(CONFIG_NIMBLE_CPP_IDF)
22# include "host/ble_gap.h"
@@ -165,9 +165,10 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_conn_info_8h_source.html','
81 NimBLEConnInfo(ble_gap_conn_desc desc) { m_desc = desc; }
82};
-
83#endif
-
A BLE device address.
Definition NimBLEAddress.h:41
-
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
83
+
84#endif // NIMBLE_CPP_CONNINFO_H_
+
A BLE device address.
Definition NimBLEAddress.h:42
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:41
A model of a BLE client.
Definition NimBLEClient.h:49
Connection information.
Definition NimBLEConnInfo.h:32
uint16_t getConnLatency() const
Gets the allowable latency for this connection (unit = number of intervals)
Definition NimBLEConnInfo.h:50
@@ -184,7 +185,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_conn_info_8h_source.html','
bool isSlave() const
Check if we are in the slave role in this connection.
Definition NimBLEConnInfo.h:59
bool isBonded() const
Check if we are connected to a bonded peer.
Definition NimBLEConnInfo.h:62
A model of a BLE descriptor.
Definition NimBLEDescriptor.h:33
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE server.
Definition NimBLEServer.h:62
diff --git a/_nim_b_l_e_descriptor_8h_source.html b/_nim_b_l_e_descriptor_8h_source.html index 7aeee23..58d1cab 100644 --- a/_nim_b_l_e_descriptor_8h_source.html +++ b/_nim_b_l_e_descriptor_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_descriptor_8h_source.html',
19#define NIMBLE_CPP_DESCRIPTOR_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
23
24# include "NimBLELocalValueAttribute.h"
25# include <string>
@@ -165,17 +165,17 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_descriptor_8h_source.html',
72
73# include "NimBLE2904.h"
74
-
75#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
-
76#endif /* NIMBLE_CPP_DESCRIPTOR_H_ */
-
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
75#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
76#endif // NIMBLE_CPP_DESCRIPTOR_H_
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:41
Connection information.
Definition NimBLEConnInfo.h:32
Callbacks that can be associated with a BLE descriptors to inform of events.
Definition NimBLEDescriptor.h:66
-
virtual void onRead(NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)
Callback function to support a read request.
Definition NimBLEDescriptor.cpp:138
-
virtual void onWrite(NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)
Callback function to support a write request.
Definition NimBLEDescriptor.cpp:147
+
virtual void onRead(NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)
Callback function to support a read request.
Definition NimBLEDescriptor.cpp:137
+
virtual void onWrite(NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)
Callback function to support a write request.
Definition NimBLEDescriptor.cpp:146
A model of a BLE descriptor.
Definition NimBLEDescriptor.h:33
-
std::string toString() const
Return a string representation of the descriptor.
Definition NimBLEDescriptor.cpp:117
-
NimBLECharacteristic * getCharacteristic() const
Get the characteristic this descriptor belongs to.
Definition NimBLEDescriptor.cpp:89
-
void setCallbacks(NimBLEDescriptorCallbacks *pCallbacks)
Set the callback handlers for this descriptor.
Definition NimBLEDescriptor.cpp:97
+
std::string toString() const
Return a string representation of the descriptor.
Definition NimBLEDescriptor.cpp:116
+
NimBLECharacteristic * getCharacteristic() const
Get the characteristic this descriptor belongs to.
Definition NimBLEDescriptor.cpp:88
+
void setCallbacks(NimBLEDescriptorCallbacks *pCallbacks)
Set the callback handlers for this descriptor.
Definition NimBLEDescriptor.cpp:96
The model of a BLE service.
Definition NimBLEService.h:34
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_device_8h_source.html b/_nim_b_l_e_device_8h_source.html index 7aa28aa..34bc4fa 100644 --- a/_nim_b_l_e_device_8h_source.html +++ b/_nim_b_l_e_device_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
19#define NIMBLE_CPP_DEVICE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED)
+
22#if CONFIG_BT_ENABLED
23# ifdef ESP_PLATFORM
24# ifndef CONFIG_IDF_TARGET_ESP32P4
25# include <esp_bt.h>
@@ -139,16 +139,16 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
40# include <string>
41# include <vector>
42
-
43# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
43# if CONFIG_BT_NIMBLE_ROLE_CENTRAL
44# include <array>
45class NimBLEClient;
46# endif
47
-
48# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
48# if CONFIG_BT_NIMBLE_ROLE_OBSERVER
49class NimBLEScan;
50# endif
51
-
52# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
52# if CONFIG_BT_NIMBLE_ROLE_BROADCASTER
53# if CONFIG_BT_NIMBLE_EXT_ADV
55# else
@@ -156,14 +156,14 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
57# endif
58# endif
59
-
60# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
60# if CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
61class NimBLEServer;
62# if CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM > 0
- +
63class NimBLEL2CAPServer;
64# endif
65# endif
66
-
67# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) || defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
67# if CONFIG_BT_NIMBLE_ROLE_PERIPHERAL || CONFIG_BT_NIMBLE_ROLE_CENTRAL
68class NimBLEConnInfo;
69# endif
70
@@ -261,25 +261,25 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
164# endif
165# endif
166
-
167# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
167# if CONFIG_BT_NIMBLE_ROLE_OBSERVER
168 static NimBLEScan* getScan();
169# endif
170
-
171# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
171# if CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
172 static NimBLEServer* createServer();
173 static NimBLEServer* getServer();
174# if CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM > 0
-
175 static NimBLEL2CAPServer* createL2CAPServer();
-
176 static NimBLEL2CAPServer* getL2CAPServer();
+
175 static NimBLEL2CAPServer* createL2CAPServer();
+
176 static NimBLEL2CAPServer* getL2CAPServer();
177# endif
178# endif
179
-
180# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) || defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
180# if CONFIG_BT_NIMBLE_ROLE_PERIPHERAL || CONFIG_BT_NIMBLE_ROLE_CENTRAL
181 static bool injectConfirmPasskey(const NimBLEConnInfo& peerInfo, bool accept);
182 static bool injectPassKey(const NimBLEConnInfo& peerInfo, uint32_t pin);
183# endif
184
-
185# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
185# if CONFIG_BT_NIMBLE_ROLE_BROADCASTER
186# if CONFIG_BT_NIMBLE_EXT_ADV
188 static bool startAdvertising(uint8_t instId, int duration = 0, int maxEvents = 0);
@@ -293,7 +293,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
196# endif
197# endif
198
-
199# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
199# if CONFIG_BT_NIMBLE_ROLE_CENTRAL
200 static NimBLEClient* createClient();
201 static NimBLEClient* createClient(const NimBLEAddress& peerAddress);
202 static bool deleteClient(NimBLEClient* pClient);
@@ -304,7 +304,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
207 static std::vector<NimBLEClient*> getConnectedClients();
208# endif
209
-
210# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) || defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
210# if CONFIG_BT_NIMBLE_ROLE_CENTRAL || CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
211 static bool deleteBond(const NimBLEAddress& address);
212 static int getNumBonds();
213 static bool isBonded(const NimBLEAddress& address);
@@ -322,18 +322,18 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
225 static NimBLEDeviceCallbacks* m_pDeviceCallbacks;
226 static NimBLEDeviceCallbacks defaultDeviceCallbacks;
227
-
228# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
228# if CONFIG_BT_NIMBLE_ROLE_OBSERVER
229 static NimBLEScan* m_pScan;
230# endif
231
-
232# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
232# if CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
233 static NimBLEServer* m_pServer;
234# if CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM > 0
-
235 static NimBLEL2CAPServer* m_pL2CAPServer;
+
235 static NimBLEL2CAPServer* m_pL2CAPServer;
236# endif
237# endif
238
-
239# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
239# if CONFIG_BT_NIMBLE_ROLE_BROADCASTER
240# if CONFIG_BT_NIMBLE_EXT_ADV
241 static NimBLEExtAdvertising* m_bleAdvertising;
242# else
@@ -341,7 +341,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
244# endif
245# endif
246
-
247# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
247# if CONFIG_BT_NIMBLE_ROLE_CENTRAL
248 static std::array<NimBLEClient*, NIMBLE_MAX_CONNECTIONS> m_pClients;
249# endif
250
@@ -353,20 +353,20 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
256# endif
257# endif
258
-
259# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
259# if CONFIG_BT_NIMBLE_ROLE_CENTRAL
260 friend class NimBLEClient;
261# endif
262
-
263# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
263# if CONFIG_BT_NIMBLE_ROLE_OBSERVER
264 friend class NimBLEScan;
265# endif
266
-
267# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
267# if CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
268 friend class NimBLEServer;
269 friend class NimBLECharacteristic;
270# endif
271
-
272# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
272# if CONFIG_BT_NIMBLE_ROLE_BROADCASTER
273 friend class NimBLEAdvertising;
274# if CONFIG_BT_NIMBLE_EXT_ADV
275 friend class NimBLEExtAdvertising;
@@ -376,29 +376,29 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
279};
280
-
281# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
281# if CONFIG_BT_NIMBLE_ROLE_CENTRAL
282# include "NimBLEClient.h"
283# include "NimBLERemoteService.h"
284# include "NimBLERemoteCharacteristic.h"
285# include "NimBLERemoteDescriptor.h"
286# endif
287
-
288# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
288# if CONFIG_BT_NIMBLE_ROLE_OBSERVER
289# include "NimBLEScan.h"
290# endif
291
-
292# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
292# if CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
293# include "NimBLEServer.h"
294# include "NimBLEService.h"
295# include "NimBLECharacteristic.h"
296# include "NimBLEDescriptor.h"
-
297# if CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM > 0
+
297# if CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM
298# include "NimBLEL2CAPServer.h"
299# include "NimBLEL2CAPChannel.h"
300# endif
301# endif
302
-
303# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
303# if CONFIG_BT_NIMBLE_ROLE_BROADCASTER
304# if CONFIG_BT_NIMBLE_EXT_ADV
305# include "NimBLEExtAdvertising.h"
306# else
@@ -406,85 +406,85 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
308# endif
309# endif
310
-
311# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) || defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
311# if CONFIG_BT_NIMBLE_ROLE_CENTRAL || CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
312# include "NimBLEConnInfo.h"
313# endif
314
-
315# include "NimBLEUtils.h"
-
316
-
- -
321 public:
-
322 virtual ~NimBLEDeviceCallbacks() {};
-
323
-
336 virtual int onStoreStatus(struct ble_store_status_event* event, void* arg);
-
337};
+
315# include "NimBLEAddress.h"
+
316# include "NimBLEUtils.h"
+
317
+
+ +
322 public:
+
323 virtual ~NimBLEDeviceCallbacks() {};
+
324
+
337 virtual int onStoreStatus(struct ble_store_status_event* event, void* arg);
+
338};
-
338
-
339#endif // CONFIG_BT_ENABLED
-
340#endif // NIMBLE_CPP_DEVICE_H_
-
A BLE device address.
Definition NimBLEAddress.h:41
-
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:52
-
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
339
+
340#endif // CONFIG_BT_ENABLED
+
341#endif // NIMBLE_CPP_DEVICE_H_
+
A BLE device address.
Definition NimBLEAddress.h:42
+
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:51
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:41
A model of a BLE client.
Definition NimBLEClient.h:49
Connection information.
Definition NimBLEConnInfo.h:32
-
Callbacks associated with a BLE device.
Definition NimBLEDevice.h:320
-
virtual int onStoreStatus(struct ble_store_status_event *event, void *arg)
Indicates an inability to perform a store operation. This callback should do one of two things: -Addr...
Definition NimBLEDevice.cpp:1356
+
Callbacks associated with a BLE device.
Definition NimBLEDevice.h:321
+
virtual int onStoreStatus(struct ble_store_status_event *event, void *arg)
Indicates an inability to perform a store operation. This callback should do one of two things: -Addr...
Definition NimBLEDevice.cpp:1342
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:122
-
static NimBLEClient * createClient()
Creates a new client object, each client can connect to 1 peripheral device.
Definition NimBLEDevice.cpp:349
-
static void onSync(void)
Host synced with controller, all clear to make calls to the stack.
Definition NimBLEDevice.cpp:835
-
static size_t getCreatedClientCount()
Get the number of created client objects.
Definition NimBLEDevice.cpp:409
-
static bool setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask)
Set the preferred default phy to use for connections.
Definition NimBLEDevice.cpp:809
-
static bool setOwnAddr(const NimBLEAddress &addr)
Set the device address to use.
Definition NimBLEDevice.cpp:1145
-
static NimBLEClient * getDisconnectedClient()
Finds the first disconnected client available.
Definition NimBLEDevice.cpp:454
-
static bool isBonded(const NimBLEAddress &address)
Checks if a peer device is bonded.
Definition NimBLEDevice.cpp:672
-
static bool setCustomGapHandler(gap_event_handler handler)
Set a custom callback for gap events.
Definition NimBLEDevice.cpp:1319
-
static bool deleteAllBonds()
Deletes all bonding information.
Definition NimBLEDevice.cpp:649
-
static bool startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)
Convenience function to begin advertising.
Definition NimBLEDevice.cpp:206
-
static void onReset(int reason)
Host reset, we pass the message so we don't make calls until re-synced.
Definition NimBLEDevice.cpp:822
-
static bool deleteBond(const NimBLEAddress &address)
Deletes a peer bond.
Definition NimBLEDevice.cpp:663
-
static bool init(const std::string &deviceName)
Initialize the BLE environment.
Definition NimBLEDevice.cpp:894
-
static bool setOwnAddrType(uint8_t type)
Sets the address type to use.
Definition NimBLEDevice.cpp:1116
-
static bool stopAdvertising()
Convenience function to stop all advertising.
Definition NimBLEDevice.cpp:246
-
static NimBLEServer * getServer()
Get the instance of the server.
Definition NimBLEDevice.cpp:155
-
static bool isInitialized()
Check if the initialization is complete.
Definition NimBLEDevice.cpp:1082
-
static bool setMTU(uint16_t mtu)
Setup local mtu that will be used to negotiate mtu during request from client peer.
Definition NimBLEDevice.cpp:609
-
static NimBLEAddress getWhiteListAddress(size_t index)
Gets the address at the vector index.
Definition NimBLEDevice.cpp:782
-
static NimBLEServer * createServer()
Create an instance of a server.
Definition NimBLEDevice.cpp:140
-
static bool injectPassKey(const NimBLEConnInfo &peerInfo, uint32_t pin)
Inject the provided passkey into the Security Manager.
Definition NimBLEDevice.cpp:1276
-
static uint16_t getMTU()
Get local MTU value set.
Definition NimBLEDevice.cpp:622
-
static int getPower(NimBLETxPowerType type=NimBLETxPowerType::All)
Get the transmission power.
Definition NimBLEDevice.cpp:568
-
static bool deinit(bool clearAll=false)
Shutdown the NimBLE stack/controller.
Definition NimBLEDevice.cpp:1021
-
static NimBLEAddress getAddress()
Get our device address.
Definition NimBLEDevice.cpp:1094
-
static int getNumBonds()
Gets the number of bonded peers stored.
Definition NimBLEDevice.cpp:634
-
static bool whiteListRemove(const NimBLEAddress &address)
Remove a peer address from the whitelist.
Definition NimBLEDevice.cpp:751
-
static bool deleteClient(NimBLEClient *pClient)
Delete the client object and remove it from the list. Checks if it is connected or trying to connect ...
Definition NimBLEDevice.cpp:376
-
static bool startSecurity(uint16_t connHandle, int *rcPtr=nullptr)
Start the connection securing and authorization for this connection.
Definition NimBLEDevice.cpp:1258
-
static NimBLEClient * getClientByHandle(uint16_t connHandle)
Get a reference to a client by connection handle.
Definition NimBLEDevice.cpp:425
-
static uint32_t getSecurityPasskey()
Get the current passkey used for pairing.
Definition NimBLEDevice.cpp:1248
-
static void setSecurityAuth(bool bonding, bool mitm, bool sc)
Set the authorization mode for this device.
Definition NimBLEDevice.cpp:1175
-
static NimBLEExtAdvertising * getAdvertising()
Get the instance of the extended advertising object.
Definition NimBLEDevice.cpp:191
-
static bool setDeviceName(const std::string &deviceName)
Set the BLEDevice name.
Definition NimBLEDevice.cpp:1304
-
static bool whiteListAdd(const NimBLEAddress &address)
Add a peer address to the whitelist.
Definition NimBLEDevice.cpp:732
-
static void setSecurityInitKey(uint8_t initKey)
If we are the initiator of the security procedure this sets the keys we will distribute.
Definition NimBLEDevice.cpp:1219
-
static size_t getWhiteListCount()
Gets the count of addresses in the whitelist.
Definition NimBLEDevice.cpp:773
-
static void host_task(void *param)
The main host task.
Definition NimBLEDevice.cpp:884
-
static void setSecurityPasskey(uint32_t passKey)
Set the passkey the server will ask for when pairing.
Definition NimBLEDevice.cpp:1240
-
static void setSecurityRespKey(uint8_t respKey)
Set the keys we are willing to accept during pairing.
Definition NimBLEDevice.cpp:1232
-
static void setSecurityIOCap(uint8_t iocap)
Set the Input/Output capabilities of this device.
Definition NimBLEDevice.cpp:1206
-
static std::string toString()
Return a string representation of the address of this device.
Definition NimBLEDevice.cpp:1335
-
static bool setPower(int8_t dbm, NimBLETxPowerType type=NimBLETxPowerType::All)
Set the transmission power.
Definition NimBLEDevice.cpp:525
-
static NimBLEAddress getBondedAddress(int index)
Get the address of a bonded peer device by index.
Definition NimBLEDevice.cpp:696
-
static std::vector< NimBLEClient * > getConnectedClients()
Get a list of connected clients.
Definition NimBLEDevice.cpp:468
-
static bool onWhiteList(const NimBLEAddress &address)
Checks if a peer device is whitelisted.
Definition NimBLEDevice.cpp:717
-
static NimBLEScan * getScan()
Retrieve the Scan object that we use for scanning.
Definition NimBLEDevice.cpp:261
-
static NimBLEClient * getClientByPeerAddress(const NimBLEAddress &peerAddress)
Get a reference to a client by peer address.
Definition NimBLEDevice.cpp:440
-
static bool injectConfirmPasskey(const NimBLEConnInfo &peerInfo, bool accept)
Inject the provided numeric comparison response into the Security Manager.
Definition NimBLEDevice.cpp:1288
+
static NimBLEClient * createClient()
Creates a new client object, each client can connect to 1 peripheral device.
Definition NimBLEDevice.cpp:335
+
static void onSync(void)
Host synced with controller, all clear to make calls to the stack.
Definition NimBLEDevice.cpp:821
+
static size_t getCreatedClientCount()
Get the number of created client objects.
Definition NimBLEDevice.cpp:395
+
static bool setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask)
Set the preferred default phy to use for connections.
Definition NimBLEDevice.cpp:795
+
static bool setOwnAddr(const NimBLEAddress &addr)
Set the device address to use.
Definition NimBLEDevice.cpp:1131
+
static NimBLEClient * getDisconnectedClient()
Finds the first disconnected client available.
Definition NimBLEDevice.cpp:440
+
static bool isBonded(const NimBLEAddress &address)
Checks if a peer device is bonded.
Definition NimBLEDevice.cpp:658
+
static bool setCustomGapHandler(gap_event_handler handler)
Set a custom callback for gap events.
Definition NimBLEDevice.cpp:1305
+
static bool deleteAllBonds()
Deletes all bonding information.
Definition NimBLEDevice.cpp:635
+
static bool startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)
Convenience function to begin advertising.
Definition NimBLEDevice.cpp:192
+
static void onReset(int reason)
Host reset, we pass the message so we don't make calls until re-synced.
Definition NimBLEDevice.cpp:808
+
static bool deleteBond(const NimBLEAddress &address)
Deletes a peer bond.
Definition NimBLEDevice.cpp:649
+
static bool init(const std::string &deviceName)
Initialize the BLE environment.
Definition NimBLEDevice.cpp:880
+
static bool setOwnAddrType(uint8_t type)
Sets the address type to use.
Definition NimBLEDevice.cpp:1102
+
static bool stopAdvertising()
Convenience function to stop all advertising.
Definition NimBLEDevice.cpp:232
+
static NimBLEServer * getServer()
Get the instance of the server.
Definition NimBLEDevice.cpp:141
+
static bool isInitialized()
Check if the initialization is complete.
Definition NimBLEDevice.cpp:1068
+
static bool setMTU(uint16_t mtu)
Setup local mtu that will be used to negotiate mtu during request from client peer.
Definition NimBLEDevice.cpp:595
+
static NimBLEAddress getWhiteListAddress(size_t index)
Gets the address at the vector index.
Definition NimBLEDevice.cpp:768
+
static NimBLEServer * createServer()
Create an instance of a server.
Definition NimBLEDevice.cpp:126
+
static bool injectPassKey(const NimBLEConnInfo &peerInfo, uint32_t pin)
Inject the provided passkey into the Security Manager.
Definition NimBLEDevice.cpp:1262
+
static uint16_t getMTU()
Get local MTU value set.
Definition NimBLEDevice.cpp:608
+
static int getPower(NimBLETxPowerType type=NimBLETxPowerType::All)
Get the transmission power.
Definition NimBLEDevice.cpp:554
+
static bool deinit(bool clearAll=false)
Shutdown the NimBLE stack/controller.
Definition NimBLEDevice.cpp:1007
+
static NimBLEAddress getAddress()
Get our device address.
Definition NimBLEDevice.cpp:1080
+
static int getNumBonds()
Gets the number of bonded peers stored.
Definition NimBLEDevice.cpp:620
+
static bool whiteListRemove(const NimBLEAddress &address)
Remove a peer address from the whitelist.
Definition NimBLEDevice.cpp:737
+
static bool deleteClient(NimBLEClient *pClient)
Delete the client object and remove it from the list. Checks if it is connected or trying to connect ...
Definition NimBLEDevice.cpp:362
+
static bool startSecurity(uint16_t connHandle, int *rcPtr=nullptr)
Start the connection securing and authorization for this connection.
Definition NimBLEDevice.cpp:1244
+
static NimBLEClient * getClientByHandle(uint16_t connHandle)
Get a reference to a client by connection handle.
Definition NimBLEDevice.cpp:411
+
static uint32_t getSecurityPasskey()
Get the current passkey used for pairing.
Definition NimBLEDevice.cpp:1234
+
static void setSecurityAuth(bool bonding, bool mitm, bool sc)
Set the authorization mode for this device.
Definition NimBLEDevice.cpp:1161
+
static NimBLEExtAdvertising * getAdvertising()
Get the instance of the extended advertising object.
Definition NimBLEDevice.cpp:177
+
static bool setDeviceName(const std::string &deviceName)
Set the BLEDevice name.
Definition NimBLEDevice.cpp:1290
+
static bool whiteListAdd(const NimBLEAddress &address)
Add a peer address to the whitelist.
Definition NimBLEDevice.cpp:718
+
static void setSecurityInitKey(uint8_t initKey)
If we are the initiator of the security procedure this sets the keys we will distribute.
Definition NimBLEDevice.cpp:1205
+
static size_t getWhiteListCount()
Gets the count of addresses in the whitelist.
Definition NimBLEDevice.cpp:759
+
static void host_task(void *param)
The main host task.
Definition NimBLEDevice.cpp:870
+
static void setSecurityPasskey(uint32_t passKey)
Set the passkey the server will ask for when pairing.
Definition NimBLEDevice.cpp:1226
+
static void setSecurityRespKey(uint8_t respKey)
Set the keys we are willing to accept during pairing.
Definition NimBLEDevice.cpp:1218
+
static void setSecurityIOCap(uint8_t iocap)
Set the Input/Output capabilities of this device.
Definition NimBLEDevice.cpp:1192
+
static std::string toString()
Return a string representation of the address of this device.
Definition NimBLEDevice.cpp:1321
+
static bool setPower(int8_t dbm, NimBLETxPowerType type=NimBLETxPowerType::All)
Set the transmission power.
Definition NimBLEDevice.cpp:511
+
static NimBLEAddress getBondedAddress(int index)
Get the address of a bonded peer device by index.
Definition NimBLEDevice.cpp:682
+
static std::vector< NimBLEClient * > getConnectedClients()
Get a list of connected clients.
Definition NimBLEDevice.cpp:454
+
static bool onWhiteList(const NimBLEAddress &address)
Checks if a peer device is whitelisted.
Definition NimBLEDevice.cpp:703
+
static NimBLEScan * getScan()
Retrieve the Scan object that we use for scanning.
Definition NimBLEDevice.cpp:247
+
static NimBLEClient * getClientByPeerAddress(const NimBLEAddress &peerAddress)
Get a reference to a client by peer address.
Definition NimBLEDevice.cpp:426
+
static bool injectConfirmPasskey(const NimBLEConnInfo &peerInfo, bool accept)
Inject the provided numeric comparison response into the Security Manager.
Definition NimBLEDevice.cpp:1274
Extended advertisement data.
Definition NimBLEExtAdvertising.h:46
Extended advertising class.
Definition NimBLEExtAdvertising.h:110
-
L2CAP server class.
Definition NimBLEL2CAPServer.h:20
Perform and manage BLE scans.
Definition NimBLEScan.h:67
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE server.
Definition NimBLEServer.h:62
diff --git a/_nim_b_l_e_eddystone_t_l_m_8h_source.html b/_nim_b_l_e_eddystone_t_l_m_8h_source.html index b54bc44..7d352e5 100644 --- a/_nim_b_l_e_eddystone_t_l_m_8h_source.html +++ b/_nim_b_l_e_eddystone_t_l_m_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_eddystone_t_l_m_8h_source.h
19#define NIMBLE_CPP_EDDYSTONETLM_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER
23
24class NimBLEUUID;
25
@@ -165,21 +165,21 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_eddystone_t_l_m_8h_source.h
69#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER
70#endif // NIMBLE_CPP_EDDYSTONETLM_H_
Representation of a beacon. See:
Definition NimBLEEddystoneTLM.h:35
-
void setData(const uint8_t *data, uint8_t length)
Set the raw data for the beacon advertisement.
Definition NimBLEEddystoneTLM.cpp:148
-
void setVersion(uint8_t version)
Set the version to advertise.
Definition NimBLEEddystoneTLM.cpp:183
-
const BeaconData getData()
Retrieve the data that is being advertised.
Definition NimBLEEddystoneTLM.cpp:35
-
void setUUID(const NimBLEUUID &l_uuid)
Set the UUID to advertise.
Definition NimBLEEddystoneTLM.cpp:171
-
uint32_t getCount()
Get the count of advertisements sent.
Definition NimBLEEddystoneTLM.cpp:75
-
void setCount(uint32_t advCount)
Set the advertisement count.
Definition NimBLEEddystoneTLM.cpp:207
-
int16_t getTemp()
Get the temperature being advertised.
Definition NimBLEEddystoneTLM.cpp:67
-
std::string toString()
Get a string representation of the beacon.
Definition NimBLEEddystoneTLM.cpp:91
-
void setTime(uint32_t tmil)
Set the advertisement time.
Definition NimBLEEddystoneTLM.cpp:215
-
NimBLEUUID getUUID()
Get the UUID being advertised.
Definition NimBLEEddystoneTLM.cpp:43
-
uint32_t getTime()
Get the advertisement time.
Definition NimBLEEddystoneTLM.cpp:83
-
void setVolt(uint16_t volt)
Set the battery voltage to advertise.
Definition NimBLEEddystoneTLM.cpp:191
-
uint8_t getVersion()
Get the version being advertised.
Definition NimBLEEddystoneTLM.cpp:51
-
void setTemp(int16_t temp)
Set the temperature to advertise.
Definition NimBLEEddystoneTLM.cpp:199
-
uint16_t getVolt()
Get the battery voltage.
Definition NimBLEEddystoneTLM.cpp:59
+
void setData(const uint8_t *data, uint8_t length)
Set the raw data for the beacon advertisement.
Definition NimBLEEddystoneTLM.cpp:147
+
void setVersion(uint8_t version)
Set the version to advertise.
Definition NimBLEEddystoneTLM.cpp:182
+
const BeaconData getData()
Retrieve the data that is being advertised.
Definition NimBLEEddystoneTLM.cpp:34
+
void setUUID(const NimBLEUUID &l_uuid)
Set the UUID to advertise.
Definition NimBLEEddystoneTLM.cpp:170
+
uint32_t getCount()
Get the count of advertisements sent.
Definition NimBLEEddystoneTLM.cpp:74
+
void setCount(uint32_t advCount)
Set the advertisement count.
Definition NimBLEEddystoneTLM.cpp:206
+
int16_t getTemp()
Get the temperature being advertised.
Definition NimBLEEddystoneTLM.cpp:66
+
std::string toString()
Get a string representation of the beacon.
Definition NimBLEEddystoneTLM.cpp:90
+
void setTime(uint32_t tmil)
Set the advertisement time.
Definition NimBLEEddystoneTLM.cpp:214
+
NimBLEUUID getUUID()
Get the UUID being advertised.
Definition NimBLEEddystoneTLM.cpp:42
+
uint32_t getTime()
Get the advertisement time.
Definition NimBLEEddystoneTLM.cpp:82
+
void setVolt(uint16_t volt)
Set the battery voltage to advertise.
Definition NimBLEEddystoneTLM.cpp:190
+
uint8_t getVersion()
Get the version being advertised.
Definition NimBLEEddystoneTLM.cpp:50
+
void setTemp(int16_t temp)
Set the temperature to advertise.
Definition NimBLEEddystoneTLM.cpp:198
+
uint16_t getVolt()
Get the battery voltage.
Definition NimBLEEddystoneTLM.cpp:58
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_ext_advertising_8h_source.html b/_nim_b_l_e_ext_advertising_8h_source.html index 819db94..650394a 100644 --- a/_nim_b_l_e_ext_advertising_8h_source.html +++ b/_nim_b_l_e_ext_advertising_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_ext_advertising_8h_source.h
19#define NIMBLE_CPP_EXTADVERTISING_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && CONFIG_BT_NIMBLE_EXT_ADV
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && CONFIG_BT_NIMBLE_EXT_ADV
23
24# if defined(CONFIG_NIMBLE_CPP_IDF)
25# include "host/ble_gap.h"
@@ -244,65 +244,65 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_ext_advertising_8h_source.h
161
162#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && CONFIG_BT_NIMBLE_EXT_ADV
163#endif // NIMBLE_CPP_EXTADVERTISING_H_
-
A BLE device address.
Definition NimBLEAddress.h:41
+
A BLE device address.
Definition NimBLEAddress.h:42
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:122
Extended advertisement data.
Definition NimBLEExtAdvertising.h:46
-
void setAddress(const NimBLEAddress &addr)
Set the address to use for this advertisement.
Definition NimBLEExtAdvertising.cpp:404
-
bool setAppearance(uint16_t appearance)
Set the appearance.
Definition NimBLEExtAdvertising.cpp:578
-
bool setFlags(uint8_t flag)
Set the advertisement flags.
Definition NimBLEExtAdvertising.cpp:600
-
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEExtAdvertising.cpp:690
-
void clearData()
Clears the data stored in this instance, does not change settings.
Definition NimBLEExtAdvertising.cpp:523
-
void setAnonymous(bool enable)
Sets whether the advertisement should be anonymous.
Definition NimBLEExtAdvertising.cpp:507
-
bool setPartialServices32(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEExtAdvertising.cpp:857
-
bool addData(const uint8_t *data, size_t length)
Add data to the payload to be advertised.
Definition NimBLEExtAdvertising.cpp:549
-
bool setCompleteServices16(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 16 bit services to advertise.
Definition NimBLEExtAdvertising.cpp:821
-
void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
Set the filtering for the scan filter.
Definition NimBLEExtAdvertising.cpp:427
-
bool removeData(uint8_t type)
Remove data from the advertisement data.
Definition NimBLEExtAdvertising.cpp:1056
-
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEExtAdvertising.cpp:919
-
bool setPreferredParams(uint16_t min, uint16_t max)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEExtAdvertising.cpp:997
-
void setLegacyAdvertising(bool enable)
Sets wether the advertisement should use legacy (BLE 4.0, 31 bytes max) advertising.
Definition NimBLEExtAdvertising.cpp:369
-
bool setPartialServices(const NimBLEUUID &uuid)
Set a single service to advertise as a partial list of services.
Definition NimBLEExtAdvertising.cpp:839
-
void setMaxInterval(uint32_t maxinterval)
Set the maximum advertising interval.
Definition NimBLEExtAdvertising.cpp:476
-
bool setManufacturerData(const uint8_t *data, size_t length)
Set manufacturer specific data.
Definition NimBLEExtAdvertising.cpp:619
-
bool setShortName(const std::string &name)
Set the short name.
Definition NimBLEExtAdvertising.cpp:986
-
void setDirectedPeer(const NimBLEAddress &addr)
Sets the peer to directly advertise to.
Definition NimBLEExtAdvertising.cpp:450
-
std::string toString() const
Get the string representation of the advertisement data.
Definition NimBLEExtAdvertising.cpp:1080
-
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEExtAdvertising.cpp:747
-
void setTxPower(int8_t dbm)
Sets the transmission power level for this advertisement.
Definition NimBLEExtAdvertising.cpp:386
-
bool setURI(const std::string &uri)
Set the URI to advertise.
Definition NimBLEExtAdvertising.cpp:655
-
int getDataLocation(uint8_t type) const
Get the location of the data in the payload.
Definition NimBLEExtAdvertising.cpp:1040
-
bool setName(const std::string &name, bool isComplete=true)
Set the complete name of this device.
Definition NimBLEExtAdvertising.cpp:673
-
bool addTxPower()
Adds Tx power level to the advertisement data.
Definition NimBLEExtAdvertising.cpp:1017
-
void setSecondaryPhy(uint8_t phy)
Set the secondary advertising PHY to use.
Definition NimBLEExtAdvertising.cpp:497
-
bool setCompleteServices32(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 32 bit services to advertise.
Definition NimBLEExtAdvertising.cpp:830
-
void enableScanRequestCallback(bool enable)
Sets whether the scan response request callback should be called.
Definition NimBLEExtAdvertising.cpp:515
-
void setPrimaryChannels(bool ch37, bool ch38, bool ch39)
Sets The primary channels to advertise on.
Definition NimBLEExtAdvertising.cpp:418
-
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEExtAdvertising.cpp:803
-
void setConnectable(bool enable)
Sets wether this advertisement should advertise as a connectable device.
Definition NimBLEExtAdvertising.cpp:394
-
void setPrimaryPhy(uint8_t phy)
Set the primary advertising PHY to use.
Definition NimBLEExtAdvertising.cpp:486
-
bool setPartialServices16(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEExtAdvertising.cpp:848
-
void setScannable(bool enable)
Sets wether the advertisement has scan response data available.
Definition NimBLEExtAdvertising.cpp:377
-
size_t getDataSize() const
Get the size of the current data.
Definition NimBLEExtAdvertising.cpp:1072
-
void setMinInterval(uint32_t mininterval)
Set the minimum advertising interval.
Definition NimBLEExtAdvertising.cpp:468
-
bool setCompleteServices(const NimBLEUUID &uuid)
Set a single service to advertise as a complete list of services.
Definition NimBLEExtAdvertising.cpp:812
-
void setDirected(bool enable, bool high_duty=true)
Enable or disable direct advertisements to the peer set with NimBLEExtAdvertisement::setDirectedPeer
Definition NimBLEExtAdvertising.cpp:459
-
bool setData(const uint8_t *data, size_t length)
Set the advertisement data.
Definition NimBLEExtAdvertising.cpp:534
+
void setAddress(const NimBLEAddress &addr)
Set the address to use for this advertisement.
Definition NimBLEExtAdvertising.cpp:403
+
bool setAppearance(uint16_t appearance)
Set the appearance.
Definition NimBLEExtAdvertising.cpp:577
+
bool setFlags(uint8_t flag)
Set the advertisement flags.
Definition NimBLEExtAdvertising.cpp:599
+
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEExtAdvertising.cpp:689
+
void clearData()
Clears the data stored in this instance, does not change settings.
Definition NimBLEExtAdvertising.cpp:522
+
void setAnonymous(bool enable)
Sets whether the advertisement should be anonymous.
Definition NimBLEExtAdvertising.cpp:506
+
bool setPartialServices32(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEExtAdvertising.cpp:856
+
bool addData(const uint8_t *data, size_t length)
Add data to the payload to be advertised.
Definition NimBLEExtAdvertising.cpp:548
+
bool setCompleteServices16(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 16 bit services to advertise.
Definition NimBLEExtAdvertising.cpp:820
+
void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
Set the filtering for the scan filter.
Definition NimBLEExtAdvertising.cpp:426
+
bool removeData(uint8_t type)
Remove data from the advertisement data.
Definition NimBLEExtAdvertising.cpp:1055
+
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEExtAdvertising.cpp:918
+
bool setPreferredParams(uint16_t min, uint16_t max)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEExtAdvertising.cpp:996
+
void setLegacyAdvertising(bool enable)
Sets wether the advertisement should use legacy (BLE 4.0, 31 bytes max) advertising.
Definition NimBLEExtAdvertising.cpp:368
+
bool setPartialServices(const NimBLEUUID &uuid)
Set a single service to advertise as a partial list of services.
Definition NimBLEExtAdvertising.cpp:838
+
void setMaxInterval(uint32_t maxinterval)
Set the maximum advertising interval.
Definition NimBLEExtAdvertising.cpp:475
+
bool setManufacturerData(const uint8_t *data, size_t length)
Set manufacturer specific data.
Definition NimBLEExtAdvertising.cpp:618
+
bool setShortName(const std::string &name)
Set the short name.
Definition NimBLEExtAdvertising.cpp:985
+
void setDirectedPeer(const NimBLEAddress &addr)
Sets the peer to directly advertise to.
Definition NimBLEExtAdvertising.cpp:449
+
std::string toString() const
Get the string representation of the advertisement data.
Definition NimBLEExtAdvertising.cpp:1079
+
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEExtAdvertising.cpp:746
+
void setTxPower(int8_t dbm)
Sets the transmission power level for this advertisement.
Definition NimBLEExtAdvertising.cpp:385
+
bool setURI(const std::string &uri)
Set the URI to advertise.
Definition NimBLEExtAdvertising.cpp:654
+
int getDataLocation(uint8_t type) const
Get the location of the data in the payload.
Definition NimBLEExtAdvertising.cpp:1039
+
bool setName(const std::string &name, bool isComplete=true)
Set the complete name of this device.
Definition NimBLEExtAdvertising.cpp:672
+
bool addTxPower()
Adds Tx power level to the advertisement data.
Definition NimBLEExtAdvertising.cpp:1016
+
void setSecondaryPhy(uint8_t phy)
Set the secondary advertising PHY to use.
Definition NimBLEExtAdvertising.cpp:496
+
bool setCompleteServices32(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 32 bit services to advertise.
Definition NimBLEExtAdvertising.cpp:829
+
void enableScanRequestCallback(bool enable)
Sets whether the scan response request callback should be called.
Definition NimBLEExtAdvertising.cpp:514
+
void setPrimaryChannels(bool ch37, bool ch38, bool ch39)
Sets The primary channels to advertise on.
Definition NimBLEExtAdvertising.cpp:417
+
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEExtAdvertising.cpp:802
+
void setConnectable(bool enable)
Sets wether this advertisement should advertise as a connectable device.
Definition NimBLEExtAdvertising.cpp:393
+
void setPrimaryPhy(uint8_t phy)
Set the primary advertising PHY to use.
Definition NimBLEExtAdvertising.cpp:485
+
bool setPartialServices16(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEExtAdvertising.cpp:847
+
void setScannable(bool enable)
Sets wether the advertisement has scan response data available.
Definition NimBLEExtAdvertising.cpp:376
+
size_t getDataSize() const
Get the size of the current data.
Definition NimBLEExtAdvertising.cpp:1071
+
void setMinInterval(uint32_t mininterval)
Set the minimum advertising interval.
Definition NimBLEExtAdvertising.cpp:467
+
bool setCompleteServices(const NimBLEUUID &uuid)
Set a single service to advertise as a complete list of services.
Definition NimBLEExtAdvertising.cpp:811
+
void setDirected(bool enable, bool high_duty=true)
Enable or disable direct advertisements to the peer set with NimBLEExtAdvertisement::setDirectedPeer
Definition NimBLEExtAdvertising.cpp:458
+
bool setData(const uint8_t *data, size_t length)
Set the advertisement data.
Definition NimBLEExtAdvertising.cpp:533
Callbacks associated with NimBLEExtAdvertising class.
Definition NimBLEExtAdvertising.h:140
-
virtual void onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t instId)
Handle an advertising stop event.
Definition NimBLEExtAdvertising.cpp:336
-
virtual void onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t instId, NimBLEAddress addr)
Handle a scan response request. This is called when a scanning device requests a scan response.
Definition NimBLEExtAdvertising.cpp:340
+
virtual void onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t instId)
Handle an advertising stop event.
Definition NimBLEExtAdvertising.cpp:335
+
virtual void onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t instId, NimBLEAddress addr)
Handle a scan response request. This is called when a scanning device requests a scan response.
Definition NimBLEExtAdvertising.cpp:339
Extended advertising class.
Definition NimBLEExtAdvertising.h:110
-
bool stop()
Stop all advertisements.
Definition NimBLEExtAdvertising.cpp:230
-
~NimBLEExtAdvertising()
Destructor: deletes callback instances if requested.
Definition NimBLEExtAdvertising.cpp:47
-
bool start(uint8_t instId, int duration=0, int maxEvents=0)
Start extended advertising.
Definition NimBLEExtAdvertising.cpp:158
-
bool isActive(uint8_t instId)
Check if currently advertising.
Definition NimBLEExtAdvertising.cpp:263
-
bool removeAll()
Stop and remove all advertising instance data.
Definition NimBLEExtAdvertising.cpp:197
-
bool isAdvertising()
Check if any instances are currently advertising.
Definition NimBLEExtAdvertising.cpp:271
-
bool setScanResponseData(uint8_t instId, NimBLEExtAdvertisement &data)
Set the scan response data for a legacy advertisement.
Definition NimBLEExtAdvertising.cpp:134
-
bool removeInstance(uint8_t instId)
Stop and remove this instance data from the advertisement set.
Definition NimBLEExtAdvertising.cpp:180
-
void setCallbacks(NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)
Set a callback to call when the advertisement stops.
Definition NimBLEExtAdvertising.cpp:248
-
bool setInstanceData(uint8_t instId, NimBLEExtAdvertisement &adv)
Register the extended advertisement data.
Definition NimBLEExtAdvertising.cpp:59
-
NimBLEExtAdvertising()
Constructor.
Definition NimBLEExtAdvertising.cpp:39
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
bool stop()
Stop all advertisements.
Definition NimBLEExtAdvertising.cpp:229
+
~NimBLEExtAdvertising()
Destructor: deletes callback instances if requested.
Definition NimBLEExtAdvertising.cpp:46
+
bool start(uint8_t instId, int duration=0, int maxEvents=0)
Start extended advertising.
Definition NimBLEExtAdvertising.cpp:157
+
bool isActive(uint8_t instId)
Check if currently advertising.
Definition NimBLEExtAdvertising.cpp:262
+
bool removeAll()
Stop and remove all advertising instance data.
Definition NimBLEExtAdvertising.cpp:196
+
bool isAdvertising()
Check if any instances are currently advertising.
Definition NimBLEExtAdvertising.cpp:270
+
bool setScanResponseData(uint8_t instId, NimBLEExtAdvertisement &data)
Set the scan response data for a legacy advertisement.
Definition NimBLEExtAdvertising.cpp:133
+
bool removeInstance(uint8_t instId)
Stop and remove this instance data from the advertisement set.
Definition NimBLEExtAdvertising.cpp:179
+
void setCallbacks(NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)
Set a callback to call when the advertisement stops.
Definition NimBLEExtAdvertising.cpp:247
+
bool setInstanceData(uint8_t instId, NimBLEExtAdvertisement &adv)
Register the extended advertisement data.
Definition NimBLEExtAdvertising.cpp:58
+
NimBLEExtAdvertising()
Constructor.
Definition NimBLEExtAdvertising.cpp:38
+
The model of a BLE server.
Definition NimBLEServer.h:62
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_h_i_d_device_8h_source.html b/_nim_b_l_e_h_i_d_device_8h_source.html index c015e0e..4350c53 100644 --- a/_nim_b_l_e_h_i_d_device_8h_source.html +++ b/_nim_b_l_e_h_i_d_device_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_h_i_d_device_8h_source.html
19#define NIMBLE_CPP_HIDDEVICE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
23
24# include <stdint.h>
25# include <string>
@@ -183,31 +183,31 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_h_i_d_device_8h_source.html
86};
87
-
88#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
88#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
89#endif // NIMBLE_CPP_HIDDEVICE_H_
-
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:41
A model of a BLE Human Interface Device.
Definition NimBLEHIDDevice.h:47
-
NimBLECharacteristic * getProtocolMode()
Get the HID protocol mode characteristic.
Definition NimBLEHIDDevice.cpp:284
-
NimBLECharacteristic * getHidInfo()
Get the HID information characteristic.
Definition NimBLEHIDDevice.cpp:316
-
NimBLEService * getHidService()
Get the HID service.
Definition NimBLEHIDDevice.cpp:332
-
NimBLECharacteristic * getBatteryLevel()
Get the battery level characteristic.
Definition NimBLEHIDDevice.cpp:292
-
bool setManufacturer(const std::string &name)
Get the manufacturer characteristic (this characteristic is optional).
Definition NimBLEHIDDevice.cpp:98
-
void startServices()
Start the HID device services. This function called when all the services have been created.
Definition NimBLEHIDDevice.cpp:87
-
NimBLEService * getDeviceInfoService()
Get the manufacturer characteristic.
Definition NimBLEHIDDevice.cpp:324
-
NimBLECharacteristic * getBootInput()
Get a keyboard boot input report characteristic.
Definition NimBLEHIDDevice.cpp:248
-
void setPnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)
Sets the Plug n Play characteristic value.
Definition NimBLEHIDDevice.cpp:118
-
void setBatteryLevel(uint8_t level, bool notify=false)
Set the battery level characteristic value.
Definition NimBLEHIDDevice.cpp:145
-
NimBLECharacteristic * getHidControl()
Get the HID control point characteristic.
Definition NimBLEHIDDevice.cpp:276
-
NimBLECharacteristic * getPnp()
Get the PnP characteristic.
Definition NimBLEHIDDevice.cpp:308
-
void setReportMap(uint8_t *map, uint16_t)
Set the report map data formatting information.
Definition NimBLEHIDDevice.cpp:79
-
NimBLECharacteristic * getFeatureReport(uint8_t reportId)
Get the feature report characteristic.
Definition NimBLEHIDDevice.cpp:226
-
NimBLECharacteristic * getOutputReport(uint8_t reportId)
Get the output report characteristic.
Definition NimBLEHIDDevice.cpp:202
-
NimBLECharacteristic * getBootOutput()
Create a keyboard boot output report characteristic.
Definition NimBLEHIDDevice.cpp:262
-
NimBLEService * getBatteryService()
Get the battery service.
Definition NimBLEHIDDevice.cpp:340
-
void setHidInfo(uint8_t country, uint8_t flags)
Sets the HID Information characteristic value.
Definition NimBLEHIDDevice.cpp:135
-
NimBLECharacteristic * getInputReport(uint8_t reportId)
Get the input report characteristic.
Definition NimBLEHIDDevice.cpp:179
-
NimBLECharacteristic * getReportMap()
Get the report map characteristic.
Definition NimBLEHIDDevice.cpp:300
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
NimBLECharacteristic * getProtocolMode()
Get the HID protocol mode characteristic.
Definition NimBLEHIDDevice.cpp:283
+
NimBLECharacteristic * getHidInfo()
Get the HID information characteristic.
Definition NimBLEHIDDevice.cpp:315
+
NimBLEService * getHidService()
Get the HID service.
Definition NimBLEHIDDevice.cpp:331
+
NimBLECharacteristic * getBatteryLevel()
Get the battery level characteristic.
Definition NimBLEHIDDevice.cpp:291
+
bool setManufacturer(const std::string &name)
Get the manufacturer characteristic (this characteristic is optional).
Definition NimBLEHIDDevice.cpp:97
+
void startServices()
Start the HID device services. This function called when all the services have been created.
Definition NimBLEHIDDevice.cpp:86
+
NimBLEService * getDeviceInfoService()
Get the manufacturer characteristic.
Definition NimBLEHIDDevice.cpp:323
+
NimBLECharacteristic * getBootInput()
Get a keyboard boot input report characteristic.
Definition NimBLEHIDDevice.cpp:247
+
void setPnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)
Sets the Plug n Play characteristic value.
Definition NimBLEHIDDevice.cpp:117
+
void setBatteryLevel(uint8_t level, bool notify=false)
Set the battery level characteristic value.
Definition NimBLEHIDDevice.cpp:144
+
NimBLECharacteristic * getHidControl()
Get the HID control point characteristic.
Definition NimBLEHIDDevice.cpp:275
+
NimBLECharacteristic * getPnp()
Get the PnP characteristic.
Definition NimBLEHIDDevice.cpp:307
+
void setReportMap(uint8_t *map, uint16_t)
Set the report map data formatting information.
Definition NimBLEHIDDevice.cpp:78
+
NimBLECharacteristic * getFeatureReport(uint8_t reportId)
Get the feature report characteristic.
Definition NimBLEHIDDevice.cpp:225
+
NimBLECharacteristic * getOutputReport(uint8_t reportId)
Get the output report characteristic.
Definition NimBLEHIDDevice.cpp:201
+
NimBLECharacteristic * getBootOutput()
Create a keyboard boot output report characteristic.
Definition NimBLEHIDDevice.cpp:261
+
NimBLEService * getBatteryService()
Get the battery service.
Definition NimBLEHIDDevice.cpp:339
+
void setHidInfo(uint8_t country, uint8_t flags)
Sets the HID Information characteristic value.
Definition NimBLEHIDDevice.cpp:134
+
NimBLECharacteristic * getInputReport(uint8_t reportId)
Get the input report characteristic.
Definition NimBLEHIDDevice.cpp:178
+
NimBLECharacteristic * getReportMap()
Get the report map characteristic.
Definition NimBLEHIDDevice.cpp:299
+
The model of a BLE server.
Definition NimBLEServer.h:62
The model of a BLE service.
Definition NimBLEService.h:34
diff --git a/_nim_b_l_e_l2_c_a_p_channel_8h_source.html b/_nim_b_l_e_l2_c_a_p_channel_8h_source.html index 3f70993..6d20712 100644 --- a/_nim_b_l_e_l2_c_a_p_channel_8h_source.html +++ b/_nim_b_l_e_l2_c_a_p_channel_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -100,110 +100,98 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_l2_c_a_p_channel_8h_source.
1//
2// (C) Dr. Michael 'Mickey' Lauer <mickey@vanille-media.de>
3//
-
4#pragma once
-
5#ifndef NIMBLEL2CAPCHANNEL_H
-
6# define NIMBLEL2CAPCHANNEL_H
+
4
+
5#ifndef NIMBLE_CPP_L2CAPCHANNEL_H_
+
6#define NIMBLE_CPP_L2CAPCHANNEL_H_
7
-
8# include "nimconfig.h"
-
9
-
10# include "inttypes.h"
-
11# if defined(CONFIG_NIMBLE_CPP_IDF)
-
12# include "host/ble_l2cap.h"
-
13# include "os/os_mbuf.h"
-
14# else
-
15# include "nimble/nimble/host/include/host/ble_l2cap.h"
-
16# include "nimble/porting/nimble/include/os/os_mbuf.h"
-
17# endif
-
18
-
19/**** FIX COMPILATION ****/
-
20# undef min
-
21# undef max
-
22/**************************/
-
23
-
24# include <vector>
-
25# include <atomic>
-
26
-
27class NimBLEClient;
- -
29struct NimBLETaskData;
-
30
-
- -
39 public:
-
47 static NimBLEL2CAPChannel* connect(NimBLEClient* client, uint16_t psm, uint16_t mtu, NimBLEL2CAPChannelCallbacks* callbacks);
-
48
-
56 bool write(const std::vector<uint8_t>& bytes);
-
57
-
59 bool isConnected() const { return !!channel; }
-
60
-
61 protected:
-
62 NimBLEL2CAPChannel(uint16_t psm, uint16_t mtu, NimBLEL2CAPChannelCallbacks* callbacks);
- -
64
-
65 int handleConnectionEvent(struct ble_l2cap_event* event);
-
66 int handleAcceptEvent(struct ble_l2cap_event* event);
-
67 int handleDataReceivedEvent(struct ble_l2cap_event* event);
-
68 int handleTxUnstalledEvent(struct ble_l2cap_event* event);
-
69 int handleDisconnectionEvent(struct ble_l2cap_event* event);
-
70
-
71 private:
-
72 friend class NimBLEL2CAPServer;
-
73 static constexpr const char* LOG_TAG = "NimBLEL2CAPChannel";
-
74
-
75 const uint16_t psm; // PSM of the channel
-
76 const uint16_t mtu; // The requested (local) MTU of the channel, might be larger than negotiated MTU
-
77 struct ble_l2cap_chan* channel = nullptr;
- -
79 uint8_t* receiveBuffer = nullptr; // buffers a full (local) MTU
-
80
-
81 // NimBLE memory pool
-
82 void* _coc_memory = nullptr;
-
83 struct os_mempool _coc_mempool;
-
84 struct os_mbuf_pool _coc_mbuf_pool;
-
85
-
86 // Runtime handling
-
87 std::atomic<bool> stalled{false};
-
88 NimBLETaskData* m_pTaskData{nullptr};
-
89
-
90 // Allocate / deallocate NimBLE memory pool
-
91 bool setupMemPool();
-
92 void teardownMemPool();
-
93
-
94 // Writes data up to the size of the negotiated MTU to the channel.
-
95 int writeFragment(std::vector<uint8_t>::const_iterator begin, std::vector<uint8_t>::const_iterator end);
-
96
-
97 // L2CAP event handler
-
98 static int handleL2capEvent(struct ble_l2cap_event* event, void* arg);
-
99};
-
-
100
-
- -
105 public:
-
106 NimBLEL2CAPChannelCallbacks() = default;
-
107 virtual ~NimBLEL2CAPChannelCallbacks() = default;
-
108
-
112 virtual bool shouldAcceptConnection(NimBLEL2CAPChannel* channel) { return true; }
-
115 virtual void onConnect(NimBLEL2CAPChannel* channel, uint16_t negotiatedMTU) {};
-
118 virtual void onRead(NimBLEL2CAPChannel* channel, std::vector<uint8_t>& data) {};
-
121 virtual void onDisconnect(NimBLEL2CAPChannel* channel) {};
-
122};
-
-
123
-
124#endif
+
8#include "nimconfig.h"
+
9#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM
+
10
+
11# include "inttypes.h"
+
12# if defined(CONFIG_NIMBLE_CPP_IDF)
+
13# include "host/ble_l2cap.h"
+
14# include "os/os_mbuf.h"
+
15# else
+
16# include "nimble/nimble/host/include/host/ble_l2cap.h"
+
17# include "nimble/porting/nimble/include/os/os_mbuf.h"
+
18# endif
+
19
+
20/**** FIX COMPILATION ****/
+
21# undef min
+
22# undef max
+
23/**************************/
+
24
+
25# include <vector>
+
26# include <atomic>
+
27
+
28class NimBLEClient;
+
29class NimBLEL2CAPChannelCallbacks;
+
30struct NimBLETaskData;
+
31
+
39class NimBLEL2CAPChannel {
+
40 public:
+
48 static NimBLEL2CAPChannel* connect(NimBLEClient* client, uint16_t psm, uint16_t mtu, NimBLEL2CAPChannelCallbacks* callbacks);
+
49
+
57 bool write(const std::vector<uint8_t>& bytes);
+
58
+
60 bool isConnected() const { return !!channel; }
+
61
+
62 protected:
+
63 NimBLEL2CAPChannel(uint16_t psm, uint16_t mtu, NimBLEL2CAPChannelCallbacks* callbacks);
+
64 ~NimBLEL2CAPChannel();
+
65
+
66 int handleConnectionEvent(struct ble_l2cap_event* event);
+
67 int handleAcceptEvent(struct ble_l2cap_event* event);
+
68 int handleDataReceivedEvent(struct ble_l2cap_event* event);
+
69 int handleTxUnstalledEvent(struct ble_l2cap_event* event);
+
70 int handleDisconnectionEvent(struct ble_l2cap_event* event);
+
71
+
72 private:
+
73 friend class NimBLEL2CAPServer;
+
74 static constexpr const char* LOG_TAG = "NimBLEL2CAPChannel";
+
75
+
76 const uint16_t psm; // PSM of the channel
+
77 const uint16_t mtu; // The requested (local) MTU of the channel, might be larger than negotiated MTU
+
78 struct ble_l2cap_chan* channel = nullptr;
+
79 NimBLEL2CAPChannelCallbacks* callbacks;
+
80 uint8_t* receiveBuffer = nullptr; // buffers a full (local) MTU
+
81
+
82 // NimBLE memory pool
+
83 void* _coc_memory = nullptr;
+
84 struct os_mempool _coc_mempool;
+
85 struct os_mbuf_pool _coc_mbuf_pool;
+
86
+
87 // Runtime handling
+
88 std::atomic<bool> stalled{false};
+
89 NimBLETaskData* m_pTaskData{nullptr};
+
90
+
91 // Allocate / deallocate NimBLE memory pool
+
92 bool setupMemPool();
+
93 void teardownMemPool();
+
94
+
95 // Writes data up to the size of the negotiated MTU to the channel.
+
96 int writeFragment(std::vector<uint8_t>::const_iterator begin, std::vector<uint8_t>::const_iterator end);
+
97
+
98 // L2CAP event handler
+
99 static int handleL2capEvent(struct ble_l2cap_event* event, void* arg);
+
100};
+
101
+
105class NimBLEL2CAPChannelCallbacks {
+
106 public:
+
107 NimBLEL2CAPChannelCallbacks() = default;
+
108 virtual ~NimBLEL2CAPChannelCallbacks() = default;
+
109
+
113 virtual bool shouldAcceptConnection(NimBLEL2CAPChannel* channel) { return true; }
+
116 virtual void onConnect(NimBLEL2CAPChannel* channel, uint16_t negotiatedMTU) {};
+
119 virtual void onRead(NimBLEL2CAPChannel* channel, std::vector<uint8_t>& data) {};
+
122 virtual void onDisconnect(NimBLEL2CAPChannel* channel) {};
+
123};
+
124
+
125#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM
+
126#endif // NIMBLE_CPP_L2CAPCHANNEL_H_
A model of a BLE client.
Definition NimBLEClient.h:49
-
Callbacks base class for the L2CAP channel.
Definition NimBLEL2CAPChannel.h:104
-
virtual void onRead(NimBLEL2CAPChannel *channel, std::vector< uint8_t > &data)
Definition NimBLEL2CAPChannel.h:118
-
virtual void onDisconnect(NimBLEL2CAPChannel *channel)
Definition NimBLEL2CAPChannel.h:121
-
virtual bool shouldAcceptConnection(NimBLEL2CAPChannel *channel)
Definition NimBLEL2CAPChannel.h:112
-
virtual void onConnect(NimBLEL2CAPChannel *channel, uint16_t negotiatedMTU)
Definition NimBLEL2CAPChannel.h:115
-
Encapsulates a L2CAP channel.
Definition NimBLEL2CAPChannel.h:38
-
static NimBLEL2CAPChannel * connect(NimBLEClient *client, uint16_t psm, uint16_t mtu, NimBLEL2CAPChannelCallbacks *callbacks)
Open an L2CAP channel via the specified PSM and MTU.
Definition NimBLEL2CAPChannel.cpp:145
-
bool write(const std::vector< uint8_t > &bytes)
Write data to the channel.
Definition NimBLEL2CAPChannel.cpp:171
-
bool isConnected() const
Definition NimBLEL2CAPChannel.h:59
-
L2CAP server class.
Definition NimBLEL2CAPServer.h:20
-
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:32
+
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:33
diff --git a/_nim_b_l_e_l2_c_a_p_server_8h_source.html b/_nim_b_l_e_l2_c_a_p_server_8h_source.html index 31c3ead..5453390 100644 --- a/_nim_b_l_e_l2_c_a_p_server_8h_source.html +++ b/_nim_b_l_e_l2_c_a_p_server_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -100,37 +100,35 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_l2_c_a_p_server_8h_source.h
1//
2// (C) Dr. Michael 'Mickey' Lauer <mickey@vanille-media.de>
3//
-
4#ifndef NIMBLEL2CAPSERVER_H
-
5#define NIMBLEL2CAPSERVER_H
-
6#pragma once
-
7
-
8#include "inttypes.h"
-
9#include <vector>
-
10
- - -
13
-
- -
21 public:
-
27 NimBLEL2CAPChannel* createService(const uint16_t psm, const uint16_t mtu, NimBLEL2CAPChannelCallbacks* callbacks);
-
28
-
29 private:
- - -
32 std::vector<NimBLEL2CAPChannel*> services;
-
33
-
34 friend class NimBLEL2CAPChannel;
-
35 friend class NimBLEDevice;
-
36};
-
-
37
-
38#endif
+
4
+
5#ifndef NIMBLE_CPP_L2CAPSERVER_H_
+
6#define NIMBLE_CPP_L2CAPSERVER_H_
+
7#include "nimconfig.h"
+
8#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM
+
9
+
10# include "inttypes.h"
+
11# include <vector>
+
12
+
13class NimBLEL2CAPChannel;
+
14class NimBLEL2CAPChannelCallbacks;
+
15
+
22class NimBLEL2CAPServer {
+
23 public:
+
29 NimBLEL2CAPChannel* createService(const uint16_t psm, const uint16_t mtu, NimBLEL2CAPChannelCallbacks* callbacks);
+
30
+
31 private:
+
32 NimBLEL2CAPServer();
+
33 ~NimBLEL2CAPServer();
+
34 std::vector<NimBLEL2CAPChannel*> services;
+
35
+
36 friend class NimBLEL2CAPChannel;
+
37 friend class NimBLEDevice;
+
38};
+
39
+
40#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM
+
41#endif // NIMBLE_CPP_L2CAPSERVER_H_
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:122
-
Callbacks base class for the L2CAP channel.
Definition NimBLEL2CAPChannel.h:104
-
Encapsulates a L2CAP channel.
Definition NimBLEL2CAPChannel.h:38
-
L2CAP server class.
Definition NimBLEL2CAPServer.h:20
-
NimBLEL2CAPChannel * createService(const uint16_t psm, const uint16_t mtu, NimBLEL2CAPChannelCallbacks *callbacks)
Register a new L2CAP service instance.
Definition NimBLEL2CAPServer.cpp:22
+
diff --git a/_nim_b_l_e_local_attribute_8h_source.html b/_nim_b_l_e_local_attribute_8h_source.html index 61033d1..16110a5 100644 --- a/_nim_b_l_e_local_attribute_8h_source.html +++ b/_nim_b_l_e_local_attribute_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_local_attribute_8h_source.h
19#define NIMBLE_CPP_LOCAL_ATTRIBUTE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
23
24# include "NimBLEAttribute.h"
25
diff --git a/_nim_b_l_e_local_value_attribute_8h_source.html b/_nim_b_l_e_local_value_attribute_8h_source.html index 7b7f857..d3d60b0 100644 --- a/_nim_b_l_e_local_value_attribute_8h_source.html +++ b/_nim_b_l_e_local_value_attribute_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_local_value_attribute_8h_so
19#define NIMBLE_LOCAL_VALUE_ATTRIBUTE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
23
24# if defined(CONFIG_NIMBLE_CPP_IDF)
25# include "host/ble_hs.h"
@@ -190,10 +190,10 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_local_value_attribute_8h_so
142
143#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
144#endif // NIMBLE_LOCAL_VALUE_ATTRIBUTE_H_
-
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:71
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
Connection information.
Definition NimBLEConnInfo.h:32
A base class for local BLE attributes.
Definition NimBLELocalAttribute.h:29
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE server.
Definition NimBLEServer.h:62
A model of a BLE UUID.
Definition NimBLEUUID.h:41
#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH
Uncomment to set the default allocation size (bytes) for each attribute if not specified when the con...
Definition nimconfig.h:68
diff --git a/_nim_b_l_e_log_8h_source.html b/_nim_b_l_e_log_8h_source.html index 526e633..0c3420b 100644 --- a/_nim_b_l_e_log_8h_source.html +++ b/_nim_b_l_e_log_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_log_8h_source.html',''); in
19#define NIMBLE_CPP_LOG_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED)
+
22#if CONFIG_BT_ENABLED
23
24# if defined(CONFIG_NIMBLE_CPP_IDF)
25# include "esp_log.h"
diff --git a/_nim_b_l_e_remote_characteristic_8h_source.html b/_nim_b_l_e_remote_characteristic_8h_source.html index 2800d22..48a7e1a 100644 --- a/_nim_b_l_e_remote_characteristic_8h_source.html +++ b/_nim_b_l_e_remote_characteristic_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_characteristic_8h_so
19#define NIMBLE_CPP_REMOTE_CHARACTERISTIC_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
23
24# include "NimBLERemoteValueAttribute.h"
25# include <vector>
@@ -181,24 +181,24 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_characteristic_8h_so
83#endif /* NIMBLE_CPP_REMOTE_CHARACTERISTIC_H_ */
A model of a BLE client.
Definition NimBLEClient.h:49
A model of a remote BLE characteristic.
Definition NimBLERemoteCharacteristic.h:36
-
size_t deleteDescriptor(const NimBLEUUID &uuid) const
Delete descriptor by UUID.
Definition NimBLERemoteCharacteristic.cpp:283
-
bool canWriteNoResponse() const
Does the characteristic support writing without a response?
Definition NimBLERemoteCharacteristic.cpp:318
-
bool canBroadcast() const
Does the characteristic support value broadcasting?
Definition NimBLERemoteCharacteristic.cpp:302
-
std::vector< NimBLERemoteDescriptor * >::iterator begin() const
Get iterator to the beginning of the vector of remote descriptor pointers.
Definition NimBLERemoteCharacteristic.cpp:198
-
std::vector< NimBLERemoteDescriptor * >::iterator end() const
Get iterator to the end of the vector of remote descriptor pointers.
Definition NimBLERemoteCharacteristic.cpp:206
-
void deleteDescriptors() const
Delete the descriptors in the descriptor vector.
Definition NimBLERemoteCharacteristic.cpp:267
-
const NimBLERemoteService * getRemoteService() const
Get the remote service associated with this characteristic.
Definition NimBLERemoteCharacteristic.cpp:214
-
const std::vector< NimBLERemoteDescriptor * > & getDescriptors(bool refresh=false) const
Get a pointer to the vector of found descriptors.
Definition NimBLERemoteCharacteristic.cpp:185
-
bool canWrite() const
Does the characteristic support writing?
Definition NimBLERemoteCharacteristic.cpp:326
-
bool canRead() const
Does the characteristic support reading?
Definition NimBLERemoteCharacteristic.cpp:310
-
bool unsubscribe(bool response=true) const
Unsubscribe for notifications or indications.
Definition NimBLERemoteCharacteristic.cpp:257
-
bool canIndicate() const
Does the characteristic support indication?
Definition NimBLERemoteCharacteristic.cpp:342
-
NimBLERemoteDescriptor * getDescriptor(const NimBLEUUID &uuid) const
Get the descriptor instance with the given UUID that belongs to this characteristic.
Definition NimBLERemoteCharacteristic.cpp:141
-
std::string toString() const
Convert a NimBLERemoteCharacteristic to a string representation;.
Definition NimBLERemoteCharacteristic.cpp:366
-
bool subscribe(bool notifications=true, const notify_callback notifyCallback=nullptr, bool response=true) const
Subscribe for notifications or indications.
Definition NimBLERemoteCharacteristic.cpp:248
-
bool canNotify() const
Does the characteristic support reading with encryption?
Definition NimBLERemoteCharacteristic.cpp:334
-
bool canWriteSigned() const
Does the characteristic support signed writing?
Definition NimBLERemoteCharacteristic.cpp:350
-
bool hasExtendedProps() const
Does the characteristic support extended properties?
Definition NimBLERemoteCharacteristic.cpp:358
+
size_t deleteDescriptor(const NimBLEUUID &uuid) const
Delete descriptor by UUID.
Definition NimBLERemoteCharacteristic.cpp:282
+
bool canWriteNoResponse() const
Does the characteristic support writing without a response?
Definition NimBLERemoteCharacteristic.cpp:317
+
bool canBroadcast() const
Does the characteristic support value broadcasting?
Definition NimBLERemoteCharacteristic.cpp:301
+
std::vector< NimBLERemoteDescriptor * >::iterator begin() const
Get iterator to the beginning of the vector of remote descriptor pointers.
Definition NimBLERemoteCharacteristic.cpp:197
+
std::vector< NimBLERemoteDescriptor * >::iterator end() const
Get iterator to the end of the vector of remote descriptor pointers.
Definition NimBLERemoteCharacteristic.cpp:205
+
void deleteDescriptors() const
Delete the descriptors in the descriptor vector.
Definition NimBLERemoteCharacteristic.cpp:266
+
const NimBLERemoteService * getRemoteService() const
Get the remote service associated with this characteristic.
Definition NimBLERemoteCharacteristic.cpp:213
+
const std::vector< NimBLERemoteDescriptor * > & getDescriptors(bool refresh=false) const
Get a pointer to the vector of found descriptors.
Definition NimBLERemoteCharacteristic.cpp:184
+
bool canWrite() const
Does the characteristic support writing?
Definition NimBLERemoteCharacteristic.cpp:325
+
bool canRead() const
Does the characteristic support reading?
Definition NimBLERemoteCharacteristic.cpp:309
+
bool unsubscribe(bool response=true) const
Unsubscribe for notifications or indications.
Definition NimBLERemoteCharacteristic.cpp:256
+
bool canIndicate() const
Does the characteristic support indication?
Definition NimBLERemoteCharacteristic.cpp:341
+
NimBLERemoteDescriptor * getDescriptor(const NimBLEUUID &uuid) const
Get the descriptor instance with the given UUID that belongs to this characteristic.
Definition NimBLERemoteCharacteristic.cpp:140
+
std::string toString() const
Convert a NimBLERemoteCharacteristic to a string representation;.
Definition NimBLERemoteCharacteristic.cpp:365
+
bool subscribe(bool notifications=true, const notify_callback notifyCallback=nullptr, bool response=true) const
Subscribe for notifications or indications.
Definition NimBLERemoteCharacteristic.cpp:247
+
bool canNotify() const
Does the characteristic support reading with encryption?
Definition NimBLERemoteCharacteristic.cpp:333
+
bool canWriteSigned() const
Does the characteristic support signed writing?
Definition NimBLERemoteCharacteristic.cpp:349
+
bool hasExtendedProps() const
Does the characteristic support extended properties?
Definition NimBLERemoteCharacteristic.cpp:357
A model of remote BLE descriptor.
Definition NimBLERemoteDescriptor.h:32
A model of a remote BLE service.
Definition NimBLERemoteService.h:34
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_remote_descriptor_8h_source.html b/_nim_b_l_e_remote_descriptor_8h_source.html index 0ba23ea..6902dcc 100644 --- a/_nim_b_l_e_remote_descriptor_8h_source.html +++ b/_nim_b_l_e_remote_descriptor_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_descriptor_8h_source
19#define NIMBLE_CPP_REMOTE_DESCRIPTOR_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
23
24# include "NimBLERemoteValueAttribute.h"
25
@@ -142,13 +142,13 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_descriptor_8h_source
45};
46
-
47#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
-
48#endif /* NIMBLE_CPP_REMOTE_DESCRIPTOR_H_ */
+
47#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
+
48#endif // NIMBLE_CPP_REMOTE_DESCRIPTOR_H_
A model of a BLE client.
Definition NimBLEClient.h:49
A model of a remote BLE characteristic.
Definition NimBLERemoteCharacteristic.h:36
A model of remote BLE descriptor.
Definition NimBLERemoteDescriptor.h:32
-
NimBLERemoteCharacteristic * getRemoteCharacteristic() const
Get the characteristic that owns this descriptor.
Definition NimBLERemoteDescriptor.cpp:38
-
std::string toString(void) const
Return a string representation of this Remote Descriptor.
Definition NimBLERemoteDescriptor.cpp:46
+
NimBLERemoteCharacteristic * getRemoteCharacteristic() const
Get the characteristic that owns this descriptor.
Definition NimBLERemoteDescriptor.cpp:37
+
std::string toString(void) const
Return a string representation of this Remote Descriptor.
Definition NimBLERemoteDescriptor.cpp:45
diff --git a/_nim_b_l_e_remote_service_8h_source.html b/_nim_b_l_e_remote_service_8h_source.html index 008f515..5f24c5e 100644 --- a/_nim_b_l_e_remote_service_8h_source.html +++ b/_nim_b_l_e_remote_service_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_service_8h_source.ht
19#define NIMBLE_CPP_REMOTE_SERVICE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
23
24# include "NimBLEAttribute.h"
25# include <vector>
@@ -162,24 +162,24 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_service_8h_source.ht
65}; // NimBLERemoteService
66
-
67#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
-
68#endif /* NIMBLE_CPP_REMOTE_SERVICE_H_*/
-
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:71
+
67#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
+
68#endif // NIMBLE_CPP_REMOTE_SERVICE_H_
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
A base class for BLE attributes.
Definition NimBLEAttribute.h:29
uint16_t getHandle() const
Get the handle of the attribute.
Definition NimBLEAttribute.h:40
A model of a BLE client.
Definition NimBLEClient.h:49
A model of a remote BLE characteristic.
Definition NimBLERemoteCharacteristic.h:36
A model of a remote BLE service.
Definition NimBLERemoteService.h:34
-
bool setValue(const NimBLEUUID &characteristicUuid, const NimBLEAttValue &value) const
Set the value of a characteristic.
Definition NimBLERemoteService.cpp:247
-
NimBLEClient * getClient(void) const
Get the client associated with this service.
Definition NimBLERemoteService.cpp:223
-
std::string toString(void) const
Create a string representation of this remote service.
Definition NimBLERemoteService.cpp:290
-
std::vector< NimBLERemoteCharacteristic * >::iterator end() const
Get iterator to the end of the vector of remote characteristic pointers.
Definition NimBLERemoteService.cpp:59
-
const std::vector< NimBLERemoteCharacteristic * > & getCharacteristics(bool refresh=false) const
Get a pointer to the vector of found characteristics.
Definition NimBLERemoteService.cpp:133
-
void deleteCharacteristics() const
Delete the characteristics in the characteristics vector.
Definition NimBLERemoteService.cpp:262
-
size_t deleteCharacteristic(const NimBLEUUID &uuid) const
Delete characteristic by UUID.
Definition NimBLERemoteService.cpp:274
-
std::vector< NimBLERemoteCharacteristic * >::iterator begin() const
Get iterator to the beginning of the vector of remote characteristic pointers.
Definition NimBLERemoteService.cpp:51
-
NimBLEAttValue getValue(const NimBLEUUID &characteristicUuid) const
Read the value of a characteristic associated with this service.
Definition NimBLERemoteService.cpp:232
-
NimBLERemoteCharacteristic * getCharacteristic(const char *uuid) const
Get the remote characteristic object for the characteristic UUID.
Definition NimBLERemoteService.cpp:68
+
bool setValue(const NimBLEUUID &characteristicUuid, const NimBLEAttValue &value) const
Set the value of a characteristic.
Definition NimBLERemoteService.cpp:246
+
NimBLEClient * getClient(void) const
Get the client associated with this service.
Definition NimBLERemoteService.cpp:222
+
std::string toString(void) const
Create a string representation of this remote service.
Definition NimBLERemoteService.cpp:289
+
std::vector< NimBLERemoteCharacteristic * >::iterator end() const
Get iterator to the end of the vector of remote characteristic pointers.
Definition NimBLERemoteService.cpp:58
+
const std::vector< NimBLERemoteCharacteristic * > & getCharacteristics(bool refresh=false) const
Get a pointer to the vector of found characteristics.
Definition NimBLERemoteService.cpp:132
+
void deleteCharacteristics() const
Delete the characteristics in the characteristics vector.
Definition NimBLERemoteService.cpp:261
+
size_t deleteCharacteristic(const NimBLEUUID &uuid) const
Delete characteristic by UUID.
Definition NimBLERemoteService.cpp:273
+
std::vector< NimBLERemoteCharacteristic * >::iterator begin() const
Get iterator to the beginning of the vector of remote characteristic pointers.
Definition NimBLERemoteService.cpp:50
+
NimBLEAttValue getValue(const NimBLEUUID &characteristicUuid) const
Read the value of a characteristic associated with this service.
Definition NimBLERemoteService.cpp:231
+
NimBLERemoteCharacteristic * getCharacteristic(const char *uuid) const
Get the remote characteristic object for the characteristic UUID.
Definition NimBLERemoteService.cpp:67
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_remote_value_attribute_8h_source.html b/_nim_b_l_e_remote_value_attribute_8h_source.html index f059c26..13f237a 100644 --- a/_nim_b_l_e_remote_value_attribute_8h_source.html +++ b/_nim_b_l_e_remote_value_attribute_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_value_attribute_8h_s
19#define NIMBLE_CPP_REMOTE_VALUE_ATTRIBUTE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
23
24# if defined(CONFIG_NIMBLE_CPP_IDF)
25# include <host/ble_gatt.h>
@@ -207,9 +207,9 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_value_attribute_8h_s
170 static int onWriteCB(uint16_t conn_handle, const ble_gatt_error* error, ble_gatt_attr* attr, void* arg);
171};
172
-
173#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
+
173#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL
174#endif // NIMBLE_CPP_REMOTE_VALUE_ATTRIBUTE_H_
-
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:71
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
A base class for BLE attributes.
Definition NimBLEAttribute.h:29
A model of a BLE client.
Definition NimBLEClient.h:49
diff --git a/_nim_b_l_e_scan_8h_source.html b/_nim_b_l_e_scan_8h_source.html index f588759..0dee68b 100644 --- a/_nim_b_l_e_scan_8h_source.html +++ b/_nim_b_l_e_scan_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_scan_8h_source.html',''); i
19#define NIMBLE_CPP_SCAN_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_OBSERVER
23
24# include "NimBLEAdvertisedDevice.h"
25# include "NimBLEUtils.h"
@@ -215,38 +215,38 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_scan_8h_source.html',''); i
138
139#endif // CONFIG_BT_ENABLED CONFIG_BT_NIMBLE_ROLE_OBSERVER
140#endif // NIMBLE_CPP_SCAN_H_
-
A BLE device address.
Definition NimBLEAddress.h:41
+
A BLE device address.
Definition NimBLEAddress.h:42
A representation of a BLE advertised device found by a scan.
Definition NimBLEAdvertisedDevice.h:45
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:122
A callback handler for callbacks associated device scanning.
Definition NimBLEScan.h:115
-
virtual void onDiscovered(const NimBLEAdvertisedDevice *advertisedDevice)
Called when a new device is discovered, before the scan result is received (if applicable).
Definition NimBLEScan.cpp:550
-
virtual void onScanEnd(const NimBLEScanResults &scanResults, int reason)
Called when a scan operation ends.
Definition NimBLEScan.cpp:558
-
virtual void onResult(const NimBLEAdvertisedDevice *advertisedDevice)
Called when a new scan result is complete, including scan response data (if applicable).
Definition NimBLEScan.cpp:554
+
virtual void onDiscovered(const NimBLEAdvertisedDevice *advertisedDevice)
Called when a new device is discovered, before the scan result is received (if applicable).
Definition NimBLEScan.cpp:551
+
virtual void onScanEnd(const NimBLEScanResults &scanResults, int reason)
Called when a scan operation ends.
Definition NimBLEScan.cpp:559
+
virtual void onResult(const NimBLEAdvertisedDevice *advertisedDevice)
Called when a new scan result is complete, including scan response data (if applicable).
Definition NimBLEScan.cpp:555
Perform and manage BLE scans.
Definition NimBLEScan.h:67
-
void setWindow(uint16_t windowMs)
Set the window to actively scan.
Definition NimBLEScan.cpp:262
-
void setPhy(Phy phyMask)
Set the PHYs to scan.
Definition NimBLEScan.cpp:281
-
NimBLEScanResults getResults()
Get the results of the scan.
Definition NimBLEScan.cpp:468
-
void setScanCallbacks(NimBLEScanCallbacks *pScanCallbacks, bool wantDuplicates=false)
Set the call backs to be invoked.
Definition NimBLEScan.cpp:239
-
void setFilterPolicy(uint8_t filter)
Sets the scan filter policy.
Definition NimBLEScan.cpp:221
-
void setInterval(uint16_t intervalMs)
Set the interval to scan.
Definition NimBLEScan.cpp:254
-
void erase(const NimBLEAddress &address)
Delete peer device from the scan results vector.
Definition NimBLEScan.cpp:403
-
bool stop()
Stop an in progress scan.
Definition NimBLEScan.cpp:378
-
void setLimitedOnly(bool enabled)
Set whether or not the BLE controller only reports scan results from devices advertising in limited d...
Definition NimBLEScan.cpp:199
-
void setActiveScan(bool active)
Should we perform an active or passive scan? The default is a passive scan. An active scan means that...
Definition NimBLEScan.cpp:176
-
void setPeriod(uint32_t periodMs)
Set the extended scanning period.
Definition NimBLEScan.cpp:292
-
void setDuplicateFilter(uint8_t enabled)
Set whether or not the BLE controller should only report results from devices it has not already seen...
Definition NimBLEScan.cpp:190
-
void setMaxResults(uint8_t maxResults)
Sets the max number of results to store.
Definition NimBLEScan.cpp:230
-
bool isScanning()
Get the status of the scanner.
Definition NimBLEScan.cpp:270
-
bool start(uint32_t duration, bool isContinue=false, bool restart=true)
Start scanning.
Definition NimBLEScan.cpp:305
-
void clearResults()
Clear the stored results of the scan.
Definition NimBLEScan.cpp:475
+
void setWindow(uint16_t windowMs)
Set the window to actively scan.
Definition NimBLEScan.cpp:263
+
void setPhy(Phy phyMask)
Set the PHYs to scan.
Definition NimBLEScan.cpp:282
+
NimBLEScanResults getResults()
Get the results of the scan.
Definition NimBLEScan.cpp:469
+
void setScanCallbacks(NimBLEScanCallbacks *pScanCallbacks, bool wantDuplicates=false)
Set the call backs to be invoked.
Definition NimBLEScan.cpp:240
+
void setFilterPolicy(uint8_t filter)
Sets the scan filter policy.
Definition NimBLEScan.cpp:222
+
void setInterval(uint16_t intervalMs)
Set the interval to scan.
Definition NimBLEScan.cpp:255
+
void erase(const NimBLEAddress &address)
Delete peer device from the scan results vector.
Definition NimBLEScan.cpp:404
+
bool stop()
Stop an in progress scan.
Definition NimBLEScan.cpp:379
+
void setLimitedOnly(bool enabled)
Set whether or not the BLE controller only reports scan results from devices advertising in limited d...
Definition NimBLEScan.cpp:200
+
void setActiveScan(bool active)
Should we perform an active or passive scan? The default is a passive scan. An active scan means that...
Definition NimBLEScan.cpp:177
+
void setPeriod(uint32_t periodMs)
Set the extended scanning period.
Definition NimBLEScan.cpp:293
+
void setDuplicateFilter(uint8_t enabled)
Set whether or not the BLE controller should only report results from devices it has not already seen...
Definition NimBLEScan.cpp:191
+
void setMaxResults(uint8_t maxResults)
Sets the max number of results to store.
Definition NimBLEScan.cpp:231
+
bool isScanning()
Get the status of the scanner.
Definition NimBLEScan.cpp:271
+
bool start(uint32_t duration, bool isContinue=false, bool restart=true)
Start scanning.
Definition NimBLEScan.cpp:306
+
void clearResults()
Clear the stored results of the scan.
Definition NimBLEScan.cpp:476
A class that contains and operates on the results of a BLE scan.
Definition NimBLEScan.h:48
-
std::vector< NimBLEAdvertisedDevice * >::const_iterator end() const
Get iterator to the end of the vector of advertised device pointers.
Definition NimBLEScan.cpp:528
-
int getCount() const
Get the count of devices found in the last scan.
Definition NimBLEScan.cpp:502
-
std::vector< NimBLEAdvertisedDevice * >::const_iterator begin() const
Get iterator to the beginning of the vector of advertised device pointers.
Definition NimBLEScan.cpp:520
-
const NimBLEAdvertisedDevice * getDevice(uint32_t idx) const
Return the specified device at the given index. The index should be between 0 and getCount()-1.
Definition NimBLEScan.cpp:512
-
void dump() const
Dump the scan results to the log.
Definition NimBLEScan.cpp:490
+
std::vector< NimBLEAdvertisedDevice * >::const_iterator end() const
Get iterator to the end of the vector of advertised device pointers.
Definition NimBLEScan.cpp:529
+
int getCount() const
Get the count of devices found in the last scan.
Definition NimBLEScan.cpp:503
+
std::vector< NimBLEAdvertisedDevice * >::const_iterator begin() const
Get iterator to the beginning of the vector of advertised device pointers.
Definition NimBLEScan.cpp:521
+
const NimBLEAdvertisedDevice * getDevice(uint32_t idx) const
Return the specified device at the given index. The index should be between 0 and getCount()-1.
Definition NimBLEScan.cpp:513
+
void dump() const
Dump the scan results to the log.
Definition NimBLEScan.cpp:491
-
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:32
+
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:33
diff --git a/_nim_b_l_e_server_8h_source.html b/_nim_b_l_e_server_8h_source.html index ce20093..0c6d3c4 100644 --- a/_nim_b_l_e_server_8h_source.html +++ b/_nim_b_l_e_server_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_server_8h_source.html','');
19#define NIMBLE_CPP_SERVER_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
23
24# if defined(CONFIG_NIMBLE_CPP_IDF)
25# include "host/ble_gap.h"
@@ -144,162 +144,168 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_server_8h_source.html','');
45class NimBLEAddress;
46class NimBLEService;
-
48# if CONFIG_BT_NIMBLE_EXT_ADV
- -
50# else
- -
52# endif
-
53# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
54class NimBLEClient;
-
55# endif
-
56
-
- -
61 public:
-
62 void start();
-
63 uint8_t getConnectedCount() const;
-
64 bool disconnect(uint16_t connHandle, uint8_t reason = BLE_ERR_REM_USER_CONN_TERM) const;
-
65 bool disconnect(const NimBLEConnInfo& connInfo, uint8_t reason = BLE_ERR_REM_USER_CONN_TERM) const;
-
66 void setCallbacks(NimBLEServerCallbacks* pCallbacks, bool deleteCallbacks = true);
-
67 void updateConnParams(uint16_t connHandle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout) const;
-
68 NimBLEService* createService(const char* uuid);
- -
70 NimBLEService* getServiceByUUID(const char* uuid, uint16_t instanceId = 0) const;
-
71 NimBLEService* getServiceByUUID(const NimBLEUUID& uuid, uint16_t instanceId = 0) const;
-
72 NimBLEService* getServiceByHandle(uint16_t handle) const;
-
73 void removeService(NimBLEService* service, bool deleteSvc = false);
-
74 void addService(NimBLEService* service);
-
75 uint16_t getPeerMTU(uint16_t connHandle) const;
-
76 std::vector<uint16_t> getPeerDevices() const;
-
77 NimBLEConnInfo getPeerInfo(uint8_t index) const;
-
78 NimBLEConnInfo getPeerInfo(const NimBLEAddress& address) const;
-
79 NimBLEConnInfo getPeerInfoByHandle(uint16_t connHandle) const;
-
80 void advertiseOnDisconnect(bool enable);
-
81 void setDataLen(uint16_t connHandle, uint16_t tx_octets) const;
-
82 bool updatePhy(uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions);
-
83 bool getPhy(uint16_t connHandle, uint8_t* txPhy, uint8_t* rxPhy);
-
84
-
85# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
86 NimBLEClient* getClient(uint16_t connHandle);
-
87 NimBLEClient* getClient(const NimBLEConnInfo& connInfo);
-
88 void deleteClient();
-
89# endif
-
90
-
91# if CONFIG_BT_NIMBLE_EXT_ADV
- -
93 bool startAdvertising(uint8_t instanceId, int duration = 0, int maxEvents = 0) const;
-
94 bool stopAdvertising(uint8_t instanceId) const;
-
95# endif
-
96
-
97# if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
- -
99 bool startAdvertising(uint32_t duration = 0) const;
-
100 bool stopAdvertising() const;
-
101# endif
-
102
-
103 private:
-
104 friend class NimBLEDevice;
-
105 friend class NimBLEService;
-
106 friend class NimBLECharacteristic;
-
107# if CONFIG_BT_NIMBLE_EXT_ADV
-
108 friend class NimBLEExtAdvertising;
-
109# else
-
110 friend class NimBLEAdvertising;
-
111# endif
-
112
-
113 NimBLEServer();
- -
115
-
116 bool m_gattsStarted : 1;
-
117 bool m_svcChanged : 1;
-
118 bool m_deleteCallbacks : 1;
-
119# if !CONFIG_BT_NIMBLE_EXT_ADV
-
120 bool m_advertiseOnDisconnect : 1;
-
121# endif
-
122 NimBLEServerCallbacks* m_pServerCallbacks;
-
123 std::vector<NimBLEService*> m_svcVec;
-
124 std::array<uint16_t, CONFIG_BT_NIMBLE_MAX_CONNECTIONS> m_connectedPeers;
-
125
-
126# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
127 NimBLEClient* m_pClient{nullptr};
-
128# endif
-
129
-
130 static int handleGapEvent(struct ble_gap_event* event, void* arg);
-
131 static int handleGattEvent(uint16_t connHandle, uint16_t attrHandle, ble_gatt_access_ctxt* ctxt, void* arg);
-
132 void serviceChanged();
-
133 void resetGATT();
-
134
-
135}; // NimBLEServer
+
48# if CONFIG_BT_NIMBLE_ROLE_BROADCASTER
+
49# if CONFIG_BT_NIMBLE_EXT_ADV
+ +
51# else
+ +
53# endif
+
54# endif
+
55# if CONFIG_BT_NIMBLE_ROLE_CENTRAL
+
56class NimBLEClient;
+
57# endif
+
58
+
+ +
63 public:
+
64 void start();
+
65 uint8_t getConnectedCount() const;
+
66 bool disconnect(uint16_t connHandle, uint8_t reason = BLE_ERR_REM_USER_CONN_TERM) const;
+
67 bool disconnect(const NimBLEConnInfo& connInfo, uint8_t reason = BLE_ERR_REM_USER_CONN_TERM) const;
+
68 void setCallbacks(NimBLEServerCallbacks* pCallbacks, bool deleteCallbacks = true);
+
69 void updateConnParams(uint16_t connHandle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout) const;
+
70 NimBLEService* createService(const char* uuid);
+ +
72 NimBLEService* getServiceByUUID(const char* uuid, uint16_t instanceId = 0) const;
+
73 NimBLEService* getServiceByUUID(const NimBLEUUID& uuid, uint16_t instanceId = 0) const;
+
74 NimBLEService* getServiceByHandle(uint16_t handle) const;
+
75 void removeService(NimBLEService* service, bool deleteSvc = false);
+
76 void addService(NimBLEService* service);
+
77 uint16_t getPeerMTU(uint16_t connHandle) const;
+
78 std::vector<uint16_t> getPeerDevices() const;
+
79 NimBLEConnInfo getPeerInfo(uint8_t index) const;
+
80 NimBLEConnInfo getPeerInfo(const NimBLEAddress& address) const;
+
81 NimBLEConnInfo getPeerInfoByHandle(uint16_t connHandle) const;
+
82 void advertiseOnDisconnect(bool enable);
+
83 void setDataLen(uint16_t connHandle, uint16_t tx_octets) const;
+
84 bool updatePhy(uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions);
+
85 bool getPhy(uint16_t connHandle, uint8_t* txPhy, uint8_t* rxPhy);
+
86
+
87# if CONFIG_BT_NIMBLE_ROLE_CENTRAL
+
88 NimBLEClient* getClient(uint16_t connHandle);
+
89 NimBLEClient* getClient(const NimBLEConnInfo& connInfo);
+
90 void deleteClient();
+
91# endif
+
92
+
93# if CONFIG_BT_NIMBLE_ROLE_BROADCASTER
+
94# if CONFIG_BT_NIMBLE_EXT_ADV
+ +
96 bool startAdvertising(uint8_t instanceId, int duration = 0, int maxEvents = 0) const;
+
97 bool stopAdvertising(uint8_t instanceId) const;
+
98# endif
+
99
+
100# if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
+ +
102 bool startAdvertising(uint32_t duration = 0) const;
+
103 bool stopAdvertising() const;
+
104# endif
+
105# endif
+
106
+
107 private:
+
108 friend class NimBLEDevice;
+
109 friend class NimBLEService;
+
110 friend class NimBLECharacteristic;
+
111# if CONFIG_BT_NIMBLE_ROLE_BROADCASTER
+
112# if CONFIG_BT_NIMBLE_EXT_ADV
+
113 friend class NimBLEExtAdvertising;
+
114# else
+
115 friend class NimBLEAdvertising;
+
116# endif
+
117# endif
+
118
+
119 NimBLEServer();
+ +
121
+
122 bool m_gattsStarted : 1;
+
123 bool m_svcChanged : 1;
+
124 bool m_deleteCallbacks : 1;
+
125# if !CONFIG_BT_NIMBLE_EXT_ADV
+
126 bool m_advertiseOnDisconnect : 1;
+
127# endif
+
128 NimBLEServerCallbacks* m_pServerCallbacks;
+
129 std::vector<NimBLEService*> m_svcVec;
+
130 std::array<uint16_t, CONFIG_BT_NIMBLE_MAX_CONNECTIONS> m_connectedPeers;
+
131
+
132# if CONFIG_BT_NIMBLE_ROLE_CENTRAL
+
133 NimBLEClient* m_pClient{nullptr};
+
134# endif
+
135
+
136 static int handleGapEvent(struct ble_gap_event* event, void* arg);
+
137 static int handleGattEvent(uint16_t connHandle, uint16_t attrHandle, ble_gatt_access_ctxt* ctxt, void* arg);
+
138 void serviceChanged();
+
139 void resetGATT();
+
140
+
141}; // NimBLEServer
-
136
-
- -
141 public:
-
142 virtual ~NimBLEServerCallbacks() {};
-
143
-
151 virtual void onConnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo);
-
152
-
161 virtual void onDisconnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo, int reason);
-
162
-
169 virtual void onMTUChange(uint16_t MTU, NimBLEConnInfo& connInfo);
-
170
-
175 virtual uint32_t onPassKeyDisplay();
+
142
+
+ +
147 public:
+
148 virtual ~NimBLEServerCallbacks() {};
+
149
+
157 virtual void onConnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo);
+
158
+
167 virtual void onDisconnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo, int reason);
+
168
+
175 virtual void onMTUChange(uint16_t MTU, NimBLEConnInfo& connInfo);
176
-
183 virtual void onConfirmPassKey(NimBLEConnInfo& connInfo, uint32_t pin);
-
184
-
190 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
-
191
-
196 virtual void onIdentity(NimBLEConnInfo& connInfo);
+
181 virtual uint32_t onPassKeyDisplay();
+
182
+
189 virtual void onConfirmPassKey(NimBLEConnInfo& connInfo, uint32_t pin);
+
190
+
196 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
197
-
204 virtual void onConnParamsUpdate(NimBLEConnInfo& connInfo);
-
205
-
217 virtual void onPhyUpdate(NimBLEConnInfo& connInfo, uint8_t txPhy, uint8_t rxPhy);
-
218}; // NimBLEServerCallbacks
+
202 virtual void onIdentity(NimBLEConnInfo& connInfo);
+
203
+
210 virtual void onConnParamsUpdate(NimBLEConnInfo& connInfo);
+
211
+
223 virtual void onPhyUpdate(NimBLEConnInfo& connInfo, uint8_t txPhy, uint8_t rxPhy);
+
224}; // NimBLEServerCallbacks
-
219
-
220#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
-
221#endif // NIMBLE_CPP_SERVER_H_
-
A BLE device address.
Definition NimBLEAddress.h:41
-
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:52
-
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
225
+
226#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
227#endif // NIMBLE_CPP_SERVER_H_
+
A BLE device address.
Definition NimBLEAddress.h:42
+
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:51
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:41
A model of a BLE client.
Definition NimBLEClient.h:49
Connection information.
Definition NimBLEConnInfo.h:32
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:122
Extended advertising class.
Definition NimBLEExtAdvertising.h:110
-
Callbacks associated with the operation of a BLE server.
Definition NimBLEServer.h:140
-
virtual void onConnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo)
Handle a client connection. This is called when a client connects.
Definition NimBLEServer.cpp:984
-
virtual uint32_t onPassKeyDisplay()
Called when a client requests a passkey for pairing (display).
Definition NimBLEServer.cpp:996
-
virtual void onDisconnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo, int reason)
Handle a client disconnection. This is called when a client disconnects.
Definition NimBLEServer.cpp:988
-
virtual void onConfirmPassKey(NimBLEConnInfo &connInfo, uint32_t pin)
Called when using numeric comparision for pairing.
Definition NimBLEServer.cpp:1001
-
virtual void onPhyUpdate(NimBLEConnInfo &connInfo, uint8_t txPhy, uint8_t rxPhy)
Called when the PHY update procedure is complete.
Definition NimBLEServer.cpp:1018
-
virtual void onAuthenticationComplete(NimBLEConnInfo &connInfo)
Called when the pairing procedure is complete.
Definition NimBLEServer.cpp:1010
-
virtual void onConnParamsUpdate(NimBLEConnInfo &connInfo)
Called when connection parameters are updated following a request to update via NimBLEServer::updateC...
Definition NimBLEServer.cpp:1014
-
virtual void onMTUChange(uint16_t MTU, NimBLEConnInfo &connInfo)
Called when the connection MTU changes.
Definition NimBLEServer.cpp:992
-
virtual void onIdentity(NimBLEConnInfo &connInfo)
Called when the peer identity address is resolved.
Definition NimBLEServer.cpp:1006
-
The model of a BLE server.
Definition NimBLEServer.h:60
-
void removeService(NimBLEService *service, bool deleteSvc=false)
Remove a service from the server.
Definition NimBLEServer.cpp:704
-
NimBLEConnInfo getPeerInfoByHandle(uint16_t connHandle) const
Get the connection information of a connected peer by connection handle.
Definition NimBLEServer.cpp:337
-
NimBLEService * getServiceByHandle(uint16_t handle) const
Get a BLE Service by its handle.
Definition NimBLEServer.cpp:137
-
NimBLEConnInfo getPeerInfo(uint8_t index) const
Get the connection information of a connected peer by vector index.
Definition NimBLEServer.cpp:299
-
std::vector< uint16_t > getPeerDevices() const
Get a vector of the connected client handles.
Definition NimBLEServer.cpp:283
-
bool stopAdvertising() const
Stop advertising.
Definition NimBLEServer.cpp:874
-
NimBLEService * getServiceByUUID(const char *uuid, uint16_t instanceId=0) const
Get a BLE Service by its UUID.
Definition NimBLEServer.cpp:108
-
NimBLEClient * getClient(uint16_t connHandle)
Create a client instance from the connection handle.
Definition NimBLEServer.cpp:943
-
uint16_t getPeerMTU(uint16_t connHandle) const
Get the MTU value of a client connection.
Definition NimBLEServer.cpp:884
-
uint8_t getConnectedCount() const
Return the number of connected clients.
Definition NimBLEServer.cpp:268
-
void setCallbacks(NimBLEServerCallbacks *pCallbacks, bool deleteCallbacks=true)
Set the server callbacks.
Definition NimBLEServer.cpp:676
-
void updateConnParams(uint16_t connHandle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout) const
Request an Update the connection parameters:
Definition NimBLEServer.cpp:897
-
void addService(NimBLEService *service)
Adds a service which was either already created but removed from availability, or created and later a...
Definition NimBLEServer.cpp:741
-
bool getPhy(uint16_t connHandle, uint8_t *txPhy, uint8_t *rxPhy)
Get the PHY used for a peer connection.
Definition NimBLEServer.cpp:824
-
NimBLEExtAdvertising * getAdvertising() const
Retrieve the advertising object that can be used to advertise the existence of the server.
Definition NimBLEServer.cpp:152
-
void deleteClient()
Delete the NimBLEClient instance that was created with getClient()
Definition NimBLEServer.cpp:975
-
NimBLEService * createService(const char *uuid)
Create a BLE Service.
Definition NimBLEServer.cpp:85
-
bool startAdvertising(uint8_t instanceId, int duration=0, int maxEvents=0) const
Start advertising.
Definition NimBLEServer.cpp:843
-
bool updatePhy(uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions)
Request an update to the PHY used for a peer connection.
Definition NimBLEServer.cpp:808
-
bool disconnect(uint16_t connHandle, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const
Disconnect the specified client with optional reason.
Definition NimBLEServer.cpp:234
-
void start()
Start the GATT server.
Definition NimBLEServer.cpp:182
-
void advertiseOnDisconnect(bool enable)
Set the server to automatically start advertising when a client disconnects.
Definition NimBLEServer.cpp:259
-
void setDataLen(uint16_t connHandle, uint16_t tx_octets) const
Request an update of the data packet length.
Definition NimBLEServer.cpp:921
+
Callbacks associated with the operation of a BLE server.
Definition NimBLEServer.h:146
+
virtual void onConnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo)
Handle a client connection. This is called when a client connects.
Definition NimBLEServer.cpp:990
+
virtual uint32_t onPassKeyDisplay()
Called when a client requests a passkey for pairing (display).
Definition NimBLEServer.cpp:1002
+
virtual void onDisconnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo, int reason)
Handle a client disconnection. This is called when a client disconnects.
Definition NimBLEServer.cpp:994
+
virtual void onConfirmPassKey(NimBLEConnInfo &connInfo, uint32_t pin)
Called when using numeric comparision for pairing.
Definition NimBLEServer.cpp:1007
+
virtual void onPhyUpdate(NimBLEConnInfo &connInfo, uint8_t txPhy, uint8_t rxPhy)
Called when the PHY update procedure is complete.
Definition NimBLEServer.cpp:1024
+
virtual void onAuthenticationComplete(NimBLEConnInfo &connInfo)
Called when the pairing procedure is complete.
Definition NimBLEServer.cpp:1016
+
virtual void onConnParamsUpdate(NimBLEConnInfo &connInfo)
Called when connection parameters are updated following a request to update via NimBLEServer::updateC...
Definition NimBLEServer.cpp:1020
+
virtual void onMTUChange(uint16_t MTU, NimBLEConnInfo &connInfo)
Called when the connection MTU changes.
Definition NimBLEServer.cpp:998
+
virtual void onIdentity(NimBLEConnInfo &connInfo)
Called when the peer identity address is resolved.
Definition NimBLEServer.cpp:1012
+
The model of a BLE server.
Definition NimBLEServer.h:62
+
void removeService(NimBLEService *service, bool deleteSvc=false)
Remove a service from the server.
Definition NimBLEServer.cpp:708
+
NimBLEConnInfo getPeerInfoByHandle(uint16_t connHandle) const
Get the connection information of a connected peer by connection handle.
Definition NimBLEServer.cpp:336
+
NimBLEService * getServiceByHandle(uint16_t handle) const
Get a BLE Service by its handle.
Definition NimBLEServer.cpp:136
+
NimBLEConnInfo getPeerInfo(uint8_t index) const
Get the connection information of a connected peer by vector index.
Definition NimBLEServer.cpp:298
+
std::vector< uint16_t > getPeerDevices() const
Get a vector of the connected client handles.
Definition NimBLEServer.cpp:282
+
bool stopAdvertising() const
Stop advertising.
Definition NimBLEServer.cpp:880
+
NimBLEService * getServiceByUUID(const char *uuid, uint16_t instanceId=0) const
Get a BLE Service by its UUID.
Definition NimBLEServer.cpp:107
+
NimBLEClient * getClient(uint16_t connHandle)
Create a client instance from the connection handle.
Definition NimBLEServer.cpp:949
+
uint16_t getPeerMTU(uint16_t connHandle) const
Get the MTU value of a client connection.
Definition NimBLEServer.cpp:890
+
uint8_t getConnectedCount() const
Return the number of connected clients.
Definition NimBLEServer.cpp:267
+
void setCallbacks(NimBLEServerCallbacks *pCallbacks, bool deleteCallbacks=true)
Set the server callbacks.
Definition NimBLEServer.cpp:680
+
void updateConnParams(uint16_t connHandle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout) const
Request an Update the connection parameters:
Definition NimBLEServer.cpp:903
+
void addService(NimBLEService *service)
Adds a service which was either already created but removed from availability, or created and later a...
Definition NimBLEServer.cpp:745
+
bool getPhy(uint16_t connHandle, uint8_t *txPhy, uint8_t *rxPhy)
Get the PHY used for a peer connection.
Definition NimBLEServer.cpp:830
+
NimBLEExtAdvertising * getAdvertising() const
Retrieve the advertising object that can be used to advertise the existence of the server.
Definition NimBLEServer.cpp:151
+
void deleteClient()
Delete the NimBLEClient instance that was created with getClient()
Definition NimBLEServer.cpp:981
+
NimBLEService * createService(const char *uuid)
Create a BLE Service.
Definition NimBLEServer.cpp:84
+
bool startAdvertising(uint8_t instanceId, int duration=0, int maxEvents=0) const
Start advertising.
Definition NimBLEServer.cpp:849
+
bool updatePhy(uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions)
Request an update to the PHY used for a peer connection.
Definition NimBLEServer.cpp:814
+
bool disconnect(uint16_t connHandle, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const
Disconnect the specified client with optional reason.
Definition NimBLEServer.cpp:233
+
void start()
Start the GATT server.
Definition NimBLEServer.cpp:181
+
void advertiseOnDisconnect(bool enable)
Set the server to automatically start advertising when a client disconnects.
Definition NimBLEServer.cpp:258
+
void setDataLen(uint16_t connHandle, uint16_t tx_octets) const
Request an update of the data packet length.
Definition NimBLEServer.cpp:927
The model of a BLE service.
Definition NimBLEService.h:34
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_service_8h_source.html b/_nim_b_l_e_service_8h_source.html index 87e52d1..9a6f4c9 100644 --- a/_nim_b_l_e_service_8h_source.html +++ b/_nim_b_l_e_service_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_service_8h_source.html','')
19#define NIMBLE_CPP_SERVICE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
22#if CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
23
24class NimBLEService;
25
@@ -166,24 +166,24 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_service_8h_source.html','')
70}; // NimBLEService
71
-
72#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
-
73#endif /* NIMBLE_CPP_SERVICE_H_ */
-
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
72#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
73#endif // NIMBLE_CPP_SERVICE_H_
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:41
A base class for local BLE attributes.
Definition NimBLELocalAttribute.h:29
-
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE server.
Definition NimBLEServer.h:62
The model of a BLE service.
Definition NimBLEService.h:34
-
NimBLECharacteristic * createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Create a new BLE Characteristic associated with this service.
Definition NimBLEService.cpp:195
-
NimBLECharacteristic * getCharacteristicByHandle(uint16_t handle) const
Get a pointer to the characteristic object with the specified handle.
Definition NimBLEService.cpp:309
-
std::string toString() const
Return a string representation of this service. A service is defined by:
Definition NimBLEService.cpp:354
-
const std::vector< NimBLECharacteristic * > & getCharacteristics() const
Definition NimBLEService.cpp:322
-
~NimBLEService()
Destructor, make sure we release the resources allocated for the service.
Definition NimBLEService.cpp:51
-
void dump() const
Dump details of this BLE GATT service.
Definition NimBLEService.cpp:67
-
bool isStarted() const
Checks if the service has been started.
Definition NimBLEService.cpp:375
-
NimBLEServer * getServer() const
Get the BLE server associated with this service.
Definition NimBLEService.cpp:367
-
bool start()
Builds the database of characteristics/descriptors for the service and registers it with the NimBLE s...
Definition NimBLEService.cpp:92
-
NimBLECharacteristic * getCharacteristic(const char *uuid, uint16_t instanceId=0) const
Get a pointer to the characteristic object with the specified UUID.
Definition NimBLEService.cpp:280
-
void addCharacteristic(NimBLECharacteristic *pCharacteristic)
Add a characteristic to the service.
Definition NimBLEService.cpp:220
-
void removeCharacteristic(NimBLECharacteristic *pCharacteristic, bool deleteChr=false)
Remove a characteristic from the service.
Definition NimBLEService.cpp:252
+
NimBLECharacteristic * createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Create a new BLE Characteristic associated with this service.
Definition NimBLEService.cpp:194
+
NimBLECharacteristic * getCharacteristicByHandle(uint16_t handle) const
Get a pointer to the characteristic object with the specified handle.
Definition NimBLEService.cpp:308
+
std::string toString() const
Return a string representation of this service. A service is defined by:
Definition NimBLEService.cpp:353
+
const std::vector< NimBLECharacteristic * > & getCharacteristics() const
Definition NimBLEService.cpp:321
+
~NimBLEService()
Destructor, make sure we release the resources allocated for the service.
Definition NimBLEService.cpp:50
+
void dump() const
Dump details of this BLE GATT service.
Definition NimBLEService.cpp:66
+
bool isStarted() const
Checks if the service has been started.
Definition NimBLEService.cpp:374
+
NimBLEServer * getServer() const
Get the BLE server associated with this service.
Definition NimBLEService.cpp:366
+
bool start()
Builds the database of characteristics/descriptors for the service and registers it with the NimBLE s...
Definition NimBLEService.cpp:91
+
NimBLECharacteristic * getCharacteristic(const char *uuid, uint16_t instanceId=0) const
Get a pointer to the characteristic object with the specified UUID.
Definition NimBLEService.cpp:279
+
void addCharacteristic(NimBLECharacteristic *pCharacteristic)
Add a characteristic to the service.
Definition NimBLEService.cpp:219
+
void removeCharacteristic(NimBLECharacteristic *pCharacteristic, bool deleteChr=false)
Remove a characteristic from the service.
Definition NimBLEService.cpp:251
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_u_u_i_d_8h_source.html b/_nim_b_l_e_u_u_i_d_8h_source.html index 17ddf04..99ffe91 100644 --- a/_nim_b_l_e_u_u_i_d_8h_source.html +++ b/_nim_b_l_e_u_u_i_d_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_u_u_i_d_8h_source.html','')
19#define NIMBLE_CPP_UUID_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED)
+
22#if CONFIG_BT_ENABLED
23
24# if defined(CONFIG_NIMBLE_CPP_IDF)
25# include "host/ble_uuid.h"
@@ -165,21 +165,21 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_u_u_i_d_8h_source.html','')
71}; // NimBLEUUID
72
-
73#endif /* CONFIG_BT_ENABLED */
-
74#endif /* NIMBLE_CPP_UUID_H_ */
+
73#endif // CONFIG_BT_ENABLED
+
74#endif // NIMBLE_CPP_UUID_H_
A model of a BLE UUID.
Definition NimBLEUUID.h:41
-
bool equals(const NimBLEUUID &uuid) const
Compare a UUID against this UUID.
Definition NimBLEUUID.cpp:181
-
bool operator==(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is equal to another.
Definition NimBLEUUID.cpp:288
-
const NimBLEUUID & to16()
Convert 128 bit UUID to its 16 bit representation.
Definition NimBLEUUID.cpp:241
-
const ble_uuid_t * getBase() const
Get a pointer to the NimBLE UUID base structure.
Definition NimBLEUUID.cpp:171
-
const NimBLEUUID & to128()
Convert a UUID to its 128 bit representation.
Definition NimBLEUUID.cpp:222
+
bool equals(const NimBLEUUID &uuid) const
Compare a UUID against this UUID.
Definition NimBLEUUID.cpp:180
+
bool operator==(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is equal to another.
Definition NimBLEUUID.cpp:287
+
const NimBLEUUID & to16()
Convert 128 bit UUID to its 16 bit representation.
Definition NimBLEUUID.cpp:240
+
const ble_uuid_t * getBase() const
Get a pointer to the NimBLE UUID base structure.
Definition NimBLEUUID.cpp:170
+
const NimBLEUUID & to128()
Convert a UUID to its 128 bit representation.
Definition NimBLEUUID.cpp:221
NimBLEUUID()=default
Created a blank UUID.
-
std::string toString() const
Get a string representation of the UUID.
Definition NimBLEUUID.cpp:264
-
const NimBLEUUID & reverseByteOrder()
Reverse the byte order of the UUID.
Definition NimBLEUUID.cpp:273
-
bool operator!=(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is not equal to another.
Definition NimBLEUUID.cpp:326
-
const uint8_t * getValue() const
Get the uuid value.
Definition NimBLEUUID.cpp:153
-
static NimBLEUUID fromString(const std::string &uuid)
Definition NimBLEUUID.cpp:196
-
uint8_t bitSize() const
Get the bit size of the UUID, 16, 32 or 128.
Definition NimBLEUUID.cpp:144
+
std::string toString() const
Get a string representation of the UUID.
Definition NimBLEUUID.cpp:263
+
const NimBLEUUID & reverseByteOrder()
Reverse the byte order of the UUID.
Definition NimBLEUUID.cpp:272
+
bool operator!=(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is not equal to another.
Definition NimBLEUUID.cpp:325
+
const uint8_t * getValue() const
Get the uuid value.
Definition NimBLEUUID.cpp:152
+
static NimBLEUUID fromString(const std::string &uuid)
Definition NimBLEUUID.cpp:195
+
uint8_t bitSize() const
Get the bit size of the UUID, 16, 32 or 128.
Definition NimBLEUUID.cpp:143
diff --git a/_nim_b_l_e_utils_8h_source.html b/_nim_b_l_e_utils_8h_source.html index 98e1fc3..c974082 100644 --- a/_nim_b_l_e_utils_8h_source.html +++ b/_nim_b_l_e_utils_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,52 +118,53 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_utils_8h_source.html','');
19#define NIMBLE_CPP_UTILS_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED)
-
23# include <string>
-
24
-
25class NimBLEAddress;
-
26
-
- -
33 NimBLETaskData(void* pInstance = nullptr, int flags = 0, void* buf = nullptr);
- -
35 void* m_pInstance{nullptr};
-
36 mutable int m_flags{0};
-
37 void* m_pBuf{nullptr};
-
38
-
39 private:
-
40 mutable void* m_pHandle{nullptr}; // semaphore or task handle
-
41 friend class NimBLEUtils;
-
42};
+
22#if CONFIG_BT_ENABLED
+
23
+
24# include <string>
+
25
+
26class NimBLEAddress;
+
27
+
+ +
34 NimBLETaskData(void* pInstance = nullptr, int flags = 0, void* buf = nullptr);
+ +
36 void* m_pInstance{nullptr};
+
37 mutable int m_flags{0};
+
38 void* m_pBuf{nullptr};
+
39
+
40 private:
+
41 mutable void* m_pHandle{nullptr}; // semaphore or task handle
+
42 friend class NimBLEUtils;
+
43};
-
43
-
- -
48 public:
-
49 static const char* gapEventToString(uint8_t eventType);
-
50 static std::string dataToHexString(const uint8_t* source, uint8_t length);
-
51 static const char* advTypeToString(uint8_t advType);
-
52 static const char* returnCodeToString(int rc);
-
53 static NimBLEAddress generateAddr(bool nrpa);
-
54 static bool taskWait(const NimBLETaskData& taskData, uint32_t timeout);
-
55 static void taskRelease(const NimBLETaskData& taskData, int rc = 0);
-
56};
+
44
+
+ +
49 public:
+
50 static const char* gapEventToString(uint8_t eventType);
+
51 static std::string dataToHexString(const uint8_t* source, uint8_t length);
+
52 static const char* advTypeToString(uint8_t advType);
+
53 static const char* returnCodeToString(int rc);
+
54 static NimBLEAddress generateAddr(bool nrpa);
+
55 static bool taskWait(const NimBLETaskData& taskData, uint32_t timeout);
+
56 static void taskRelease(const NimBLETaskData& taskData, int rc = 0);
+
57};
-
57
-
58#endif // CONFIG_BT_ENABLED
-
59#endif // NIMBLE_CPP_UTILS_H_
-
A BLE device address.
Definition NimBLEAddress.h:41
-
A BLE Utility class with methods for debugging and general purpose use.
Definition NimBLEUtils.h:47
-
static std::string dataToHexString(const uint8_t *source, uint8_t length)
Create a hexadecimal string representation of the input data.
Definition NimBLEUtils.cpp:551
-
static bool taskWait(const NimBLETaskData &taskData, uint32_t timeout)
Blocks the calling task until released or timeout.
Definition NimBLEUtils.cpp:93
-
static NimBLEAddress generateAddr(bool nrpa)
Generate a random BLE address.
Definition NimBLEUtils.cpp:570
-
static const char * advTypeToString(uint8_t advType)
Convert the advertising type flag to a string.
Definition NimBLEUtils.cpp:431
-
static void taskRelease(const NimBLETaskData &taskData, int rc=0)
Release a task.
Definition NimBLEUtils.cpp:120
-
static const char * returnCodeToString(int rc)
Converts a return code from the NimBLE stack to a text string.
Definition NimBLEUtils.cpp:136
-
static const char * gapEventToString(uint8_t eventType)
Convert a GAP event type to a string representation.
Definition NimBLEUtils.cpp:458
+
58
+
59#endif // CONFIG_BT_ENABLED
+
60#endif // NIMBLE_CPP_UTILS_H_
+
A BLE device address.
Definition NimBLEAddress.h:42
+
A BLE Utility class with methods for debugging and general purpose use.
Definition NimBLEUtils.h:48
+
static std::string dataToHexString(const uint8_t *source, uint8_t length)
Create a hexadecimal string representation of the input data.
Definition NimBLEUtils.cpp:550
+
static bool taskWait(const NimBLETaskData &taskData, uint32_t timeout)
Blocks the calling task until released or timeout.
Definition NimBLEUtils.cpp:92
+
static NimBLEAddress generateAddr(bool nrpa)
Generate a random BLE address.
Definition NimBLEUtils.cpp:569
+
static const char * advTypeToString(uint8_t advType)
Convert the advertising type flag to a string.
Definition NimBLEUtils.cpp:430
+
static void taskRelease(const NimBLETaskData &taskData, int rc=0)
Release a task.
Definition NimBLEUtils.cpp:119
+
static const char * returnCodeToString(int rc)
Converts a return code from the NimBLE stack to a text string.
Definition NimBLEUtils.cpp:135
+
static const char * gapEventToString(uint8_t eventType)
Convert a GAP event type to a string representation.
Definition NimBLEUtils.cpp:457
-
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:32
-
~NimBLETaskData()
Destructor.
Definition NimBLEUtils.cpp:78
+
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:33
+
~NimBLETaskData()
Destructor.
Definition NimBLEUtils.cpp:77
diff --git a/_nim_b_l_e_value_attribute_8h_source.html b/_nim_b_l_e_value_attribute_8h_source.html index 691b661..e897eb0 100644 --- a/_nim_b_l_e_value_attribute_8h_source.html +++ b/_nim_b_l_e_value_attribute_8h_source.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -118,7 +118,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_value_attribute_8h_source.h
19#define NIMBLE_CPP_VALUE_ATTRIBUTE_H_
20
21#include "nimconfig.h"
-
22#if defined(CONFIG_BT_ENABLED) && (defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) || defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL))
+
22#if CONFIG_BT_ENABLED && (CONFIG_BT_NIMBLE_ROLE_PERIPHERAL || CONFIG_BT_NIMBLE_ROLE_CENTRAL)
23
24# include "NimBLEAttribute.h"
25# include "NimBLEAttValue.h"
@@ -152,8 +152,8 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_value_attribute_8h_source.h
84
85#endif // CONFIG_BT_ENABLED && (CONFIG_BT_NIMBLE_ROLE_PERIPHERAL || CONFIG_BT_NIMBLE_ROLE_CENTRAL)
86#endif // NIMBLE_CPP_ATTRIBUTE_H_
-
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:71
-
uint16_t size() const
Returns the current size of the value in bytes.
Definition NimBLEAttValue.h:158
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
+
uint16_t size() const
Returns the current size of the value in bytes.
Definition NimBLEAttValue.h:159
#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH
Uncomment to set the default allocation size (bytes) for each attribute if not specified when the con...
Definition nimconfig.h:68
diff --git a/annotated.html b/annotated.html index 4887b90..ed0b12a 100644 --- a/annotated.html +++ b/annotated.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -116,22 +116,19 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();  CNimBLEExtAdvertisingExtended advertising class  CNimBLEExtAdvertisingCallbacksCallbacks associated with NimBLEExtAdvertising class  CNimBLEHIDDeviceA model of a BLE Human Interface Device - CNimBLEL2CAPChannelEncapsulates a L2CAP channel - CNimBLEL2CAPChannelCallbacksCallbacks base class for the L2CAP channel - CNimBLEL2CAPServerL2CAP server class - CNimBLELocalAttributeA base class for local BLE attributes - CNimBLERemoteCharacteristicA model of a remote BLE characteristic - CNimBLERemoteDescriptorA model of remote BLE descriptor - CNimBLERemoteServiceA model of a remote BLE service - CNimBLEScanPerform and manage BLE scans - CNimBLEScanCallbacksA callback handler for callbacks associated device scanning - CNimBLEScanResultsA class that contains and operates on the results of a BLE scan - CNimBLEServerThe model of a BLE server - CNimBLEServerCallbacksCallbacks associated with the operation of a BLE server - CNimBLEServiceThe model of a BLE service - CNimBLETaskDataA structure to hold data for a task that is waiting for a response - CNimBLEUtilsA BLE Utility class with methods for debugging and general purpose use - CNimBLEUUIDA model of a BLE UUID + CNimBLELocalAttributeA base class for local BLE attributes + CNimBLERemoteCharacteristicA model of a remote BLE characteristic + CNimBLERemoteDescriptorA model of remote BLE descriptor + CNimBLERemoteServiceA model of a remote BLE service + CNimBLEScanPerform and manage BLE scans + CNimBLEScanCallbacksA callback handler for callbacks associated device scanning + CNimBLEScanResultsA class that contains and operates on the results of a BLE scan + CNimBLEServerThe model of a BLE server + CNimBLEServerCallbacksCallbacks associated with the operation of a BLE server + CNimBLEServiceThe model of a BLE service + CNimBLETaskDataA structure to hold data for a task that is waiting for a response + CNimBLEUtilsA BLE Utility class with methods for debugging and general purpose use + CNimBLEUUIDA model of a BLE UUID
diff --git a/annotated_dup.js b/annotated_dup.js index 9060d35..8bba952 100644 --- a/annotated_dup.js +++ b/annotated_dup.js @@ -22,9 +22,6 @@ var annotated_dup = [ "NimBLEExtAdvertising", "class_nim_b_l_e_ext_advertising.html", "class_nim_b_l_e_ext_advertising" ], [ "NimBLEExtAdvertisingCallbacks", "class_nim_b_l_e_ext_advertising_callbacks.html", "class_nim_b_l_e_ext_advertising_callbacks" ], [ "NimBLEHIDDevice", "class_nim_b_l_e_h_i_d_device.html", "class_nim_b_l_e_h_i_d_device" ], - [ "NimBLEL2CAPChannel", "class_nim_b_l_e_l2_c_a_p_channel.html", "class_nim_b_l_e_l2_c_a_p_channel" ], - [ "NimBLEL2CAPChannelCallbacks", "class_nim_b_l_e_l2_c_a_p_channel_callbacks.html", "class_nim_b_l_e_l2_c_a_p_channel_callbacks" ], - [ "NimBLEL2CAPServer", "class_nim_b_l_e_l2_c_a_p_server.html", "class_nim_b_l_e_l2_c_a_p_server" ], [ "NimBLELocalAttribute", "class_nim_b_l_e_local_attribute.html", "class_nim_b_l_e_local_attribute" ], [ "NimBLERemoteCharacteristic", "class_nim_b_l_e_remote_characteristic.html", "class_nim_b_l_e_remote_characteristic" ], [ "NimBLERemoteDescriptor", "class_nim_b_l_e_remote_descriptor.html", "class_nim_b_l_e_remote_descriptor" ], diff --git a/class_nim_b_l_e2904-members.html b/class_nim_b_l_e2904-members.html index 2e782b5..1ad3b5f 100644 --- a/class_nim_b_l_e2904-members.html +++ b/class_nim_b_l_e2904-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e2904.html b/class_nim_b_l_e2904.html index b89012d..5a20d8a 100644 --- a/class_nim_b_l_e2904.html +++ b/class_nim_b_l_e2904.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_address-members.html b/class_nim_b_l_e_address-members.html index a3d4664..87dac8d 100644 --- a/class_nim_b_l_e_address-members.html +++ b/class_nim_b_l_e_address-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_address.html b/class_nim_b_l_e_address.html index 9979736..cbf2647 100644 --- a/class_nim_b_l_e_address.html +++ b/class_nim_b_l_e_address.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_advertised_device-members.html b/class_nim_b_l_e_advertised_device-members.html index ce13248..c17d132 100644 --- a/class_nim_b_l_e_advertised_device-members.html +++ b/class_nim_b_l_e_advertised_device-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_advertised_device.html b/class_nim_b_l_e_advertised_device.html index fb6b8fd..2be29b7 100644 --- a/class_nim_b_l_e_advertised_device.html +++ b/class_nim_b_l_e_advertised_device.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_advertisement_data-members.html b/class_nim_b_l_e_advertisement_data-members.html index e2b3ad3..020d0a7 100644 --- a/class_nim_b_l_e_advertisement_data-members.html +++ b/class_nim_b_l_e_advertisement_data-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_advertisement_data.html b/class_nim_b_l_e_advertisement_data.html index 0ae0daf..4f77fee 100644 --- a/class_nim_b_l_e_advertisement_data.html +++ b/class_nim_b_l_e_advertisement_data.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_advertising-members.html b/class_nim_b_l_e_advertising-members.html index 0206678..ff52510 100644 --- a/class_nim_b_l_e_advertising-members.html +++ b/class_nim_b_l_e_advertising-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_advertising.html b/class_nim_b_l_e_advertising.html index 585e934..8197f5f 100644 --- a/class_nim_b_l_e_advertising.html +++ b/class_nim_b_l_e_advertising.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_att_value-members.html b/class_nim_b_l_e_att_value-members.html index 87d96b4..a9acb89 100644 --- a/class_nim_b_l_e_att_value-members.html +++ b/class_nim_b_l_e_att_value-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_att_value.html b/class_nim_b_l_e_att_value.html index 252c407..be222ef 100644 --- a/class_nim_b_l_e_att_value.html +++ b/class_nim_b_l_e_att_value.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_attribute-members.html b/class_nim_b_l_e_attribute-members.html index d147b07..95afbb0 100644 --- a/class_nim_b_l_e_attribute-members.html +++ b/class_nim_b_l_e_attribute-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_attribute.html b/class_nim_b_l_e_attribute.html index 52622dd..6a24aca 100644 --- a/class_nim_b_l_e_attribute.html +++ b/class_nim_b_l_e_attribute.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_beacon-members.html b/class_nim_b_l_e_beacon-members.html index 718962f..08c9979 100644 --- a/class_nim_b_l_e_beacon-members.html +++ b/class_nim_b_l_e_beacon-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_beacon.html b/class_nim_b_l_e_beacon.html index 9011f9e..91fc4c7 100644 --- a/class_nim_b_l_e_beacon.html +++ b/class_nim_b_l_e_beacon.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_characteristic-members.html b/class_nim_b_l_e_characteristic-members.html index cff5446..de2ce6b 100644 --- a/class_nim_b_l_e_characteristic-members.html +++ b/class_nim_b_l_e_characteristic-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_characteristic.html b/class_nim_b_l_e_characteristic.html index 5b088ca..63da625 100644 --- a/class_nim_b_l_e_characteristic.html +++ b/class_nim_b_l_e_characteristic.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_characteristic_callbacks-members.html b/class_nim_b_l_e_characteristic_callbacks-members.html index bf64f34..1c6e3fd 100644 --- a/class_nim_b_l_e_characteristic_callbacks-members.html +++ b/class_nim_b_l_e_characteristic_callbacks-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_characteristic_callbacks.html b/class_nim_b_l_e_characteristic_callbacks.html index 24fc411..0f8b896 100644 --- a/class_nim_b_l_e_characteristic_callbacks.html +++ b/class_nim_b_l_e_characteristic_callbacks.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_client-members.html b/class_nim_b_l_e_client-members.html index f9a7679..4f0ccb3 100644 --- a/class_nim_b_l_e_client-members.html +++ b/class_nim_b_l_e_client-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_client.html b/class_nim_b_l_e_client.html index 52d8c30..9fb57b4 100644 --- a/class_nim_b_l_e_client.html +++ b/class_nim_b_l_e_client.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_client_callbacks-members.html b/class_nim_b_l_e_client_callbacks-members.html index 0f4213b..c8fc588 100644 --- a/class_nim_b_l_e_client_callbacks-members.html +++ b/class_nim_b_l_e_client_callbacks-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_client_callbacks.html b/class_nim_b_l_e_client_callbacks.html index 0b604b7..2527808 100644 --- a/class_nim_b_l_e_client_callbacks.html +++ b/class_nim_b_l_e_client_callbacks.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_conn_info-members.html b/class_nim_b_l_e_conn_info-members.html index 812c141..dac7552 100644 --- a/class_nim_b_l_e_conn_info-members.html +++ b/class_nim_b_l_e_conn_info-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_conn_info.html b/class_nim_b_l_e_conn_info.html index 2f02871..afd4e3b 100644 --- a/class_nim_b_l_e_conn_info.html +++ b/class_nim_b_l_e_conn_info.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_descriptor-members.html b/class_nim_b_l_e_descriptor-members.html index 3b660a8..a61ac53 100644 --- a/class_nim_b_l_e_descriptor-members.html +++ b/class_nim_b_l_e_descriptor-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_descriptor.html b/class_nim_b_l_e_descriptor.html index e9c9c8b..863091d 100644 --- a/class_nim_b_l_e_descriptor.html +++ b/class_nim_b_l_e_descriptor.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_descriptor_callbacks-members.html b/class_nim_b_l_e_descriptor_callbacks-members.html index d432e6d..4af7cec 100644 --- a/class_nim_b_l_e_descriptor_callbacks-members.html +++ b/class_nim_b_l_e_descriptor_callbacks-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_descriptor_callbacks.html b/class_nim_b_l_e_descriptor_callbacks.html index 61236fe..05d8fd5 100644 --- a/class_nim_b_l_e_descriptor_callbacks.html +++ b/class_nim_b_l_e_descriptor_callbacks.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_device-members.html b/class_nim_b_l_e_device-members.html index 6cf115c..61c7976 100644 --- a/class_nim_b_l_e_device-members.html +++ b/class_nim_b_l_e_device-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_device.html b/class_nim_b_l_e_device.html index 39bf9db..8f0732b 100644 --- a/class_nim_b_l_e_device.html +++ b/class_nim_b_l_e_device.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_device_callbacks-members.html b/class_nim_b_l_e_device_callbacks-members.html index 90411ad..5009b77 100644 --- a/class_nim_b_l_e_device_callbacks-members.html +++ b/class_nim_b_l_e_device_callbacks-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_device_callbacks.html b/class_nim_b_l_e_device_callbacks.html index 2aaf7ee..7e9dfde 100644 --- a/class_nim_b_l_e_device_callbacks.html +++ b/class_nim_b_l_e_device_callbacks.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_eddystone_t_l_m-members.html b/class_nim_b_l_e_eddystone_t_l_m-members.html index dae418a..dcb8ff3 100644 --- a/class_nim_b_l_e_eddystone_t_l_m-members.html +++ b/class_nim_b_l_e_eddystone_t_l_m-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_eddystone_t_l_m.html b/class_nim_b_l_e_eddystone_t_l_m.html index 9d5b5b3..f0646e4 100644 --- a/class_nim_b_l_e_eddystone_t_l_m.html +++ b/class_nim_b_l_e_eddystone_t_l_m.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_ext_advertisement-members.html b/class_nim_b_l_e_ext_advertisement-members.html index ac9a051..675b6dc 100644 --- a/class_nim_b_l_e_ext_advertisement-members.html +++ b/class_nim_b_l_e_ext_advertisement-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_ext_advertisement.html b/class_nim_b_l_e_ext_advertisement.html index 2701fe7..7fd3468 100644 --- a/class_nim_b_l_e_ext_advertisement.html +++ b/class_nim_b_l_e_ext_advertisement.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_ext_advertising-members.html b/class_nim_b_l_e_ext_advertising-members.html index bd6e5cc..e74b9d8 100644 --- a/class_nim_b_l_e_ext_advertising-members.html +++ b/class_nim_b_l_e_ext_advertising-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_ext_advertising.html b/class_nim_b_l_e_ext_advertising.html index eb59af4..65e6716 100644 --- a/class_nim_b_l_e_ext_advertising.html +++ b/class_nim_b_l_e_ext_advertising.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_ext_advertising_callbacks-members.html b/class_nim_b_l_e_ext_advertising_callbacks-members.html index 218ab05..44a8872 100644 --- a/class_nim_b_l_e_ext_advertising_callbacks-members.html +++ b/class_nim_b_l_e_ext_advertising_callbacks-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_ext_advertising_callbacks.html b/class_nim_b_l_e_ext_advertising_callbacks.html index a25e6aa..1168e56 100644 --- a/class_nim_b_l_e_ext_advertising_callbacks.html +++ b/class_nim_b_l_e_ext_advertising_callbacks.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_h_i_d_device-members.html b/class_nim_b_l_e_h_i_d_device-members.html index 36e058e..92d133e 100644 --- a/class_nim_b_l_e_h_i_d_device-members.html +++ b/class_nim_b_l_e_h_i_d_device-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_h_i_d_device.html b/class_nim_b_l_e_h_i_d_device.html index c34432f..241c52d 100644 --- a/class_nim_b_l_e_h_i_d_device.html +++ b/class_nim_b_l_e_h_i_d_device.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_l2_c_a_p_channel-members.html b/class_nim_b_l_e_l2_c_a_p_channel-members.html deleted file mode 100644 index 5d6e07d..0000000 --- a/class_nim_b_l_e_l2_c_a_p_channel-members.html +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - -esp-nimble-cpp: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp 2.3.0 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
NimBLEL2CAPChannel Member List
-
-
- -

This is the complete list of members for NimBLEL2CAPChannel, including all inherited members.

- - - - -
connect(NimBLEClient *client, uint16_t psm, uint16_t mtu, NimBLEL2CAPChannelCallbacks *callbacks)NimBLEL2CAPChannelstatic
isConnected() constNimBLEL2CAPChannelinline
write(const std::vector< uint8_t > &bytes)NimBLEL2CAPChannel
-
- - - - diff --git a/class_nim_b_l_e_l2_c_a_p_channel.html b/class_nim_b_l_e_l2_c_a_p_channel.html deleted file mode 100644 index f93eb6e..0000000 --- a/class_nim_b_l_e_l2_c_a_p_channel.html +++ /dev/null @@ -1,242 +0,0 @@ - - - - - - - -esp-nimble-cpp: NimBLEL2CAPChannel Class Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp 2.3.0 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
NimBLEL2CAPChannel Class Reference
-
-
- -

Encapsulates a L2CAP channel. - More...

- -

#include <NimBLEL2CAPChannel.h>

- - - - - - - -

-Public Member Functions

bool write (const std::vector< uint8_t > &bytes)
 Write data to the channel.
 
bool isConnected () const
 
- - - - -

-Static Public Member Functions

static NimBLEL2CAPChannelconnect (NimBLEClient *client, uint16_t psm, uint16_t mtu, NimBLEL2CAPChannelCallbacks *callbacks)
 Open an L2CAP channel via the specified PSM and MTU.
 
-

Detailed Description

-

Encapsulates a L2CAP channel.

-

This class is used to encapsulate a L2CAP connection oriented channel, both from the "server" (which waits for the connection to be opened) and the "client" (which opens the connection) point of view.

-

Member Function Documentation

- -

◆ connect()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
NimBLEL2CAPChannel * NimBLEL2CAPChannel::connect (NimBLEClientclient,
uint16_t psm,
uint16_t mtu,
NimBLEL2CAPChannelCallbackscallbacks 
)
-
-static
-
- -

Open an L2CAP channel via the specified PSM and MTU.

-
Parameters
- - - - -
[in]psmThe PSM to use.
[in]mtuThe MTU to use. Note that this is the local MTU. Upon opening the channel, the final MTU will be negotiated to be the minimum of local and remote.
[in]callbacksThe callbacks to use. NOTE that these callbacks are called from the context of the NimBLE bluetooth task (nimble_host) and MUST be handled as fast as possible.
-
-
-
Returns
True if the channel was opened successfully, false otherwise.
- -
-
- -

◆ isConnected()

- -
-
- - - - - -
- - - - - - - -
bool NimBLEL2CAPChannel::isConnected () const
-
-inline
-
-
Returns
True, if the channel is connected. False, otherwise.
- -
-
- -

◆ write()

- -
-
- - - - - - - - -
bool NimBLEL2CAPChannel::write (const std::vector< uint8_t > & bytes)
-
- -

Write data to the channel.

-

If the size of the data exceeds the MTU, the data will be split into multiple fragments.

Returns
true on success, after the data has been sent.
-
-false, if the data can't be sent.
-

NOTE: This function will block until the data has been sent or an error occurred.

- -
-
-
-
- - - - diff --git a/class_nim_b_l_e_l2_c_a_p_channel.js b/class_nim_b_l_e_l2_c_a_p_channel.js deleted file mode 100644 index 430b1f8..0000000 --- a/class_nim_b_l_e_l2_c_a_p_channel.js +++ /dev/null @@ -1,5 +0,0 @@ -var class_nim_b_l_e_l2_c_a_p_channel = -[ - [ "isConnected", "class_nim_b_l_e_l2_c_a_p_channel.html#adca49cca95fc06b2491d4e59df620e69", null ], - [ "write", "class_nim_b_l_e_l2_c_a_p_channel.html#a5547ff361f487a5d252b60991e9d21a8", null ] -]; \ No newline at end of file diff --git a/class_nim_b_l_e_l2_c_a_p_channel_callbacks-members.html b/class_nim_b_l_e_l2_c_a_p_channel_callbacks-members.html deleted file mode 100644 index c69ea6a..0000000 --- a/class_nim_b_l_e_l2_c_a_p_channel_callbacks-members.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - -esp-nimble-cpp: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp 2.3.0 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
NimBLEL2CAPChannelCallbacks Member List
-
-
- -

This is the complete list of members for NimBLEL2CAPChannelCallbacks, including all inherited members.

- - - - - -
onConnect(NimBLEL2CAPChannel *channel, uint16_t negotiatedMTU)NimBLEL2CAPChannelCallbacksinlinevirtual
onDisconnect(NimBLEL2CAPChannel *channel)NimBLEL2CAPChannelCallbacksinlinevirtual
onRead(NimBLEL2CAPChannel *channel, std::vector< uint8_t > &data)NimBLEL2CAPChannelCallbacksinlinevirtual
shouldAcceptConnection(NimBLEL2CAPChannel *channel)NimBLEL2CAPChannelCallbacksinlinevirtual
-
- - - - diff --git a/class_nim_b_l_e_l2_c_a_p_channel_callbacks.html b/class_nim_b_l_e_l2_c_a_p_channel_callbacks.html deleted file mode 100644 index de10c70..0000000 --- a/class_nim_b_l_e_l2_c_a_p_channel_callbacks.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - - -esp-nimble-cpp: NimBLEL2CAPChannelCallbacks Class Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp 2.3.0 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
NimBLEL2CAPChannelCallbacks Class Reference
-
-
- -

Callbacks base class for the L2CAP channel. - More...

- -

#include <NimBLEL2CAPChannel.h>

- - - - - - - - - - -

-Public Member Functions

virtual bool shouldAcceptConnection (NimBLEL2CAPChannel *channel)
 
virtual void onConnect (NimBLEL2CAPChannel *channel, uint16_t negotiatedMTU)
 
virtual void onRead (NimBLEL2CAPChannel *channel, std::vector< uint8_t > &data)
 
virtual void onDisconnect (NimBLEL2CAPChannel *channel)
 
-

Detailed Description

-

Callbacks base class for the L2CAP channel.

-

Member Function Documentation

- -

◆ onConnect()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void NimBLEL2CAPChannelCallbacks::onConnect (NimBLEL2CAPChannelchannel,
uint16_t negotiatedMTU 
)
-
-inlinevirtual
-
-

Called after a connection has been made. Default implementation does nothing.

- -
-
- -

◆ onDisconnect()

- -
-
- - - - - -
- - - - - - - - -
virtual void NimBLEL2CAPChannelCallbacks::onDisconnect (NimBLEL2CAPChannelchannel)
-
-inlinevirtual
-
-

Called after the channel has been disconnected. Default implementation does nothing.

- -
-
- -

◆ onRead()

- -
-
- - - - - -
- - - - - - - - - - - - - - - - - - -
virtual void NimBLEL2CAPChannelCallbacks::onRead (NimBLEL2CAPChannelchannel,
std::vector< uint8_t > & data 
)
-
-inlinevirtual
-
-

Called when data has been read from the channel. Default implementation does nothing.

- -
-
- -

◆ shouldAcceptConnection()

- -
-
- - - - - -
- - - - - - - - -
virtual bool NimBLEL2CAPChannelCallbacks::shouldAcceptConnection (NimBLEL2CAPChannelchannel)
-
-inlinevirtual
-
-

Called when the client attempts to open a channel on the server. You can choose to accept or deny the connection. Default implementation returns true.

- -
-
-
-
- - - - diff --git a/class_nim_b_l_e_l2_c_a_p_channel_callbacks.js b/class_nim_b_l_e_l2_c_a_p_channel_callbacks.js deleted file mode 100644 index 19133ce..0000000 --- a/class_nim_b_l_e_l2_c_a_p_channel_callbacks.js +++ /dev/null @@ -1,7 +0,0 @@ -var class_nim_b_l_e_l2_c_a_p_channel_callbacks = -[ - [ "onConnect", "class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a7bb7aaf60287909a687830834ee1c816", null ], - [ "onDisconnect", "class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a3b56fa029bfe13d88c3231228078c982", null ], - [ "onRead", "class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a10bd007ae5e5e1c41eec5bac829a006d", null ], - [ "shouldAcceptConnection", "class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a5932343afdb1dd9e67d55e530638180f", null ] -]; \ No newline at end of file diff --git a/class_nim_b_l_e_l2_c_a_p_server-members.html b/class_nim_b_l_e_l2_c_a_p_server-members.html deleted file mode 100644 index e47d171..0000000 --- a/class_nim_b_l_e_l2_c_a_p_server-members.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - - -esp-nimble-cpp: Member List - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp 2.3.0 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
-
NimBLEL2CAPServer Member List
-
-
- -

This is the complete list of members for NimBLEL2CAPServer, including all inherited members.

- - -
createService(const uint16_t psm, const uint16_t mtu, NimBLEL2CAPChannelCallbacks *callbacks)NimBLEL2CAPServer
-
- - - - diff --git a/class_nim_b_l_e_l2_c_a_p_server.html b/class_nim_b_l_e_l2_c_a_p_server.html deleted file mode 100644 index d94d4f3..0000000 --- a/class_nim_b_l_e_l2_c_a_p_server.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - - - -esp-nimble-cpp: NimBLEL2CAPServer Class Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp 2.3.0 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
-
-
-
-
-
Loading...
-
Searching...
-
No Matches
-
-
-
-
- -
- -
NimBLEL2CAPServer Class Reference
-
-
- -

L2CAP server class. - More...

- -

#include <NimBLEL2CAPServer.h>

- - - - - -

-Public Member Functions

NimBLEL2CAPChannelcreateService (const uint16_t psm, const uint16_t mtu, NimBLEL2CAPChannelCallbacks *callbacks)
 Register a new L2CAP service instance.
 
-

Detailed Description

-

L2CAP server class.

-

Encapsulates a L2CAP server that can hold multiple services. Every service is represented by a channel object and an assorted set of callbacks.

-

Member Function Documentation

- -

◆ createService()

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
NimBLEL2CAPChannel * NimBLEL2CAPServer::createService (const uint16_t psm,
const uint16_t mtu,
NimBLEL2CAPChannelCallbackscallbacks 
)
-
- -

Register a new L2CAP service instance.

-
Parameters
- - - - -
psmThe port multiplexor service number.
mtuThe maximum transmission unit.
callbacksThe callbacks for this service.
-
-
-
Returns
the newly created object, if the server registration was successful.
- -
-
-
-
- - - - diff --git a/class_nim_b_l_e_l2_c_a_p_server.js b/class_nim_b_l_e_l2_c_a_p_server.js deleted file mode 100644 index bc6cbfb..0000000 --- a/class_nim_b_l_e_l2_c_a_p_server.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_nim_b_l_e_l2_c_a_p_server = -[ - [ "createService", "class_nim_b_l_e_l2_c_a_p_server.html#a9328df1e0b29beb0492469ca6ebc969c", null ] -]; \ No newline at end of file diff --git a/class_nim_b_l_e_local_attribute-members.html b/class_nim_b_l_e_local_attribute-members.html index 8b24efe..68717c8 100644 --- a/class_nim_b_l_e_local_attribute-members.html +++ b/class_nim_b_l_e_local_attribute-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_local_attribute.html b/class_nim_b_l_e_local_attribute.html index 5034a99..ca3e6fb 100644 --- a/class_nim_b_l_e_local_attribute.html +++ b/class_nim_b_l_e_local_attribute.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_remote_characteristic-members.html b/class_nim_b_l_e_remote_characteristic-members.html index a5f6c53..841f77c 100644 --- a/class_nim_b_l_e_remote_characteristic-members.html +++ b/class_nim_b_l_e_remote_characteristic-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_remote_characteristic.html b/class_nim_b_l_e_remote_characteristic.html index 1f0d3d5..38c07d5 100644 --- a/class_nim_b_l_e_remote_characteristic.html +++ b/class_nim_b_l_e_remote_characteristic.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_remote_descriptor-members.html b/class_nim_b_l_e_remote_descriptor-members.html index f27c710..2780b95 100644 --- a/class_nim_b_l_e_remote_descriptor-members.html +++ b/class_nim_b_l_e_remote_descriptor-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_remote_descriptor.html b/class_nim_b_l_e_remote_descriptor.html index 98f2357..2c218b4 100644 --- a/class_nim_b_l_e_remote_descriptor.html +++ b/class_nim_b_l_e_remote_descriptor.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_remote_service-members.html b/class_nim_b_l_e_remote_service-members.html index 6c69e80..c34caaa 100644 --- a/class_nim_b_l_e_remote_service-members.html +++ b/class_nim_b_l_e_remote_service-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_remote_service.html b/class_nim_b_l_e_remote_service.html index b077a1c..ddf0c74 100644 --- a/class_nim_b_l_e_remote_service.html +++ b/class_nim_b_l_e_remote_service.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_scan-members.html b/class_nim_b_l_e_scan-members.html index c4ed69e..b6be039 100644 --- a/class_nim_b_l_e_scan-members.html +++ b/class_nim_b_l_e_scan-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_scan.html b/class_nim_b_l_e_scan.html index efe9905..e362351 100644 --- a/class_nim_b_l_e_scan.html +++ b/class_nim_b_l_e_scan.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_scan_callbacks-members.html b/class_nim_b_l_e_scan_callbacks-members.html index 1326feb..195cd71 100644 --- a/class_nim_b_l_e_scan_callbacks-members.html +++ b/class_nim_b_l_e_scan_callbacks-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_scan_callbacks.html b/class_nim_b_l_e_scan_callbacks.html index f6277ef..3ab1ea8 100644 --- a/class_nim_b_l_e_scan_callbacks.html +++ b/class_nim_b_l_e_scan_callbacks.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_scan_results-members.html b/class_nim_b_l_e_scan_results-members.html index 7666160..e540c92 100644 --- a/class_nim_b_l_e_scan_results-members.html +++ b/class_nim_b_l_e_scan_results-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_scan_results.html b/class_nim_b_l_e_scan_results.html index 25a55f0..d84630b 100644 --- a/class_nim_b_l_e_scan_results.html +++ b/class_nim_b_l_e_scan_results.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_server-members.html b/class_nim_b_l_e_server-members.html index e480f64..0b2b1bc 100644 --- a/class_nim_b_l_e_server-members.html +++ b/class_nim_b_l_e_server-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_server.html b/class_nim_b_l_e_server.html index 5e3dbd6..b47c0b5 100644 --- a/class_nim_b_l_e_server.html +++ b/class_nim_b_l_e_server.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_server_callbacks-members.html b/class_nim_b_l_e_server_callbacks-members.html index 1ba6de8..cd14e09 100644 --- a/class_nim_b_l_e_server_callbacks-members.html +++ b/class_nim_b_l_e_server_callbacks-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_server_callbacks.html b/class_nim_b_l_e_server_callbacks.html index a9372ea..edb62f6 100644 --- a/class_nim_b_l_e_server_callbacks.html +++ b/class_nim_b_l_e_server_callbacks.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_service-members.html b/class_nim_b_l_e_service-members.html index ec22077..70a017d 100644 --- a/class_nim_b_l_e_service-members.html +++ b/class_nim_b_l_e_service-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_service.html b/class_nim_b_l_e_service.html index c28644c..5fd353a 100644 --- a/class_nim_b_l_e_service.html +++ b/class_nim_b_l_e_service.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_u_u_i_d-members.html b/class_nim_b_l_e_u_u_i_d-members.html index 5ae1559..0e0846f 100644 --- a/class_nim_b_l_e_u_u_i_d-members.html +++ b/class_nim_b_l_e_u_u_i_d-members.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
diff --git a/class_nim_b_l_e_u_u_i_d.html b/class_nim_b_l_e_u_u_i_d.html index 3988854..52ffd55 100644 --- a/class_nim_b_l_e_u_u_i_d.html +++ b/class_nim_b_l_e_u_u_i_d.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.0 +
esp-nimble-cpp 2.3.1
@@ -220,7 +220,7 @@ Static Public Member Functions
"beb5483e-36e1-4688-b7f5-ea07361b26a8"
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
12345678-90ab-cdef-1234-567890abcdef
-
const uint8_t * getValue() const
Get the uuid value.
Definition NimBLEUUID.cpp:153
+
const uint8_t * getValue() const
Get the uuid value.
Definition NimBLEUUID.cpp:152

This has a length of 36 characters. We need to parse this into 16 bytes.

Parameters
diff --git a/class_nim_b_l_e_utils-members.html b/class_nim_b_l_e_utils-members.html index 900f104..b929351 100644 --- a/class_nim_b_l_e_utils-members.html +++ b/class_nim_b_l_e_utils-members.html @@ -25,7 +25,7 @@ diff --git a/class_nim_b_l_e_utils.html b/class_nim_b_l_e_utils.html index 4049827..ab88228 100644 --- a/class_nim_b_l_e_utils.html +++ b/class_nim_b_l_e_utils.html @@ -25,7 +25,7 @@ diff --git a/classes.html b/classes.html index ca1ff7b..3e170e4 100644 --- a/classes.html +++ b/classes.html @@ -25,7 +25,7 @@ @@ -96,7 +96,7 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); }) diff --git a/deprecated.html b/deprecated.html index 1503f5e..9bdc45f 100644 --- a/deprecated.html +++ b/deprecated.html @@ -25,7 +25,7 @@ diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 9f7785e..87bec27 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -25,7 +25,7 @@ diff --git a/files.html b/files.html index 3e9c6e5..e2d7ea8 100644 --- a/files.html +++ b/files.html @@ -25,7 +25,7 @@ diff --git a/functions.html b/functions.html index e8165a5..41fab03 100644 --- a/functions.html +++ b/functions.html @@ -25,7 +25,7 @@ diff --git a/functions_b.html b/functions_b.html index cf52956..1a30500 100644 --- a/functions_b.html +++ b/functions_b.html @@ -25,7 +25,7 @@ diff --git a/functions_c.html b/functions_c.html index fa6bc0d..51b1b54 100644 --- a/functions_c.html +++ b/functions_c.html @@ -25,7 +25,7 @@ @@ -104,13 +104,13 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable()
  • capacity() : NimBLEAttValue
  • clearData() : NimBLEAdvertisementData, NimBLEAdvertising, NimBLEExtAdvertisement
  • clearResults() : NimBLEScan
  • -
  • connect() : NimBLEClient, NimBLEL2CAPChannel
  • +
  • connect() : NimBLEClient
  • create2904() : NimBLECharacteristic
  • createCharacteristic() : NimBLEService
  • createClient() : NimBLEDevice
  • createDescriptor() : NimBLECharacteristic
  • createServer() : NimBLEDevice
  • -
  • createService() : NimBLEL2CAPServer, NimBLEServer
  • +
  • createService() : NimBLEServer
  • diff --git a/functions_d.html b/functions_d.html index 7727e2d..96ab361 100644 --- a/functions_d.html +++ b/functions_d.html @@ -25,7 +25,7 @@ diff --git a/functions_e.html b/functions_e.html index 404f53d..f543ed9 100644 --- a/functions_e.html +++ b/functions_e.html @@ -25,7 +25,7 @@ diff --git a/functions_f.html b/functions_f.html index d68d927..ef78be1 100644 --- a/functions_f.html +++ b/functions_f.html @@ -25,7 +25,7 @@ diff --git a/functions_func.html b/functions_func.html index 08bf6b2..4dbd5ec 100644 --- a/functions_func.html +++ b/functions_func.html @@ -25,7 +25,7 @@ diff --git a/functions_func_b.html b/functions_func_b.html index bc4d11a..e43cea0 100644 --- a/functions_func_b.html +++ b/functions_func_b.html @@ -25,7 +25,7 @@ diff --git a/functions_func_c.html b/functions_func_c.html index fabc8bc..7af6c97 100644 --- a/functions_func_c.html +++ b/functions_func_c.html @@ -25,7 +25,7 @@ @@ -104,13 +104,13 @@ $(document).ready(function(){initNavTree('functions_func_c.html',''); initResiza
  • capacity() : NimBLEAttValue
  • clearData() : NimBLEAdvertisementData, NimBLEAdvertising, NimBLEExtAdvertisement
  • clearResults() : NimBLEScan
  • -
  • connect() : NimBLEClient, NimBLEL2CAPChannel
  • +
  • connect() : NimBLEClient
  • create2904() : NimBLECharacteristic
  • createCharacteristic() : NimBLEService
  • createClient() : NimBLEDevice
  • createDescriptor() : NimBLECharacteristic
  • createServer() : NimBLEDevice
  • -
  • createService() : NimBLEL2CAPServer, NimBLEServer
  • +
  • createService() : NimBLEServer
  • diff --git a/functions_func_d.html b/functions_func_d.html index b5e2870..3dc79fd 100644 --- a/functions_func_d.html +++ b/functions_func_d.html @@ -25,7 +25,7 @@ diff --git a/functions_func_e.html b/functions_func_e.html index 887c4f6..4dc4617 100644 --- a/functions_func_e.html +++ b/functions_func_e.html @@ -25,7 +25,7 @@ diff --git a/functions_func_f.html b/functions_func_f.html index ce373f3..92135ec 100644 --- a/functions_func_f.html +++ b/functions_func_f.html @@ -25,7 +25,7 @@ diff --git a/functions_func_g.html b/functions_func_g.html index 56d9bf6..b1fe6bd 100644 --- a/functions_func_g.html +++ b/functions_func_g.html @@ -25,7 +25,7 @@ diff --git a/functions_func_h.html b/functions_func_h.html index 1cc7254..6acd728 100644 --- a/functions_func_h.html +++ b/functions_func_h.html @@ -25,7 +25,7 @@ diff --git a/functions_func_i.html b/functions_func_i.html index c279f3a..f99b53b 100644 --- a/functions_func_i.html +++ b/functions_func_i.html @@ -25,7 +25,7 @@ @@ -102,7 +102,7 @@ $(document).ready(function(){initNavTree('functions_func_i.html',''); initResiza
  • isAuthenticated() : NimBLEConnInfo
  • isBonded() : NimBLEConnInfo, NimBLEDevice
  • isConnectable() : NimBLEAdvertisedDevice
  • -
  • isConnected() : NimBLEClient, NimBLEL2CAPChannel
  • +
  • isConnected() : NimBLEClient
  • isEncrypted() : NimBLEConnInfo
  • isInitialized() : NimBLEDevice
  • isLegacyAdvertisement() : NimBLEAdvertisedDevice
  • diff --git a/functions_func_l.html b/functions_func_l.html index d27f9c7..8197a13 100644 --- a/functions_func_l.html +++ b/functions_func_l.html @@ -25,7 +25,7 @@ diff --git a/functions_func_m.html b/functions_func_m.html index 793e44c..927db51 100644 --- a/functions_func_m.html +++ b/functions_func_m.html @@ -25,7 +25,7 @@ diff --git a/functions_func_n.html b/functions_func_n.html index 89913c0..b297a4b 100644 --- a/functions_func_n.html +++ b/functions_func_n.html @@ -25,7 +25,7 @@ diff --git a/functions_func_o.html b/functions_func_o.html index 8110e03..973a594 100644 --- a/functions_func_o.html +++ b/functions_func_o.html @@ -25,7 +25,7 @@ @@ -95,18 +95,18 @@ $(document).ready(function(){initNavTree('functions_func_o.html',''); initResiza
  • onAuthenticationComplete() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onConfirmPasskey() : NimBLEClientCallbacks
  • onConfirmPassKey() : NimBLEServerCallbacks
  • -
  • onConnect() : NimBLEClientCallbacks, NimBLEL2CAPChannelCallbacks, NimBLEServerCallbacks
  • +
  • onConnect() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onConnectFail() : NimBLEClientCallbacks
  • onConnParamsUpdate() : NimBLEServerCallbacks
  • onConnParamsUpdateRequest() : NimBLEClientCallbacks
  • -
  • onDisconnect() : NimBLEClientCallbacks, NimBLEL2CAPChannelCallbacks, NimBLEServerCallbacks
  • +
  • onDisconnect() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onDiscovered() : NimBLEScanCallbacks
  • onIdentity() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onMTUChange() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onPassKeyDisplay() : NimBLEServerCallbacks
  • onPassKeyEntry() : NimBLEClientCallbacks
  • onPhyUpdate() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • -
  • onRead() : NimBLECharacteristicCallbacks, NimBLEDescriptorCallbacks, NimBLEL2CAPChannelCallbacks
  • +
  • onRead() : NimBLECharacteristicCallbacks, NimBLEDescriptorCallbacks
  • onReset() : NimBLEDevice
  • onResult() : NimBLEScanCallbacks
  • onScanEnd() : NimBLEScanCallbacks
  • diff --git a/functions_func_r.html b/functions_func_r.html index 8b1d4bc..0f12674 100644 --- a/functions_func_r.html +++ b/functions_func_r.html @@ -25,7 +25,7 @@ diff --git a/functions_func_s.html b/functions_func_s.html index 594fe4b..bfbccb7 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -25,7 +25,7 @@ @@ -164,13 +164,13 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • setScannable() : NimBLEExtAdvertisement
  • setScanResponseData() : NimBLEAdvertising, NimBLEExtAdvertising
  • setSecondaryPhy() : NimBLEExtAdvertisement
  • -
  • setSecurityAuth() : NimBLEDevice
  • +
  • setSecurityAuth() : NimBLEDevice
  • setSecurityInitKey() : NimBLEDevice
  • setSecurityIOCap() : NimBLEDevice
  • setSecurityPasskey() : NimBLEDevice
  • setSecurityRespKey() : NimBLEDevice
  • setSelfDelete() : NimBLEClient
  • -
  • setServiceData() : NimBLEAdvertisementData, NimBLEAdvertising, NimBLEExtAdvertisement
  • +
  • setServiceData() : NimBLEAdvertisementData, NimBLEAdvertising, NimBLEExtAdvertisement
  • setShortName() : NimBLEAdvertisementData, NimBLEExtAdvertisement
  • setSignalPower() : NimBLEBeacon
  • setTemp() : NimBLEEddystoneTLM
  • @@ -179,11 +179,10 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
  • setUnit() : NimBLE2904
  • setURI() : NimBLEAdvertisementData, NimBLEAdvertising, NimBLEExtAdvertisement
  • setUUID() : NimBLEEddystoneTLM
  • -
  • setValue() : NimBLEAttValue, NimBLEClient, NimBLERemoteService
  • +
  • setValue() : NimBLEAttValue, NimBLEClient, NimBLERemoteService
  • setVersion() : NimBLEEddystoneTLM
  • setVolt() : NimBLEEddystoneTLM
  • setWindow() : NimBLEScan
  • -
  • shouldAcceptConnection() : NimBLEL2CAPChannelCallbacks
  • size() : NimBLEAttValue
  • start() : NimBLEAdvertising, NimBLEExtAdvertising, NimBLEScan, NimBLEServer, NimBLEService
  • startAdvertising() : NimBLEDevice, NimBLEServer
  • diff --git a/functions_func_t.html b/functions_func_t.html index 984f5bf..42ce4a2 100644 --- a/functions_func_t.html +++ b/functions_func_t.html @@ -25,7 +25,7 @@ diff --git a/functions_func_u.html b/functions_func_u.html index 2b370dd..eb0a0dc 100644 --- a/functions_func_u.html +++ b/functions_func_u.html @@ -25,7 +25,7 @@ diff --git a/functions_func_w.html b/functions_func_w.html index d7454af..a4546ad 100644 --- a/functions_func_w.html +++ b/functions_func_w.html @@ -25,7 +25,7 @@ @@ -94,7 +94,6 @@ $(document).ready(function(){initNavTree('functions_func_w.html',''); initResiza

    - w -

    diff --git a/functions_func_~.html b/functions_func_~.html index aa4ddbc..432ca23 100644 --- a/functions_func_~.html +++ b/functions_func_~.html @@ -25,7 +25,7 @@ diff --git a/functions_g.html b/functions_g.html index 13909d7..56d5eeb 100644 --- a/functions_g.html +++ b/functions_g.html @@ -25,7 +25,7 @@ diff --git a/functions_h.html b/functions_h.html index 6ec7cd8..46880c5 100644 --- a/functions_h.html +++ b/functions_h.html @@ -25,7 +25,7 @@ diff --git a/functions_i.html b/functions_i.html index a29258d..1d2403c 100644 --- a/functions_i.html +++ b/functions_i.html @@ -25,7 +25,7 @@ @@ -102,7 +102,7 @@ $(document).ready(function(){initNavTree('functions_i.html',''); initResizable()
  • isAuthenticated() : NimBLEConnInfo
  • isBonded() : NimBLEConnInfo, NimBLEDevice
  • isConnectable() : NimBLEAdvertisedDevice
  • -
  • isConnected() : NimBLEClient, NimBLEL2CAPChannel
  • +
  • isConnected() : NimBLEClient
  • isEncrypted() : NimBLEConnInfo
  • isInitialized() : NimBLEDevice
  • isLegacyAdvertisement() : NimBLEAdvertisedDevice
  • diff --git a/functions_l.html b/functions_l.html index 550262c..8b46704 100644 --- a/functions_l.html +++ b/functions_l.html @@ -25,7 +25,7 @@ diff --git a/functions_m.html b/functions_m.html index 6adeaed..96a2ace 100644 --- a/functions_m.html +++ b/functions_m.html @@ -25,7 +25,7 @@ diff --git a/functions_n.html b/functions_n.html index 363bd8b..c69f642 100644 --- a/functions_n.html +++ b/functions_n.html @@ -25,7 +25,7 @@ diff --git a/functions_o.html b/functions_o.html index f1f030f..d18c783 100644 --- a/functions_o.html +++ b/functions_o.html @@ -25,7 +25,7 @@ @@ -95,18 +95,18 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable()
  • onAuthenticationComplete() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onConfirmPasskey() : NimBLEClientCallbacks
  • onConfirmPassKey() : NimBLEServerCallbacks
  • -
  • onConnect() : NimBLEClientCallbacks, NimBLEL2CAPChannelCallbacks, NimBLEServerCallbacks
  • +
  • onConnect() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onConnectFail() : NimBLEClientCallbacks
  • onConnParamsUpdate() : NimBLEServerCallbacks
  • onConnParamsUpdateRequest() : NimBLEClientCallbacks
  • -
  • onDisconnect() : NimBLEClientCallbacks, NimBLEL2CAPChannelCallbacks, NimBLEServerCallbacks
  • +
  • onDisconnect() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onDiscovered() : NimBLEScanCallbacks
  • onIdentity() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onMTUChange() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • onPassKeyDisplay() : NimBLEServerCallbacks
  • onPassKeyEntry() : NimBLEClientCallbacks
  • onPhyUpdate() : NimBLEClientCallbacks, NimBLEServerCallbacks
  • -
  • onRead() : NimBLECharacteristicCallbacks, NimBLEDescriptorCallbacks, NimBLEL2CAPChannelCallbacks
  • +
  • onRead() : NimBLECharacteristicCallbacks, NimBLEDescriptorCallbacks
  • onReset() : NimBLEDevice
  • onResult() : NimBLEScanCallbacks
  • onScanEnd() : NimBLEScanCallbacks
  • diff --git a/functions_r.html b/functions_r.html index fa1c7a6..0fc0ef2 100644 --- a/functions_r.html +++ b/functions_r.html @@ -25,7 +25,7 @@ diff --git a/functions_s.html b/functions_s.html index 173fcf8..ff759b7 100644 --- a/functions_s.html +++ b/functions_s.html @@ -25,7 +25,7 @@ @@ -164,13 +164,13 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • setScannable() : NimBLEExtAdvertisement
  • setScanResponseData() : NimBLEAdvertising, NimBLEExtAdvertising
  • setSecondaryPhy() : NimBLEExtAdvertisement
  • -
  • setSecurityAuth() : NimBLEDevice
  • +
  • setSecurityAuth() : NimBLEDevice
  • setSecurityInitKey() : NimBLEDevice
  • setSecurityIOCap() : NimBLEDevice
  • setSecurityPasskey() : NimBLEDevice
  • setSecurityRespKey() : NimBLEDevice
  • setSelfDelete() : NimBLEClient
  • -
  • setServiceData() : NimBLEAdvertisementData, NimBLEAdvertising, NimBLEExtAdvertisement
  • +
  • setServiceData() : NimBLEAdvertisementData, NimBLEAdvertising, NimBLEExtAdvertisement
  • setShortName() : NimBLEAdvertisementData, NimBLEExtAdvertisement
  • setSignalPower() : NimBLEBeacon
  • setTemp() : NimBLEEddystoneTLM
  • @@ -179,11 +179,10 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
  • setUnit() : NimBLE2904
  • setURI() : NimBLEAdvertisementData, NimBLEAdvertising, NimBLEExtAdvertisement
  • setUUID() : NimBLEEddystoneTLM
  • -
  • setValue() : NimBLEAttValue, NimBLEClient, NimBLERemoteService
  • +
  • setValue() : NimBLEAttValue, NimBLEClient, NimBLERemoteService
  • setVersion() : NimBLEEddystoneTLM
  • setVolt() : NimBLEEddystoneTLM
  • setWindow() : NimBLEScan
  • -
  • shouldAcceptConnection() : NimBLEL2CAPChannelCallbacks
  • size() : NimBLEAttValue
  • start() : NimBLEAdvertising, NimBLEExtAdvertising, NimBLEScan, NimBLEServer, NimBLEService
  • startAdvertising() : NimBLEDevice, NimBLEServer
  • diff --git a/functions_t.html b/functions_t.html index 2614c7b..426a16e 100644 --- a/functions_t.html +++ b/functions_t.html @@ -25,7 +25,7 @@ diff --git a/functions_u.html b/functions_u.html index b9f19e8..41487fa 100644 --- a/functions_u.html +++ b/functions_u.html @@ -25,7 +25,7 @@ diff --git a/functions_w.html b/functions_w.html index 41c1030..7f7b850 100644 --- a/functions_w.html +++ b/functions_w.html @@ -25,7 +25,7 @@ @@ -94,7 +94,6 @@ $(document).ready(function(){initNavTree('functions_w.html',''); initResizable()

    - w -

    diff --git a/functions_~.html b/functions_~.html index e18a00e..d7c7a30 100644 --- a/functions_~.html +++ b/functions_~.html @@ -25,7 +25,7 @@ diff --git a/globals.html b/globals.html index 23d91b5..72fdc63 100644 --- a/globals.html +++ b/globals.html @@ -25,7 +25,7 @@ diff --git a/globals_defs.html b/globals_defs.html index 2b733df..dabac1a 100644 --- a/globals_defs.html +++ b/globals_defs.html @@ -25,7 +25,7 @@ diff --git a/hierarchy.html b/hierarchy.html index 1d9d557..f419626 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -25,7 +25,7 @@ @@ -116,17 +116,14 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable(); - - - - - - - - - - - + + + + + + + +
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
     CNimBLEExtAdvertisingExtended advertising class
     CNimBLEExtAdvertisingCallbacksCallbacks associated with NimBLEExtAdvertising class
     CNimBLEHIDDeviceA model of a BLE Human Interface Device
     CNimBLEL2CAPChannelEncapsulates a L2CAP channel
     CNimBLEL2CAPChannelCallbacksCallbacks base class for the L2CAP channel
     CNimBLEL2CAPServerL2CAP server class
     CNimBLEScanPerform and manage BLE scans
     CNimBLEScanCallbacksA callback handler for callbacks associated device scanning
     CNimBLEScanResultsA class that contains and operates on the results of a BLE scan
     CNimBLEServerThe model of a BLE server
     CNimBLEServerCallbacksCallbacks associated with the operation of a BLE server
     CNimBLETaskDataA structure to hold data for a task that is waiting for a response
     CNimBLEUtilsA BLE Utility class with methods for debugging and general purpose use
     CNimBLEUUIDA model of a BLE UUID
     CNimBLEScanPerform and manage BLE scans
     CNimBLEScanCallbacksA callback handler for callbacks associated device scanning
     CNimBLEScanResultsA class that contains and operates on the results of a BLE scan
     CNimBLEServerThe model of a BLE server
     CNimBLEServerCallbacksCallbacks associated with the operation of a BLE server
     CNimBLETaskDataA structure to hold data for a task that is waiting for a response
     CNimBLEUtilsA BLE Utility class with methods for debugging and general purpose use
     CNimBLEUUIDA model of a BLE UUID
    diff --git a/hierarchy.js b/hierarchy.js index f7e2893..b7e1d0c 100644 --- a/hierarchy.js +++ b/hierarchy.js @@ -24,9 +24,6 @@ var hierarchy = [ "NimBLEExtAdvertising", "class_nim_b_l_e_ext_advertising.html", null ], [ "NimBLEExtAdvertisingCallbacks", "class_nim_b_l_e_ext_advertising_callbacks.html", null ], [ "NimBLEHIDDevice", "class_nim_b_l_e_h_i_d_device.html", null ], - [ "NimBLEL2CAPChannel", "class_nim_b_l_e_l2_c_a_p_channel.html", null ], - [ "NimBLEL2CAPChannelCallbacks", "class_nim_b_l_e_l2_c_a_p_channel_callbacks.html", null ], - [ "NimBLEL2CAPServer", "class_nim_b_l_e_l2_c_a_p_server.html", null ], [ "NimBLEScan", "class_nim_b_l_e_scan.html", null ], [ "NimBLEScanCallbacks", "class_nim_b_l_e_scan_callbacks.html", null ], [ "NimBLEScanResults", "class_nim_b_l_e_scan_results.html", null ], diff --git a/index.html b/index.html index f1c80c4..3ba7d58 100644 --- a/index.html +++ b/index.html @@ -25,7 +25,7 @@ -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    diff --git a/md_1_8x__to2_8x__migration__guide.html b/md_1_8x__to2_8x__migration__guide.html index 2ea1756..583c5fb 100644 --- a/md_1_8x__to2_8x__migration__guide.html +++ b/md_1_8x__to2_8x__migration__guide.html @@ -25,7 +25,7 @@ -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    @@ -144,8 +144,7 @@ BLE Device
  • NimBLEDevice::setOwnAddrType no longer takes a bool nrpa parameter, the random address type will be determined by the bits the in the address instead.
    Note: If setting a custom address, it should be set with NimBLEDevice::setOwnAddr first before calling NimBLEDevice::setOwnAddrType.
  • NimBLEDevice::getClientListSize replaced with NimBLEDevice::getCreatedClientCount.
  • -
  • NimBLEDevice::getClientList was removed and NimBLEDevice::getConnectedClients can be used instead which returns a std::vector of pointers to the connected client instances. This was done because internally the clients are managed in a std::array which replaced the 'std::list`.
    -
    +
  • NimBLEDevice::getClientList was removed and NimBLEDevice::getConnectedClients can be used instead which returns a std::vector of pointers to the connected client instances. This was done because internally the clients are managed in a std::array which replaced the 'std::list. <br> -NimBLEDevice::getClientByID(uint16_t conn_id);has been changed toNimBLEDevice::getClientByHandle(uint16_t connHandle)`
  • @@ -256,7 +255,8 @@ Scan

  • - NimBLEScanCallbacks::onResult, functions the same as the old NimBLEAdvertisedDeviceCallbacks::onResult but now takes aa const NimBLEAdvertisedDevice* instead of non-const.
  • - NimBLEScanCallbacks::onScanEnd, replaces the scanEnded callback passed to NimBLEScan::start and now takes a const NimBLEScanResults& and int reason parameter.
  • - NimBLEScanCallbacks::onDiscovered, This is called immediately when a device is first scanned, before any scan response data is available and takes a const NimBLEAdvertisedDevice* parameter.
    -
    +
  • +
  • NimBLEScan::setAdvertisedDeviceCallbacks(NimBLEAdvertisedDeviceCallbacks* callbacks, bool wantDuplicates) has been changed to NimBLEScan::setScanCallbacks(NimBLEScanCallbacks* callbacks, bool wantDuplicates);
  • diff --git a/md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html b/md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html index c587a3b..cce8dba 100644 --- a/md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html +++ b/md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html @@ -25,7 +25,7 @@ -
    esp-nimble-cpp 2.3.0 +
    esp-nimble-cpp 2.3.1
    @@ -93,9 +93,23 @@ $(document).ready(function(){initNavTree('md__2github_2workspace_2_c_h_a_n_g_e_l

    All notable changes to this project will be documented in this file.

    +

    +[2.3.1] 2025-06-11

    +

    +Fixed

    +
      +
    • Build errors when disabling BLE roles.
    • +
    • NimBLEClient::readValue call not returning when the instance was created with aNimBLEServer and reading a secured characteristic.
    • +
    • NimBLEScan destructor potentially causing a crash.
    • +
    +

    +Added

    +

    [2.3.0] 2025-05-19

    -

    +

    Fixed

    • Incorrect NimBLECharacteristic::onSubscribe value when indications are set.
    • @@ -107,7 +121,7 @@ Fixed

  • Attribute getValue failing with some data types
  • Incorrectly passing a pointer to a function taking const reference.
  • -

    +

    Added

    • Support for esp32c5
    • @@ -122,7 +136,7 @@ Changed

    [2.2.1] 2025-02-28

    -

    +

    Fixed

    [2.2.0] 2025-02-24

    -

    +

    Fixed

    -

    +

    Added

    • Conditional macros for logging.
    • @@ -143,7 +157,7 @@ Added

    [2.1.1] 2025-01-26

    -

    +

    Fixed

    • remote descriptor discovery error when no descriptors exist.
    • @@ -152,7 +166,7 @@ Fixed

    [2.1.0] 2025-01-12

    -

    +

    Fixed

    • Crash when retrieving descriptors if more than one exists.
    • @@ -166,7 +180,7 @@ Changed
    • If privacy is not enabled identity keys will not be shared.
    • NimBLEDevice::setPower and NimBLEDevice::getPower now take an additional parameter NimBLETxPowerType to set/get the power level for different operations.
    -

    +

    Added

    • Config option CONFIG_NIMBLE_CPP_ADDR_FMT_EXCLUDE_DELIMITER, if defined will remove the ":" delimiter from the BLE address string.
    • @@ -174,7 +188,7 @@ Added

    [2.0.3] 2025-01-05

    -

    +

    Fixed

    • Unused variable warning when log level is below info.
    • @@ -189,7 +203,7 @@ Changed
      • NimBLEHIDDevice now allows for the same report ID in multiple input/output/feature reports.
      -

      +

      Added

      • Config for custom log colors pre level.
      • @@ -199,7 +213,7 @@ Added

      [2.0.2] 2024-12-21

      -

      +

      Fixed

      • Compile error when only advertising role is enabled.
      • @@ -212,7 +226,7 @@ Changed

      [2.0.1] 2024-12-16

      -

      +

      Fixed

      -

      +

      Fixed

      • NimBLEDevice::getPower and NimBLEDevice::getPowerLevel bug worked around for the esp32s3 and esp32c3.
      • @@ -332,7 +346,7 @@ Changed
      • NimBLEAttValue cleanup and optimization.
      • cleaned up code, removed assert/abort calls, replaced with a configurable option to enable debug asserts.
      -

      +

      Added

      • (esp32 specific) NimBLEDevice::setPowerLevel and NimBLEDevice::getPowerLevel which take and return the related esp_power_level* types.
      • @@ -385,7 +399,7 @@ Added

      [1.4.1] - 2022-10-30

      -

      +

      Fixed

      • NimBLEDevice::getPower incorrect value when power level is -3db.
      • @@ -396,7 +410,7 @@ Changed
        • Revert previous change that forced writing with response when subscribing in favor of allowing the application to decide.
        -

        +

        Added

        • Added NimBLEHIDDevice::batteryLevel.
        • @@ -405,7 +419,7 @@ Added

        [1.4.0] - 2022-07-31

        -

        +

        Fixed

        • Fixed missing data from long notification values.
        • @@ -422,7 +436,7 @@ Changed
        • NimBLEClient::discoverAttributes now returns a bool value to indicate success/failure.
        • Scan result callbacks are no longer called when the scan response data is updated in order to reduce duplicates.
        -

        +

        Added

        • Preliminary support for non-esp devices, NRF51 and NRF52 devices supported with n-able arduino core
        • @@ -437,7 +451,7 @@ Changed
          • If attribute retrieval fails with a "not found" try again with the 16 bit version if a 128 bit base uuid is used.
          -

          +

          Fixed

          • Memory leak when deleting client instance.
          • @@ -447,7 +461,7 @@ Fixed

          [1.3.2] - 2022-01-15

          -

          +

          Fixed

          • Initialize advertising complete callback in NimBLEAdvertising constructor.
          • @@ -456,7 +470,7 @@ Fixed
          • Fix missing data in notifications when using a large MTU size and more than 270 bytes of data are sent.
          • Workaround fix added for cases when the task notification value is not cleared, causing various functions that should block not to block.
          -

          +

          Added

          • NimBLEClient::getLastError : Gets the error code of the last function call that produces a return code from the stack.
          • @@ -474,14 +488,14 @@ Changed

          [1.3.1] - 2021-08-04

          -

          +

          Fixed

          • Corrected a compiler/linker error when an application or a library uses bluetooth classic due to the redefinition of btInUse.

          [1.3.0] - 2021-08-02

          -

          +

          Added

          • NimBLECharacteristic::removeDescriptor: Dynamically remove a descriptor from a characteristic. Takes effect after all connections are closed and sends a service changed indication.
          • @@ -515,7 +529,7 @@ Changed
          • Excess logging and some asserts removed.
          • Use ESP_LOGx macros to enable using local log level filtering.
          -

          +

          Fixed

          [1.2.0] - 2021-02-08

          -

          +

          Added

          • NimBLECharacteristic::getDescriptorByHandle: Return the BLE Descriptor for the given handle.
          • @@ -578,14 +592,14 @@ Changed
          • NimBLEScan Now uses the controller duplicate filter.
          • NimBLEAdvertisedDevice Has been refactored to store the complete advertisement payload and no longer parses the data from each advertisement. Instead the data will be parsed on-demand when the user application asks for specific data.
          -

          +

          Fixed

          • NimBLEHIDDevice Characteristics now use encryption, this resolves an issue with communicating with devices requiring encryption for HID devices.

          [1.1.0] - 2021-01-20

          -

          +

          Added

          • NimBLEDevice::setOwnAddrType added to enable the use of random and random-resolvable addresses, by asukiaaa
          • @@ -608,7 +622,7 @@ Changed
          • Advertising tx power level is now sent in the advertisement packet instead of scan response.
          • NimBLEScan When the scan ends the scan stopped flag is now set before calling the scan complete callback (if used) this allows the starting of a new scan from the callback function.
          -

          +

          Fixed

          • Sometimes NimBLEClient::connect would hang on the task block if no event arrived to unblock. A time limit has been added to timeout appropriately.
          • @@ -635,7 +649,7 @@ Changed

          [1.0.1] - 2020-09-02

          -

          +

          Added

          • Empty NimBLEAddress constructor: NimBLEAddress() produces an address of 00:00:00:00:00:00 type 0.
          • @@ -646,7 +660,7 @@ Changed
            • notify_callback typedef is now defined as std::function to enable the use of std::bind to call a class member function.
            -

            +

            Fixed

            • Fix advertising start delay when first called.
            • diff --git a/md__bluetooth_015_01features.html b/md__bluetooth_015_01features.html index fc1e7a3..d9ac4b0 100644 --- a/md__bluetooth_015_01features.html +++ b/md__bluetooth_015_01features.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1
              diff --git a/md__migration__guide.html b/md__migration__guide.html index 3af208a..156e2dc 100644 --- a/md__migration__guide.html +++ b/md__migration__guide.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1
              @@ -291,7 +291,7 @@ Server Security

              Advertising API

              Advertising works the same as the original API except:

              -

              Calling NimBLEAdvertising::setAdvertisementData will entirely replace any data set with NimBLEAdvertising::addServiceUUID, or NimBLEAdvertising::setAppearance or similar methods. You should set all the data you wish to advertise within the NimBLEAdvertisementData instead.
              +

              Calling NimBLEAdvertising::setAdvertisementData will entirely replace any data set with NimBLEAdvertising::addServiceUUID, or NimBLEAdvertising::setAppearance or similar methods. You should set all the data you wish to advertise within the NimBLEAdvertisementData instead if calling NimBLEAdvertising::setAdvertisementData.

              diff --git a/md__new__user__guide.html b/md__new__user__guide.html index 59f977f..d92a3f3 100644 --- a/md__new__user__guide.html +++ b/md__new__user__guide.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1
              diff --git a/md__usage__tips.html b/md__usage__tips.html index cbc655c..bf569c2 100644 --- a/md__usage__tips.html +++ b/md__usage__tips.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1
              diff --git a/navtreedata.js b/navtreedata.js index 8988c7e..2faf33f 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -27,81 +27,84 @@ var NAVTREE = [ "esp-nimble-cpp", "index.html", [ [ "Overview", "index.html", "index" ], [ "Changelog", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html", [ - [ "[2.3.0] 2025-05-19", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19", null ], + [ "[2.3.1] 2025-06-11", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added", null ], + [ "[2.3.0] 2025-05-19", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-1", null ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed", null ], [ "[2.2.1] 2025-02-28", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28", null ], - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-1", null ], - [ "[2.2.0] 2025-02-24", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2", null ], - [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1", null ], - [ "[2.1.1] 2025-01-26", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26", null ], + [ "[2.2.0] 2025-02-24", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3", null ], - [ "[2.1.0] 2025-01-12", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12", null ], - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2", null ], - [ "[2.0.3] 2025-01-05", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05", null ], + [ "[2.1.1] 2025-01-26", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4", null ], + [ "[2.1.0] 2025-01-12", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-5", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3", null ], - [ "[2.0.2] 2024-12-21", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21", null ], + [ "[2.0.3] 2025-01-05", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-6", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2", null ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4", null ], + [ "[2.0.2] 2024-12-21", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-7", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3", null ], [ "[2.0.1] 2024-12-16", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16", null ], - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-7", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-4", null ], [ "[2.0.0] 2024-12-14", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14", null ], [ "Breaking changes", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes", null ], - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8", [ + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9", [ [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5", null ], - [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4", null ] - ] ], - [ "[1.4.1] - 2022-10-30", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30", [ - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5", null ] ] ], - [ "[1.4.0] - 2022-07-31", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31", [ + [ "[1.4.1] - 2022-10-30", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30", [ [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-10", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6", null ] ] ], + [ "[1.4.0] - 2022-07-31", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31", [ + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-11", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7", null ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7", null ] + ] ], [ "[1.3.3] - 2022-02-15", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15", [ [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8", null ], - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-11", null ] + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-12", null ] ] ], [ "[1.3.2] - 2022-01-15", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15", [ - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-12", null ], - [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13", null ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9", null ] ] ], [ "[1.3.1] - 2021-08-04", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04", [ - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13", null ] - ] ], - [ "[1.3.0] - 2021-08-02", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02", [ - [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-10", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-14", null ] ] ], - [ "[1.2.0] - 2021-02-08", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08", [ + [ "[1.3.0] - 2021-08-02", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02", [ [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-11", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-10", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-15", null ] ] ], - [ "[1.1.0] - 2021-01-20", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20", [ + [ "[1.2.0] - 2021-02-08", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08", [ [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-10", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-12", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-11", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-16", null ] ] ], + [ "[1.1.0] - 2021-01-20", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20", [ + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-11", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-12", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17", null ] + ] ], [ "[1.0.2] - 2020-09-13", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13", [ [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-13", null ] ] ], [ "[1.0.1] - 2020-09-02", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02", [ - [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-11", null ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-12", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-14", null ], - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17", null ] + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-18", null ] ] ], [ "[1.0.0] - 2020-08-22", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22", null ] ] ], @@ -201,8 +204,8 @@ var NAVTREEINDEX = [ "_h_i_d_keyboard_types_8h_source.html", "class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31", -"class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61", -"md__bluetooth_015_01features.html#about-extended-advertising" +"class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81", +"md__migration__guide.html#characteristic-callbacks-1" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/navtreeindex0.js b/navtreeindex0.js index 320521f..2c3f535 100644 --- a/navtreeindex0.js +++ b/navtreeindex0.js @@ -247,7 +247,7 @@ var NAVTREEINDEX0 = "class_nim_b_l_e_characteristic.html#a7676bd1b73979101c394471299d71c0b":[8,0,8,21], "class_nim_b_l_e_characteristic.html#a7fe29c5ec571d0513c51b8cbac942f4a":[8,0,8,2], "class_nim_b_l_e_characteristic.html#a8afe29701cd595d8b3c34cc59400b86b":[8,0,8,12], -"class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954":[8,0,8,19], "class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954":[8,0,8,20], +"class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954":[8,0,8,19], "class_nim_b_l_e_characteristic.html#aa5eb7de28ee6ec5661acac5c07abb11c":[8,0,8,16] }; diff --git a/navtreeindex1.js b/navtreeindex1.js index 93f9133..c89a79d 100644 --- a/navtreeindex1.js +++ b/navtreeindex1.js @@ -198,56 +198,56 @@ var NAVTREEINDEX1 = "class_nim_b_l_e_h_i_d_device.html#aea007674892608877cdbf9122208ba28":[8,0,21,16], "class_nim_b_l_e_h_i_d_device.html#af2f973843304c2d513963a9dbbc48714":[8,0,21,10], "class_nim_b_l_e_h_i_d_device.html#afe75c42779aef757cd3ba84ec281efb5":[8,0,21,14], -"class_nim_b_l_e_l2_c_a_p_channel.html":[8,0,22], -"class_nim_b_l_e_l2_c_a_p_channel.html#a5547ff361f487a5d252b60991e9d21a8":[8,0,22,1], -"class_nim_b_l_e_l2_c_a_p_channel.html#adca49cca95fc06b2491d4e59df620e69":[8,0,22,0], -"class_nim_b_l_e_l2_c_a_p_channel_callbacks.html":[8,0,23], -"class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a10bd007ae5e5e1c41eec5bac829a006d":[8,0,23,2], -"class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a3b56fa029bfe13d88c3231228078c982":[8,0,23,1], -"class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a5932343afdb1dd9e67d55e530638180f":[8,0,23,3], -"class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a7bb7aaf60287909a687830834ee1c816":[8,0,23,0], -"class_nim_b_l_e_l2_c_a_p_server.html":[8,0,24], -"class_nim_b_l_e_l2_c_a_p_server.html#a9328df1e0b29beb0492469ca6ebc969c":[8,0,24,0], -"class_nim_b_l_e_local_attribute.html":[8,0,25], -"class_nim_b_l_e_local_attribute.html#a4d8b3828536a49051311bc236157a8a4":[8,0,25,3], -"class_nim_b_l_e_local_attribute.html#a7664b8e5353f33ebfcff20a63273fe55":[8,0,25,2], -"class_nim_b_l_e_local_attribute.html#a9fd2c2130f8bea42f86ee0d3263e9788":[8,0,25,0], -"class_nim_b_l_e_local_attribute.html#af3a224e382c76e2bc2040d033e4f165b":[8,0,25,1], -"class_nim_b_l_e_remote_characteristic.html":[8,0,26], -"class_nim_b_l_e_remote_characteristic.html#a03c4da5f5fc36bd5f66c39aed3feb6f2":[8,0,26,8], -"class_nim_b_l_e_remote_characteristic.html#a0920d576b12ee1e20a724a7da836d153":[8,0,26,6], -"class_nim_b_l_e_remote_characteristic.html#a0d8e8ae12a89d64d0ca52dd3b3b7c67d":[8,0,26,1], -"class_nim_b_l_e_remote_characteristic.html#a160cf1b93ae583038606d27b258156e9":[8,0,26,0], -"class_nim_b_l_e_remote_characteristic.html#a17aea026b6a795dbb6bcdc27bbe3d17e":[8,0,26,10], -"class_nim_b_l_e_remote_characteristic.html#a1b021f9ca0501abed573daee878b51eb":[8,0,26,9], -"class_nim_b_l_e_remote_characteristic.html#a1b3bbd1bcdde6dd952ee69ebad0ffc58":[8,0,26,13], -"class_nim_b_l_e_remote_characteristic.html#a27746c8b2405beb1d44567e2c1f85f87":[8,0,26,12], -"class_nim_b_l_e_remote_characteristic.html#a3ba2263c976bd4ece81a6b37e09fa121":[8,0,26,5], -"class_nim_b_l_e_remote_characteristic.html#a4be19e1a3a82f3db0fa8a7236638b737":[8,0,26,4], -"class_nim_b_l_e_remote_characteristic.html#a64a74ffc6612cf4a42f33836e34887f0":[8,0,26,17], -"class_nim_b_l_e_remote_characteristic.html#a79dbe281933d8cab342a5506746b9ded":[8,0,26,2], -"class_nim_b_l_e_remote_characteristic.html#a8a2e29de02b97c99e88ce1a56e54cdd7":[8,0,26,11], -"class_nim_b_l_e_remote_characteristic.html#ad77a00c64a83dd58e985e3bbefd87ce2":[8,0,26,16], -"class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a":[8,0,26,15], -"class_nim_b_l_e_remote_characteristic.html#ae3b10383d5b72bdf241bb2f215836772":[8,0,26,3], -"class_nim_b_l_e_remote_characteristic.html#afb07f80d83e41768d228b92210b83657":[8,0,26,7], -"class_nim_b_l_e_remote_characteristic.html#aff5a242abcba3f239bd177cebc69e1cb":[8,0,26,14], -"class_nim_b_l_e_remote_descriptor.html":[8,0,27], -"class_nim_b_l_e_remote_descriptor.html#a05befb3c020c14f6b49439fd784a868c":[8,0,27,0], -"class_nim_b_l_e_remote_descriptor.html#aeea50cff665118bfa5ac755934755735":[8,0,27,1], -"class_nim_b_l_e_remote_service.html":[8,0,28], -"class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed":[8,0,28,9], -"class_nim_b_l_e_remote_service.html#a2f56031169ebeefcd834fff971a972c2":[8,0,28,7], -"class_nim_b_l_e_remote_service.html#a347e848039121cbf3005349f9aa50680":[8,0,28,10], -"class_nim_b_l_e_remote_service.html#a404ee02ca3ecf8c9d244029ede066bda":[8,0,28,5], -"class_nim_b_l_e_remote_service.html#a4c00a195d20c8eba714979427f90c239":[8,0,28,3], -"class_nim_b_l_e_remote_service.html#a5b07f0756c401d40396886e80d64b03b":[8,0,28,6], -"class_nim_b_l_e_remote_service.html#a7248e58b58753d8b44c420617d854408":[8,0,28,2], -"class_nim_b_l_e_remote_service.html#a828d57a4691d25e9e0e6124c3b0f1ac2":[8,0,28,1], -"class_nim_b_l_e_remote_service.html#a99e6d6a6fba063b2c165cf8adb19d6e3":[8,0,28,0], -"class_nim_b_l_e_remote_service.html#ac2f19f76f0c0ac9b0efe2baa2ad2f7ec":[8,0,28,8], -"class_nim_b_l_e_remote_service.html#ae10ddb56bc48bd06538ab49e4a561594":[8,0,28,4], -"class_nim_b_l_e_scan.html":[8,0,29], -"class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316":[8,0,29,15], -"class_nim_b_l_e_scan.html#a17f2f775b5e6793f06a412f840d5dceb":[8,0,29,13] +"class_nim_b_l_e_local_attribute.html":[8,0,22], +"class_nim_b_l_e_local_attribute.html#a4d8b3828536a49051311bc236157a8a4":[8,0,22,3], +"class_nim_b_l_e_local_attribute.html#a7664b8e5353f33ebfcff20a63273fe55":[8,0,22,2], +"class_nim_b_l_e_local_attribute.html#a9fd2c2130f8bea42f86ee0d3263e9788":[8,0,22,0], +"class_nim_b_l_e_local_attribute.html#af3a224e382c76e2bc2040d033e4f165b":[8,0,22,1], +"class_nim_b_l_e_remote_characteristic.html":[8,0,23], +"class_nim_b_l_e_remote_characteristic.html#a03c4da5f5fc36bd5f66c39aed3feb6f2":[8,0,23,8], +"class_nim_b_l_e_remote_characteristic.html#a0920d576b12ee1e20a724a7da836d153":[8,0,23,6], +"class_nim_b_l_e_remote_characteristic.html#a0d8e8ae12a89d64d0ca52dd3b3b7c67d":[8,0,23,1], +"class_nim_b_l_e_remote_characteristic.html#a160cf1b93ae583038606d27b258156e9":[8,0,23,0], +"class_nim_b_l_e_remote_characteristic.html#a17aea026b6a795dbb6bcdc27bbe3d17e":[8,0,23,10], +"class_nim_b_l_e_remote_characteristic.html#a1b021f9ca0501abed573daee878b51eb":[8,0,23,9], +"class_nim_b_l_e_remote_characteristic.html#a1b3bbd1bcdde6dd952ee69ebad0ffc58":[8,0,23,13], +"class_nim_b_l_e_remote_characteristic.html#a27746c8b2405beb1d44567e2c1f85f87":[8,0,23,12], +"class_nim_b_l_e_remote_characteristic.html#a3ba2263c976bd4ece81a6b37e09fa121":[8,0,23,5], +"class_nim_b_l_e_remote_characteristic.html#a4be19e1a3a82f3db0fa8a7236638b737":[8,0,23,4], +"class_nim_b_l_e_remote_characteristic.html#a64a74ffc6612cf4a42f33836e34887f0":[8,0,23,17], +"class_nim_b_l_e_remote_characteristic.html#a79dbe281933d8cab342a5506746b9ded":[8,0,23,2], +"class_nim_b_l_e_remote_characteristic.html#a8a2e29de02b97c99e88ce1a56e54cdd7":[8,0,23,11], +"class_nim_b_l_e_remote_characteristic.html#ad77a00c64a83dd58e985e3bbefd87ce2":[8,0,23,16], +"class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a":[8,0,23,15], +"class_nim_b_l_e_remote_characteristic.html#ae3b10383d5b72bdf241bb2f215836772":[8,0,23,3], +"class_nim_b_l_e_remote_characteristic.html#afb07f80d83e41768d228b92210b83657":[8,0,23,7], +"class_nim_b_l_e_remote_characteristic.html#aff5a242abcba3f239bd177cebc69e1cb":[8,0,23,14], +"class_nim_b_l_e_remote_descriptor.html":[8,0,24], +"class_nim_b_l_e_remote_descriptor.html#a05befb3c020c14f6b49439fd784a868c":[8,0,24,0], +"class_nim_b_l_e_remote_descriptor.html#aeea50cff665118bfa5ac755934755735":[8,0,24,1], +"class_nim_b_l_e_remote_service.html":[8,0,25], +"class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed":[8,0,25,9], +"class_nim_b_l_e_remote_service.html#a2f56031169ebeefcd834fff971a972c2":[8,0,25,7], +"class_nim_b_l_e_remote_service.html#a347e848039121cbf3005349f9aa50680":[8,0,25,10], +"class_nim_b_l_e_remote_service.html#a404ee02ca3ecf8c9d244029ede066bda":[8,0,25,5], +"class_nim_b_l_e_remote_service.html#a4c00a195d20c8eba714979427f90c239":[8,0,25,3], +"class_nim_b_l_e_remote_service.html#a5b07f0756c401d40396886e80d64b03b":[8,0,25,6], +"class_nim_b_l_e_remote_service.html#a7248e58b58753d8b44c420617d854408":[8,0,25,2], +"class_nim_b_l_e_remote_service.html#a828d57a4691d25e9e0e6124c3b0f1ac2":[8,0,25,1], +"class_nim_b_l_e_remote_service.html#a99e6d6a6fba063b2c165cf8adb19d6e3":[8,0,25,0], +"class_nim_b_l_e_remote_service.html#ac2f19f76f0c0ac9b0efe2baa2ad2f7ec":[8,0,25,8], +"class_nim_b_l_e_remote_service.html#ae10ddb56bc48bd06538ab49e4a561594":[8,0,25,4], +"class_nim_b_l_e_scan.html":[8,0,26], +"class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316":[8,0,26,15], +"class_nim_b_l_e_scan.html#a17f2f775b5e6793f06a412f840d5dceb":[8,0,26,13], +"class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61":[8,0,26,3], +"class_nim_b_l_e_scan.html#a3b0d41fc5d9113a02357c1b2a43c5d1d":[8,0,26,14], +"class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967":[8,0,26,8], +"class_nim_b_l_e_scan.html#a4c3e1794c3e56acba76ee269ffb1393e":[8,0,26,9], +"class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1":[8,0,26,1], +"class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1":[8,0,26,17], +"class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1":[8,0,26,10], +"class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910":[8,0,26,6], +"class_nim_b_l_e_scan.html#aaace4d0b128b6294276347f6790f3f8b":[8,0,26,12], +"class_nim_b_l_e_scan.html#aabbf3f1804a844a7db0284ecc2b78408":[8,0,26,7] }; diff --git a/navtreeindex2.js b/navtreeindex2.js index 8f7bb66..65cf193 100644 --- a/navtreeindex2.js +++ b/navtreeindex2.js @@ -1,119 +1,109 @@ var NAVTREEINDEX2 = { -"class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61":[8,0,29,3], -"class_nim_b_l_e_scan.html#a3b0d41fc5d9113a02357c1b2a43c5d1d":[8,0,29,14], -"class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967":[8,0,29,8], -"class_nim_b_l_e_scan.html#a4c3e1794c3e56acba76ee269ffb1393e":[8,0,29,9], -"class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1":[8,0,29,1], -"class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1":[8,0,29,17], -"class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1":[8,0,29,10], -"class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910":[8,0,29,6], -"class_nim_b_l_e_scan.html#aaace4d0b128b6294276347f6790f3f8b":[8,0,29,12], -"class_nim_b_l_e_scan.html#aabbf3f1804a844a7db0284ecc2b78408":[8,0,29,7], -"class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81":[8,0,29,11], -"class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016":[8,0,29,5], -"class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c":[8,0,29,16], -"class_nim_b_l_e_scan.html#acaa40328d16e040e9f92cba4819cb045":[8,0,29,2], -"class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b":[8,0,29,0], -"class_nim_b_l_e_scan.html#ade1492b5d1b5d97efa76cd41583bfc96":[8,0,29,4], -"class_nim_b_l_e_scan_callbacks.html":[8,0,30], -"class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277":[8,0,30,0], -"class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375":[8,0,30,2], -"class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283":[8,0,30,1], -"class_nim_b_l_e_scan_results.html":[8,0,31], -"class_nim_b_l_e_scan_results.html#a2547ebc0f9f0e1f48346ff0188ed6479":[8,0,31,2], -"class_nim_b_l_e_scan_results.html#a59c62c0825917ebb26bcb1efa2a98f4d":[8,0,31,3], -"class_nim_b_l_e_scan_results.html#a5a0b1dc434c4ad68ae5ce233eeacc230":[8,0,31,0], -"class_nim_b_l_e_scan_results.html#a98b106a3929919bf2c80cc0dfff59ba1":[8,0,31,5], -"class_nim_b_l_e_scan_results.html#aa96e8a647f0db95e2fa8cfae44f6d92e":[8,0,31,4], -"class_nim_b_l_e_scan_results.html#af143b1aa3bd67157dd263fcbeb4827ba":[8,0,31,1], -"class_nim_b_l_e_server.html":[8,0,32], -"class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75":[8,0,32,20], -"class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654":[8,0,32,24], -"class_nim_b_l_e_server.html#a08916d16ea00b4718bd6241bd407829f":[8,0,32,14], -"class_nim_b_l_e_server.html#a0b009a568399014462a5ba7700b0129e":[8,0,32,17], -"class_nim_b_l_e_server.html#a1513647f2c8a565404410a5dbd71a9ce":[8,0,32,13], -"class_nim_b_l_e_server.html#a1cedae8a9346f605b8319cbc8209f0df":[8,0,32,11], -"class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6":[8,0,32,26], -"class_nim_b_l_e_server.html#a26af61c030e9ad1108b24df4d3b6b633":[8,0,32,18], -"class_nim_b_l_e_server.html#a31f73892bcf7eb66ee540bf1da9c419c":[8,0,32,9], -"class_nim_b_l_e_server.html#a3bedf02970de34eaf7b90a2f37765fe8":[8,0,32,15], -"class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681":[8,0,32,27], -"class_nim_b_l_e_server.html#a4277e57885576664b9adf11f586e75ba":[8,0,32,10], -"class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9":[8,0,32,21], -"class_nim_b_l_e_server.html#a49e1252a2f14732070eb85e78b641646":[8,0,32,5], -"class_nim_b_l_e_server.html#a55eb6176fd8d0a1e9ba68158dde4f325":[8,0,32,12], -"class_nim_b_l_e_server.html#a56add4759f7df045f51b70a026897975":[8,0,32,28], -"class_nim_b_l_e_server.html#a5be3c18cb6728c365ebc23af6b2a95f4":[8,0,32,8], -"class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2":[8,0,32,3], -"class_nim_b_l_e_server.html#a6bd0d52090b31cf39e2e9666091b8a61":[8,0,32,19], -"class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56":[8,0,32,0], -"class_nim_b_l_e_server.html#a709eb11532ec43a35f8653845b3158fc":[8,0,32,16], -"class_nim_b_l_e_server.html#a70aafa98cc487c43e11ab30990d5ecb5":[8,0,32,7], -"class_nim_b_l_e_server.html#aa7dd69e19e6cb8c22579c68e9731cdea":[8,0,32,4], -"class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35":[8,0,32,2], -"class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33":[8,0,32,25], -"class_nim_b_l_e_server.html#abfd159ff5f10848bd611733835ddf215":[8,0,32,29], -"class_nim_b_l_e_server.html#ac79e828bcc3c45ae817bf51be914bfc0":[8,0,32,6], -"class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb":[8,0,32,23], -"class_nim_b_l_e_server.html#aecf5b57888c55249a9c207d318a0495b":[8,0,32,1], -"class_nim_b_l_e_server.html#afbffb933eed8142bd24222e3cacc138a":[8,0,32,22], -"class_nim_b_l_e_server_callbacks.html":[8,0,33], -"class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5":[8,0,33,2], -"class_nim_b_l_e_server_callbacks.html#a45b5fc1c98b287a2ddeab8f2f5b63c4f":[8,0,33,7], -"class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943":[8,0,33,4], -"class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436":[8,0,33,1], -"class_nim_b_l_e_server_callbacks.html#a5096aa8ec49fe1eddb5d9ab18c112b22":[8,0,33,8], -"class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523":[8,0,33,0], -"class_nim_b_l_e_server_callbacks.html#aa6e5e8ef90a537540d9c72f8744c0199":[8,0,33,3], -"class_nim_b_l_e_server_callbacks.html#ab702f73e739b4df72e191f47056c01ff":[8,0,33,6], -"class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664":[8,0,33,5], -"class_nim_b_l_e_service.html":[8,0,34], -"class_nim_b_l_e_service.html#a200714f911accd64acfd2fa3d0c6b863":[8,0,34,8], -"class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763":[8,0,34,4], -"class_nim_b_l_e_service.html#a488df9c39d1c49d4b1537abddddb1a7d":[8,0,34,9], -"class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65":[8,0,34,0], -"class_nim_b_l_e_service.html#a557ec314a4b2f912b1c1b03e332f9fe1":[8,0,34,12], -"class_nim_b_l_e_service.html#a819ff207ef7c30f59887af277aa09ce9":[8,0,34,17], -"class_nim_b_l_e_service.html#a8219ccefd97180bee485b62572c62e58":[8,0,34,10], -"class_nim_b_l_e_service.html#a8904838e785b967c770a240e6c5099e7":[8,0,34,2], -"class_nim_b_l_e_service.html#a8fafb0c55e447114daf9ad758218905e":[8,0,34,6], -"class_nim_b_l_e_service.html#a9bb082780665005271fab6e79416f3ed":[8,0,34,11], -"class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad":[8,0,34,5], -"class_nim_b_l_e_service.html#aa9464e97d7e39a4634c5d9bdce1abbac":[8,0,34,14], -"class_nim_b_l_e_service.html#acfbb7abadee89abd496b89f8fe085f58":[8,0,34,13], -"class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985":[8,0,34,16], -"class_nim_b_l_e_service.html#aeeaa4b0c543230e7819ad92d48432f5e":[8,0,34,7], -"class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3":[8,0,34,1], -"class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8":[8,0,34,3], -"class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234":[8,0,34,15], -"class_nim_b_l_e_u_u_i_d.html":[8,0,37], -"class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d":[8,0,37,1], -"class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1":[8,0,37,7], -"class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd":[8,0,37,9], -"class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048":[8,0,37,12], -"class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875":[8,0,37,14], -"class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb":[8,0,37,17], -"class_nim_b_l_e_u_u_i_d.html#a68c61ae225675ac84d60f76058a5bdd4":[8,0,37,10], -"class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac":[8,0,37,2], -"class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c":[8,0,37,16], -"class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc":[8,0,37,0], -"class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64":[8,0,37,18], -"class_nim_b_l_e_u_u_i_d.html#a9b96d90463f02f6a21afbaebcc242dd9":[8,0,37,15], -"class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92":[8,0,37,3], -"class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461":[8,0,37,4], -"class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe":[8,0,37,13], -"class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286":[8,0,37,5], -"class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd":[8,0,37,6], -"class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af":[8,0,37,11], -"class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6":[8,0,37,8], -"class_nim_b_l_e_utils.html":[8,0,36], +"class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81":[8,0,26,11], +"class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016":[8,0,26,5], +"class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c":[8,0,26,16], +"class_nim_b_l_e_scan.html#acaa40328d16e040e9f92cba4819cb045":[8,0,26,2], +"class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b":[8,0,26,0], +"class_nim_b_l_e_scan.html#ade1492b5d1b5d97efa76cd41583bfc96":[8,0,26,4], +"class_nim_b_l_e_scan_callbacks.html":[8,0,27], +"class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277":[8,0,27,0], +"class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375":[8,0,27,2], +"class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283":[8,0,27,1], +"class_nim_b_l_e_scan_results.html":[8,0,28], +"class_nim_b_l_e_scan_results.html#a2547ebc0f9f0e1f48346ff0188ed6479":[8,0,28,2], +"class_nim_b_l_e_scan_results.html#a59c62c0825917ebb26bcb1efa2a98f4d":[8,0,28,3], +"class_nim_b_l_e_scan_results.html#a5a0b1dc434c4ad68ae5ce233eeacc230":[8,0,28,0], +"class_nim_b_l_e_scan_results.html#a98b106a3929919bf2c80cc0dfff59ba1":[8,0,28,5], +"class_nim_b_l_e_scan_results.html#aa96e8a647f0db95e2fa8cfae44f6d92e":[8,0,28,4], +"class_nim_b_l_e_scan_results.html#af143b1aa3bd67157dd263fcbeb4827ba":[8,0,28,1], +"class_nim_b_l_e_server.html":[8,0,29], +"class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75":[8,0,29,20], +"class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654":[8,0,29,24], +"class_nim_b_l_e_server.html#a08916d16ea00b4718bd6241bd407829f":[8,0,29,14], +"class_nim_b_l_e_server.html#a0b009a568399014462a5ba7700b0129e":[8,0,29,17], +"class_nim_b_l_e_server.html#a1513647f2c8a565404410a5dbd71a9ce":[8,0,29,13], +"class_nim_b_l_e_server.html#a1cedae8a9346f605b8319cbc8209f0df":[8,0,29,11], +"class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6":[8,0,29,26], +"class_nim_b_l_e_server.html#a26af61c030e9ad1108b24df4d3b6b633":[8,0,29,18], +"class_nim_b_l_e_server.html#a31f73892bcf7eb66ee540bf1da9c419c":[8,0,29,9], +"class_nim_b_l_e_server.html#a3bedf02970de34eaf7b90a2f37765fe8":[8,0,29,15], +"class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681":[8,0,29,27], +"class_nim_b_l_e_server.html#a4277e57885576664b9adf11f586e75ba":[8,0,29,10], +"class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9":[8,0,29,21], +"class_nim_b_l_e_server.html#a49e1252a2f14732070eb85e78b641646":[8,0,29,5], +"class_nim_b_l_e_server.html#a55eb6176fd8d0a1e9ba68158dde4f325":[8,0,29,12], +"class_nim_b_l_e_server.html#a56add4759f7df045f51b70a026897975":[8,0,29,28], +"class_nim_b_l_e_server.html#a5be3c18cb6728c365ebc23af6b2a95f4":[8,0,29,8], +"class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2":[8,0,29,3], +"class_nim_b_l_e_server.html#a6bd0d52090b31cf39e2e9666091b8a61":[8,0,29,19], +"class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56":[8,0,29,0], +"class_nim_b_l_e_server.html#a709eb11532ec43a35f8653845b3158fc":[8,0,29,16], +"class_nim_b_l_e_server.html#a70aafa98cc487c43e11ab30990d5ecb5":[8,0,29,7], +"class_nim_b_l_e_server.html#aa7dd69e19e6cb8c22579c68e9731cdea":[8,0,29,4], +"class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35":[8,0,29,2], +"class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33":[8,0,29,25], +"class_nim_b_l_e_server.html#abfd159ff5f10848bd611733835ddf215":[8,0,29,29], +"class_nim_b_l_e_server.html#ac79e828bcc3c45ae817bf51be914bfc0":[8,0,29,6], +"class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb":[8,0,29,23], +"class_nim_b_l_e_server.html#aecf5b57888c55249a9c207d318a0495b":[8,0,29,1], +"class_nim_b_l_e_server.html#afbffb933eed8142bd24222e3cacc138a":[8,0,29,22], +"class_nim_b_l_e_server_callbacks.html":[8,0,30], +"class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5":[8,0,30,2], +"class_nim_b_l_e_server_callbacks.html#a45b5fc1c98b287a2ddeab8f2f5b63c4f":[8,0,30,7], +"class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943":[8,0,30,4], +"class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436":[8,0,30,1], +"class_nim_b_l_e_server_callbacks.html#a5096aa8ec49fe1eddb5d9ab18c112b22":[8,0,30,8], +"class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523":[8,0,30,0], +"class_nim_b_l_e_server_callbacks.html#aa6e5e8ef90a537540d9c72f8744c0199":[8,0,30,3], +"class_nim_b_l_e_server_callbacks.html#ab702f73e739b4df72e191f47056c01ff":[8,0,30,6], +"class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664":[8,0,30,5], +"class_nim_b_l_e_service.html":[8,0,31], +"class_nim_b_l_e_service.html#a200714f911accd64acfd2fa3d0c6b863":[8,0,31,8], +"class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763":[8,0,31,4], +"class_nim_b_l_e_service.html#a488df9c39d1c49d4b1537abddddb1a7d":[8,0,31,9], +"class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65":[8,0,31,0], +"class_nim_b_l_e_service.html#a557ec314a4b2f912b1c1b03e332f9fe1":[8,0,31,12], +"class_nim_b_l_e_service.html#a819ff207ef7c30f59887af277aa09ce9":[8,0,31,17], +"class_nim_b_l_e_service.html#a8219ccefd97180bee485b62572c62e58":[8,0,31,10], +"class_nim_b_l_e_service.html#a8904838e785b967c770a240e6c5099e7":[8,0,31,2], +"class_nim_b_l_e_service.html#a8fafb0c55e447114daf9ad758218905e":[8,0,31,6], +"class_nim_b_l_e_service.html#a9bb082780665005271fab6e79416f3ed":[8,0,31,11], +"class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad":[8,0,31,5], +"class_nim_b_l_e_service.html#aa9464e97d7e39a4634c5d9bdce1abbac":[8,0,31,14], +"class_nim_b_l_e_service.html#acfbb7abadee89abd496b89f8fe085f58":[8,0,31,13], +"class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985":[8,0,31,16], +"class_nim_b_l_e_service.html#aeeaa4b0c543230e7819ad92d48432f5e":[8,0,31,7], +"class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3":[8,0,31,1], +"class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8":[8,0,31,3], +"class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234":[8,0,31,15], +"class_nim_b_l_e_u_u_i_d.html":[8,0,34], +"class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d":[8,0,34,1], +"class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1":[8,0,34,7], +"class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd":[8,0,34,9], +"class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048":[8,0,34,12], +"class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875":[8,0,34,14], +"class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb":[8,0,34,17], +"class_nim_b_l_e_u_u_i_d.html#a68c61ae225675ac84d60f76058a5bdd4":[8,0,34,10], +"class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac":[8,0,34,2], +"class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c":[8,0,34,16], +"class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc":[8,0,34,0], +"class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64":[8,0,34,18], +"class_nim_b_l_e_u_u_i_d.html#a9b96d90463f02f6a21afbaebcc242dd9":[8,0,34,15], +"class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92":[8,0,34,3], +"class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461":[8,0,34,4], +"class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe":[8,0,34,13], +"class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286":[8,0,34,5], +"class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd":[8,0,34,6], +"class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af":[8,0,34,11], +"class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6":[8,0,34,8], +"class_nim_b_l_e_utils.html":[8,0,33], "classes.html":[8,1], "deprecated.html":[7], "dir_68267d1309a1af8e8297ef4c3efbcdba.html":[9,0,0], "files.html":[9,0], -"functions.html":[8,3,0,0], "functions.html":[8,3,0], +"functions.html":[8,3,0,0], "functions_b.html":[8,3,0,1], "functions_c.html":[8,3,0,2], "functions_d.html":[8,3,0,3], @@ -184,70 +174,80 @@ var NAVTREEINDEX2 = "md_1_8x__to2_8x__migration__guide.html#utilities":[2,9], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html":[1], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added":[1,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1":[1,8], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-10":[1,35,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-11":[1,37,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2":[1,14], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3":[1,18], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4":[1,27,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5":[1,28,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6":[1,29,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7":[1,31,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8":[1,33,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9":[1,34,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22":[1,38], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02":[1,37], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13":[1,36], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20":[1,35], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08":[1,34], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02":[1,33], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04":[1,32], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15":[1,31], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15":[1,30], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31":[1,29], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30":[1,28], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14":[1,25], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16":[1,22], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21":[1,19], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05":[1,15], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12":[1,11], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26":[1,9], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24":[1,6], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28":[1,4], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19":[1,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes":[1,26], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed":[1,3], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1":[1,13], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-10":[1,33,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-11":[1,34,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-12":[1,35,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-13":[1,36,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-14":[1,37,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2":[1,17], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3":[1,21], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-4":[1,24], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5":[1,27,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6":[1,28,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7":[1,29,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8":[1,30,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9":[1,31,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1":[1,5], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-10":[1,37,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-11":[1,38,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-12":[1,40,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2":[1,11], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3":[1,17], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4":[1,21], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5":[1,30,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6":[1,31,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7":[1,32,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8":[1,34,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9":[1,36,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22":[1,41], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02":[1,40], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13":[1,39], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20":[1,38], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08":[1,37], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02":[1,36], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04":[1,35], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15":[1,34], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15":[1,33], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31":[1,32], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30":[1,31], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14":[1,28], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16":[1,25], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21":[1,22], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05":[1,18], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12":[1,14], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26":[1,12], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24":[1,9], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28":[1,7], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19":[1,3], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11":[1,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes":[1,29], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed":[1,6], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1":[1,16], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-10":[1,36,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-11":[1,37,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-12":[1,38,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-13":[1,39,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-14":[1,40,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2":[1,20], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3":[1,24], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-4":[1,27], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5":[1,30,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6":[1,31,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7":[1,32,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8":[1,33,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9":[1,34,2], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed":[1,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-1":[1,5], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-10":[1,29,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-11":[1,30,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-12":[1,31,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13":[1,32,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-14":[1,33,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-15":[1,34,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-16":[1,35,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17":[1,37,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2":[1,7], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-1":[1,4], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-10":[1,31,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-11":[1,32,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-12":[1,33,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13":[1,34,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-14":[1,35,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-15":[1,36,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-16":[1,37,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17":[1,38,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-18":[1,40,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2":[1,8], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3":[1,10], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4":[1,12], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-5":[1,16], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-6":[1,20], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4":[1,13], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-5":[1,15], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-6":[1,19], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-7":[1,23], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8":[1,27], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9":[1,28,0], -"md__bluetooth_015_01features.html":[3] +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8":[1,26], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9":[1,30], +"md__bluetooth_015_01features.html":[3], +"md__bluetooth_015_01features.html#about-extended-advertising":[3,0], +"md__bluetooth_015_01features.html#enabling-extended-advertising":[3,1], +"md__migration__guide.html":[4], +"md__migration__guide.html#advertising-api":[4,2], +"md__migration__guide.html#arduino-configuration":[4,6], +"md__migration__guide.html#ble-addresses-1":[4,0,2], +"md__migration__guide.html#ble-scan":[4,4] }; diff --git a/navtreeindex3.js b/navtreeindex3.js index 9cc3ee6..02f4882 100644 --- a/navtreeindex3.js +++ b/navtreeindex3.js @@ -1,12 +1,5 @@ var NAVTREEINDEX3 = { -"md__bluetooth_015_01features.html#about-extended-advertising":[3,0], -"md__bluetooth_015_01features.html#enabling-extended-advertising":[3,1], -"md__migration__guide.html":[4], -"md__migration__guide.html#advertising-api":[4,2], -"md__migration__guide.html#arduino-configuration":[4,6], -"md__migration__guide.html#ble-addresses-1":[4,0,2], -"md__migration__guide.html#ble-scan":[4,4], "md__migration__guide.html#characteristic-callbacks-1":[4,1,1,3], "md__migration__guide.html#characteristics-1":[4,1,1], "md__migration__guide.html#class-names":[4,0,1], @@ -63,7 +56,7 @@ var NAVTREEINDEX3 = "nimconfig_8h.html#abe2e5c7dbca929d3ed6cf70a73aced23":[9,0,0,33,17], "nimconfig_8h_source.html":[9,0,0,33], "pages.html":[], -"struct_nim_b_l_e_task_data.html":[8,0,35], -"struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4":[8,0,35,0], -"struct_nim_b_l_e_task_data.html#af2d5d10d7cc8801cf4d001f89bf301c6":[8,0,35,1] +"struct_nim_b_l_e_task_data.html":[8,0,32], +"struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4":[8,0,32,0], +"struct_nim_b_l_e_task_data.html#af2d5d10d7cc8801cf4d001f89bf301c6":[8,0,32,1] }; diff --git a/nimconfig_8h.html b/nimconfig_8h.html index 7112922..441887b 100644 --- a/nimconfig_8h.html +++ b/nimconfig_8h.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1
              diff --git a/nimconfig_8h_source.html b/nimconfig_8h_source.html index 15b5e39..d9a0398 100644 --- a/nimconfig_8h_source.html +++ b/nimconfig_8h_source.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1
              diff --git a/pages.html b/pages.html index ec5fbfa..ac5f47c 100644 --- a/pages.html +++ b/pages.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1
              diff --git a/search/all_0.js b/search/all_0.js index 3c1d9ab..b4d1e64 100644 --- a/search/all_0.js +++ b/search/all_0.js @@ -28,11 +28,12 @@ var searchData= ['04_25',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], ['05_26',['[2.0.3] 2025-01-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05',1,'']]], ['05_2019_27',['[2.3.0] 2025-05-19',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19',1,'']]], - ['07_2031_28',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]], - ['08_29',['[1.2.0] - 2021-02-08',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08',1,'']]], - ['08_2002_30',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], - ['08_2004_31',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], - ['08_2022_32',['[1.0.0] - 2020-08-22',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22',1,'']]], - ['09_2002_33',['[1.0.1] - 2020-09-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02',1,'']]], - ['09_2013_34',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]] + ['06_2011_28',['[2.3.1] 2025-06-11',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11',1,'']]], + ['07_2031_29',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]], + ['08_30',['[1.2.0] - 2021-02-08',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08',1,'']]], + ['08_2002_31',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], + ['08_2004_32',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], + ['08_2022_33',['[1.0.0] - 2020-08-22',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22',1,'']]], + ['09_2002_34',['[1.0.1] - 2020-09-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02',1,'']]], + ['09_2013_35',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]] ]; diff --git a/search/all_1.js b/search/all_1.js index 183eeb7..6cac163 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -9,21 +9,23 @@ var searchData= ['1_202_200_202021_2002_2008_6',['[1.2.0] - 2021-02-08',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08',1,'']]], ['1_202024_2012_2016_7',['[2.0.1] 2024-12-16',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16',1,'']]], ['1_202025_2002_2028_8',['[2.2.1] 2025-02-28',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28',1,'']]], - ['1_203_200_202021_2008_2002_9',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], - ['1_203_201_202021_2008_2004_10',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], - ['1_203_202_202022_2001_2015_11',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], - ['1_203_203_202022_2002_2015_12',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], - ['1_204_200_202022_2007_2031_13',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]], - ['1_204_201_202022_2010_2030_14',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], - ['1_20x_20to_202_20x_15',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], - ['10_2030_16',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], - ['12_17',['[2.1.0] 2025-01-12',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12',1,'']]], - ['12_2014_18',['[2.0.0] 2024-12-14',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14',1,'']]], - ['12_2016_19',['[2.0.1] 2024-12-16',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16',1,'']]], - ['12_2021_20',['[2.0.2] 2024-12-21',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21',1,'']]], - ['13_21',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]], - ['14_22',['[2.0.0] 2024-12-14',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14',1,'']]], - ['15_23',['15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'[1.3.2] - 2022-01-15'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'[1.3.3] - 2022-02-15']]], - ['16_24',['[2.0.1] 2024-12-16',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16',1,'']]], - ['19_25',['[2.3.0] 2025-05-19',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19',1,'']]] + ['1_202025_2006_2011_9',['[2.3.1] 2025-06-11',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11',1,'']]], + ['1_203_200_202021_2008_2002_10',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], + ['1_203_201_202021_2008_2004_11',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], + ['1_203_202_202022_2001_2015_12',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], + ['1_203_203_202022_2002_2015_13',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], + ['1_204_200_202022_2007_2031_14',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]], + ['1_204_201_202022_2010_2030_15',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], + ['1_20x_20to_202_20x_16',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['10_2030_17',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], + ['11_18',['[2.3.1] 2025-06-11',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11',1,'']]], + ['12_19',['[2.1.0] 2025-01-12',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12',1,'']]], + ['12_2014_20',['[2.0.0] 2024-12-14',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14',1,'']]], + ['12_2016_21',['[2.0.1] 2024-12-16',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16',1,'']]], + ['12_2021_22',['[2.0.2] 2024-12-21',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21',1,'']]], + ['13_23',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]], + ['14_24',['[2.0.0] 2024-12-14',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14',1,'']]], + ['15_25',['15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'[1.3.2] - 2022-01-15'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'[1.3.3] - 2022-02-15']]], + ['16_26',['[2.0.1] 2024-12-16',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16',1,'']]], + ['19_27',['[2.3.0] 2025-05-19',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19',1,'']]] ]; diff --git a/search/all_11.js b/search/all_11.js index 2a5c5e5..b5a7940 100644 --- a/search/all_11.js +++ b/search/all_11.js @@ -7,19 +7,19 @@ var searchData= ['nimble_4',['nimble',['../md__migration__guide.html',1,'Migrating from Bluedroid to NimBLE'],['../index.html#what-is-nimble',1,'What is NimBLE?']]], ['nimble_20stack_20core_5',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], ['nimble2904_6',['NimBLE2904',['../class_nim_b_l_e2904.html',1,'']]], - ['nimbleaddress_7',['nimbleaddress',['../class_nim_b_l_e_address.html#adde06cf0cd99fed05b199fcd8df665a9',1,'NimBLEAddress::NimBLEAddress(const uint64_t &address, uint8_t type)'],['../class_nim_b_l_e_address.html#a4339a4ba2a68932000b2168547a37b35',1,'NimBLEAddress::NimBLEAddress(const std::string &stringAddress, uint8_t type)'],['../class_nim_b_l_e_address.html#a567542a3cf8324810751cdd4d92703ab',1,'NimBLEAddress::NimBLEAddress(const uint8_t address[BLE_DEV_ADDR_LEN], uint8_t type)'],['../class_nim_b_l_e_address.html#ac1bad3b929b3a694402cc7354635775e',1,'NimBLEAddress::NimBLEAddress(const ble_addr_t address)'],['../class_nim_b_l_e_address.html#adc38af9709f212868a89e52ea700a417',1,'NimBLEAddress::NimBLEAddress()=default'],['../class_nim_b_l_e_address.html',1,'NimBLEAddress']]], + ['nimbleaddress_7',['nimbleaddress',['../class_nim_b_l_e_address.html',1,'NimBLEAddress'],['../class_nim_b_l_e_address.html#adde06cf0cd99fed05b199fcd8df665a9',1,'NimBLEAddress::NimBLEAddress(const uint64_t &address, uint8_t type)'],['../class_nim_b_l_e_address.html#a4339a4ba2a68932000b2168547a37b35',1,'NimBLEAddress::NimBLEAddress(const std::string &stringAddress, uint8_t type)'],['../class_nim_b_l_e_address.html#a567542a3cf8324810751cdd4d92703ab',1,'NimBLEAddress::NimBLEAddress(const uint8_t address[BLE_DEV_ADDR_LEN], uint8_t type)'],['../class_nim_b_l_e_address.html#ac1bad3b929b3a694402cc7354635775e',1,'NimBLEAddress::NimBLEAddress(const ble_addr_t address)'],['../class_nim_b_l_e_address.html#adc38af9709f212868a89e52ea700a417',1,'NimBLEAddress::NimBLEAddress()=default']]], ['nimbleadvertiseddevice_8',['NimBLEAdvertisedDevice',['../class_nim_b_l_e_advertised_device.html',1,'']]], ['nimbleadvertisementdata_9',['NimBLEAdvertisementData',['../class_nim_b_l_e_advertisement_data.html',1,'']]], ['nimbleadvertising_10',['nimbleadvertising',['../class_nim_b_l_e_advertising.html',1,'NimBLEAdvertising'],['../class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd',1,'NimBLEAdvertising::NimBLEAdvertising()']]], ['nimbleattribute_11',['nimbleattribute',['../class_nim_b_l_e_attribute.html',1,'NimBLEAttribute'],['../class_nim_b_l_e_attribute.html#a51ce8e9cd9609f42b9b9248a0b6c642c',1,'NimBLEAttribute::NimBLEAttribute()']]], - ['nimbleattvalue_12',['nimbleattvalue',['../class_nim_b_l_e_att_value.html#a584cac329cd5d3c0a14aa855e6e6143e',1,'NimBLEAttValue::NimBLEAttValue()'],['../class_nim_b_l_e_att_value.html',1,'NimBLEAttValue'],['../class_nim_b_l_e_att_value.html#a778d1da5334049292fdfba221bcd5772',1,'NimBLEAttValue::NimBLEAttValue(NimBLEAttValue &&source)'],['../class_nim_b_l_e_att_value.html#a7473ad95c2240e0d1ce5c2d57f8914c2',1,'NimBLEAttValue::NimBLEAttValue(const NimBLEAttValue &source)'],['../class_nim_b_l_e_att_value.html#a03347eab1f3df449762902a4256d2b1c',1,'NimBLEAttValue::NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df',1,'NimBLEAttValue::NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a4322572d778438318f5750f6df5fdb35',1,'NimBLEAttValue::NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c',1,'NimBLEAttValue::NimBLEAttValue(const uint8_t *value, uint16_t len, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], + ['nimbleattvalue_12',['nimbleattvalue',['../class_nim_b_l_e_att_value.html#a7473ad95c2240e0d1ce5c2d57f8914c2',1,'NimBLEAttValue::NimBLEAttValue()'],['../class_nim_b_l_e_att_value.html',1,'NimBLEAttValue'],['../class_nim_b_l_e_att_value.html#a778d1da5334049292fdfba221bcd5772',1,'NimBLEAttValue::NimBLEAttValue(NimBLEAttValue &&source)'],['../class_nim_b_l_e_att_value.html#a03347eab1f3df449762902a4256d2b1c',1,'NimBLEAttValue::NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a584cac329cd5d3c0a14aa855e6e6143e',1,'NimBLEAttValue::NimBLEAttValue(const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df',1,'NimBLEAttValue::NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a4322572d778438318f5750f6df5fdb35',1,'NimBLEAttValue::NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c',1,'NimBLEAttValue::NimBLEAttValue(const uint8_t *value, uint16_t len, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], ['nimblebeacon_13',['NimBLEBeacon',['../class_nim_b_l_e_beacon.html',1,'']]], - ['nimblecharacteristic_14',['nimblecharacteristic',['../class_nim_b_l_e_characteristic.html#ad136cb471195c1889804542afe0f628b',1,'NimBLECharacteristic::NimBLECharacteristic()'],['../class_nim_b_l_e_characteristic.html',1,'NimBLECharacteristic'],['../class_nim_b_l_e_characteristic.html#af5bacf6c6f1cf033897b6a99ef98438f',1,'NimBLECharacteristic::NimBLECharacteristic()']]], + ['nimblecharacteristic_14',['nimblecharacteristic',['../class_nim_b_l_e_characteristic.html#ad136cb471195c1889804542afe0f628b',1,'NimBLECharacteristic::NimBLECharacteristic(const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)'],['../class_nim_b_l_e_characteristic.html#af5bacf6c6f1cf033897b6a99ef98438f',1,'NimBLECharacteristic::NimBLECharacteristic(const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)'],['../class_nim_b_l_e_characteristic.html',1,'NimBLECharacteristic']]], ['nimblecharacteristiccallbacks_15',['NimBLECharacteristicCallbacks',['../class_nim_b_l_e_characteristic_callbacks.html',1,'']]], ['nimbleclient_16',['NimBLEClient',['../class_nim_b_l_e_client.html',1,'']]], ['nimbleclientcallbacks_17',['NimBLEClientCallbacks',['../class_nim_b_l_e_client_callbacks.html',1,'']]], ['nimbleconninfo_18',['NimBLEConnInfo',['../class_nim_b_l_e_conn_info.html',1,'']]], - ['nimbledescriptor_19',['nimbledescriptor',['../class_nim_b_l_e_descriptor.html#acdae256772e6ba433df5ff3217335a1b',1,'NimBLEDescriptor::NimBLEDescriptor()'],['../class_nim_b_l_e_descriptor.html',1,'NimBLEDescriptor'],['../class_nim_b_l_e_descriptor.html#a9b371ae4807648762cad1346ba6fd3c3',1,'NimBLEDescriptor::NimBLEDescriptor()']]], + ['nimbledescriptor_19',['nimbledescriptor',['../class_nim_b_l_e_descriptor.html#acdae256772e6ba433df5ff3217335a1b',1,'NimBLEDescriptor::NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)'],['../class_nim_b_l_e_descriptor.html#a9b371ae4807648762cad1346ba6fd3c3',1,'NimBLEDescriptor::NimBLEDescriptor(const NimBLEUUID &uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)'],['../class_nim_b_l_e_descriptor.html',1,'NimBLEDescriptor']]], ['nimbledescriptorcallbacks_20',['NimBLEDescriptorCallbacks',['../class_nim_b_l_e_descriptor_callbacks.html',1,'']]], ['nimbledevice_21',['NimBLEDevice',['../class_nim_b_l_e_device.html',1,'']]], ['nimbledevicecallbacks_22',['NimBLEDeviceCallbacks',['../class_nim_b_l_e_device_callbacks.html',1,'']]], @@ -27,25 +27,22 @@ var searchData= ['nimbleextadvertisement_24',['nimbleextadvertisement',['../class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c',1,'NimBLEExtAdvertisement::NimBLEExtAdvertisement()'],['../class_nim_b_l_e_ext_advertisement.html',1,'NimBLEExtAdvertisement']]], ['nimbleextadvertising_25',['nimbleextadvertising',['../class_nim_b_l_e_ext_advertising.html',1,'NimBLEExtAdvertising'],['../class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3',1,'NimBLEExtAdvertising::NimBLEExtAdvertising()']]], ['nimbleextadvertisingcallbacks_26',['NimBLEExtAdvertisingCallbacks',['../class_nim_b_l_e_ext_advertising_callbacks.html',1,'']]], - ['nimblehiddevice_27',['nimblehiddevice',['../class_nim_b_l_e_h_i_d_device.html',1,'NimBLEHIDDevice'],['../class_nim_b_l_e_h_i_d_device.html#a33821f02034b8ed47f3cd0555ac9e949',1,'NimBLEHIDDevice::NimBLEHIDDevice()']]], - ['nimblel2capchannel_28',['NimBLEL2CAPChannel',['../class_nim_b_l_e_l2_c_a_p_channel.html',1,'']]], - ['nimblel2capchannelcallbacks_29',['NimBLEL2CAPChannelCallbacks',['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html',1,'']]], - ['nimblel2capserver_30',['NimBLEL2CAPServer',['../class_nim_b_l_e_l2_c_a_p_server.html',1,'']]], - ['nimblelocalattribute_31',['nimblelocalattribute',['../class_nim_b_l_e_local_attribute.html',1,'NimBLELocalAttribute'],['../class_nim_b_l_e_local_attribute.html#a9fd2c2130f8bea42f86ee0d3263e9788',1,'NimBLELocalAttribute::NimBLELocalAttribute()']]], - ['nimbleremotecharacteristic_32',['NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html',1,'']]], - ['nimbleremotedescriptor_33',['NimBLERemoteDescriptor',['../class_nim_b_l_e_remote_descriptor.html',1,'']]], - ['nimbleremoteservice_34',['NimBLERemoteService',['../class_nim_b_l_e_remote_service.html',1,'']]], - ['nimblescan_35',['NimBLEScan',['../class_nim_b_l_e_scan.html',1,'']]], - ['nimblescancallbacks_36',['NimBLEScanCallbacks',['../class_nim_b_l_e_scan_callbacks.html',1,'']]], - ['nimblescanresults_37',['NimBLEScanResults',['../class_nim_b_l_e_scan_results.html',1,'']]], - ['nimbleserver_38',['NimBLEServer',['../class_nim_b_l_e_server.html',1,'']]], - ['nimbleservercallbacks_39',['NimBLEServerCallbacks',['../class_nim_b_l_e_server_callbacks.html',1,'']]], - ['nimbleservice_40',['nimbleservice',['../class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65',1,'NimBLEService::NimBLEService(const char *uuid)'],['../class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3',1,'NimBLEService::NimBLEService(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_service.html',1,'NimBLEService']]], - ['nimbletaskdata_41',['nimbletaskdata',['../struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4',1,'NimBLETaskData::NimBLETaskData()'],['../struct_nim_b_l_e_task_data.html',1,'NimBLETaskData']]], - ['nimbleutils_42',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], - ['nimbleuuid_43',['nimbleuuid',['../class_nim_b_l_e_u_u_i_d.html',1,'NimBLEUUID'],['../class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1',1,'NimBLEUUID::NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)'],['../class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd',1,'NimBLEUUID::NimBLEUUID(const uint8_t *pData, size_t size)'],['../class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286',1,'NimBLEUUID::NimBLEUUID(const ble_uuid128_t *uuid)'],['../class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461',1,'NimBLEUUID::NimBLEUUID(uint32_t uuid)'],['../class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92',1,'NimBLEUUID::NimBLEUUID(uint16_t uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac',1,'NimBLEUUID::NimBLEUUID(const std::string &uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d',1,'NimBLEUUID::NimBLEUUID(const ble_uuid_any_t &uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc',1,'NimBLEUUID::NimBLEUUID()=default']]], - ['nimconfig_2eh_44',['nimconfig.h',['../nimconfig_8h.html',1,'']]], - ['not_20delete_20client_20instances_20unless_20necessary_20or_20unused_45',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], - ['notify_46',['notify',['../class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954',1,'NimBLECharacteristic::notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#ab05a81528522e7f12acff65fa86f9a28',1,'NimBLECharacteristic::notify(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954',1,'NimBLECharacteristic::notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a7676bd1b73979101c394471299d71c0b',1,'NimBLECharacteristic::notify(const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#ac4482e038124724d8bb6d147bcdb5481',1,'NimBLECharacteristic::notify(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const']]], - ['now_47',['Is Now',['../md__migration__guide.html#is-now',1,'']]] + ['nimblehiddevice_27',['nimblehiddevice',['../class_nim_b_l_e_h_i_d_device.html#a33821f02034b8ed47f3cd0555ac9e949',1,'NimBLEHIDDevice::NimBLEHIDDevice()'],['../class_nim_b_l_e_h_i_d_device.html',1,'NimBLEHIDDevice']]], + ['nimblelocalattribute_28',['nimblelocalattribute',['../class_nim_b_l_e_local_attribute.html',1,'NimBLELocalAttribute'],['../class_nim_b_l_e_local_attribute.html#a9fd2c2130f8bea42f86ee0d3263e9788',1,'NimBLELocalAttribute::NimBLELocalAttribute()']]], + ['nimbleremotecharacteristic_29',['NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html',1,'']]], + ['nimbleremotedescriptor_30',['NimBLERemoteDescriptor',['../class_nim_b_l_e_remote_descriptor.html',1,'']]], + ['nimbleremoteservice_31',['NimBLERemoteService',['../class_nim_b_l_e_remote_service.html',1,'']]], + ['nimblescan_32',['NimBLEScan',['../class_nim_b_l_e_scan.html',1,'']]], + ['nimblescancallbacks_33',['NimBLEScanCallbacks',['../class_nim_b_l_e_scan_callbacks.html',1,'']]], + ['nimblescanresults_34',['NimBLEScanResults',['../class_nim_b_l_e_scan_results.html',1,'']]], + ['nimbleserver_35',['NimBLEServer',['../class_nim_b_l_e_server.html',1,'']]], + ['nimbleservercallbacks_36',['NimBLEServerCallbacks',['../class_nim_b_l_e_server_callbacks.html',1,'']]], + ['nimbleservice_37',['nimbleservice',['../class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65',1,'NimBLEService::NimBLEService()'],['../class_nim_b_l_e_service.html',1,'NimBLEService'],['../class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3',1,'NimBLEService::NimBLEService()']]], + ['nimbletaskdata_38',['nimbletaskdata',['../struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4',1,'NimBLETaskData::NimBLETaskData()'],['../struct_nim_b_l_e_task_data.html',1,'NimBLETaskData']]], + ['nimbleutils_39',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], + ['nimbleuuid_40',['nimbleuuid',['../class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc',1,'NimBLEUUID::NimBLEUUID()'],['../class_nim_b_l_e_u_u_i_d.html',1,'NimBLEUUID'],['../class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1',1,'NimBLEUUID::NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)'],['../class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd',1,'NimBLEUUID::NimBLEUUID(const uint8_t *pData, size_t size)'],['../class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286',1,'NimBLEUUID::NimBLEUUID(const ble_uuid128_t *uuid)'],['../class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461',1,'NimBLEUUID::NimBLEUUID(uint32_t uuid)'],['../class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92',1,'NimBLEUUID::NimBLEUUID(uint16_t uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac',1,'NimBLEUUID::NimBLEUUID(const std::string &uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d',1,'NimBLEUUID::NimBLEUUID(const ble_uuid_any_t &uuid)']]], + ['nimconfig_2eh_41',['nimconfig.h',['../nimconfig_8h.html',1,'']]], + ['not_20delete_20client_20instances_20unless_20necessary_20or_20unused_42',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['notify_43',['notify',['../class_nim_b_l_e_characteristic.html#ac4482e038124724d8bb6d147bcdb5481',1,'NimBLECharacteristic::notify(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a7676bd1b73979101c394471299d71c0b',1,'NimBLECharacteristic::notify(const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954',1,'NimBLECharacteristic::notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#ab05a81528522e7f12acff65fa86f9a28',1,'NimBLECharacteristic::notify(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954',1,'NimBLECharacteristic::notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const']]], + ['now_44',['Is Now',['../md__migration__guide.html#is-now',1,'']]] ]; diff --git a/search/all_12.js b/search/all_12.js index efb4bc1..d6eb49c 100644 --- a/search/all_12.js +++ b/search/all_12.js @@ -2,13 +2,13 @@ var searchData= [ ['of_20properties_0',['The full list of properties',['../md__migration__guide.html#the-full-list-of-properties',1,'']]], ['on_20the_20nimble_20stack_20core_1',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], - ['onauthenticationcomplete_2',['onauthenticationcomplete',['../class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523',1,'NimBLEServerCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_client_callbacks.html#ae8e2abef6949ac87abf5ecad1a4dfe35',1,'NimBLEClientCallbacks::onAuthenticationComplete(NimBLEConnInfo &connInfo)']]], - ['onconfirmpasskey_3',['onconfirmpasskey',['../class_nim_b_l_e_client_callbacks.html#a6e7cfa81cd43420f78d6da727c67928b',1,'NimBLEClientCallbacks::onConfirmPasskey()'],['../class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436',1,'NimBLEServerCallbacks::onConfirmPassKey()']]], - ['onconnect_4',['onconnect',['../class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae',1,'NimBLEClientCallbacks::onConnect()'],['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a7bb7aaf60287909a687830834ee1c816',1,'NimBLEL2CAPChannelCallbacks::onConnect()'],['../class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5',1,'NimBLEServerCallbacks::onConnect()']]], + ['onauthenticationcomplete_2',['onauthenticationcomplete',['../class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523',1,'NimBLEServerCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_client_callbacks.html#ae8e2abef6949ac87abf5ecad1a4dfe35',1,'NimBLEClientCallbacks::onAuthenticationComplete()']]], + ['onconfirmpasskey_3',['onconfirmpasskey',['../class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436',1,'NimBLEServerCallbacks::onConfirmPassKey()'],['../class_nim_b_l_e_client_callbacks.html#a6e7cfa81cd43420f78d6da727c67928b',1,'NimBLEClientCallbacks::onConfirmPasskey(NimBLEConnInfo &connInfo, uint32_t pin)']]], + ['onconnect_4',['onconnect',['../class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae',1,'NimBLEClientCallbacks::onConnect()'],['../class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5',1,'NimBLEServerCallbacks::onConnect()']]], ['onconnectfail_5',['onConnectFail',['../class_nim_b_l_e_client_callbacks.html#ad0eb6bee07ef8c41dd8924aaca3bc71e',1,'NimBLEClientCallbacks']]], ['onconnparamsupdate_6',['onConnParamsUpdate',['../class_nim_b_l_e_server_callbacks.html#aa6e5e8ef90a537540d9c72f8744c0199',1,'NimBLEServerCallbacks']]], ['onconnparamsupdaterequest_7',['onConnParamsUpdateRequest',['../class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6',1,'NimBLEClientCallbacks']]], - ['ondisconnect_8',['ondisconnect',['../class_nim_b_l_e_client_callbacks.html#ad618179ade926482a7f2d94b0deabd69',1,'NimBLEClientCallbacks::onDisconnect()'],['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a3b56fa029bfe13d88c3231228078c982',1,'NimBLEL2CAPChannelCallbacks::onDisconnect()'],['../class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943',1,'NimBLEServerCallbacks::onDisconnect()']]], + ['ondisconnect_8',['ondisconnect',['../class_nim_b_l_e_client_callbacks.html#ad618179ade926482a7f2d94b0deabd69',1,'NimBLEClientCallbacks::onDisconnect()'],['../class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943',1,'NimBLEServerCallbacks::onDisconnect()']]], ['ondiscovered_9',['onDiscovered',['../class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277',1,'NimBLEScanCallbacks']]], ['onidentity_10',['onidentity',['../class_nim_b_l_e_client_callbacks.html#ac03333d26d570e55b285da460c0def76',1,'NimBLEClientCallbacks::onIdentity()'],['../class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664',1,'NimBLEServerCallbacks::onIdentity()']]], ['only_20retrieve_20the_20services_20and_20characteristics_20needed_11',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], @@ -16,7 +16,7 @@ var searchData= ['onpasskeydisplay_13',['onPassKeyDisplay',['../class_nim_b_l_e_server_callbacks.html#a45b5fc1c98b287a2ddeab8f2f5b63c4f',1,'NimBLEServerCallbacks']]], ['onpasskeyentry_14',['onPassKeyEntry',['../class_nim_b_l_e_client_callbacks.html#aacb0b757e6e7c7984d8389c83fe1937d',1,'NimBLEClientCallbacks']]], ['onphyupdate_15',['onphyupdate',['../class_nim_b_l_e_client_callbacks.html#a4e91ebb66e46b7f3ccc6291ece0b549c',1,'NimBLEClientCallbacks::onPhyUpdate()'],['../class_nim_b_l_e_server_callbacks.html#a5096aa8ec49fe1eddb5d9ab18c112b22',1,'NimBLEServerCallbacks::onPhyUpdate()']]], - ['onread_16',['onread',['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a10bd007ae5e5e1c41eec5bac829a006d',1,'NimBLEL2CAPChannelCallbacks::onRead()'],['../class_nim_b_l_e_characteristic_callbacks.html#a120d3dade06fbc941a93edbdc0e4d830',1,'NimBLECharacteristicCallbacks::onRead()'],['../class_nim_b_l_e_descriptor_callbacks.html#a061576b56702a6aca62a38f2ba27ba98',1,'NimBLEDescriptorCallbacks::onRead()']]], + ['onread_16',['onread',['../class_nim_b_l_e_characteristic_callbacks.html#a120d3dade06fbc941a93edbdc0e4d830',1,'NimBLECharacteristicCallbacks::onRead()'],['../class_nim_b_l_e_descriptor_callbacks.html#a061576b56702a6aca62a38f2ba27ba98',1,'NimBLEDescriptorCallbacks::onRead()']]], ['onreset_17',['onReset',['../class_nim_b_l_e_device.html#a1c07c41733730754fd31efae5a43f085',1,'NimBLEDevice']]], ['onresult_18',['onResult',['../class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283',1,'NimBLEScanCallbacks']]], ['onscanend_19',['onScanEnd',['../class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375',1,'NimBLEScanCallbacks']]], @@ -27,7 +27,7 @@ var searchData= ['onsubscribe_24',['onSubscribe',['../class_nim_b_l_e_characteristic_callbacks.html#a024951384bb777d7ee71bfd1d5eff185',1,'NimBLECharacteristicCallbacks']]], ['onsync_25',['onSync',['../class_nim_b_l_e_device.html#a01737196c77959a03964504ee0b48f4d',1,'NimBLEDevice']]], ['onwhitelist_26',['onWhiteList',['../class_nim_b_l_e_device.html#ae51e2d4d6169a61133178a1b0d6b5b45',1,'NimBLEDevice']]], - ['onwrite_27',['onwrite',['../class_nim_b_l_e_characteristic_callbacks.html#ab4edbb758f0212fd190dedad6c9b8ec9',1,'NimBLECharacteristicCallbacks::onWrite()'],['../class_nim_b_l_e_descriptor_callbacks.html#a2872d9e602d4e23cc63f55f5b2f76dd7',1,'NimBLEDescriptorCallbacks::onWrite()']]], + ['onwrite_27',['onwrite',['../class_nim_b_l_e_descriptor_callbacks.html#a2872d9e602d4e23cc63f55f5b2f76dd7',1,'NimBLEDescriptorCallbacks::onWrite()'],['../class_nim_b_l_e_characteristic_callbacks.html#ab4edbb758f0212fd190dedad6c9b8ec9',1,'NimBLECharacteristicCallbacks::onWrite()']]], ['operator_20const_20uint8_5ft_20_2a_28',['operator const uint8_t *',['../class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b',1,'NimBLEAttValue']]], ['operator_20nimbleaddress_29',['operator NimBLEAddress',['../class_nim_b_l_e_advertised_device.html#a0e36b522584f14687657cd29739c491b',1,'NimBLEAdvertisedDevice']]], ['operator_20std_3a_3astring_30',['operator std::string',['../class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371',1,'NimBLEAttValue::string()'],['../class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a',1,'NimBLEAddress::string()'],['../class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048',1,'NimBLEUUID::string()']]], diff --git a/search/all_15.js b/search/all_15.js index 9c218f9..bd3830d 100644 --- a/search/all_15.js +++ b/search/all_15.js @@ -96,20 +96,19 @@ var searchData= ['setunit_93',['setUnit',['../class_nim_b_l_e2904.html#ad0cf78a2a1c3418be9a39beaa0c826ee',1,'NimBLE2904']]], ['seturi_94',['seturi',['../class_nim_b_l_e_advertisement_data.html#a852969e05a7884faf6cfcd2001f80ec9',1,'NimBLEAdvertisementData::setURI()'],['../class_nim_b_l_e_advertising.html#a9fe23a52ac3f699095d84d2ba8f90c28',1,'NimBLEAdvertising::setURI()'],['../class_nim_b_l_e_ext_advertisement.html#a691335b073c8385b3e2e75c6962fbe3f',1,'NimBLEExtAdvertisement::setURI()']]], ['setuuid_95',['setUUID',['../class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291',1,'NimBLEEddystoneTLM']]], - ['setvalue_96',['setvalue',['../class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa',1,'NimBLEAttValue::setValue()'],['../class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed',1,'NimBLERemoteService::setValue()'],['../class_nim_b_l_e_att_value.html#aade512f55c6f962941aee7078677356b',1,'NimBLEAttValue::setValue(const char *s, uint16_t len=0)'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2',1,'NimBLEClient::setValue()']]], + ['setvalue_96',['setvalue',['../class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa',1,'NimBLEAttValue::setValue()'],['../class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed',1,'NimBLERemoteService::setValue()'],['../class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2',1,'NimBLEClient::setValue()'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#aade512f55c6f962941aee7078677356b',1,'NimBLEAttValue::setValue(const char *s, uint16_t len=0)']]], ['setversion_97',['setVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63',1,'NimBLEEddystoneTLM']]], ['setvolt_98',['setVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#ad69af8fe47502d922203916357f6c206',1,'NimBLEEddystoneTLM']]], ['setwindow_99',['setWindow',['../class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316',1,'NimBLEScan']]], - ['shouldacceptconnection_100',['shouldAcceptConnection',['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a5932343afdb1dd9e67d55e530638180f',1,'NimBLEL2CAPChannelCallbacks']]], - ['size_101',['size',['../class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c',1,'NimBLEAttValue']]], - ['sponsors_102',['Sponsors',['../index.html#sponsors',1,'']]], - ['stack_20core_103',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], - ['start_104',['start',['../class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb',1,'NimBLEServer::start()'],['../class_nim_b_l_e_advertising.html#a8a5c880ee36fd44e0c72c14c47c8e15e',1,'NimBLEAdvertising::start()'],['../class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a',1,'NimBLEExtAdvertising::start()'],['../class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c',1,'NimBLEScan::start()'],['../class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985',1,'NimBLEService::start()']]], - ['startadvertising_105',['startadvertising',['../class_nim_b_l_e_device.html#a48d43b8afd9dcdc0c6a5e1aeda715f00',1,'NimBLEDevice::startAdvertising(uint32_t duration=0)'],['../class_nim_b_l_e_device.html#a181ee3b2b143e50e216fc2728194ff85',1,'NimBLEDevice::startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)'],['../class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33',1,'NimBLEServer::startAdvertising(uint8_t instanceId, int duration=0, int maxEvents=0) const'],['../class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654',1,'NimBLEServer::startAdvertising(uint32_t duration=0) const']]], - ['startsecurity_106',['startSecurity',['../class_nim_b_l_e_device.html#a8b6b4bedfe37725ed9c20e91a3470005',1,'NimBLEDevice']]], - ['startservices_107',['startServices',['../class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235',1,'NimBLEHIDDevice']]], - ['stop_108',['stop',['../class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1',1,'NimBLEScan::stop()'],['../class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109',1,'NimBLEExtAdvertising::stop()'],['../class_nim_b_l_e_ext_advertising.html#a1dd95b432a8dfdfda20974a25da21953',1,'NimBLEExtAdvertising::stop(uint8_t instId)'],['../class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800',1,'NimBLEAdvertising::stop()']]], - ['stopadvertising_109',['stopadvertising',['../class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681',1,'NimBLEServer::stopAdvertising()'],['../class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629',1,'NimBLEDevice::stopAdvertising()'],['../class_nim_b_l_e_device.html#a1de5ed55c2b048c0281462d929a70aa2',1,'NimBLEDevice::stopAdvertising(uint8_t instId)'],['../class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6',1,'NimBLEServer::stopAdvertising()']]], - ['strong_20breaking_20changes_20strong_110',['<strong>Breaking changes</strong>',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes',1,'']]], - ['subscribe_111',['subscribe',['../class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a',1,'NimBLERemoteCharacteristic']]] + ['size_100',['size',['../class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c',1,'NimBLEAttValue']]], + ['sponsors_101',['Sponsors',['../index.html#sponsors',1,'']]], + ['stack_20core_102',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['start_103',['start',['../class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb',1,'NimBLEServer::start()'],['../class_nim_b_l_e_advertising.html#a8a5c880ee36fd44e0c72c14c47c8e15e',1,'NimBLEAdvertising::start()'],['../class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a',1,'NimBLEExtAdvertising::start()'],['../class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c',1,'NimBLEScan::start()'],['../class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985',1,'NimBLEService::start()']]], + ['startadvertising_104',['startadvertising',['../class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33',1,'NimBLEServer::startAdvertising()'],['../class_nim_b_l_e_device.html#a48d43b8afd9dcdc0c6a5e1aeda715f00',1,'NimBLEDevice::startAdvertising()'],['../class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654',1,'NimBLEServer::startAdvertising()'],['../class_nim_b_l_e_device.html#a181ee3b2b143e50e216fc2728194ff85',1,'NimBLEDevice::startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)']]], + ['startsecurity_105',['startSecurity',['../class_nim_b_l_e_device.html#a8b6b4bedfe37725ed9c20e91a3470005',1,'NimBLEDevice']]], + ['startservices_106',['startServices',['../class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235',1,'NimBLEHIDDevice']]], + ['stop_107',['stop',['../class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1',1,'NimBLEScan::stop()'],['../class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109',1,'NimBLEExtAdvertising::stop()'],['../class_nim_b_l_e_ext_advertising.html#a1dd95b432a8dfdfda20974a25da21953',1,'NimBLEExtAdvertising::stop(uint8_t instId)'],['../class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800',1,'NimBLEAdvertising::stop()']]], + ['stopadvertising_108',['stopadvertising',['../class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6',1,'NimBLEServer::stopAdvertising() const'],['../class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681',1,'NimBLEServer::stopAdvertising(uint8_t instanceId) const'],['../class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629',1,'NimBLEDevice::stopAdvertising()'],['../class_nim_b_l_e_device.html#a1de5ed55c2b048c0281462d929a70aa2',1,'NimBLEDevice::stopAdvertising(uint8_t instId)']]], + ['strong_20breaking_20changes_20strong_109',['<strong>Breaking changes</strong>',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes',1,'']]], + ['subscribe_110',['subscribe',['../class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a',1,'NimBLERemoteCharacteristic']]] ]; diff --git a/search/all_19.js b/search/all_19.js index ac12632..daa4824 100644 --- a/search/all_19.js +++ b/search/all_19.js @@ -3,6 +3,5 @@ var searchData= ['what_20is_20nimble_0',['What is NimBLE?',['../index.html#what-is-nimble',1,'']]], ['whitelistadd_1',['whiteListAdd',['../class_nim_b_l_e_device.html#aabc68166b6dd4a744a98f94e569f37db',1,'NimBLEDevice']]], ['whitelistremove_2',['whiteListRemove',['../class_nim_b_l_e_device.html#a81abbad5e371fe1cdd91c002b42cc654',1,'NimBLEDevice']]], - ['will_20be_20bugs_20please_20report_20them_3',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]], - ['write_4',['write',['../class_nim_b_l_e_l2_c_a_p_channel.html#a5547ff361f487a5d252b60991e9d21a8',1,'NimBLEL2CAPChannel']]] + ['will_20be_20bugs_20please_20report_20them_3',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]] ]; diff --git a/search/all_2.js b/search/all_2.js index fbab95d..3fb8aa4 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -12,31 +12,33 @@ var searchData= ['2_202020_2009_2013_9',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]], ['2_202022_2001_2015_10',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], ['2_203_200_202025_2005_2019_11',['[2.3.0] 2025-05-19',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19',1,'']]], - ['2_20x_12',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], - ['20_13',['[1.1.0] - 2021-01-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20',1,'']]], - ['2020_2008_2022_14',['[1.0.0] - 2020-08-22',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22',1,'']]], - ['2020_2009_2002_15',['[1.0.1] - 2020-09-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02',1,'']]], - ['2020_2009_2013_16',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]], - ['2021_2001_2020_17',['[1.1.0] - 2021-01-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20',1,'']]], - ['2021_2002_2008_18',['[1.2.0] - 2021-02-08',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08',1,'']]], - ['2021_2008_2002_19',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], - ['2021_2008_2004_20',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], - ['2022_2001_2015_21',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], - ['2022_2002_2015_22',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], - ['2022_2007_2031_23',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]], - ['2022_2010_2030_24',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], - ['2024_2012_2014_25',['[2.0.0] 2024-12-14',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14',1,'']]], - ['2024_2012_2016_26',['[2.0.1] 2024-12-16',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16',1,'']]], - ['2024_2012_2021_27',['[2.0.2] 2024-12-21',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21',1,'']]], - ['2025_2001_2005_28',['[2.0.3] 2025-01-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05',1,'']]], - ['2025_2001_2012_29',['[2.1.0] 2025-01-12',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12',1,'']]], - ['2025_2001_2026_30',['[2.1.1] 2025-01-26',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26',1,'']]], - ['2025_2002_2024_31',['[2.2.0] 2025-02-24',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24',1,'']]], - ['2025_2002_2028_32',['[2.2.1] 2025-02-28',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28',1,'']]], - ['2025_2005_2019_33',['[2.3.0] 2025-05-19',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19',1,'']]], - ['21_34',['[2.0.2] 2024-12-21',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21',1,'']]], - ['22_35',['[1.0.0] - 2020-08-22',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22',1,'']]], - ['24_36',['[2.2.0] 2025-02-24',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24',1,'']]], - ['26_37',['[2.1.1] 2025-01-26',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26',1,'']]], - ['28_38',['[2.2.1] 2025-02-28',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28',1,'']]] + ['2_203_201_202025_2006_2011_12',['[2.3.1] 2025-06-11',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11',1,'']]], + ['2_20x_13',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['20_14',['[1.1.0] - 2021-01-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20',1,'']]], + ['2020_2008_2022_15',['[1.0.0] - 2020-08-22',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22',1,'']]], + ['2020_2009_2002_16',['[1.0.1] - 2020-09-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02',1,'']]], + ['2020_2009_2013_17',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]], + ['2021_2001_2020_18',['[1.1.0] - 2021-01-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20',1,'']]], + ['2021_2002_2008_19',['[1.2.0] - 2021-02-08',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08',1,'']]], + ['2021_2008_2002_20',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], + ['2021_2008_2004_21',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], + ['2022_2001_2015_22',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], + ['2022_2002_2015_23',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], + ['2022_2007_2031_24',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]], + ['2022_2010_2030_25',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], + ['2024_2012_2014_26',['[2.0.0] 2024-12-14',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14',1,'']]], + ['2024_2012_2016_27',['[2.0.1] 2024-12-16',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16',1,'']]], + ['2024_2012_2021_28',['[2.0.2] 2024-12-21',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21',1,'']]], + ['2025_2001_2005_29',['[2.0.3] 2025-01-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05',1,'']]], + ['2025_2001_2012_30',['[2.1.0] 2025-01-12',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12',1,'']]], + ['2025_2001_2026_31',['[2.1.1] 2025-01-26',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26',1,'']]], + ['2025_2002_2024_32',['[2.2.0] 2025-02-24',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24',1,'']]], + ['2025_2002_2028_33',['[2.2.1] 2025-02-28',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28',1,'']]], + ['2025_2005_2019_34',['[2.3.0] 2025-05-19',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19',1,'']]], + ['2025_2006_2011_35',['[2.3.1] 2025-06-11',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11',1,'']]], + ['21_36',['[2.0.2] 2024-12-21',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21',1,'']]], + ['22_37',['[1.0.0] - 2020-08-22',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22',1,'']]], + ['24_38',['[2.2.0] 2025-02-24',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24',1,'']]], + ['26_39',['[2.1.1] 2025-01-26',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26',1,'']]], + ['28_40',['[2.2.1] 2025-02-28',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28',1,'']]] ]; diff --git a/search/all_3.js b/search/all_3.js index 4282a2e..617533c 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -3,9 +3,10 @@ var searchData= ['3_200_202021_2008_2002_0',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], ['3_200_202025_2005_2019_1',['[2.3.0] 2025-05-19',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19',1,'']]], ['3_201_202021_2008_2004_2',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], - ['3_202_202022_2001_2015_3',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], - ['3_202025_2001_2005_4',['[2.0.3] 2025-01-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05',1,'']]], - ['3_203_202022_2002_2015_5',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], - ['30_6',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], - ['31_7',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]] + ['3_201_202025_2006_2011_3',['[2.3.1] 2025-06-11',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11',1,'']]], + ['3_202_202022_2001_2015_4',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], + ['3_202025_2001_2005_5',['[2.0.3] 2025-01-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05',1,'']]], + ['3_203_202022_2002_2015_6',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], + ['30_7',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], + ['31_8',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]] ]; diff --git a/search/all_6.js b/search/all_6.js index f683560..6c66fd8 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -8,10 +8,10 @@ var searchData= ['addcharacteristic_5',['addCharacteristic',['../class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8',1,'NimBLEService']]], ['adddata_6',['adddata',['../class_nim_b_l_e_advertisement_data.html#a67f4d6869eb2797bc78389adf20cb59e',1,'NimBLEAdvertisementData::addData()'],['../class_nim_b_l_e_ext_advertisement.html#ab387e2739a3b8b207b965ba0cda70595',1,'NimBLEExtAdvertisement::addData(const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a1f449f67deca3d7ef66c07d61c12d28e',1,'NimBLEExtAdvertisement::addData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#a051d8f4ae66d2caa39351af8277bf0ed',1,'NimBLEAdvertisementData::addData()']]], ['adddescriptor_7',['addDescriptor',['../class_nim_b_l_e_characteristic.html#aed4b2241c89ad2a8f49117e2b9433e5b',1,'NimBLECharacteristic']]], - ['added_8',['added',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-11',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-10',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1',1,'Added']]], + ['added_8',['added',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-12',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-11',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-10',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2',1,'Added']]], ['addresses_9',['addresses',['../md__migration__guide.html#ble-addresses-1',1,'BLE Addresses'],['../md_1_8x__to2_8x__migration__guide.html#ble-addresses',1,'BLE Addresses']]], ['addservice_10',['addService',['../class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56',1,'NimBLEServer']]], - ['addserviceuuid_11',['addserviceuuid',['../class_nim_b_l_e_advertising.html#a67c9589dff7e0ee3ec24f2c930d56c06',1,'NimBLEAdvertising::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertising.html#a1bacfa32690f7e0c6f1172ea03c68c0d',1,'NimBLEAdvertising::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_advertisement_data.html#a4119cfc1dafeee9c32f9a08dbb213139',1,'NimBLEAdvertisementData::addServiceUUID()'],['../class_nim_b_l_e_ext_advertisement.html#a0e7a8731b021ba8813a3a9024171e926',1,'NimBLEExtAdvertisement::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_ext_advertisement.html#a4b4bea2600ee592ffe6877fe8eac7872',1,'NimBLEExtAdvertisement::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_advertisement_data.html#acbea9f95711b329a427919ecd9cbeb23',1,'NimBLEAdvertisementData::addServiceUUID(const NimBLEUUID &serviceUUID)']]], + ['addserviceuuid_11',['addserviceuuid',['../class_nim_b_l_e_advertising.html#a1bacfa32690f7e0c6f1172ea03c68c0d',1,'NimBLEAdvertising::addServiceUUID()'],['../class_nim_b_l_e_advertisement_data.html#acbea9f95711b329a427919ecd9cbeb23',1,'NimBLEAdvertisementData::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertisement_data.html#a4119cfc1dafeee9c32f9a08dbb213139',1,'NimBLEAdvertisementData::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_advertising.html#a67c9589dff7e0ee3ec24f2c930d56c06',1,'NimBLEAdvertising::addServiceUUID()'],['../class_nim_b_l_e_ext_advertisement.html#a4b4bea2600ee592ffe6877fe8eac7872',1,'NimBLEExtAdvertisement::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_ext_advertisement.html#a0e7a8731b021ba8813a3a9024171e926',1,'NimBLEExtAdvertisement::addServiceUUID(const NimBLEUUID &serviceUUID)']]], ['addtxpower_12',['addtxpower',['../class_nim_b_l_e_advertisement_data.html#a3f227c597ec00f639e4bd26b80ce404b',1,'NimBLEAdvertisementData::addTxPower()'],['../class_nim_b_l_e_advertising.html#a0d3c5cb3a93416a4206abb1f8e443ebf',1,'NimBLEAdvertising::addTxPower()'],['../class_nim_b_l_e_ext_advertisement.html#aa423a004e031744463e82623142195d6',1,'NimBLEExtAdvertisement::addTxPower()']]], ['advertised_20device_13',['Advertised Device',['../md_1_8x__to2_8x__migration__guide.html#advertised-device',1,'']]], ['advertiseondisconnect_14',['advertiseOnDisconnect',['../class_nim_b_l_e_server.html#aecf5b57888c55249a9c207d318a0495b',1,'NimBLEServer']]], diff --git a/search/all_8.js b/search/all_8.js index ced00bc..637811e 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -50,14 +50,14 @@ var searchData= ['config_5fnimble_5fcpp_5fenable_5freturn_5fcode_5ftext_47',['CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT',['../nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242',1,'nimconfig.h']]], ['config_5fnimble_5fcpp_5flog_5flevel_48',['CONFIG_NIMBLE_CPP_LOG_LEVEL',['../nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f',1,'nimconfig.h']]], ['configuration_49',['Arduino Configuration',['../md__migration__guide.html#arduino-configuration',1,'']]], - ['connect_50',['connect',['../class_nim_b_l_e_client.html#a2b49bc73802bf716cf3df3b5a93f0543',1,'NimBLEClient::connect(const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a27e53c3746bc2d20ea7cfcea1a123cbf',1,'NimBLEClient::connect(const NimBLEAddress &address, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a26c8117d56d8b637780390a6506716be',1,'NimBLEClient::connect(bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_l2_c_a_p_channel.html#a10c23f4fa6e2343de6c996529aceb449',1,'NimBLEL2CAPChannel::connect()']]], + ['connect_50',['connect',['../class_nim_b_l_e_client.html#a26c8117d56d8b637780390a6506716be',1,'NimBLEClient::connect(bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a27e53c3746bc2d20ea7cfcea1a123cbf',1,'NimBLEClient::connect(const NimBLEAddress &address, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a2b49bc73802bf716cf3df3b5a93f0543',1,'NimBLEClient::connect(const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)']]], ['core_51',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], ['create2904_52',['create2904',['../class_nim_b_l_e_characteristic.html#acc3402da680a988f6fa38100d9c98275',1,'NimBLECharacteristic']]], - ['createcharacteristic_53',['createcharacteristic',['../class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763',1,'NimBLEService::createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad',1,'NimBLEService::createCharacteristic(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], - ['createclient_54',['createclient',['../class_nim_b_l_e_device.html#a010b12177917f33e7d3633736c0cc553',1,'NimBLEDevice::createClient()'],['../class_nim_b_l_e_device.html#a7b52d5124390f1d547273d25ecae6704',1,'NimBLEDevice::createClient(const NimBLEAddress &peerAddress)']]], + ['createcharacteristic_53',['createcharacteristic',['../class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad',1,'NimBLEService::createCharacteristic(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763',1,'NimBLEService::createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], + ['createclient_54',['createclient',['../class_nim_b_l_e_device.html#a7b52d5124390f1d547273d25ecae6704',1,'NimBLEDevice::createClient(const NimBLEAddress &peerAddress)'],['../class_nim_b_l_e_device.html#a010b12177917f33e7d3633736c0cc553',1,'NimBLEDevice::createClient()']]], ['createdescriptor_55',['createdescriptor',['../class_nim_b_l_e_characteristic.html#ac7c63b770d181de28869fda0f4d902fa',1,'NimBLECharacteristic::createDescriptor(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_characteristic.html#aa9817ffdcc2d57e65e4ec3d88836af3f',1,'NimBLECharacteristic::createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)']]], ['createserver_56',['createServer',['../class_nim_b_l_e_device.html#a4d9780d0b5fafc279483822af802a508',1,'NimBLEDevice']]], - ['createservice_57',['createservice',['../class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2',1,'NimBLEServer::createService(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35',1,'NimBLEServer::createService(const char *uuid)'],['../class_nim_b_l_e_l2_c_a_p_server.html#a9328df1e0b29beb0492469ca6ebc969c',1,'NimBLEL2CAPServer::createService()']]], + ['createservice_57',['createservice',['../class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2',1,'NimBLEServer::createService(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35',1,'NimBLEServer::createService(const char *uuid)']]], ['creating_20a_20client_58',['Creating a Client',['../md__new__user__guide.html#creating-a-client',1,'']]], ['creating_20a_20server_59',['Creating a Server',['../md__new__user__guide.html#creating-a-server',1,'']]] ]; diff --git a/search/all_b.js b/search/all_b.js index 8faab7e..121790d 100644 --- a/search/all_b.js +++ b/search/all_b.js @@ -2,7 +2,7 @@ var searchData= [ ['features_0',['Bluetooth 5.x features',['../md__bluetooth_015_01features.html',1,'']]], ['files_1',['files',['../md__migration__guide.html#header-files',1,'Header Files'],['../md__new__user__guide.html#include-files',1,'Include Files']]], - ['fixed_2',['fixed',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-16',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-15',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-14',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-12',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-11',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-10',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-7',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-6',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-5',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-1',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed',1,'Fixed']]], + ['fixed_2',['fixed',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-18',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-16',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-15',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-14',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-12',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-11',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-10',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-7',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-6',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-5',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-1',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed',1,'Fixed']]], ['from_201_20x_20to_202_20x_3',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], ['from_20bluedroid_20to_20nimble_4',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]], ['fromstring_5',['fromString',['../class_nim_b_l_e_u_u_i_d.html#ae09acdc52e23a3a38c57aaf859c278c2',1,'NimBLEUUID']]], diff --git a/search/all_c.js b/search/all_c.js index 81ea4dd..7bcad28 100644 --- a/search/all_c.js +++ b/search/all_c.js @@ -85,7 +85,7 @@ var searchData= ['getremoved_82',['getRemoved',['../class_nim_b_l_e_local_attribute.html#a7664b8e5353f33ebfcff20a63273fe55',1,'NimBLELocalAttribute']]], ['getreportmap_83',['getReportMap',['../class_nim_b_l_e_h_i_d_device.html#afe75c42779aef757cd3ba84ec281efb5',1,'NimBLEHIDDevice']]], ['getresults_84',['getresults',['../class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61',1,'NimBLEScan::getResults()'],['../class_nim_b_l_e_scan.html#ade1492b5d1b5d97efa76cd41583bfc96',1,'NimBLEScan::getResults(uint32_t duration, bool is_continue=false)']]], - ['getrssi_85',['getrssi',['../class_nim_b_l_e_client.html#a2645d4a2f8e381bf9bbffdfca846ae17',1,'NimBLEClient::getRssi()'],['../class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392',1,'NimBLEAdvertisedDevice::getRSSI() const']]], + ['getrssi_85',['getrssi',['../class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392',1,'NimBLEAdvertisedDevice::getRSSI()'],['../class_nim_b_l_e_client.html#a2645d4a2f8e381bf9bbffdfca846ae17',1,'NimBLEClient::getRssi()']]], ['getscan_86',['getscan',['../class_nim_b_l_e_advertised_device.html#a29f6e671bffb6d431d183a63074709b3',1,'NimBLEAdvertisedDevice::getScan()'],['../class_nim_b_l_e_device.html#af93d92316454b051125460056368baec',1,'NimBLEDevice::getScan()']]], ['getscandata_87',['getScanData',['../class_nim_b_l_e_advertising.html#ae0e7d64d51882830750bcb87e2d9678c',1,'NimBLEAdvertising']]], ['getseckeysize_88',['getSecKeySize',['../class_nim_b_l_e_conn_info.html#a3a555ccfc6fe678a2603942022a8cd5c',1,'NimBLEConnInfo']]], diff --git a/search/all_e.js b/search/all_e.js index 22c8b31..672bc95 100644 --- a/search/all_e.js +++ b/search/all_e.js @@ -18,7 +18,7 @@ var searchData= ['isauthenticated_15',['isAuthenticated',['../class_nim_b_l_e_conn_info.html#a8a1174d706ae36e99adc9498bf30d68f',1,'NimBLEConnInfo']]], ['isbonded_16',['isbonded',['../class_nim_b_l_e_device.html#a16bf4f5394735ed8d7f0bb32ca5d269a',1,'NimBLEDevice::isBonded()'],['../class_nim_b_l_e_conn_info.html#afefcdd1c560a307632c15394497c436f',1,'NimBLEConnInfo::isBonded()']]], ['isconnectable_17',['isConnectable',['../class_nim_b_l_e_advertised_device.html#ab9710a6c3a141b6413d5159dfe4a4040',1,'NimBLEAdvertisedDevice']]], - ['isconnected_18',['isconnected',['../class_nim_b_l_e_l2_c_a_p_channel.html#adca49cca95fc06b2491d4e59df620e69',1,'NimBLEL2CAPChannel::isConnected()'],['../class_nim_b_l_e_client.html#a0bdaf55b06367d1abd6f59bfbe1e8689',1,'NimBLEClient::isConnected()']]], + ['isconnected_18',['isConnected',['../class_nim_b_l_e_client.html#a0bdaf55b06367d1abd6f59bfbe1e8689',1,'NimBLEClient']]], ['isencrypted_19',['isEncrypted',['../class_nim_b_l_e_conn_info.html#a1a29242623a50989c7a03ee209ac2cf4',1,'NimBLEConnInfo']]], ['isinitialized_20',['isInitialized',['../class_nim_b_l_e_device.html#a425561f1e23856756ab9c1c330da5737',1,'NimBLEDevice']]], ['islegacyadvertisement_21',['isLegacyAdvertisement',['../class_nim_b_l_e_advertised_device.html#a49b445130f028b49175d01cd3f6db050',1,'NimBLEAdvertisedDevice']]], diff --git a/search/classes_0.js b/search/classes_0.js index ff21fb6..a78ac84 100644 --- a/search/classes_0.js +++ b/search/classes_0.js @@ -22,20 +22,17 @@ var searchData= ['nimbleextadvertising_19',['NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html',1,'']]], ['nimbleextadvertisingcallbacks_20',['NimBLEExtAdvertisingCallbacks',['../class_nim_b_l_e_ext_advertising_callbacks.html',1,'']]], ['nimblehiddevice_21',['NimBLEHIDDevice',['../class_nim_b_l_e_h_i_d_device.html',1,'']]], - ['nimblel2capchannel_22',['NimBLEL2CAPChannel',['../class_nim_b_l_e_l2_c_a_p_channel.html',1,'']]], - ['nimblel2capchannelcallbacks_23',['NimBLEL2CAPChannelCallbacks',['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html',1,'']]], - ['nimblel2capserver_24',['NimBLEL2CAPServer',['../class_nim_b_l_e_l2_c_a_p_server.html',1,'']]], - ['nimblelocalattribute_25',['NimBLELocalAttribute',['../class_nim_b_l_e_local_attribute.html',1,'']]], - ['nimbleremotecharacteristic_26',['NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html',1,'']]], - ['nimbleremotedescriptor_27',['NimBLERemoteDescriptor',['../class_nim_b_l_e_remote_descriptor.html',1,'']]], - ['nimbleremoteservice_28',['NimBLERemoteService',['../class_nim_b_l_e_remote_service.html',1,'']]], - ['nimblescan_29',['NimBLEScan',['../class_nim_b_l_e_scan.html',1,'']]], - ['nimblescancallbacks_30',['NimBLEScanCallbacks',['../class_nim_b_l_e_scan_callbacks.html',1,'']]], - ['nimblescanresults_31',['NimBLEScanResults',['../class_nim_b_l_e_scan_results.html',1,'']]], - ['nimbleserver_32',['NimBLEServer',['../class_nim_b_l_e_server.html',1,'']]], - ['nimbleservercallbacks_33',['NimBLEServerCallbacks',['../class_nim_b_l_e_server_callbacks.html',1,'']]], - ['nimbleservice_34',['NimBLEService',['../class_nim_b_l_e_service.html',1,'']]], - ['nimbletaskdata_35',['NimBLETaskData',['../struct_nim_b_l_e_task_data.html',1,'']]], - ['nimbleutils_36',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], - ['nimbleuuid_37',['NimBLEUUID',['../class_nim_b_l_e_u_u_i_d.html',1,'']]] + ['nimblelocalattribute_22',['NimBLELocalAttribute',['../class_nim_b_l_e_local_attribute.html',1,'']]], + ['nimbleremotecharacteristic_23',['NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html',1,'']]], + ['nimbleremotedescriptor_24',['NimBLERemoteDescriptor',['../class_nim_b_l_e_remote_descriptor.html',1,'']]], + ['nimbleremoteservice_25',['NimBLERemoteService',['../class_nim_b_l_e_remote_service.html',1,'']]], + ['nimblescan_26',['NimBLEScan',['../class_nim_b_l_e_scan.html',1,'']]], + ['nimblescancallbacks_27',['NimBLEScanCallbacks',['../class_nim_b_l_e_scan_callbacks.html',1,'']]], + ['nimblescanresults_28',['NimBLEScanResults',['../class_nim_b_l_e_scan_results.html',1,'']]], + ['nimbleserver_29',['NimBLEServer',['../class_nim_b_l_e_server.html',1,'']]], + ['nimbleservercallbacks_30',['NimBLEServerCallbacks',['../class_nim_b_l_e_server_callbacks.html',1,'']]], + ['nimbleservice_31',['NimBLEService',['../class_nim_b_l_e_service.html',1,'']]], + ['nimbletaskdata_32',['NimBLETaskData',['../struct_nim_b_l_e_task_data.html',1,'']]], + ['nimbleutils_33',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], + ['nimbleuuid_34',['NimBLEUUID',['../class_nim_b_l_e_u_u_i_d.html',1,'']]] ]; diff --git a/search/functions_11.js b/search/functions_11.js index d4be5a2..bd4fa16 100644 --- a/search/functions_11.js +++ b/search/functions_11.js @@ -1,6 +1,5 @@ var searchData= [ ['whitelistadd_0',['whiteListAdd',['../class_nim_b_l_e_device.html#aabc68166b6dd4a744a98f94e569f37db',1,'NimBLEDevice']]], - ['whitelistremove_1',['whiteListRemove',['../class_nim_b_l_e_device.html#a81abbad5e371fe1cdd91c002b42cc654',1,'NimBLEDevice']]], - ['write_2',['write',['../class_nim_b_l_e_l2_c_a_p_channel.html#a5547ff361f487a5d252b60991e9d21a8',1,'NimBLEL2CAPChannel']]] + ['whitelistremove_1',['whiteListRemove',['../class_nim_b_l_e_device.html#a81abbad5e371fe1cdd91c002b42cc654',1,'NimBLEDevice']]] ]; diff --git a/search/functions_2.js b/search/functions_2.js index 40d3867..9a84e64 100644 --- a/search/functions_2.js +++ b/search/functions_2.js @@ -12,11 +12,11 @@ var searchData= ['capacity_9',['capacity',['../class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2',1,'NimBLEAttValue']]], ['cleardata_10',['cleardata',['../class_nim_b_l_e_advertisement_data.html#ac0f2238cf17bf3e8bbef8b0ef0d61dcf',1,'NimBLEAdvertisementData::clearData()'],['../class_nim_b_l_e_advertising.html#af7cee42f24ad38872936a0bbc9e2ac1e',1,'NimBLEAdvertising::clearData()'],['../class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af',1,'NimBLEExtAdvertisement::clearData()']]], ['clearresults_11',['clearResults',['../class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b',1,'NimBLEScan']]], - ['connect_12',['connect',['../class_nim_b_l_e_client.html#a2b49bc73802bf716cf3df3b5a93f0543',1,'NimBLEClient::connect()'],['../class_nim_b_l_e_l2_c_a_p_channel.html#a10c23f4fa6e2343de6c996529aceb449',1,'NimBLEL2CAPChannel::connect()'],['../class_nim_b_l_e_client.html#a26c8117d56d8b637780390a6506716be',1,'NimBLEClient::connect(bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a27e53c3746bc2d20ea7cfcea1a123cbf',1,'NimBLEClient::connect(const NimBLEAddress &address, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)']]], + ['connect_12',['connect',['../class_nim_b_l_e_client.html#a2b49bc73802bf716cf3df3b5a93f0543',1,'NimBLEClient::connect(const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a27e53c3746bc2d20ea7cfcea1a123cbf',1,'NimBLEClient::connect(const NimBLEAddress &address, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a26c8117d56d8b637780390a6506716be',1,'NimBLEClient::connect(bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)']]], ['create2904_13',['create2904',['../class_nim_b_l_e_characteristic.html#acc3402da680a988f6fa38100d9c98275',1,'NimBLECharacteristic']]], ['createcharacteristic_14',['createcharacteristic',['../class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763',1,'NimBLEService::createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad',1,'NimBLEService::createCharacteristic(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], ['createclient_15',['createclient',['../class_nim_b_l_e_device.html#a010b12177917f33e7d3633736c0cc553',1,'NimBLEDevice::createClient()'],['../class_nim_b_l_e_device.html#a7b52d5124390f1d547273d25ecae6704',1,'NimBLEDevice::createClient(const NimBLEAddress &peerAddress)']]], ['createdescriptor_16',['createdescriptor',['../class_nim_b_l_e_characteristic.html#aa9817ffdcc2d57e65e4ec3d88836af3f',1,'NimBLECharacteristic::createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_characteristic.html#ac7c63b770d181de28869fda0f4d902fa',1,'NimBLECharacteristic::createDescriptor(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)']]], ['createserver_17',['createServer',['../class_nim_b_l_e_device.html#a4d9780d0b5fafc279483822af802a508',1,'NimBLEDevice']]], - ['createservice_18',['createservice',['../class_nim_b_l_e_l2_c_a_p_server.html#a9328df1e0b29beb0492469ca6ebc969c',1,'NimBLEL2CAPServer::createService()'],['../class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35',1,'NimBLEServer::createService(const char *uuid)'],['../class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2',1,'NimBLEServer::createService(const NimBLEUUID &uuid)']]] + ['createservice_18',['createservice',['../class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35',1,'NimBLEServer::createService(const char *uuid)'],['../class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2',1,'NimBLEServer::createService(const NimBLEUUID &uuid)']]] ]; diff --git a/search/functions_6.js b/search/functions_6.js index f166d94..6eff161 100644 --- a/search/functions_6.js +++ b/search/functions_6.js @@ -83,7 +83,7 @@ var searchData= ['getremoved_80',['getRemoved',['../class_nim_b_l_e_local_attribute.html#a7664b8e5353f33ebfcff20a63273fe55',1,'NimBLELocalAttribute']]], ['getreportmap_81',['getReportMap',['../class_nim_b_l_e_h_i_d_device.html#afe75c42779aef757cd3ba84ec281efb5',1,'NimBLEHIDDevice']]], ['getresults_82',['getresults',['../class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61',1,'NimBLEScan::getResults()'],['../class_nim_b_l_e_scan.html#ade1492b5d1b5d97efa76cd41583bfc96',1,'NimBLEScan::getResults(uint32_t duration, bool is_continue=false)']]], - ['getrssi_83',['getrssi',['../class_nim_b_l_e_client.html#a2645d4a2f8e381bf9bbffdfca846ae17',1,'NimBLEClient::getRssi()'],['../class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392',1,'NimBLEAdvertisedDevice::getRSSI() const']]], + ['getrssi_83',['getrssi',['../class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392',1,'NimBLEAdvertisedDevice::getRSSI()'],['../class_nim_b_l_e_client.html#a2645d4a2f8e381bf9bbffdfca846ae17',1,'NimBLEClient::getRssi()']]], ['getscan_84',['getscan',['../class_nim_b_l_e_advertised_device.html#a29f6e671bffb6d431d183a63074709b3',1,'NimBLEAdvertisedDevice::getScan()'],['../class_nim_b_l_e_device.html#af93d92316454b051125460056368baec',1,'NimBLEDevice::getScan()']]], ['getscandata_85',['getScanData',['../class_nim_b_l_e_advertising.html#ae0e7d64d51882830750bcb87e2d9678c',1,'NimBLEAdvertising']]], ['getseckeysize_86',['getSecKeySize',['../class_nim_b_l_e_conn_info.html#a3a555ccfc6fe678a2603942022a8cd5c',1,'NimBLEConnInfo']]], diff --git a/search/functions_8.js b/search/functions_8.js index 263557c..cc38d46 100644 --- a/search/functions_8.js +++ b/search/functions_8.js @@ -10,7 +10,7 @@ var searchData= ['isauthenticated_7',['isAuthenticated',['../class_nim_b_l_e_conn_info.html#a8a1174d706ae36e99adc9498bf30d68f',1,'NimBLEConnInfo']]], ['isbonded_8',['isbonded',['../class_nim_b_l_e_conn_info.html#afefcdd1c560a307632c15394497c436f',1,'NimBLEConnInfo::isBonded()'],['../class_nim_b_l_e_device.html#a16bf4f5394735ed8d7f0bb32ca5d269a',1,'NimBLEDevice::isBonded()']]], ['isconnectable_9',['isConnectable',['../class_nim_b_l_e_advertised_device.html#ab9710a6c3a141b6413d5159dfe4a4040',1,'NimBLEAdvertisedDevice']]], - ['isconnected_10',['isconnected',['../class_nim_b_l_e_client.html#a0bdaf55b06367d1abd6f59bfbe1e8689',1,'NimBLEClient::isConnected()'],['../class_nim_b_l_e_l2_c_a_p_channel.html#adca49cca95fc06b2491d4e59df620e69',1,'NimBLEL2CAPChannel::isConnected()']]], + ['isconnected_10',['isConnected',['../class_nim_b_l_e_client.html#a0bdaf55b06367d1abd6f59bfbe1e8689',1,'NimBLEClient']]], ['isencrypted_11',['isEncrypted',['../class_nim_b_l_e_conn_info.html#a1a29242623a50989c7a03ee209ac2cf4',1,'NimBLEConnInfo']]], ['isinitialized_12',['isInitialized',['../class_nim_b_l_e_device.html#a425561f1e23856756ab9c1c330da5737',1,'NimBLEDevice']]], ['islegacyadvertisement_13',['isLegacyAdvertisement',['../class_nim_b_l_e_advertised_device.html#a49b445130f028b49175d01cd3f6db050',1,'NimBLEAdvertisedDevice']]], diff --git a/search/functions_c.js b/search/functions_c.js index 77fe792..d206d9f 100644 --- a/search/functions_c.js +++ b/search/functions_c.js @@ -1,19 +1,19 @@ var searchData= [ - ['onauthenticationcomplete_0',['onauthenticationcomplete',['../class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523',1,'NimBLEServerCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_client_callbacks.html#ae8e2abef6949ac87abf5ecad1a4dfe35',1,'NimBLEClientCallbacks::onAuthenticationComplete(NimBLEConnInfo &connInfo)']]], - ['onconfirmpasskey_1',['onconfirmpasskey',['../class_nim_b_l_e_client_callbacks.html#a6e7cfa81cd43420f78d6da727c67928b',1,'NimBLEClientCallbacks::onConfirmPasskey()'],['../class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436',1,'NimBLEServerCallbacks::onConfirmPassKey()']]], - ['onconnect_2',['onconnect',['../class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae',1,'NimBLEClientCallbacks::onConnect()'],['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a7bb7aaf60287909a687830834ee1c816',1,'NimBLEL2CAPChannelCallbacks::onConnect()'],['../class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5',1,'NimBLEServerCallbacks::onConnect()']]], + ['onauthenticationcomplete_0',['onauthenticationcomplete',['../class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523',1,'NimBLEServerCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_client_callbacks.html#ae8e2abef6949ac87abf5ecad1a4dfe35',1,'NimBLEClientCallbacks::onAuthenticationComplete()']]], + ['onconfirmpasskey_1',['onconfirmpasskey',['../class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436',1,'NimBLEServerCallbacks::onConfirmPassKey()'],['../class_nim_b_l_e_client_callbacks.html#a6e7cfa81cd43420f78d6da727c67928b',1,'NimBLEClientCallbacks::onConfirmPasskey(NimBLEConnInfo &connInfo, uint32_t pin)']]], + ['onconnect_2',['onconnect',['../class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae',1,'NimBLEClientCallbacks::onConnect()'],['../class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5',1,'NimBLEServerCallbacks::onConnect()']]], ['onconnectfail_3',['onConnectFail',['../class_nim_b_l_e_client_callbacks.html#ad0eb6bee07ef8c41dd8924aaca3bc71e',1,'NimBLEClientCallbacks']]], ['onconnparamsupdate_4',['onConnParamsUpdate',['../class_nim_b_l_e_server_callbacks.html#aa6e5e8ef90a537540d9c72f8744c0199',1,'NimBLEServerCallbacks']]], ['onconnparamsupdaterequest_5',['onConnParamsUpdateRequest',['../class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6',1,'NimBLEClientCallbacks']]], - ['ondisconnect_6',['ondisconnect',['../class_nim_b_l_e_client_callbacks.html#ad618179ade926482a7f2d94b0deabd69',1,'NimBLEClientCallbacks::onDisconnect()'],['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a3b56fa029bfe13d88c3231228078c982',1,'NimBLEL2CAPChannelCallbacks::onDisconnect()'],['../class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943',1,'NimBLEServerCallbacks::onDisconnect()']]], + ['ondisconnect_6',['ondisconnect',['../class_nim_b_l_e_client_callbacks.html#ad618179ade926482a7f2d94b0deabd69',1,'NimBLEClientCallbacks::onDisconnect()'],['../class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943',1,'NimBLEServerCallbacks::onDisconnect()']]], ['ondiscovered_7',['onDiscovered',['../class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277',1,'NimBLEScanCallbacks']]], - ['onidentity_8',['onidentity',['../class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664',1,'NimBLEServerCallbacks::onIdentity()'],['../class_nim_b_l_e_client_callbacks.html#ac03333d26d570e55b285da460c0def76',1,'NimBLEClientCallbacks::onIdentity(NimBLEConnInfo &connInfo)']]], + ['onidentity_8',['onidentity',['../class_nim_b_l_e_client_callbacks.html#ac03333d26d570e55b285da460c0def76',1,'NimBLEClientCallbacks::onIdentity()'],['../class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664',1,'NimBLEServerCallbacks::onIdentity()']]], ['onmtuchange_9',['onmtuchange',['../class_nim_b_l_e_client_callbacks.html#a92662eb9ecf882b2c55bc6d9b4de97bc',1,'NimBLEClientCallbacks::onMTUChange()'],['../class_nim_b_l_e_server_callbacks.html#ab702f73e739b4df72e191f47056c01ff',1,'NimBLEServerCallbacks::onMTUChange(uint16_t MTU, NimBLEConnInfo &connInfo)']]], ['onpasskeydisplay_10',['onPassKeyDisplay',['../class_nim_b_l_e_server_callbacks.html#a45b5fc1c98b287a2ddeab8f2f5b63c4f',1,'NimBLEServerCallbacks']]], ['onpasskeyentry_11',['onPassKeyEntry',['../class_nim_b_l_e_client_callbacks.html#aacb0b757e6e7c7984d8389c83fe1937d',1,'NimBLEClientCallbacks']]], ['onphyupdate_12',['onphyupdate',['../class_nim_b_l_e_client_callbacks.html#a4e91ebb66e46b7f3ccc6291ece0b549c',1,'NimBLEClientCallbacks::onPhyUpdate()'],['../class_nim_b_l_e_server_callbacks.html#a5096aa8ec49fe1eddb5d9ab18c112b22',1,'NimBLEServerCallbacks::onPhyUpdate()']]], - ['onread_13',['onread',['../class_nim_b_l_e_characteristic_callbacks.html#a120d3dade06fbc941a93edbdc0e4d830',1,'NimBLECharacteristicCallbacks::onRead()'],['../class_nim_b_l_e_descriptor_callbacks.html#a061576b56702a6aca62a38f2ba27ba98',1,'NimBLEDescriptorCallbacks::onRead()'],['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a10bd007ae5e5e1c41eec5bac829a006d',1,'NimBLEL2CAPChannelCallbacks::onRead()']]], + ['onread_13',['onread',['../class_nim_b_l_e_characteristic_callbacks.html#a120d3dade06fbc941a93edbdc0e4d830',1,'NimBLECharacteristicCallbacks::onRead()'],['../class_nim_b_l_e_descriptor_callbacks.html#a061576b56702a6aca62a38f2ba27ba98',1,'NimBLEDescriptorCallbacks::onRead()']]], ['onreset_14',['onReset',['../class_nim_b_l_e_device.html#a1c07c41733730754fd31efae5a43f085',1,'NimBLEDevice']]], ['onresult_15',['onResult',['../class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283',1,'NimBLEScanCallbacks']]], ['onscanend_16',['onScanEnd',['../class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375',1,'NimBLEScanCallbacks']]], @@ -27,7 +27,7 @@ var searchData= ['onwrite_24',['onwrite',['../class_nim_b_l_e_characteristic_callbacks.html#ab4edbb758f0212fd190dedad6c9b8ec9',1,'NimBLECharacteristicCallbacks::onWrite()'],['../class_nim_b_l_e_descriptor_callbacks.html#a2872d9e602d4e23cc63f55f5b2f76dd7',1,'NimBLEDescriptorCallbacks::onWrite()']]], ['operator_20const_20uint8_5ft_20_2a_25',['operator const uint8_t *',['../class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b',1,'NimBLEAttValue']]], ['operator_20nimbleaddress_26',['operator NimBLEAddress',['../class_nim_b_l_e_advertised_device.html#a0e36b522584f14687657cd29739c491b',1,'NimBLEAdvertisedDevice']]], - ['operator_20std_3a_3astring_27',['operator std::string',['../class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048',1,'NimBLEUUID::string()'],['../class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371',1,'NimBLEAttValue::string()'],['../class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a',1,'NimBLEAddress::string()']]], + ['operator_20std_3a_3astring_27',['operator std::string',['../class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a',1,'NimBLEAddress::string()'],['../class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371',1,'NimBLEAttValue::string()'],['../class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048',1,'NimBLEUUID::string()']]], ['operator_20std_3a_3avector_3c_20uint8_5ft_20_3e_28',['vector< uint8_t >',['../class_nim_b_l_e_att_value.html#a3af3b6efb528b1063df2de409c64a0d6',1,'NimBLEAttValue']]], ['operator_20uint64_5ft_29',['operator uint64_t',['../class_nim_b_l_e_address.html#aa7d5d8d323d2846bf2082b83381bd7c8',1,'NimBLEAddress']]], ['operator_21_3d_30',['operator!=',['../class_nim_b_l_e_address.html#ae243127c78af69b26dfa225effd806ce',1,'NimBLEAddress::operator!=()'],['../class_nim_b_l_e_att_value.html#afda6ab2bce142146bad453249bd0dc43',1,'NimBLEAttValue::operator!=()'],['../class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe',1,'NimBLEUUID::operator!=()']]], diff --git a/search/functions_e.js b/search/functions_e.js index 4ca7e10..49f2fb2 100644 --- a/search/functions_e.js +++ b/search/functions_e.js @@ -70,16 +70,16 @@ var searchData= ['setscancallbacks_67',['setScanCallbacks',['../class_nim_b_l_e_scan.html#a3b0d41fc5d9113a02357c1b2a43c5d1d',1,'NimBLEScan']]], ['setscanfilter_68',['setscanfilter',['../class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790',1,'NimBLEAdvertising::setScanFilter()'],['../class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138',1,'NimBLEExtAdvertisement::setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)']]], ['setscannable_69',['setScannable',['../class_nim_b_l_e_ext_advertisement.html#adc868da6e3e33c3e21f78ac386e9eb50',1,'NimBLEExtAdvertisement']]], - ['setscanresponsedata_70',['setscanresponsedata',['../class_nim_b_l_e_advertising.html#a97798e6d9d7721eb588c5e67d54e97ef',1,'NimBLEAdvertising::setScanResponseData()'],['../class_nim_b_l_e_ext_advertising.html#ac669489f8d7d67fe8dfc48ef15c7985f',1,'NimBLEExtAdvertising::setScanResponseData()']]], + ['setscanresponsedata_70',['setscanresponsedata',['../class_nim_b_l_e_ext_advertising.html#ac669489f8d7d67fe8dfc48ef15c7985f',1,'NimBLEExtAdvertising::setScanResponseData()'],['../class_nim_b_l_e_advertising.html#a97798e6d9d7721eb588c5e67d54e97ef',1,'NimBLEAdvertising::setScanResponseData()']]], ['setsecondaryphy_71',['setSecondaryPhy',['../class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506',1,'NimBLEExtAdvertisement']]], - ['setsecurityauth_72',['setsecurityauth',['../class_nim_b_l_e_device.html#abbf642ac4ce4023c7c4d9a1e4333b328',1,'NimBLEDevice::setSecurityAuth(uint8_t auth)'],['../class_nim_b_l_e_device.html#aa8e340c02418771ce72dec758d560938',1,'NimBLEDevice::setSecurityAuth(bool bonding, bool mitm, bool sc)']]], + ['setsecurityauth_72',['setsecurityauth',['../class_nim_b_l_e_device.html#aa8e340c02418771ce72dec758d560938',1,'NimBLEDevice::setSecurityAuth(bool bonding, bool mitm, bool sc)'],['../class_nim_b_l_e_device.html#abbf642ac4ce4023c7c4d9a1e4333b328',1,'NimBLEDevice::setSecurityAuth(uint8_t auth)']]], ['setsecurityinitkey_73',['setSecurityInitKey',['../class_nim_b_l_e_device.html#ab0a29a11f71d3ba32645c096067a853b',1,'NimBLEDevice']]], ['setsecurityiocap_74',['setSecurityIOCap',['../class_nim_b_l_e_device.html#ab9fee9e810d5fa18bc8a37053eb9b5d0',1,'NimBLEDevice']]], ['setsecuritypasskey_75',['setSecurityPasskey',['../class_nim_b_l_e_device.html#ab62da4d606355b20539e37e881f4044d',1,'NimBLEDevice']]], ['setsecurityrespkey_76',['setSecurityRespKey',['../class_nim_b_l_e_device.html#ab769a5f5afb3ee486527d41b8c445566',1,'NimBLEDevice']]], ['setselfdelete_77',['setSelfDelete',['../class_nim_b_l_e_client.html#a665a5ef97b3ab0307bccc54872d3c218',1,'NimBLEClient']]], - ['setservicedata_78',['setservicedata',['../class_nim_b_l_e_advertisement_data.html#a2efe483f50ee2013d1eea015c90ba4f5',1,'NimBLEAdvertisementData::setServiceData()'],['../class_nim_b_l_e_ext_advertisement.html#a6f4e01c26ab1d26123d81dfbc0f6f9f8',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_ext_advertisement.html#a56418c5b331cecae3c5b644567329c56',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a2bcfe468c00347e93c0f4ac2b46654be',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertising.html#a65123182c5218758433e4acf0432fc84',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertising.html#a708384c4b9af3006893afbdef74362bc',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_advertising.html#a815faed49fb4f29337fda94bd39c0bbc',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#ae179e55a5a133a66858047b29343bd75',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_advertisement_data.html#a0399149f6359d33ca4781c8282844394',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)']]], - ['setshortname_79',['setshortname',['../class_nim_b_l_e_advertisement_data.html#a32922b53631443b92463c8942b8d0839',1,'NimBLEAdvertisementData::setShortName()'],['../class_nim_b_l_e_ext_advertisement.html#a4f8da0cb7cf2b3e18543e78b15b46918',1,'NimBLEExtAdvertisement::setShortName()']]], + ['setservicedata_78',['setservicedata',['../class_nim_b_l_e_advertisement_data.html#a0399149f6359d33ca4781c8282844394',1,'NimBLEAdvertisementData::setServiceData()'],['../class_nim_b_l_e_ext_advertisement.html#a6f4e01c26ab1d26123d81dfbc0f6f9f8',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_ext_advertisement.html#a56418c5b331cecae3c5b644567329c56',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a2bcfe468c00347e93c0f4ac2b46654be',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertising.html#a65123182c5218758433e4acf0432fc84',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertising.html#a708384c4b9af3006893afbdef74362bc',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_advertising.html#a815faed49fb4f29337fda94bd39c0bbc',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#a2efe483f50ee2013d1eea015c90ba4f5',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertisement_data.html#ae179e55a5a133a66858047b29343bd75',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const std::string &data)']]], + ['setshortname_79',['setshortname',['../class_nim_b_l_e_ext_advertisement.html#a4f8da0cb7cf2b3e18543e78b15b46918',1,'NimBLEExtAdvertisement::setShortName()'],['../class_nim_b_l_e_advertisement_data.html#a32922b53631443b92463c8942b8d0839',1,'NimBLEAdvertisementData::setShortName()']]], ['setsignalpower_80',['setSignalPower',['../class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0',1,'NimBLEBeacon']]], ['settemp_81',['setTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#af5ff73359f3c7f7e76395d32f4efe575',1,'NimBLEEddystoneTLM']]], ['settime_82',['setTime',['../class_nim_b_l_e_eddystone_t_l_m.html#a999d53f4bad59c2ebc688403f66474b1',1,'NimBLEEddystoneTLM']]], @@ -87,17 +87,16 @@ var searchData= ['setunit_84',['setUnit',['../class_nim_b_l_e2904.html#ad0cf78a2a1c3418be9a39beaa0c826ee',1,'NimBLE2904']]], ['seturi_85',['seturi',['../class_nim_b_l_e_advertisement_data.html#a852969e05a7884faf6cfcd2001f80ec9',1,'NimBLEAdvertisementData::setURI()'],['../class_nim_b_l_e_advertising.html#a9fe23a52ac3f699095d84d2ba8f90c28',1,'NimBLEAdvertising::setURI()'],['../class_nim_b_l_e_ext_advertisement.html#a691335b073c8385b3e2e75c6962fbe3f',1,'NimBLEExtAdvertisement::setURI()']]], ['setuuid_86',['setUUID',['../class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291',1,'NimBLEEddystoneTLM']]], - ['setvalue_87',['setvalue',['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue()'],['../class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed',1,'NimBLERemoteService::setValue()'],['../class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2',1,'NimBLEClient::setValue()'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#aade512f55c6f962941aee7078677356b',1,'NimBLEAttValue::setValue(const char *s, uint16_t len=0)'],['../class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa',1,'NimBLEAttValue::setValue(const uint8_t *value, uint16_t len)']]], + ['setvalue_87',['setvalue',['../class_nim_b_l_e_att_value.html#aade512f55c6f962941aee7078677356b',1,'NimBLEAttValue::setValue()'],['../class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed',1,'NimBLERemoteService::setValue()'],['../class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2',1,'NimBLEClient::setValue()'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa',1,'NimBLEAttValue::setValue(const uint8_t *value, uint16_t len)']]], ['setversion_88',['setVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63',1,'NimBLEEddystoneTLM']]], ['setvolt_89',['setVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#ad69af8fe47502d922203916357f6c206',1,'NimBLEEddystoneTLM']]], ['setwindow_90',['setWindow',['../class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316',1,'NimBLEScan']]], - ['shouldacceptconnection_91',['shouldAcceptConnection',['../class_nim_b_l_e_l2_c_a_p_channel_callbacks.html#a5932343afdb1dd9e67d55e530638180f',1,'NimBLEL2CAPChannelCallbacks']]], - ['size_92',['size',['../class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c',1,'NimBLEAttValue']]], - ['start_93',['start',['../class_nim_b_l_e_advertising.html#a8a5c880ee36fd44e0c72c14c47c8e15e',1,'NimBLEAdvertising::start()'],['../class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985',1,'NimBLEService::start()'],['../class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb',1,'NimBLEServer::start()'],['../class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a',1,'NimBLEExtAdvertising::start()'],['../class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c',1,'NimBLEScan::start()']]], - ['startadvertising_94',['startadvertising',['../class_nim_b_l_e_device.html#a181ee3b2b143e50e216fc2728194ff85',1,'NimBLEDevice::startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)'],['../class_nim_b_l_e_device.html#a48d43b8afd9dcdc0c6a5e1aeda715f00',1,'NimBLEDevice::startAdvertising(uint32_t duration=0)'],['../class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33',1,'NimBLEServer::startAdvertising(uint8_t instanceId, int duration=0, int maxEvents=0) const'],['../class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654',1,'NimBLEServer::startAdvertising(uint32_t duration=0) const']]], - ['startsecurity_95',['startSecurity',['../class_nim_b_l_e_device.html#a8b6b4bedfe37725ed9c20e91a3470005',1,'NimBLEDevice']]], - ['startservices_96',['startServices',['../class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235',1,'NimBLEHIDDevice']]], - ['stop_97',['stop',['../class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800',1,'NimBLEAdvertising::stop()'],['../class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1',1,'NimBLEScan::stop()'],['../class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109',1,'NimBLEExtAdvertising::stop()'],['../class_nim_b_l_e_ext_advertising.html#a1dd95b432a8dfdfda20974a25da21953',1,'NimBLEExtAdvertising::stop(uint8_t instId)']]], - ['stopadvertising_98',['stopadvertising',['../class_nim_b_l_e_device.html#a1de5ed55c2b048c0281462d929a70aa2',1,'NimBLEDevice::stopAdvertising(uint8_t instId)'],['../class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629',1,'NimBLEDevice::stopAdvertising()'],['../class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681',1,'NimBLEServer::stopAdvertising(uint8_t instanceId) const'],['../class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6',1,'NimBLEServer::stopAdvertising() const']]], - ['subscribe_99',['subscribe',['../class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a',1,'NimBLERemoteCharacteristic']]] + ['size_91',['size',['../class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c',1,'NimBLEAttValue']]], + ['start_92',['start',['../class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a',1,'NimBLEExtAdvertising::start()'],['../class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c',1,'NimBLEScan::start()'],['../class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb',1,'NimBLEServer::start()'],['../class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985',1,'NimBLEService::start()'],['../class_nim_b_l_e_advertising.html#a8a5c880ee36fd44e0c72c14c47c8e15e',1,'NimBLEAdvertising::start()']]], + ['startadvertising_93',['startadvertising',['../class_nim_b_l_e_device.html#a181ee3b2b143e50e216fc2728194ff85',1,'NimBLEDevice::startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)'],['../class_nim_b_l_e_device.html#a48d43b8afd9dcdc0c6a5e1aeda715f00',1,'NimBLEDevice::startAdvertising(uint32_t duration=0)'],['../class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33',1,'NimBLEServer::startAdvertising(uint8_t instanceId, int duration=0, int maxEvents=0) const'],['../class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654',1,'NimBLEServer::startAdvertising(uint32_t duration=0) const']]], + ['startsecurity_94',['startSecurity',['../class_nim_b_l_e_device.html#a8b6b4bedfe37725ed9c20e91a3470005',1,'NimBLEDevice']]], + ['startservices_95',['startServices',['../class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235',1,'NimBLEHIDDevice']]], + ['stop_96',['stop',['../class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800',1,'NimBLEAdvertising::stop()'],['../class_nim_b_l_e_ext_advertising.html#a1dd95b432a8dfdfda20974a25da21953',1,'NimBLEExtAdvertising::stop(uint8_t instId)'],['../class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109',1,'NimBLEExtAdvertising::stop()'],['../class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1',1,'NimBLEScan::stop()']]], + ['stopadvertising_97',['stopadvertising',['../class_nim_b_l_e_device.html#a1de5ed55c2b048c0281462d929a70aa2',1,'NimBLEDevice::stopAdvertising(uint8_t instId)'],['../class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629',1,'NimBLEDevice::stopAdvertising()'],['../class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681',1,'NimBLEServer::stopAdvertising(uint8_t instanceId) const'],['../class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6',1,'NimBLEServer::stopAdvertising() const']]], + ['subscribe_98',['subscribe',['../class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a',1,'NimBLERemoteCharacteristic']]] ]; diff --git a/struct_nim_b_l_e_task_data-members.html b/struct_nim_b_l_e_task_data-members.html index 38a1362..014e964 100644 --- a/struct_nim_b_l_e_task_data-members.html +++ b/struct_nim_b_l_e_task_data-members.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1
              diff --git a/struct_nim_b_l_e_task_data.html b/struct_nim_b_l_e_task_data.html index a779944..6671b28 100644 --- a/struct_nim_b_l_e_task_data.html +++ b/struct_nim_b_l_e_task_data.html @@ -25,7 +25,7 @@ -
              esp-nimble-cpp 2.3.0 +
              esp-nimble-cpp 2.3.1