diff --git a/_h_i_d_keyboard_types_8h_source.html b/_h_i_d_keyboard_types_8h_source.html index 08133df..b31495d 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_h_i_d_types_8h_source.html b/_h_i_d_types_8h_source.html index 01ec545..39fb092 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e2904_8h_source.html b/_nim_b_l_e2904_8h_source.html index 331d5fe..646a6d7 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_address_8h_source.html b/_nim_b_l_e_address_8h_source.html index b2a0240..f56c1f1 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_advertised_device_8h_source.html b/_nim_b_l_e_advertised_device_8h_source.html index 5cd1484..0900baf 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_advertisement_data_8h_source.html b/_nim_b_l_e_advertisement_data_8h_source.html index 2281888..053393f 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_advertising_8h_source.html b/_nim_b_l_e_advertising_8h_source.html index 76ab8d5..a243275 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.3 +
esp-nimble-cpp 2.4.0
@@ -206,36 +206,36 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertising_8h_source.html'
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
+
bool addTxPower()
Add the transmission power level to the advertisement packet.
Definition NimBLEAdvertising.cpp:500
+
const NimBLEAdvertisementData & getAdvertisementData()
Get the current advertisement data.
Definition NimBLEAdvertising.cpp:347
+
bool setAppearance(uint16_t appearance)
Set the device appearance in the advertising data.
Definition NimBLEAdvertising.cpp:467
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
+
bool stop()
Stop advertising.
Definition NimBLEAdvertising.cpp:248
+
void setAdvertisingCompleteCallback(advCompleteCB_t callback)
Set the callback to be invoked when advertising stops.
Definition NimBLEAdvertising.cpp:262
+
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEAdvertising.cpp:409
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 setName(const std::string &name)
Set the advertised name of the device.
Definition NimBLEAdvertising.cpp:518
+
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEAdvertising.cpp:591
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
+
bool setScanResponseData(const NimBLEAdvertisementData &advertisementData)
Set the data that is to be provided in a scan response.
Definition NimBLEAdvertising.cpp:358
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
+
bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEAdvertising.cpp:485
+
bool setURI(const std::string &uri)
Set the advertised URI.
Definition NimBLEAdvertising.cpp:572
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
+
bool setAdvertisementData(const NimBLEAdvertisementData &advertisementData)
Set the advertisement data that is to be broadcast in a regular advertisement.
Definition NimBLEAdvertising.cpp:330
+
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEAdvertising.cpp:434
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 isAdvertising()
Check if currently advertising.
Definition NimBLEAdvertising.cpp:270
+
bool setManufacturerData(const uint8_t *data, size_t length)
Set the advertised manufacturer data.
Definition NimBLEAdvertising.cpp:538
+
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEAdvertising.cpp:454
+
bool refreshAdvertisingData()
Refresh advertsing data dynamically without stop/start cycle. For instance allows refreshing manufact...
Definition NimBLEAdvertising.cpp:395
+
const NimBLEAdvertisementData & getScanData()
Get the current scan response data.
Definition NimBLEAdvertising.cpp:374
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:116
+
void clearData()
Clear the advertisement and scan response data and set the flags to BLE_HS_ADV_F_DISC_GEN.
Definition NimBLEAdvertising.cpp:381
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:119
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 cd8f8fe..8e7fbd5 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_attribute_8h_source.html b/_nim_b_l_e_attribute_8h_source.html index 4b205b6..0190aae 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_beacon_8h_source.html b/_nim_b_l_e_beacon_8h_source.html index f573aa3..0cf7268 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_characteristic_8h_source.html b/_nim_b_l_e_characteristic_8h_source.html index 9aeef09..37b0ca6 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.3 +
esp-nimble-cpp 2.4.0
@@ -162,8 +162,8 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_characteristic_8h_source.ht
69 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
70 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN);
71 NimBLE2904* create2904();
-
72 NimBLEDescriptor* getDescriptorByUUID(const char* uuid) const;
-
73 NimBLEDescriptor* getDescriptorByUUID(const NimBLEUUID& uuid) const;
+
72 NimBLEDescriptor* getDescriptorByUUID(const char* uuid, uint16_t index = 0) const;
+
73 NimBLEDescriptor* getDescriptorByUUID(const NimBLEUUID& uuid, uint16_t index = 0) const;
74 NimBLEDescriptor* getDescriptorByHandle(uint16_t handle) const;
75 NimBLEService* getService() const;
76
@@ -201,158 +201,154 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_characteristic_8h_source.ht
125 typename std::enable_if<Has_data_size<T>::value && Has_value_type<T>::value, bool>::type
126# endif
127 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
128 return notify(
-
129 reinterpret_cast<const uint8_t*>(v.data()),
-
130 v.size() * sizeof(typename T::value_type),
-
131 connHandle
-
132 );
-
133 }
-
134
-
140 template <typename T>
-
141# ifdef _DOXYGEN_
-
142 bool
-
143# else
-
144 typename std::enable_if<Has_data_size<T>::value && !Has_value_type<T>::value, bool>::type
-
145# endif
-
146 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
147 return notify(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
-
148 }
-
149
-
156 template <typename T>
-
157# ifdef _DOXYGEN_
-
158 bool
-
159# else
-
160 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value && !Has_c_str_length<T>::value &&
-
161 !Has_data_size<T>::value,
-
162 bool>::type
-
163# endif
-
164 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
165 return indicate(reinterpret_cast<const uint8_t*>(&v), sizeof(T), connHandle);
-
166 }
-
167
-
173 template <typename T>
-
174# ifdef _DOXYGEN_
-
175 bool
-
176# else
-
177 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
-
178# endif
-
179 indicate(const T& s, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
180 return indicate(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), connHandle);
-
181 }
-
182
-
189 template <typename T>
-
190# ifdef _DOXYGEN_
-
191 bool
-
192# else
-
193 typename std::enable_if<Has_data_size<T>::value && Has_value_type<T>::value, bool>::type
-
194# endif
-
195 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
196 return indicate(
-
197 reinterpret_cast<const uint8_t*>(v.data()),
-
198 v.size() * sizeof(typename T::value_type),
-
199 connHandle
-
200 );
-
201 }
-
202
-
208 template <typename T>
-
209# ifdef _DOXYGEN_
-
210 bool
-
211# else
-
212 typename std::enable_if<Has_data_size<T>::value && !Has_value_type<T>::value, bool>::type
-
213# endif
-
214 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
215 return indicate(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
-
216 }
-
217
-
218# else
-
219
-
230 template <typename T>
-
231 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value, bool>::type notify(
-
232 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
233 if constexpr (Has_data_size<T>::value) {
-
234 if constexpr (Has_value_type<T>::value) {
-
235 return notify(reinterpret_cast<const uint8_t*>(value.data()), value.size() * sizeof(typename T::value_type), connHandle);
-
236 } else {
-
237 return notify(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
-
238 }
-
239 } else if constexpr (Has_c_str_length<T>::value) {
-
240 return notify(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
-
241 } else {
-
242 return notify(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
-
243 }
-
244 }
-
245
-
256 template <typename T>
-
257 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value, bool>::type indicate(
-
258 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
-
259 if constexpr (Has_data_size<T>::value) {
-
260 if constexpr (Has_value_type<T>::value) {
-
261 return indicate(reinterpret_cast<const uint8_t*>(value.data()), value.size() * sizeof(typename T::value_type), connHandle);
-
262 } else {
-
263 return indicate(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
-
264 }
-
265 } else if constexpr (Has_c_str_length<T>::value) {
-
266 return indicate(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
-
267 } else {
-
268 return indicate(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
-
269 }
-
270 }
-
271# endif
+
128 return notify(reinterpret_cast<const uint8_t*>(v.data()), v.size() * sizeof(typename T::value_type), connHandle);
+
129 }
+
130
+
136 template <typename T>
+
137# ifdef _DOXYGEN_
+
138 bool
+
139# else
+
140 typename std::enable_if<Has_data_size<T>::value && !Has_value_type<T>::value, bool>::type
+
141# endif
+
142 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
143 return notify(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
+
144 }
+
145
+
152 template <typename T>
+
153# ifdef _DOXYGEN_
+
154 bool
+
155# else
+
156 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value && !Has_c_str_length<T>::value &&
+
157 !Has_data_size<T>::value,
+
158 bool>::type
+
159# endif
+
160 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
161 return indicate(reinterpret_cast<const uint8_t*>(&v), sizeof(T), connHandle);
+
162 }
+
163
+
169 template <typename T>
+
170# ifdef _DOXYGEN_
+
171 bool
+
172# else
+
173 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
174# endif
+
175 indicate(const T& s, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
176 return indicate(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), connHandle);
+
177 }
+
178
+
185 template <typename T>
+
186# ifdef _DOXYGEN_
+
187 bool
+
188# else
+
189 typename std::enable_if<Has_data_size<T>::value && Has_value_type<T>::value, bool>::type
+
190# endif
+
191 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
192 return indicate(reinterpret_cast<const uint8_t*>(v.data()), v.size() * sizeof(typename T::value_type), connHandle);
+
193 }
+
194
+
200 template <typename T>
+
201# ifdef _DOXYGEN_
+
202 bool
+
203# else
+
204 typename std::enable_if<Has_data_size<T>::value && !Has_value_type<T>::value, bool>::type
+
205# endif
+
206 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
207 return indicate(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
+
208 }
+
209
+
210# else
+
211
+
222 template <typename T>
+
223 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value, bool>::type notify(
+
224 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
225 if constexpr (Has_data_size<T>::value) {
+
226 if constexpr (Has_value_type<T>::value) {
+
227 return notify(reinterpret_cast<const uint8_t*>(value.data()),
+
228 value.size() * sizeof(typename T::value_type),
+
229 connHandle);
+
230 } else {
+
231 return notify(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
+
232 }
+
233 } else if constexpr (Has_c_str_length<T>::value) {
+
234 return notify(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
+
235 } else {
+
236 return notify(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
+
237 }
+
238 }
+
239
+
250 template <typename T>
+
251 typename std::enable_if<!std::is_pointer<T>::value && !std::is_array<T>::value, bool>::type indicate(
+
252 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
253 if constexpr (Has_data_size<T>::value) {
+
254 if constexpr (Has_value_type<T>::value) {
+
255 return indicate(reinterpret_cast<const uint8_t*>(value.data()),
+
256 value.size() * sizeof(typename T::value_type),
+
257 connHandle);
+
258 } else {
+
259 return indicate(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
+
260 }
+
261 } else if constexpr (Has_c_str_length<T>::value) {
+
262 return indicate(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
+
263 } else {
+
264 return indicate(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
+
265 }
+
266 }
+
267# endif
+
268
+
269 private:
+
270 friend class NimBLEServer;
+
271 friend class NimBLEService;
272
-
273 private:
-
274 friend class NimBLEServer;
-
275 friend class NimBLEService;
-
276
-
277 void setService(NimBLEService* pService);
-
278 void readEvent(NimBLEConnInfo& connInfo) override;
-
279 void writeEvent(const uint8_t* val, uint16_t len, NimBLEConnInfo& connInfo) override;
-
280 bool sendValue(const uint8_t* value,
-
281 size_t length,
-
282 bool is_notification = true,
-
283 uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
-
284
-
285 struct SubPeerEntry {
-
286 enum : uint8_t { AWAITING_SECURE = 1 << 0, SECURE = 1 << 1, SUB_NOTIFY = 1 << 2, SUB_INDICATE = 1 << 3 };
-
287 void setConnHandle(uint16_t connHandle) { m_connHandle = connHandle; }
-
288 uint16_t getConnHandle() const { return m_connHandle; }
-
289 void setAwaitingSecure(bool awaiting) { awaiting ? m_flags |= AWAITING_SECURE : m_flags &= ~AWAITING_SECURE; }
-
290 void setSecured(bool secure) { secure ? m_flags |= SECURE : m_flags &= ~SECURE; }
-
291 void setSubNotify(bool notify) { notify ? m_flags |= SUB_NOTIFY : m_flags &= ~SUB_NOTIFY; }
-
292 void setSubIndicate(bool indicate) { indicate ? m_flags |= SUB_INDICATE : m_flags &= ~SUB_INDICATE; }
-
293 bool isSubNotify() const { return m_flags & SUB_NOTIFY; }
-
294 bool isSubIndicate() const { return m_flags & SUB_INDICATE; }
-
295 bool isSecured() const { return m_flags & SECURE; }
-
296 bool isAwaitingSecure() const { return m_flags & AWAITING_SECURE; }
-
297
-
298 private:
-
299 uint16_t m_connHandle{BLE_HS_CONN_HANDLE_NONE};
-
300 uint8_t m_flags{0};
-
301 } __attribute__((packed));
-
302
-
303 using SubPeerArray = std::array<SubPeerEntry, MYNEWT_VAL(BLE_MAX_CONNECTIONS)>;
-
304 SubPeerArray getSubscribers() const { return m_subPeers; }
-
305 void processSubRequest(NimBLEConnInfo& connInfo, uint8_t subVal) const;
-
306 void updatePeerStatus(const NimBLEConnInfo& peerInfo) const;
-
307
-
308 NimBLECharacteristicCallbacks* m_pCallbacks{nullptr};
-
309 NimBLEService* m_pService{nullptr};
-
310 std::vector<NimBLEDescriptor*> m_vDescriptors{};
-
311 mutable SubPeerArray m_subPeers{};
-
312}; // NimBLECharacteristic
-
313
-
321class NimBLECharacteristicCallbacks {
-
322 public:
-
323 virtual ~NimBLECharacteristicCallbacks() {}
-
324 virtual void onRead(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
-
325 virtual void onWrite(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
-
326 virtual void onStatus(NimBLECharacteristic* pCharacteristic, int code); // deprecated
-
327 virtual void onStatus(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, int code);
-
328 virtual void onSubscribe(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, uint16_t subValue);
-
329};
-
330
-
331#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
332#endif // NIMBLE_CPP_CHARACTERISTIC_H_
-
Connection information.
Definition NimBLEConnInfo.h:32
+
273 void setService(NimBLEService* pService);
+
274 void readEvent(NimBLEConnInfo& connInfo) override;
+
275 void writeEvent(const uint8_t* val, uint16_t len, NimBLEConnInfo& connInfo) override;
+
276 bool sendValue(const uint8_t* value,
+
277 size_t length,
+
278 bool is_notification = true,
+
279 uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
280
+
281 struct SubPeerEntry {
+
282 enum : uint8_t { AWAITING_SECURE = 1 << 0, SECURE = 1 << 1, SUB_NOTIFY = 1 << 2, SUB_INDICATE = 1 << 3 };
+
283 void setConnHandle(uint16_t connHandle) { m_connHandle = connHandle; }
+
284 uint16_t getConnHandle() const { return m_connHandle; }
+
285 void setAwaitingSecure(bool awaiting) { awaiting ? m_flags |= AWAITING_SECURE : m_flags &= ~AWAITING_SECURE; }
+
286 void setSecured(bool secure) { secure ? m_flags |= SECURE : m_flags &= ~SECURE; }
+
287 void setSubNotify(bool notify) { notify ? m_flags |= SUB_NOTIFY : m_flags &= ~SUB_NOTIFY; }
+
288 void setSubIndicate(bool indicate) { indicate ? m_flags |= SUB_INDICATE : m_flags &= ~SUB_INDICATE; }
+
289 bool isSubNotify() const { return m_flags & SUB_NOTIFY; }
+
290 bool isSubIndicate() const { return m_flags & SUB_INDICATE; }
+
291 bool isSecured() const { return m_flags & SECURE; }
+
292 bool isAwaitingSecure() const { return m_flags & AWAITING_SECURE; }
+
293
+
294 private:
+
295 uint16_t m_connHandle{BLE_HS_CONN_HANDLE_NONE};
+
296 uint8_t m_flags{0};
+
297 } __attribute__((packed));
+
298
+
299 using SubPeerArray = std::array<SubPeerEntry, MYNEWT_VAL(BLE_MAX_CONNECTIONS)>;
+
300 SubPeerArray getSubscribers() const { return m_subPeers; }
+
301 void processSubRequest(NimBLEConnInfo& connInfo, uint8_t subVal) const;
+
302 void updatePeerStatus(const NimBLEConnInfo& peerInfo) const;
+
303
+
304 NimBLECharacteristicCallbacks* m_pCallbacks{nullptr};
+
305 NimBLEService* m_pService{nullptr};
+
306 std::vector<NimBLEDescriptor*> m_vDescriptors{};
+
307 mutable SubPeerArray m_subPeers{};
+
308}; // NimBLECharacteristic
+
309
+
317class NimBLECharacteristicCallbacks {
+
318 public:
+
319 virtual ~NimBLECharacteristicCallbacks() {}
+
320 virtual void onRead(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
+
321 virtual void onWrite(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
+
322 virtual void onStatus(NimBLECharacteristic* pCharacteristic, int code); // deprecated
+
323 virtual void onStatus(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, int code);
+
324 virtual void onSubscribe(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, uint16_t subValue);
+
325};
+
326
+
327#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
328#endif // NIMBLE_CPP_CHARACTERISTIC_H_
+
Connection information.
Definition NimBLEConnInfo.h:33
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 8db3b4d..d7300be 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.3 +
esp-nimble-cpp 2.4.0
@@ -256,23 +256,25 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_client_8h_source.html','');
183
188 virtual void onPassKeyEntry(NimBLEConnInfo& connInfo);
189
-
195 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
+
195 virtual uint32_t onPassKeyDisplay(NimBLEConnInfo& connInfo);
196
-
202 virtual void onConfirmPasskey(NimBLEConnInfo& connInfo, uint32_t pin);
+
202 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
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};
-
231
-
232#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
233#endif // NIMBLE_CPP_CLIENT_H_
+
209 virtual void onConfirmPasskey(NimBLEConnInfo& connInfo, uint32_t pin);
+
210
+
215 virtual void onIdentity(NimBLEConnInfo& connInfo);
+
216
+
223 virtual void onMTUChange(NimBLEClient* pClient, uint16_t MTU);
+
224
+
236 virtual void onPhyUpdate(NimBLEClient* pClient, uint8_t txPhy, uint8_t rxPhy);
+
237};
+
238
+
239#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
240#endif // NIMBLE_CPP_CLIENT_H_
A BLE device address.
Definition NimBLEAddress.h:42
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:90
-
Connection information.
Definition NimBLEConnInfo.h:32
-
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:116
+
Connection information.
Definition NimBLEConnInfo.h:33
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:119
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:53
diff --git a/_nim_b_l_e_conn_info_8h_source.html b/_nim_b_l_e_conn_info_8h_source.html index 7cb0126..e687add 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.3 +
esp-nimble-cpp 2.4.0
@@ -124,64 +124,102 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_conn_info_8h_source.html','
25#endif
26
27#include "NimBLEAddress.h"
-
28
-
- -
33 public:
-
35 NimBLEAddress getAddress() const { return NimBLEAddress(m_desc.peer_ota_addr); }
-
36
-
38 NimBLEAddress getIdAddress() const { return NimBLEAddress(m_desc.peer_id_addr); }
-
39
-
41 uint16_t getConnHandle() const { return m_desc.conn_handle; }
-
42
-
44 uint16_t getConnInterval() const { return m_desc.conn_itvl; }
-
45
-
47 uint16_t getConnTimeout() const { return m_desc.supervision_timeout; }
-
48
-
50 uint16_t getConnLatency() const { return m_desc.conn_latency; }
-
51
-
53 uint16_t getMTU() const { return ble_att_mtu(m_desc.conn_handle); }
-
54
-
56 bool isMaster() const { return (m_desc.role == BLE_GAP_ROLE_MASTER); }
-
57
-
59 bool isSlave() const { return (m_desc.role == BLE_GAP_ROLE_SLAVE); }
-
60
-
62 bool isBonded() const { return (m_desc.sec_state.bonded == 1); }
-
63
-
65 bool isEncrypted() const { return (m_desc.sec_state.encrypted == 1); }
-
66
-
68 bool isAuthenticated() const { return (m_desc.sec_state.authenticated == 1); }
-
69
-
71 uint8_t getSecKeySize() const { return m_desc.sec_state.key_size; }
-
72
-
73 private:
-
74 friend class NimBLEServer;
-
75 friend class NimBLEClient;
-
76 friend class NimBLECharacteristic;
-
77 friend class NimBLEDescriptor;
-
78
-
79 ble_gap_conn_desc m_desc{};
-
80 NimBLEConnInfo() {};
-
81 NimBLEConnInfo(ble_gap_conn_desc desc) { m_desc = desc; }
-
82};
+
28#include <cstdio>
+
29
+
+ +
34 public:
+
36 NimBLEAddress getAddress() const { return NimBLEAddress(m_desc.peer_ota_addr); }
+
37
+
39 NimBLEAddress getIdAddress() const { return NimBLEAddress(m_desc.peer_id_addr); }
+
40
+
42 uint16_t getConnHandle() const { return m_desc.conn_handle; }
+
43
+
45 uint16_t getConnInterval() const { return m_desc.conn_itvl; }
+
46
+
48 uint16_t getConnTimeout() const { return m_desc.supervision_timeout; }
+
49
+
51 uint16_t getConnLatency() const { return m_desc.conn_latency; }
+
52
+
54 uint16_t getMTU() const { return ble_att_mtu(m_desc.conn_handle); }
+
55
+
57 bool isMaster() const { return (m_desc.role == BLE_GAP_ROLE_MASTER); }
+
58
+
60 bool isSlave() const { return (m_desc.role == BLE_GAP_ROLE_SLAVE); }
+
61
+
63 bool isBonded() const { return (m_desc.sec_state.bonded == 1); }
+
64
+
66 bool isEncrypted() const { return (m_desc.sec_state.encrypted == 1); }
+
67
+
69 bool isAuthenticated() const { return (m_desc.sec_state.authenticated == 1); }
+
70
+
72 uint8_t getSecKeySize() const { return m_desc.sec_state.key_size; }
+
73
+
+
75 std::string toString() const {
+
76 std::string str;
+
77 // 294 chars max expected from all labels + worst-case values, round up to 300.
+
78 str.resize(300);
+
79
+
80 snprintf(&str[0],
+
81 str.size(),
+
82 " Address: %s\n"
+
83 " ID Address: %s\n"
+
84 " Connection Handle: %u\n"
+
85 " Connection Interval: %.1f ms\n"
+
86 " Connection Timeout: %u ms\n"
+
87 " Connection Latency: %u\n"
+
88 " MTU: %u bytes\n"
+
89 " Role: %s\n"
+
90 " Bonded: %s\n"
+
91 " Encrypted: %s\n"
+
92 " Authenticated: %s\n"
+
93 " Security Key Size: %u\n",
+
94 getAddress().toString().c_str(),
+
95 getIdAddress().toString().c_str(),
+ +
97 getConnInterval() * 1.25f,
+
98 getConnTimeout() * 10,
+ +
100 getMTU(),
+
101 isMaster() ? "Master" : "Slave",
+
102 isBonded() ? "Yes" : "No",
+
103 isEncrypted() ? "Yes" : "No",
+
104 isAuthenticated() ? "Yes" : "No",
+
105 getSecKeySize());
+
106 return str;
+
107 }
-
83
-
84#endif // NIMBLE_CPP_CONNINFO_H_
+
108
+
109 private:
+
110 friend class NimBLEServer;
+
111 friend class NimBLEClient;
+
112 friend class NimBLECharacteristic;
+
113 friend class NimBLEDescriptor;
+
114
+
115 ble_gap_conn_desc m_desc{};
+
116 NimBLEConnInfo() {};
+
117 NimBLEConnInfo(ble_gap_conn_desc desc) { m_desc = desc; }
+
118};
+
+
119
+
120#endif // NIMBLE_CPP_CONNINFO_H_
A BLE device address.
Definition NimBLEAddress.h:42
-
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
-
NimBLEAddress getAddress() const
Gets the over-the-air address of the connected peer.
Definition NimBLEConnInfo.h:35
-
uint16_t getMTU() const
Gets the maximum transmission unit size for this connection (in bytes)
Definition NimBLEConnInfo.h:53
-
NimBLEAddress getIdAddress() const
Gets the ID address of the connected peer.
Definition NimBLEConnInfo.h:38
-
bool isEncrypted() const
Check if the connection in encrypted.
Definition NimBLEConnInfo.h:65
-
uint8_t getSecKeySize() const
Gets the key size used to encrypt the connection.
Definition NimBLEConnInfo.h:71
-
bool isMaster() const
Check if we are in the master role in this connection.
Definition NimBLEConnInfo.h:56
-
bool isAuthenticated() const
Check if the the connection has been authenticated.
Definition NimBLEConnInfo.h:68
-
uint16_t getConnHandle() const
Gets the connection handle (also known as the connection id) of the connected peer.
Definition NimBLEConnInfo.h:41
-
uint16_t getConnTimeout() const
Gets the supervision timeout for this connection (in 10ms units)
Definition NimBLEConnInfo.h:47
-
uint16_t getConnInterval() const
Gets the connection interval for this connection (in 1.25ms units)
Definition NimBLEConnInfo.h:44
-
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
+
Connection information.
Definition NimBLEConnInfo.h:33
+
uint16_t getConnLatency() const
Gets the allowable latency for this connection (unit = number of intervals)
Definition NimBLEConnInfo.h:51
+
NimBLEAddress getAddress() const
Gets the over-the-air address of the connected peer.
Definition NimBLEConnInfo.h:36
+
uint16_t getMTU() const
Gets the maximum transmission unit size for this connection (in bytes)
Definition NimBLEConnInfo.h:54
+
NimBLEAddress getIdAddress() const
Gets the ID address of the connected peer.
Definition NimBLEConnInfo.h:39
+
bool isEncrypted() const
Check if the connection in encrypted.
Definition NimBLEConnInfo.h:66
+
uint8_t getSecKeySize() const
Gets the key size used to encrypt the connection.
Definition NimBLEConnInfo.h:72
+
bool isMaster() const
Check if we are in the master role in this connection.
Definition NimBLEConnInfo.h:57
+
std::string toString() const
Get a string representation of the connection info, useful for debugging.
Definition NimBLEConnInfo.h:75
+
bool isAuthenticated() const
Check if the the connection has been authenticated.
Definition NimBLEConnInfo.h:69
+
uint16_t getConnHandle() const
Gets the connection handle (also known as the connection id) of the connected peer.
Definition NimBLEConnInfo.h:42
+
uint16_t getConnTimeout() const
Gets the supervision timeout for this connection (in 10ms units)
Definition NimBLEConnInfo.h:48
+
uint16_t getConnInterval() const
Gets the connection interval for this connection (in 1.25ms units)
Definition NimBLEConnInfo.h:45
+
bool isSlave() const
Check if we are in the slave role in this connection.
Definition NimBLEConnInfo.h:60
+
bool isBonded() const
Check if we are connected to a bonded peer.
Definition NimBLEConnInfo.h:63
diff --git a/_nim_b_l_e_cpp_version_8h_source.html b/_nim_b_l_e_cpp_version_8h_source.html new file mode 100644 index 0000000..a155f69 --- /dev/null +++ b/_nim_b_l_e_cpp_version_8h_source.html @@ -0,0 +1,159 @@ + + + + + + + +esp-nimble-cpp: /github/workspace/src/NimBLECppVersion.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
esp-nimble-cpp 2.4.0 +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NimBLECppVersion.h
+
+
+
1/*
+
2 * Copyright 2020-2025 Ryan Powell <ryan@nable-embedded.io> and
+
3 * esp-nimble-cpp, NimBLE-Arduino contributors.
+
4 *
+
5 * Licensed under the Apache License, Version 2.0 (the "License");
+
6 * you may not use this file except in compliance with the License.
+
7 * You may obtain a copy of the License at
+
8 *
+
9 * http://www.apache.org/licenses/LICENSE-2.0
+
10 *
+
11 * Unless required by applicable law or agreed to in writing, software
+
12 * distributed under the License is distributed on an "AS IS" BASIS,
+
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
14 * See the License for the specific language governing permissions and
+
15 * limitations under the License.
+
16 */
+
17
+
18#ifndef NIMBLE_CPP_VERSION_H_
+
19#define NIMBLE_CPP_VERSION_H_
+
20
+
22#define NIMBLE_CPP_VERSION_MAJOR 2
+
23
+
25#define NIMBLE_CPP_VERSION_MINOR 4
+
26
+
28#define NIMBLE_CPP_VERSION_PATCH 0
+
29
+
42#define NIMBLE_CPP_VERSION_VAL(major, minor, patch) (((major) << 16) | ((minor) << 8) | (patch))
+
43
+
48#define NIMBLE_CPP_VERSION \
+
49 NIMBLE_CPP_VERSION_VAL(NIMBLE_CPP_VERSION_MAJOR, NIMBLE_CPP_VERSION_MINOR, NIMBLE_CPP_VERSION_PATCH)
+
50
+
52#define NIMBLE_CPP_VERSION_STRINGIFY_IMPL(x) #x
+
53#define NIMBLE_CPP_VERSION_STRINGIFY(x) NIMBLE_CPP_VERSION_STRINGIFY_IMPL(x)
+
60#ifndef NIMBLE_CPP_VERSION_PRERELEASE
+
61# define NIMBLE_CPP_VERSION_PRERELEASE ""
+
62#endif
+
63
+
68#ifndef NIMBLE_CPP_VERSION_BUILD_METADATA
+
69# define NIMBLE_CPP_VERSION_BUILD_METADATA ""
+
70#endif
+
71
+
73#define NIMBLE_CPP_VERSION_STR \
+
74 "NimBLE-CPP " \
+
75 NIMBLE_CPP_VERSION_STRINGIFY(NIMBLE_CPP_VERSION_MAJOR) "." \
+
76 NIMBLE_CPP_VERSION_STRINGIFY(NIMBLE_CPP_VERSION_MINOR) "." \
+
77 NIMBLE_CPP_VERSION_STRINGIFY(NIMBLE_CPP_VERSION_PATCH) \
+
78 NIMBLE_CPP_VERSION_PRERELEASE NIMBLE_CPP_VERSION_BUILD_METADATA
+
79
+
80#endif // NIMBLE_CPP_VERSION_H_
+
+
+ + + + diff --git a/_nim_b_l_e_descriptor_8h_source.html b/_nim_b_l_e_descriptor_8h_source.html index 77074d7..85613dc 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.3 +
esp-nimble-cpp 2.4.0
@@ -163,7 +163,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_descriptor_8h_source.html',
74
75#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
76#endif // NIMBLE_CPP_DESCRIPTOR_H_
-
Connection information.
Definition NimBLEConnInfo.h:32
+
Connection information.
Definition NimBLEConnInfo.h:33
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 dd8adff..c0d91b5 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.3 +
esp-nimble-cpp 2.4.0
@@ -117,342 +117,348 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
18#ifndef NIMBLE_CPP_DEVICE_H_
19#define NIMBLE_CPP_DEVICE_H_
20
-
21#include "syscfg/syscfg.h"
-
22#if CONFIG_BT_NIMBLE_ENABLED
-
23# ifdef ESP_PLATFORM
-
24# ifndef CONFIG_IDF_TARGET_ESP32P4
-
25# include <esp_bt.h>
-
26# endif
-
27# endif
-
28
-
29# if defined(CONFIG_NIMBLE_CPP_IDF)
-
30# include <host/ble_gap.h>
-
31# else
-
32# include <nimble/nimble/host/include/host/ble_gap.h>
-
33# endif
-
34
-
35/**** FIX COMPILATION ****/
-
36# undef min
-
37# undef max
-
38/**************************/
-
39
-
40# include <string>
-
41# include <vector>
+
21#include "NimBLECppVersion.h"
+
22#include "syscfg/syscfg.h"
+
23#if CONFIG_BT_NIMBLE_ENABLED
+
24# ifdef ESP_PLATFORM
+
25# ifndef CONFIG_IDF_TARGET_ESP32P4
+
26# include <esp_bt.h>
+
27# endif
+
28# define NIMBLE_CPP_SCAN_DUPL_ENABLED \
+
29 (CONFIG_BTDM_BLE_SCAN_DUPL || CONFIG_BT_LE_SCAN_DUPL || CONFIG_BT_CTRL_BLE_SCAN_DUPL)
+
30# endif
+
31
+
32# if defined(CONFIG_NIMBLE_CPP_IDF)
+
33# include <host/ble_gap.h>
+
34# else
+
35# include <nimble/nimble/host/include/host/ble_gap.h>
+
36# endif
+
37
+
38/**** FIX COMPILATION ****/
+
39# undef min
+
40# undef max
+
41/**************************/
42
-
43# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
44# include <array>
-
45class NimBLEClient;
-
46# endif
-
47
-
48# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
-
49class NimBLEScan;
-
50# endif
-
51
-
52# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
-
53# if MYNEWT_VAL(BLE_EXT_ADV)
-
54class NimBLEExtAdvertising;
-
55# else
- -
57# endif
-
58# endif
-
59
-
60# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
61class NimBLEServer;
-
62# if MYNEWT_VAL(BLE_L2CAP_COC_MAX_NUM)
-
63class NimBLEL2CAPServer;
-
64# endif
-
65# endif
-
66
-
67# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL) || MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
68class NimBLEConnInfo;
-
69# endif
-
70
-
71class NimBLEAddress;
- +
43# include <string>
+
44# include <vector>
+
45
+
46# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
47# include <array>
+
48class NimBLEClient;
+
49# endif
+
50
+
51# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
+
52class NimBLEScan;
+
53# endif
+
54
+
55# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
+
56# if MYNEWT_VAL(BLE_EXT_ADV)
+
57class NimBLEExtAdvertising;
+
58# else
+ +
60# endif
+
61# endif
+
62
+
63# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
64class NimBLEServer;
+
65# if MYNEWT_VAL(BLE_L2CAP_COC_MAX_NUM)
+
66class NimBLEL2CAPServer;
+
67# endif
+
68# endif
+
69
+
70# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL) || MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
71class NimBLEConnInfo;
+
72# endif
73
-
74# define BLEDevice NimBLEDevice
-
75# define BLEClient NimBLEClient
-
76# define BLERemoteService NimBLERemoteService
-
77# define BLERemoteCharacteristic NimBLERemoteCharacteristic
-
78# define BLERemoteDescriptor NimBLERemoteDescriptor
-
79# define BLEAdvertisedDevice NimBLEAdvertisedDevice
-
80# define BLEScan NimBLEScan
-
81# define BLEUUID NimBLEUUID
-
82# define BLEAddress NimBLEAddress
-
83# define BLEUtils NimBLEUtils
-
84# define BLEClientCallbacks NimBLEClientCallbacks
-
85# define BLEAdvertisedDeviceCallbacks NimBLEScanCallbacks
-
86# define BLEScanResults NimBLEScanResults
-
87# define BLEServer NimBLEServer
-
88# define BLEService NimBLEService
-
89# define BLECharacteristic NimBLECharacteristic
-
90# define BLEAdvertising NimBLEAdvertising
-
91# define BLEServerCallbacks NimBLEServerCallbacks
-
92# define BLECharacteristicCallbacks NimBLECharacteristicCallbacks
-
93# define BLEAdvertisementData NimBLEAdvertisementData
-
94# define BLEDescriptor NimBLEDescriptor
-
95# define BLE2904 NimBLE2904
-
96# define BLEDescriptorCallbacks NimBLEDescriptorCallbacks
-
97# define BLEBeacon NimBLEBeacon
-
98# define BLEEddystoneTLM NimBLEEddystoneTLM
-
99# define BLEEddystoneURL NimBLEEddystoneURL
-
100# define BLEConnInfo NimBLEConnInfo
-
101# define BLEL2CAPServer NimBLEL2CAPServer
-
102# define BLEL2CAPService NimBLEL2CAPService
-
103# define BLEL2CAPServiceCallbacks NimBLEL2CAPServiceCallbacks
-
104# define BLEL2CAPClient NimBLEL2CAPClient
-
105# define BLEL2CAPClientCallbacks NimBLEL2CAPClientCallbacks
-
106# define BLEL2CAPChannel NimBLEL2CAPChannel
-
107# define BLEL2CAPChannelCallbacks NimBLEL2CAPChannelCallbacks
-
108
-
109enum class NimBLETxPowerType { All = 0, Advertise = 1, Scan = 2, Connection = 3 };
-
110
-
111typedef int (*gap_event_handler)(ble_gap_event* event, void* arg);
-
112
-
- -
117 public:
-
118 static bool init(const std::string& deviceName);
-
119 static bool deinit(bool clearAll = false);
-
120 static bool setDeviceName(const std::string& deviceName);
-
121 static bool isInitialized();
-
122 static NimBLEAddress getAddress();
-
123 static std::string toString();
-
124 static bool whiteListAdd(const NimBLEAddress& address);
-
125 static bool whiteListRemove(const NimBLEAddress& address);
-
126 static bool onWhiteList(const NimBLEAddress& address);
-
127 static size_t getWhiteListCount();
-
128 static NimBLEAddress getWhiteListAddress(size_t index);
-
129 static bool setOwnAddrType(uint8_t type);
-
130 static bool setOwnAddr(const NimBLEAddress& addr);
-
131 static bool setOwnAddr(const uint8_t* addr);
-
132 static void setDeviceCallbacks(NimBLEDeviceCallbacks* cb);
-
133 static void setScanDuplicateCacheSize(uint16_t cacheSize);
-
134 static void setScanFilterMode(uint8_t type);
-
135 static void setScanDuplicateCacheResetTime(uint16_t time);
-
136 static bool setCustomGapHandler(gap_event_handler handler, void* arg = nullptr);
-
137 static void setSecurityAuth(bool bonding, bool mitm, bool sc);
-
138 static void setSecurityAuth(uint8_t auth);
-
139 static void setSecurityIOCap(uint8_t iocap);
-
140 static void setSecurityInitKey(uint8_t initKey);
-
141 static void setSecurityRespKey(uint8_t respKey);
-
142 static void setSecurityPasskey(uint32_t passKey);
-
143 static uint32_t getSecurityPasskey();
-
144 static bool startSecurity(uint16_t connHandle, int* rcPtr = nullptr);
-
145 static bool setMTU(uint16_t mtu);
-
146 static uint16_t getMTU();
-
147 static void onReset(int reason);
-
148 static void onSync(void);
-
149 static void host_task(void* param);
-
150 static int getPower(NimBLETxPowerType type = NimBLETxPowerType::All);
-
151 static bool setPower(int8_t dbm, NimBLETxPowerType type = NimBLETxPowerType::All);
-
152 static bool setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask);
-
153
-
154# ifdef ESP_PLATFORM
-
155# ifndef CONFIG_IDF_TARGET_ESP32P4
-
156 static esp_power_level_t getPowerLevel(esp_ble_power_type_t powerType = ESP_BLE_PWR_TYPE_DEFAULT);
-
157 static bool setPowerLevel(esp_power_level_t powerLevel, esp_ble_power_type_t powerType = ESP_BLE_PWR_TYPE_DEFAULT);
-
158# endif
-
159# endif
-
160
-
161# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
-
162 static NimBLEScan* getScan();
+
74class NimBLEAddress;
+ +
76
+
77# define BLEDevice NimBLEDevice
+
78# define BLEClient NimBLEClient
+
79# define BLERemoteService NimBLERemoteService
+
80# define BLERemoteCharacteristic NimBLERemoteCharacteristic
+
81# define BLERemoteDescriptor NimBLERemoteDescriptor
+
82# define BLEAdvertisedDevice NimBLEAdvertisedDevice
+
83# define BLEScan NimBLEScan
+
84# define BLEUUID NimBLEUUID
+
85# define BLEAddress NimBLEAddress
+
86# define BLEUtils NimBLEUtils
+
87# define BLEClientCallbacks NimBLEClientCallbacks
+
88# define BLEAdvertisedDeviceCallbacks NimBLEScanCallbacks
+
89# define BLEScanResults NimBLEScanResults
+
90# define BLEServer NimBLEServer
+
91# define BLEService NimBLEService
+
92# define BLECharacteristic NimBLECharacteristic
+
93# define BLEAdvertising NimBLEAdvertising
+
94# define BLEServerCallbacks NimBLEServerCallbacks
+
95# define BLECharacteristicCallbacks NimBLECharacteristicCallbacks
+
96# define BLEAdvertisementData NimBLEAdvertisementData
+
97# define BLEDescriptor NimBLEDescriptor
+
98# define BLE2904 NimBLE2904
+
99# define BLEDescriptorCallbacks NimBLEDescriptorCallbacks
+
100# define BLEBeacon NimBLEBeacon
+
101# define BLEEddystoneTLM NimBLEEddystoneTLM
+
102# define BLEEddystoneURL NimBLEEddystoneURL
+
103# define BLEConnInfo NimBLEConnInfo
+
104# define BLEL2CAPServer NimBLEL2CAPServer
+
105# define BLEL2CAPService NimBLEL2CAPService
+
106# define BLEL2CAPServiceCallbacks NimBLEL2CAPServiceCallbacks
+
107# define BLEL2CAPClient NimBLEL2CAPClient
+
108# define BLEL2CAPClientCallbacks NimBLEL2CAPClientCallbacks
+
109# define BLEL2CAPChannel NimBLEL2CAPChannel
+
110# define BLEL2CAPChannelCallbacks NimBLEL2CAPChannelCallbacks
+
111
+
112enum class NimBLETxPowerType { All = 0, Advertise = 1, Scan = 2, Connection = 3 };
+
113
+
114typedef int (*gap_event_handler)(ble_gap_event* event, void* arg);
+
115
+
+ +
120 public:
+
121 static bool init(const std::string& deviceName);
+
122 static bool deinit(bool clearAll = false);
+
123 static bool setDeviceName(const std::string& deviceName);
+
124 static bool isInitialized();
+
125 static NimBLEAddress getAddress();
+
126 static std::string toString();
+
127 static const char* getVersion();
+
128 static bool whiteListAdd(const NimBLEAddress& address);
+
129 static bool whiteListRemove(const NimBLEAddress& address);
+
130 static bool onWhiteList(const NimBLEAddress& address);
+
131 static size_t getWhiteListCount();
+
132 static NimBLEAddress getWhiteListAddress(size_t index);
+
133 static bool setOwnAddrType(uint8_t type);
+
134 static bool setOwnAddr(const NimBLEAddress& addr);
+
135 static bool setOwnAddr(const uint8_t* addr);
+
136 static void setDeviceCallbacks(NimBLEDeviceCallbacks* cb);
+
137 static void setScanDuplicateCacheSize(uint16_t cacheSize);
+
138 static void setScanFilterMode(uint8_t type);
+
139 static void setScanDuplicateCacheResetTime(uint16_t time);
+
140 static bool setCustomGapHandler(gap_event_handler handler, void* arg = nullptr);
+
141 static void setSecurityAuth(bool bonding, bool mitm, bool sc);
+
142 static void setSecurityAuth(uint8_t auth);
+
143 static void setSecurityIOCap(uint8_t iocap);
+
144 static void setSecurityInitKey(uint8_t initKey);
+
145 static void setSecurityRespKey(uint8_t respKey);
+
146 static void setSecurityPasskey(uint32_t passKey);
+
147 static uint32_t getSecurityPasskey();
+
148 static bool startSecurity(uint16_t connHandle, int* rcPtr = nullptr);
+
149 static bool setMTU(uint16_t mtu);
+
150 static uint16_t getMTU();
+
151 static void onReset(int reason);
+
152 static void onSync(void);
+
153 static void host_task(void* param);
+
154 static int getPower(NimBLETxPowerType type = NimBLETxPowerType::All);
+
155 static bool setPower(int8_t dbm, NimBLETxPowerType type = NimBLETxPowerType::All);
+
156 static bool setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask);
+
157
+
158# ifdef ESP_PLATFORM
+
159# ifndef CONFIG_IDF_TARGET_ESP32P4
+
160 static esp_power_level_t getPowerLevel(esp_ble_power_type_t powerType = ESP_BLE_PWR_TYPE_DEFAULT);
+
161 static bool setPowerLevel(esp_power_level_t powerLevel, esp_ble_power_type_t powerType = ESP_BLE_PWR_TYPE_DEFAULT);
+
162# endif
163# endif
164
-
165# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
166 static NimBLEServer* createServer();
-
167 static NimBLEServer* getServer();
-
168# if MYNEWT_VAL(BLE_L2CAP_COC_MAX_NUM)
-
169 static NimBLEL2CAPServer* createL2CAPServer();
-
170 static NimBLEL2CAPServer* getL2CAPServer();
-
171# endif
-
172# endif
-
173
-
174# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL) || MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
175 static bool injectConfirmPasskey(const NimBLEConnInfo& peerInfo, bool accept);
-
176 static bool injectPassKey(const NimBLEConnInfo& peerInfo, uint32_t pin);
-
177# endif
-
178
-
179# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
-
180# if MYNEWT_VAL(BLE_EXT_ADV)
-
181 static NimBLEExtAdvertising* getAdvertising();
-
182 static bool startAdvertising(uint8_t instId, int duration = 0, int maxEvents = 0);
-
183 static bool stopAdvertising(uint8_t instId);
-
184 static bool stopAdvertising();
-
185# endif
-
186# if !MYNEWT_VAL(BLE_EXT_ADV) || defined(_DOXYGEN_)
-
187 static NimBLEAdvertising* getAdvertising();
-
188 static bool startAdvertising(uint32_t duration = 0);
-
189 static bool stopAdvertising();
-
190# endif
-
191# endif
-
192
-
193# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
194 static NimBLEClient* createClient();
-
195 static NimBLEClient* createClient(const NimBLEAddress& peerAddress);
-
196 static bool deleteClient(NimBLEClient* pClient);
-
197 static NimBLEClient* getClientByHandle(uint16_t connHandle);
-
198 static NimBLEClient* getClientByPeerAddress(const NimBLEAddress& peerAddress);
-
199 static NimBLEClient* getDisconnectedClient();
-
200 static size_t getCreatedClientCount();
-
201 static std::vector<NimBLEClient*> getConnectedClients();
-
202# endif
-
203
-
204# if MYNEWT_VAL(BLE_ROLE_CENTRAL) || MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
205 static bool deleteBond(const NimBLEAddress& address);
-
206 static int getNumBonds();
-
207 static bool isBonded(const NimBLEAddress& address);
-
208 static bool deleteAllBonds();
-
209 static NimBLEAddress getBondedAddress(int index);
-
210# endif
-
211
-
212 private:
-
213 static bool m_synced;
-
214 static bool m_initialized;
-
215 static uint32_t m_passkey;
-
216 static ble_gap_event_listener m_listener;
-
217 static uint8_t m_ownAddrType;
-
218 static std::vector<NimBLEAddress> m_whiteList;
-
219 static NimBLEDeviceCallbacks* m_pDeviceCallbacks;
-
220 static NimBLEDeviceCallbacks defaultDeviceCallbacks;
-
221
-
222# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
-
223 static NimBLEScan* m_pScan;
-
224# endif
+
165# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
+
166 static NimBLEScan* getScan();
+
167# endif
+
168
+
169# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
170 static NimBLEServer* createServer();
+
171 static NimBLEServer* getServer();
+
172# if MYNEWT_VAL(BLE_L2CAP_COC_MAX_NUM)
+
173 static NimBLEL2CAPServer* createL2CAPServer();
+
174 static NimBLEL2CAPServer* getL2CAPServer();
+
175# endif
+
176# endif
+
177
+
178# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL) || MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
179 static bool injectConfirmPasskey(const NimBLEConnInfo& peerInfo, bool accept);
+
180 static bool injectPassKey(const NimBLEConnInfo& peerInfo, uint32_t pin);
+
181# endif
+
182
+
183# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
+
184# if MYNEWT_VAL(BLE_EXT_ADV)
+
185 static NimBLEExtAdvertising* getAdvertising();
+
186 static bool startAdvertising(uint8_t instId, int duration = 0, int maxEvents = 0);
+
187 static bool stopAdvertising(uint8_t instId);
+
188 static bool stopAdvertising();
+
189# endif
+
190# if !MYNEWT_VAL(BLE_EXT_ADV) || defined(_DOXYGEN_)
+
191 static NimBLEAdvertising* getAdvertising();
+
192 static bool startAdvertising(uint32_t duration = 0);
+
193 static bool stopAdvertising();
+
194# endif
+
195# endif
+
196
+
197# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
198 static NimBLEClient* createClient();
+
199 static NimBLEClient* createClient(const NimBLEAddress& peerAddress);
+
200 static bool deleteClient(NimBLEClient* pClient);
+
201 static NimBLEClient* getClientByHandle(uint16_t connHandle);
+
202 static NimBLEClient* getClientByPeerAddress(const NimBLEAddress& peerAddress);
+
203 static NimBLEClient* getDisconnectedClient();
+
204 static size_t getCreatedClientCount();
+
205 static std::vector<NimBLEClient*> getConnectedClients();
+
206# endif
+
207
+
208# if MYNEWT_VAL(BLE_ROLE_CENTRAL) || MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
209 static bool deleteBond(const NimBLEAddress& address);
+
210 static int getNumBonds();
+
211 static bool isBonded(const NimBLEAddress& address);
+
212 static bool deleteAllBonds();
+
213 static NimBLEAddress getBondedAddress(int index);
+
214# endif
+
215
+
216 private:
+
217 static bool m_synced;
+
218 static bool m_initialized;
+
219 static uint32_t m_passkey;
+
220 static ble_gap_event_listener m_listener;
+
221 static uint8_t m_ownAddrType;
+
222 static std::vector<NimBLEAddress> m_whiteList;
+
223 static NimBLEDeviceCallbacks* m_pDeviceCallbacks;
+
224 static NimBLEDeviceCallbacks defaultDeviceCallbacks;
225
-
226# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
227 static NimBLEServer* m_pServer;
-
228# if MYNEWT_VAL(BLE_L2CAP_COC_MAX_NUM)
-
229 static NimBLEL2CAPServer* m_pL2CAPServer;
-
230# endif
-
231# endif
-
232
-
233# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
-
234# if MYNEWT_VAL(BLE_EXT_ADV)
-
235 static NimBLEExtAdvertising* m_bleAdvertising;
-
236# else
-
237 static NimBLEAdvertising* m_bleAdvertising;
-
238# endif
-
239# endif
-
240
-
241# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
242 static std::array<NimBLEClient*, MYNEWT_VAL(BLE_MAX_CONNECTIONS)> m_pClients;
+
226# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
+
227 static NimBLEScan* m_pScan;
+
228# endif
+
229
+
230# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
231 static NimBLEServer* m_pServer;
+
232# if MYNEWT_VAL(BLE_L2CAP_COC_MAX_NUM)
+
233 static NimBLEL2CAPServer* m_pL2CAPServer;
+
234# endif
+
235# endif
+
236
+
237# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
+
238# if MYNEWT_VAL(BLE_EXT_ADV)
+
239 static NimBLEExtAdvertising* m_bleAdvertising;
+
240# else
+
241 static NimBLEAdvertising* m_bleAdvertising;
+
242# endif
243# endif
244
-
245# ifdef ESP_PLATFORM
-
246# if CONFIG_BTDM_BLE_SCAN_DUPL || CONFIG_BT_LE_SCAN_DUPL
-
247 static uint16_t m_scanDuplicateSize;
-
248 static uint8_t m_scanFilterMode;
-
249 static uint16_t m_scanDuplicateResetTime;
-
250# endif
-
251# endif
-
252
-
253# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
254 friend class NimBLEClient;
+
245# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
246 static std::array<NimBLEClient*, MYNEWT_VAL(BLE_MAX_CONNECTIONS)> m_pClients;
+
247# endif
+
248
+
249# ifdef ESP_PLATFORM
+
250# if NIMBLE_CPP_SCAN_DUPL_ENABLED
+
251 static uint16_t m_scanDuplicateSize;
+
252 static uint8_t m_scanFilterMode;
+
253 static uint16_t m_scanDuplicateResetTime;
+
254# endif
255# endif
256
-
257# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
-
258 friend class NimBLEScan;
+
257# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
258 friend class NimBLEClient;
259# endif
260
-
261# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
262 friend class NimBLEServer;
-
263 friend class NimBLECharacteristic;
-
264# endif
-
265
-
266# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
-
267 friend class NimBLEAdvertising;
-
268# if MYNEWT_VAL(BLE_EXT_ADV)
-
269 friend class NimBLEExtAdvertising;
-
270 friend class NimBLEExtAdvertisement;
-
271# endif
-
272# endif
-
273};
+
261# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
+
262 friend class NimBLEScan;
+
263# endif
+
264
+
265# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
266 friend class NimBLEServer;
+
267 friend class NimBLECharacteristic;
+
268# endif
+
269
+
270# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
+
271 friend class NimBLEAdvertising;
+
272# if MYNEWT_VAL(BLE_EXT_ADV)
+
273 friend class NimBLEExtAdvertising;
+
274 friend class NimBLEExtAdvertisement;
+
275# endif
+
276# endif
+
277};
-
274
-
275# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
276# include "NimBLEClient.h"
-
277# include "NimBLERemoteService.h"
-
278# include "NimBLERemoteCharacteristic.h"
-
279# include "NimBLERemoteDescriptor.h"
-
280# endif
-
281
-
282# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
-
283# include "NimBLEScan.h"
+
278
+
279# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
280# include "NimBLEClient.h"
+
281# include "NimBLERemoteService.h"
+
282# include "NimBLERemoteCharacteristic.h"
+
283# include "NimBLERemoteDescriptor.h"
284# endif
285
-
286# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
287# include "NimBLEServer.h"
-
288# include "NimBLEService.h"
-
289# include "NimBLECharacteristic.h"
-
290# include "NimBLEDescriptor.h"
-
291# if MYNEWT_VAL(BLE_L2CAP_COC_MAX_NUM)
-
292# include "NimBLEL2CAPServer.h"
-
293# include "NimBLEL2CAPChannel.h"
-
294# endif
-
295# endif
-
296
-
297# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
-
298# if MYNEWT_VAL(BLE_EXT_ADV)
-
299# include "NimBLEExtAdvertising.h"
-
300# else
-
301# include "NimBLEAdvertising.h"
-
302# endif
-
303# endif
-
304
-
305# if MYNEWT_VAL(BLE_ROLE_CENTRAL) || MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
306# include "NimBLEConnInfo.h"
+
286# if MYNEWT_VAL(BLE_ROLE_OBSERVER)
+
287# include "NimBLEScan.h"
+
288# endif
+
289
+
290# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
291# include "NimBLEServer.h"
+
292# include "NimBLEService.h"
+
293# include "NimBLECharacteristic.h"
+
294# include "NimBLEDescriptor.h"
+
295# if MYNEWT_VAL(BLE_L2CAP_COC_MAX_NUM)
+
296# include "NimBLEL2CAPServer.h"
+
297# include "NimBLEL2CAPChannel.h"
+
298# endif
+
299# endif
+
300
+
301# if MYNEWT_VAL(BLE_ROLE_BROADCASTER)
+
302# if MYNEWT_VAL(BLE_EXT_ADV)
+
303# include "NimBLEExtAdvertising.h"
+
304# else
+
305# include "NimBLEAdvertising.h"
+
306# endif
307# endif
308
-
309# include "NimBLEAddress.h"
-
310# include "NimBLEUtils.h"
-
311
-
- -
316 public:
-
317 virtual ~NimBLEDeviceCallbacks() {};
-
318
-
331 virtual int onStoreStatus(struct ble_store_status_event* event, void* arg);
-
332};
+
309# if MYNEWT_VAL(BLE_ROLE_CENTRAL) || MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
310# include "NimBLEConnInfo.h"
+
311# include "NimBLEStream.h"
+
312# endif
+
313
+
314# include "NimBLEAddress.h"
+
315# include "NimBLEUtils.h"
+
316
+
+ +
321 public:
+
322 virtual ~NimBLEDeviceCallbacks() {};
+
323
+
336 virtual int onStoreStatus(struct ble_store_status_event* event, void* arg);
+
337};
-
333
-
334#endif // CONFIG_BT_NIMBLE_ENABLED
-
335#endif // NIMBLE_CPP_DEVICE_H_
+
338
+
339#endif // CONFIG_BT_NIMBLE_ENABLED
+
340#endif // NIMBLE_CPP_DEVICE_H_
A BLE device address.
Definition NimBLEAddress.h:42
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:51
-
Connection information.
Definition NimBLEConnInfo.h:32
-
Callbacks associated with a BLE device.
Definition NimBLEDevice.h:315
-
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:1346
-
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:116
-
static void onSync(void)
Host synced with controller, all clear to make calls to the stack.
Definition NimBLEDevice.cpp:821
-
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:1133
-
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 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:1104
-
static bool isInitialized()
Check if the initialization is complete.
Definition NimBLEDevice.cpp:1070
-
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 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:1009
-
static NimBLEAddress getAddress()
Get our device address.
Definition NimBLEDevice.cpp:1082
-
static bool whiteListRemove(const NimBLEAddress &address)
Remove a peer address from the whitelist.
Definition NimBLEDevice.cpp:737
-
static bool startSecurity(uint16_t connHandle, int *rcPtr=nullptr)
Start the connection securing and authorization for this connection.
Definition NimBLEDevice.cpp:1246
-
static uint32_t getSecurityPasskey()
Get the current passkey used for pairing.
Definition NimBLEDevice.cpp:1236
-
static void setSecurityAuth(bool bonding, bool mitm, bool sc)
Set the authorization mode for this device.
Definition NimBLEDevice.cpp:1163
-
static bool setDeviceName(const std::string &deviceName)
Set the BLEDevice name.
Definition NimBLEDevice.cpp:1292
-
static bool whiteListAdd(const NimBLEAddress &address)
Add a peer address to the whitelist.
Definition NimBLEDevice.cpp:718
-
static bool setCustomGapHandler(gap_event_handler handler, void *arg=nullptr)
Set a custom callback for gap events.
Definition NimBLEDevice.cpp:1309
-
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:1207
-
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:1228
-
static void setSecurityRespKey(uint8_t respKey)
Set the keys we are willing to accept during pairing.
Definition NimBLEDevice.cpp:1220
-
static void setSecurityIOCap(uint8_t iocap)
Set the Input/Output capabilities of this device.
Definition NimBLEDevice.cpp:1194
-
static std::string toString()
Return a string representation of the address of this device.
Definition NimBLEDevice.cpp:1325
-
static bool setPower(int8_t dbm, NimBLETxPowerType type=NimBLETxPowerType::All)
Retrieve the Scan object that we use for scanning.
Definition NimBLEDevice.cpp:511
-
static bool onWhiteList(const NimBLEAddress &address)
Checks if a peer device is whitelisted.
Definition NimBLEDevice.cpp:703
+
Connection information.
Definition NimBLEConnInfo.h:33
+
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:1381
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:119
+
static void onSync(void)
Host synced with controller, all clear to make calls to the stack.
Definition NimBLEDevice.cpp:828
+
static bool setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask)
Set the preferred default phy to use for connections.
Definition NimBLEDevice.cpp:802
+
static bool setOwnAddr(const NimBLEAddress &addr)
Set the device address to use.
Definition NimBLEDevice.cpp:1146
+
static void onReset(int reason)
Host reset, we pass the message so we don't make calls until re-synced.
Definition NimBLEDevice.cpp:815
+
static bool init(const std::string &deviceName)
Initialize the BLE environment.
Definition NimBLEDevice.cpp:887
+
static bool setOwnAddrType(uint8_t type)
Sets the address type to use.
Definition NimBLEDevice.cpp:1117
+
static bool isInitialized()
Check if the initialization is complete.
Definition NimBLEDevice.cpp:1083
+
static bool setMTU(uint16_t mtu)
Setup local mtu that will be used to negotiate mtu during request from client peer.
Definition NimBLEDevice.cpp:588
+
static NimBLEAddress getWhiteListAddress(size_t index)
Gets the address at the vector index.
Definition NimBLEDevice.cpp:775
+
static uint16_t getMTU()
Get local MTU value set.
Definition NimBLEDevice.cpp:601
+
static int getPower(NimBLETxPowerType type=NimBLETxPowerType::All)
Get the transmission power.
Definition NimBLEDevice.cpp:547
+
static bool deinit(bool clearAll=false)
Shutdown the NimBLE stack/controller.
Definition NimBLEDevice.cpp:1022
+
static NimBLEAddress getAddress()
Get our device address.
Definition NimBLEDevice.cpp:1095
+
static bool whiteListRemove(const NimBLEAddress &address)
Remove a peer address from the whitelist.
Definition NimBLEDevice.cpp:744
+
static bool startSecurity(uint16_t connHandle, int *rcPtr=nullptr)
Start the connection securing and authorization for this connection.
Definition NimBLEDevice.cpp:1259
+
static uint32_t getSecurityPasskey()
Get the current passkey used for pairing.
Definition NimBLEDevice.cpp:1249
+
static void setSecurityAuth(bool bonding, bool mitm, bool sc)
Set the authorization mode for this device.
Definition NimBLEDevice.cpp:1176
+
static bool setDeviceName(const std::string &deviceName)
Set the BLEDevice name.
Definition NimBLEDevice.cpp:1319
+
static bool whiteListAdd(const NimBLEAddress &address)
Add a peer address to the whitelist.
Definition NimBLEDevice.cpp:725
+
static bool setCustomGapHandler(gap_event_handler handler, void *arg=nullptr)
Set a custom callback for gap events.
Definition NimBLEDevice.cpp:1336
+
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:1220
+
static size_t getWhiteListCount()
Gets the count of addresses in the whitelist.
Definition NimBLEDevice.cpp:766
+
static void host_task(void *param)
The main host task.
Definition NimBLEDevice.cpp:877
+
static void setSecurityPasskey(uint32_t passKey)
Set the passkey the server will ask for when pairing.
Definition NimBLEDevice.cpp:1241
+
static void setSecurityRespKey(uint8_t respKey)
Set the keys we are willing to accept during pairing.
Definition NimBLEDevice.cpp:1233
+
static void setSecurityIOCap(uint8_t iocap)
Set the Input/Output capabilities of this device.
Definition NimBLEDevice.cpp:1207
+
static std::string toString()
Return a string representation of the address of this device.
Definition NimBLEDevice.cpp:1352
+
static bool setPower(int8_t dbm, NimBLETxPowerType type=NimBLETxPowerType::All)
Retrieve the Scan object that we use for scanning.
Definition NimBLEDevice.cpp:504
+
static bool onWhiteList(const NimBLEAddress &address)
Checks if a peer device is whitelisted.
Definition NimBLEDevice.cpp:710
+
static const char * getVersion()
Return the library version as a string.
Definition NimBLEDevice.cpp:1360
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 f039006..77c453e 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_ext_advertising_8h_source.html b/_nim_b_l_e_ext_advertising_8h_source.html index 78cec78..756e9f6 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.3 +
esp-nimble-cpp 2.4.0
@@ -239,7 +239,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_ext_advertising_8h_source.h
162#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_BROADCASTER) && MYNEWT_VAL(BLE_EXT_ADV)
163#endif // NIMBLE_CPP_EXTADVERTISING_H_
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:116
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:119
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 05e89be..73cfbe5 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.3 +
esp-nimble-cpp 2.4.0
@@ -145,44 +145,45 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_h_i_d_device_8h_source.html
49 NimBLEHIDDevice(NimBLEServer* server);
50
51 void setReportMap(uint8_t* map, uint16_t);
-
52 void startServices();
-
53 bool setManufacturer(const std::string& name);
-
54 void setPnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version);
-
55 void setHidInfo(uint8_t country, uint8_t flags);
-
56 void setBatteryLevel(uint8_t level, bool notify = false);
-
57 NimBLECharacteristic* getBatteryLevel();
-
58 NimBLECharacteristic* getReportMap();
-
59 NimBLECharacteristic* getHidControl();
-
60 NimBLECharacteristic* getInputReport(uint8_t reportId);
-
61 NimBLECharacteristic* getOutputReport(uint8_t reportId);
-
62 NimBLECharacteristic* getFeatureReport(uint8_t reportId);
-
63 NimBLECharacteristic* getProtocolMode();
-
64 NimBLECharacteristic* getBootInput();
-
65 NimBLECharacteristic* getBootOutput();
-
66 NimBLECharacteristic* getPnp();
-
67 NimBLECharacteristic* getHidInfo();
-
68 NimBLEService* getDeviceInfoService();
-
69 NimBLEService* getHidService();
-
70 NimBLEService* getBatteryService();
-
71
-
72 private:
-
73 NimBLEService* m_deviceInfoSvc{nullptr}; // 0x180a
-
74 NimBLEService* m_hidSvc{nullptr}; // 0x1812
-
75 NimBLEService* m_batterySvc{nullptr}; // 0x180f
-
76
-
77 NimBLECharacteristic* m_manufacturerChr{nullptr}; // 0x2a29
-
78 NimBLECharacteristic* m_pnpChr{nullptr}; // 0x2a50
-
79 NimBLECharacteristic* m_hidInfoChr{nullptr}; // 0x2a4a
-
80 NimBLECharacteristic* m_reportMapChr{nullptr}; // 0x2a4b
-
81 NimBLECharacteristic* m_hidControlChr{nullptr}; // 0x2a4c
-
82 NimBLECharacteristic* m_protocolModeChr{nullptr}; // 0x2a4e
-
83 NimBLECharacteristic* m_batteryLevelChr{nullptr}; // 0x2a19
-
84
-
85 NimBLECharacteristic* locateReportCharacteristicByIdAndType(uint8_t reportId, uint8_t reportType);
-
86};
-
87
-
88#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_BROADCASTER) && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
89#endif // NIMBLE_CPP_HIDDEVICE_H_
+
52 void startServices() __attribute__((deprecated("Services are now started by the server when start() is called, "
+
53 "this function is no longer needed and will be removed in a future release.")));
+
54 bool setManufacturer(const std::string& name);
+
55 void setPnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version);
+
56 void setHidInfo(uint8_t country, uint8_t flags);
+
57 void setBatteryLevel(uint8_t level, bool notify = false);
+
58 NimBLECharacteristic* getBatteryLevel();
+
59 NimBLECharacteristic* getReportMap();
+
60 NimBLECharacteristic* getHidControl();
+
61 NimBLECharacteristic* getInputReport(uint8_t reportId);
+
62 NimBLECharacteristic* getOutputReport(uint8_t reportId);
+
63 NimBLECharacteristic* getFeatureReport(uint8_t reportId);
+
64 NimBLECharacteristic* getProtocolMode();
+
65 NimBLECharacteristic* getBootInput();
+
66 NimBLECharacteristic* getBootOutput();
+
67 NimBLECharacteristic* getPnp();
+
68 NimBLECharacteristic* getHidInfo();
+
69 NimBLEService* getDeviceInfoService();
+
70 NimBLEService* getHidService();
+
71 NimBLEService* getBatteryService();
+
72
+
73 private:
+
74 NimBLEService* m_deviceInfoSvc{nullptr}; // 0x180a
+
75 NimBLEService* m_hidSvc{nullptr}; // 0x1812
+
76 NimBLEService* m_batterySvc{nullptr}; // 0x180f
+
77
+
78 NimBLECharacteristic* m_manufacturerChr{nullptr}; // 0x2a29
+
79 NimBLECharacteristic* m_pnpChr{nullptr}; // 0x2a50
+
80 NimBLECharacteristic* m_hidInfoChr{nullptr}; // 0x2a4a
+
81 NimBLECharacteristic* m_reportMapChr{nullptr}; // 0x2a4b
+
82 NimBLECharacteristic* m_hidControlChr{nullptr}; // 0x2a4c
+
83 NimBLECharacteristic* m_protocolModeChr{nullptr}; // 0x2a4e
+
84 NimBLECharacteristic* m_batteryLevelChr{nullptr}; // 0x2a19
+
85
+
86 NimBLECharacteristic* locateReportCharacteristicByIdAndType(uint8_t reportId, uint8_t reportType);
+
87};
+
88
+
89#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_BROADCASTER) && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
90#endif // NIMBLE_CPP_HIDDEVICE_H_
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 cc13316..662ab98 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.3 +
esp-nimble-cpp 2.4.0
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 2f6e566..e501066 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.3 +
esp-nimble-cpp 2.4.0
@@ -127,7 +127,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_l2_c_a_p_server_8h_source.h
39
40#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_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:116
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:119
diff --git a/_nim_b_l_e_local_attribute_8h_source.html b/_nim_b_l_e_local_attribute_8h_source.html index f509756..264441f 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.3 +
esp-nimble-cpp 2.4.0
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 53ff0bf..20667ab 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.3 +
esp-nimble-cpp 2.4.0
@@ -191,7 +191,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_local_value_attribute_8h_so
143#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
144#endif // NIMBLE_LOCAL_VALUE_ATTRIBUTE_H_
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:90
-
Connection information.
Definition NimBLEConnInfo.h:32
+
Connection information.
Definition NimBLEConnInfo.h:33
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_log_8h_source.html b/_nim_b_l_e_log_8h_source.html index e1f0153..d4204e2 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_remote_characteristic_8h_source.html b/_nim_b_l_e_remote_characteristic_8h_source.html index 67f3057..5b17583 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_remote_descriptor_8h_source.html b/_nim_b_l_e_remote_descriptor_8h_source.html index 9ade4ec..e347473 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_remote_service_8h_source.html b/_nim_b_l_e_remote_service_8h_source.html index 05d35e9..2cad4db 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.3 +
esp-nimble-cpp 2.4.0
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 9838f52..d2c69fe 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_scan_8h_source.html b/_nim_b_l_e_scan_8h_source.html index 8c5bd99..e53970f 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.3 +
esp-nimble-cpp 2.4.0
@@ -210,7 +210,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_scan_8h_source.html',''); i
139#endif // CONFIG_BT_NIMBLE_ENABLED MYNEWT_VAL(BLE_ROLE_OBSERVER)
140#endif // NIMBLE_CPP_SCAN_H_
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:116
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:119
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:53
diff --git a/_nim_b_l_e_server_8h_source.html b/_nim_b_l_e_server_8h_source.html index db50931..99e1283 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.3 +
esp-nimble-cpp 2.4.0
@@ -157,7 +157,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_server_8h_source.html','');
58
62class NimBLEServer {
63 public:
-
64 void start();
+
64 bool 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;
@@ -215,55 +215,58 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_server_8h_source.html','');
119
120 NimBLEServer();
121 ~NimBLEServer();
-
122 static int handleGapEvent(struct ble_gap_event* event, void* arg);
-
123 static int handleGattEvent(uint16_t connHandle, uint16_t attrHandle, ble_gatt_access_ctxt* ctxt, void* arg);
-
124 void serviceChanged();
-
125 void resetGATT();
-
126
-
127 bool m_gattsStarted : 1;
-
128 bool m_svcChanged : 1;
-
129 bool m_deleteCallbacks : 1;
-
130# if !MYNEWT_VAL(BLE_EXT_ADV)
-
131 bool m_advertiseOnDisconnect : 1;
-
132# endif
-
133 NimBLEServerCallbacks* m_pServerCallbacks;
-
134 std::vector<NimBLEService*> m_svcVec;
-
135 std::array<uint16_t, MYNEWT_VAL(BLE_MAX_CONNECTIONS)> m_connectedPeers;
-
136
-
137# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
-
138 NimBLEClient* m_pClient{nullptr};
-
139# endif
-
140}; // NimBLEServer
-
141
-
145class NimBLEServerCallbacks {
-
146 public:
-
147 virtual ~NimBLEServerCallbacks() {};
-
148
-
156 virtual void onConnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo);
-
157
-
166 virtual void onDisconnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo, int reason);
-
167
-
174 virtual void onMTUChange(uint16_t MTU, NimBLEConnInfo& connInfo);
-
175
-
180 virtual uint32_t onPassKeyDisplay();
-
181
-
188 virtual void onConfirmPassKey(NimBLEConnInfo& connInfo, uint32_t pin);
-
189
-
195 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
-
196
-
201 virtual void onIdentity(NimBLEConnInfo& connInfo);
-
202
-
209 virtual void onConnParamsUpdate(NimBLEConnInfo& connInfo);
-
210
-
222 virtual void onPhyUpdate(NimBLEConnInfo& connInfo, uint8_t txPhy, uint8_t rxPhy);
-
223}; // NimBLEServerCallbacks
-
224
-
225#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
226#endif // NIMBLE_CPP_SERVER_H_
+
122 static int handleGapEvent(struct ble_gap_event* event, void* arg);
+
123 static int handleGattEvent(uint16_t connHandle, uint16_t attrHandle, ble_gatt_access_ctxt* ctxt, void* arg);
+
124 static void gattRegisterCallback(struct ble_gatt_register_ctxt* ctxt, void* arg);
+
125 void serviceChanged();
+
126 bool resetGATT();
+
127
+
128 bool m_gattsStarted : 1;
+
129 bool m_svcChanged : 1;
+
130 bool m_deleteCallbacks : 1;
+
131# if !MYNEWT_VAL(BLE_EXT_ADV) && MYNEWT_VAL(BLE_ROLE_BROADCASTER)
+
132 bool m_advertiseOnDisconnect : 1;
+
133# endif
+
134 NimBLEServerCallbacks* m_pServerCallbacks;
+
135 std::vector<NimBLEService*> m_svcVec;
+
136 std::array<uint16_t, MYNEWT_VAL(BLE_MAX_CONNECTIONS)> m_connectedPeers;
+
137
+
138# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
139 NimBLEClient* m_pClient{nullptr};
+
140# endif
+
141}; // NimBLEServer
+
142
+
146class NimBLEServerCallbacks {
+
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
+
181 virtual uint32_t onPassKeyDisplay();
+
182
+
190 virtual void onPassKeyEntry(NimBLEConnInfo& connInfo);
+
191
+
198 virtual void onConfirmPassKey(NimBLEConnInfo& connInfo, uint32_t pin);
+
199
+
205 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
+
206
+
211 virtual void onIdentity(NimBLEConnInfo& connInfo);
+
212
+
219 virtual void onConnParamsUpdate(NimBLEConnInfo& connInfo);
+
220
+
232 virtual void onPhyUpdate(NimBLEConnInfo& connInfo, uint8_t txPhy, uint8_t rxPhy);
+
233}; // NimBLEServerCallbacks
+
234
+
235#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
236#endif // NIMBLE_CPP_SERVER_H_
A BLE device address.
Definition NimBLEAddress.h:42
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:51
-
Connection information.
Definition NimBLEConnInfo.h:32
-
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:116
+
Connection information.
Definition NimBLEConnInfo.h:33
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:119
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 408e9b9..57ba200 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.3 +
esp-nimble-cpp 2.4.0
@@ -132,40 +132,46 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_service_8h_source.html','')
37 NimBLEService(const NimBLEUUID& uuid);
38 ~NimBLEService();
39
-
40 NimBLEServer* getServer() const;
-
41 std::string toString() const;
-
42 void dump() const;
-
43 bool isStarted() const;
-
44 bool start();
-
45 NimBLECharacteristic* createCharacteristic(const char* uuid,
-
46 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
-
47 uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
48
-
49 NimBLECharacteristic* createCharacteristic(const NimBLEUUID& uuid,
-
50 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
-
51 uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
52 void addCharacteristic(NimBLECharacteristic* pCharacteristic);
-
53 void removeCharacteristic(NimBLECharacteristic* pCharacteristic, bool deleteChr = false);
-
54 NimBLECharacteristic* getCharacteristic(const char* uuid, uint16_t instanceId = 0) const;
-
55 NimBLECharacteristic* getCharacteristic(const NimBLEUUID& uuid, uint16_t instanceId = 0) const;
-
56 NimBLECharacteristic* getCharacteristicByHandle(uint16_t handle) const;
-
57
-
58 const std::vector<NimBLECharacteristic*>& getCharacteristics() const;
-
59 std::vector<NimBLECharacteristic*> getCharacteristics(const char* uuid) const;
-
60 std::vector<NimBLECharacteristic*> getCharacteristics(const NimBLEUUID& uuid) const;
-
61
-
62 private:
-
63 friend class NimBLEServer;
-
64
-
65 std::vector<NimBLECharacteristic*> m_vChars{};
-
66 // Nimble requires an array of services to be sent to the api
-
67 // Since we are adding 1 at a time we create an array of 2 and set the type
-
68 // of the second service to 0 to indicate the end of the array.
-
69 ble_gatt_svc_def m_pSvcDef[2]{};
-
70}; // NimBLEService
-
71
-
72#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
-
73#endif // NIMBLE_CPP_SERVICE_H_
+
40 NimBLEServer* getServer() const;
+
41 std::string toString() const;
+
42 void dump() const;
+
43 bool isStarted() const;
+
44
+
49 __attribute__((deprecated("NimBLEService::start() has no effect. "
+
50 "Services are started when the server is started.")))
+
51 bool start() { return true; }
+
52
+
53 NimBLECharacteristic* createCharacteristic(const char* uuid,
+
54 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
55 uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
+
56
+
57 NimBLECharacteristic* createCharacteristic(const NimBLEUUID& uuid,
+
58 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
59 uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
+
60 void addCharacteristic(NimBLECharacteristic* pCharacteristic);
+
61 void removeCharacteristic(NimBLECharacteristic* pCharacteristic, bool deleteChr = false);
+
62 NimBLECharacteristic* getCharacteristic(const char* uuid, uint16_t instanceId = 0) const;
+
63 NimBLECharacteristic* getCharacteristic(const NimBLEUUID& uuid, uint16_t instanceId = 0) const;
+
64 NimBLECharacteristic* getCharacteristicByHandle(uint16_t handle) const;
+
65
+
66 const std::vector<NimBLECharacteristic*>& getCharacteristics() const;
+
67 std::vector<NimBLECharacteristic*> getCharacteristics(const char* uuid) const;
+
68 std::vector<NimBLECharacteristic*> getCharacteristics(const NimBLEUUID& uuid) const;
+
69
+
70 private:
+
71 friend class NimBLEServer;
+
72 bool start_internal();
+
73 void clearServiceDefinitions();
+
74
+
75 std::vector<NimBLECharacteristic*> m_vChars{};
+
76 // Nimble requires an array of services to be sent to the api
+
77 // Since we are adding 1 at a time we create an array of 2 and set the type
+
78 // of the second service to 0 to indicate the end of the array.
+
79 ble_gatt_svc_def m_pSvcDef[2]{};
+
80}; // NimBLEService
+
81
+
82#endif // CONFIG_BT_NIMBLE_ENABLED && MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
83#endif // NIMBLE_CPP_SERVICE_H_
A model of a BLE UUID.
Definition NimBLEUUID.h:41
diff --git a/_nim_b_l_e_stream_8h_source.html b/_nim_b_l_e_stream_8h_source.html new file mode 100644 index 0000000..7a9dac6 --- /dev/null +++ b/_nim_b_l_e_stream_8h_source.html @@ -0,0 +1,334 @@ + + + + + + + +esp-nimble-cpp: /github/workspace/src/NimBLEStream.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
esp-nimble-cpp 2.4.0 +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NimBLEStream.h
+
+
+
1/*
+
2 * Copyright 2020-2025 Ryan Powell <ryan@nable-embedded.io> and
+
3 * esp-nimble-cpp, NimBLE-Arduino contributors.
+
4 *
+
5 * Licensed under the Apache License, Version 2.0 (the "License");
+
6 * you may not use this file except in compliance with the License.
+
7 * You may obtain a copy of the License at
+
8 *
+
9 * http://www.apache.org/licenses/LICENSE-2.0
+
10 *
+
11 * Unless required by applicable law or agreed to in writing, software
+
12 * distributed under the License is distributed on an "AS IS" BASIS,
+
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+
14 * See the License for the specific language governing permissions and
+
15 * limitations under the License.
+
16 */
+
17
+
18#ifndef NIMBLE_CPP_STREAM_H
+
19#define NIMBLE_CPP_STREAM_H
+
20
+
21#include "syscfg/syscfg.h"
+
22#if CONFIG_BT_NIMBLE_ENABLED && (MYNEWT_VAL(BLE_ROLE_PERIPHERAL) || MYNEWT_VAL(BLE_ROLE_CENTRAL))
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "nimble/nimble_npl.h"
+
26# else
+
27# include "nimble/nimble/include/nimble/nimble_npl.h"
+
28# endif
+
29
+
30# include <functional>
+
31# include <type_traits>
+
32# include <cstdarg>
+
33
+
34# if NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
+
35# include <Stream.h>
+
36# else
+
37
+
38// Minimal Stream/Print stubs when Arduino not available
+
39class Print {
+
40 public:
+
41 virtual ~Print() {}
+
42 virtual size_t write(uint8_t) = 0;
+
43 virtual size_t write(const uint8_t* buffer, size_t size) = 0;
+
44 size_t print(const char* s);
+
45 size_t println(const char* s);
+
46 size_t printf(const char* format, ...) __attribute__((format(printf, 2, 3)));
+
47};
+
48
+
49class Stream : public Print {
+
50 public:
+
51 virtual int available() = 0;
+
52 virtual int read() = 0;
+
53 virtual int peek() = 0;
+
54 virtual void flush() {}
+
55 void setTimeout(unsigned long timeout) { m_timeout = timeout; }
+
56 unsigned long getTimeout() const { return m_timeout; }
+
57
+
58 protected:
+
59 unsigned long m_timeout{0};
+
60};
+
61# endif
+
62
+
63class NimBLEStream : public Stream {
+
64 public:
+
65 enum RxOverflowAction {
+
66 DROP_OLDER_DATA, // Drop older buffered data to make room for new data
+
67 DROP_NEW_DATA // Drop new incoming data when buffer is full
+
68 };
+
69
+
70 using RxOverflowCallback = std::function<RxOverflowAction(const uint8_t* data, size_t len, void* userArg)>;
+
71
+
72 NimBLEStream() = default;
+
73 virtual ~NimBLEStream() { end(); }
+
74
+
75 // Print/Stream TX methods
+
76 virtual size_t write(const uint8_t* data, size_t len) override;
+
77 virtual size_t write(uint8_t data) override { return write(&data, 1); }
+
78
+
79 // Template for other integral types (char, int, long, etc.)
+
80 template <typename T>
+
81 typename std::enable_if<std::is_integral<T>::value && !std::is_same<T, uint8_t>::value, size_t>::type write(T data) {
+
82 return write(static_cast<uint8_t>(data));
+
83 }
+
84
+
85 size_t availableForWrite() const;
+
86
+
87 // Read up to len bytes into buffer (non-blocking)
+
88 size_t read(uint8_t* buffer, size_t len);
+
89
+
90 // Stream RX methods
+
91 virtual int available() override;
+
92 virtual int read() override;
+
93 virtual int peek() override;
+
94 virtual bool ready() const = 0;
+
95
+
101 void setRxOverflowCallback(RxOverflowCallback cb, void* userArg = nullptr) {
+
102 m_rxOverflowCallback = cb;
+
103 m_rxOverflowUserArg = userArg;
+
104 }
+
105
+
106 operator bool() const { return ready(); }
+
107
+
108 using Print::write;
+
109
+
110 struct ByteRingBuffer;
+
111
+
112 protected:
+
113 bool begin();
+
114 void drainTx();
+
115 size_t pushRx(const uint8_t* data, size_t len);
+
116 virtual void end();
+
117 virtual bool send() = 0;
+
118 static void txDrainEventCb(struct ble_npl_event* ev);
+
119 static void txDrainCalloutCb(struct ble_npl_event* ev);
+
120
+
121 ByteRingBuffer* m_txBuf{nullptr};
+
122 ByteRingBuffer* m_rxBuf{nullptr};
+
123 uint8_t m_txChunkBuf[MYNEWT_VAL(BLE_ATT_PREFERRED_MTU)];
+
124 uint32_t m_txBufSize{1024};
+
125 uint32_t m_rxBufSize{1024};
+
126 ble_npl_event m_txDrainEvent{};
+
127 ble_npl_callout m_txDrainCallout{};
+
128 RxOverflowCallback m_rxOverflowCallback{nullptr};
+
129 void* m_rxOverflowUserArg{nullptr};
+
130 bool m_coInitialized{false};
+
131 bool m_eventInitialized{false};
+
132};
+
133
+
134# if MYNEWT_VAL(BLE_ROLE_PERIPHERAL)
+
135# include "NimBLECharacteristic.h"
+
136
+
137class NimBLEStreamServer : public NimBLEStream {
+
138 public:
+
139 NimBLEStreamServer() : m_charCallbacks(this) {}
+
140 ~NimBLEStreamServer() override { end(); }
+
141
+
142 // non-copyable
+
143 NimBLEStreamServer(const NimBLEStreamServer&) = delete;
+
144 NimBLEStreamServer& operator=(const NimBLEStreamServer&) = delete;
+
145
+
146 bool begin(NimBLECharacteristic* chr, uint32_t txBufSize = 1024, uint32_t rxBufSize = 1024);
+
147
+
148 // Convenience overload to create service/characteristic internally; service will be deleted on end()
+
149 bool begin(const NimBLEUUID& svcUuid,
+
150 const NimBLEUUID& chrUuid,
+
151 uint32_t txBufSize = 1024,
+
152 uint32_t rxBufSize = 1024,
+
153 bool secure = false);
+
154
+
155 void end() override;
+
156 size_t write(const uint8_t* data, size_t len) override;
+
157 uint16_t getPeerHandle() const { return m_charCallbacks.m_peerHandle; }
+
158 void setCallbacks(NimBLECharacteristicCallbacks* pCallbacks) { m_charCallbacks.m_userCallbacks = pCallbacks; }
+
159 bool ready() const override;
+
160 virtual void flush() override;
+
161
+
162 using NimBLEStream::write; // Inherit template write overloads
+
163
+
164 protected:
+
165 bool send() override;
+
166
+
167 struct ChrCallbacks : public NimBLECharacteristicCallbacks {
+
168 ChrCallbacks(NimBLEStreamServer* parent)
+
169 : m_parent(parent), m_userCallbacks(nullptr), m_peerHandle(BLE_HS_CONN_HANDLE_NONE) {}
+
170 void onWrite(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo) override;
+
171 void onSubscribe(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, uint16_t subValue) override;
+
172 void onStatus(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, int code) override;
+
173 // override this to avoid recursion when debug logs are enabled
+
174 void onStatus(NimBLECharacteristic* pCharacteristic, int code) override {
+
175 if (m_userCallbacks != nullptr) {
+
176 m_userCallbacks->onStatus(pCharacteristic, code);
+
177 }
+
178 }
+
179
+
180 NimBLEStreamServer* m_parent;
+
181 NimBLECharacteristicCallbacks* m_userCallbacks;
+
182 uint16_t m_peerHandle;
+
183 } m_charCallbacks;
+
184
+
185 NimBLECharacteristic* m_pChr{nullptr};
+
186 int m_rc{0};
+
187 // Whether to delete the BLE service when end() is called; set to false if service is managed externally
+
188 bool m_deleteSvcOnEnd{false};
+
189};
+
190# endif // BLE_ROLE_PERIPHERAL
+
191
+
192# if MYNEWT_VAL(BLE_ROLE_CENTRAL)
+
193# include "NimBLERemoteCharacteristic.h"
+
194
+
195class NimBLEStreamClient : public NimBLEStream {
+
196 public:
+
197 NimBLEStreamClient() = default;
+
198 ~NimBLEStreamClient() override { end(); }
+
199
+
200 // non-copyable
+
201 NimBLEStreamClient(const NimBLEStreamClient&) = delete;
+
202 NimBLEStreamClient& operator=(const NimBLEStreamClient&) = delete;
+
203
+
204 // Attach a discovered remote characteristic; app owns discovery/connection.
+
205 // Set subscribeNotify=true to receive notifications into RX buffer.
+
206 bool begin(NimBLERemoteCharacteristic* pChr,
+
207 bool subscribeNotify = false,
+
208 uint32_t txBufSize = 1024,
+
209 uint32_t rxBufSize = 1024);
+
210 void end() override;
+
211 void setNotifyCallback(NimBLERemoteCharacteristic::notify_callback cb) { m_userNotifyCallback = cb; }
+
212 bool ready() const override;
+
213 virtual void flush() override;
+
214
+
215 using NimBLEStream::write; // Inherit template write overloads
+
216
+
217 protected:
+
218 bool send() override;
+
219 void notifyCallback(NimBLERemoteCharacteristic* pChar, uint8_t* pData, size_t len, bool isNotify);
+
220
+
221 NimBLERemoteCharacteristic* m_pChr{nullptr};
+
222 NimBLERemoteCharacteristic::notify_callback m_userNotifyCallback{nullptr};
+
223};
+
224# endif // BLE_ROLE_CENTRAL
+
225
+
226#endif // CONFIG_BT_NIMBLE_ENABLED && (MYNEWT_VAL(BLE_ROLE_PERIPHERAL) || MYNEWT_VAL(BLE_ROLE_CENTRAL))
+
227#endif // NIMBLE_CPP_STREAM_H
+
Connection information.
Definition NimBLEConnInfo.h:33
+
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 031a7da..5832c36 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.3 +
esp-nimble-cpp 2.4.0
@@ -139,47 +139,48 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_u_u_i_d_8h_source.html','')
42 public:
46 NimBLEUUID() = default;
47 NimBLEUUID(const ble_uuid_any_t& uuid);
-
48 NimBLEUUID(const std::string& uuid);
-
49 NimBLEUUID(uint16_t uuid);
-
50 NimBLEUUID(uint32_t uuid);
-
51 NimBLEUUID(const ble_uuid128_t* uuid);
-
52 NimBLEUUID(const uint8_t* pData, size_t size);
-
53 NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth);
-
54
-
55 uint8_t bitSize() const;
-
56 const uint8_t* getValue() const;
-
57 const ble_uuid_t* getBase() const;
-
58 bool equals(const NimBLEUUID& uuid) const;
-
59 std::string toString() const;
-
60 static NimBLEUUID fromString(const std::string& uuid);
-
61 const NimBLEUUID& to128();
-
62 const NimBLEUUID& to16();
-
63 const NimBLEUUID& reverseByteOrder();
-
64
-
65 bool operator==(const NimBLEUUID& rhs) const;
-
66 bool operator!=(const NimBLEUUID& rhs) const;
-
67 operator std::string() const;
-
68
-
69 private:
-
70 ble_uuid_any_t m_uuid{};
-
71}; // NimBLEUUID
+
48 NimBLEUUID(const ble_uuid_t* uuid);
+
49 NimBLEUUID(const std::string& uuid);
+
50 NimBLEUUID(uint16_t uuid);
+
51 NimBLEUUID(uint32_t uuid);
+
52 NimBLEUUID(const ble_uuid128_t* uuid);
+
53 NimBLEUUID(const uint8_t* pData, size_t size);
+
54 NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth);
+
55
+
56 uint8_t bitSize() const;
+
57 const uint8_t* getValue() const;
+
58 const ble_uuid_t* getBase() const;
+
59 bool equals(const NimBLEUUID& uuid) const;
+
60 std::string toString() const;
+
61 static NimBLEUUID fromString(const std::string& uuid);
+
62 const NimBLEUUID& to128();
+
63 const NimBLEUUID& to16();
+
64 const NimBLEUUID& reverseByteOrder();
+
65
+
66 bool operator==(const NimBLEUUID& rhs) const;
+
67 bool operator!=(const NimBLEUUID& rhs) const;
+
68 operator std::string() const;
+
69
+
70 private:
+
71 ble_uuid_any_t m_uuid{};
+
72}; // NimBLEUUID
-
72
-
73#endif // CONFIG_BT_NIMBLE_ENABLED
-
74#endif // NIMBLE_CPP_UUID_H_
+
73
+
74#endif // CONFIG_BT_NIMBLE_ENABLED
+
75#endif // NIMBLE_CPP_UUID_H_
NimBLEUUID
A model of a BLE UUID.
Definition NimBLEUUID.h:41
-
NimBLEUUID::equals
bool equals(const NimBLEUUID &uuid) const
Compare a UUID against this UUID.
Definition NimBLEUUID.cpp:180
-
NimBLEUUID::operator==
bool operator==(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is equal to another.
Definition NimBLEUUID.cpp:287
-
NimBLEUUID::to16
const NimBLEUUID & to16()
Convert 128 bit UUID to its 16 bit representation.
Definition NimBLEUUID.cpp:240
-
NimBLEUUID::getBase
const ble_uuid_t * getBase() const
Get a pointer to the NimBLE UUID base structure.
Definition NimBLEUUID.cpp:170
-
NimBLEUUID::to128
const NimBLEUUID & to128()
Convert a UUID to its 128 bit representation.
Definition NimBLEUUID.cpp:221
+
NimBLEUUID::equals
bool equals(const NimBLEUUID &uuid) const
Compare a UUID against this UUID.
Definition NimBLEUUID.cpp:194
+
NimBLEUUID::operator==
bool operator==(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is equal to another.
Definition NimBLEUUID.cpp:301
+
NimBLEUUID::to16
const NimBLEUUID & to16()
Convert 128 bit UUID to its 16 bit representation.
Definition NimBLEUUID.cpp:254
+
NimBLEUUID::getBase
const ble_uuid_t * getBase() const
Get a pointer to the NimBLE UUID base structure.
Definition NimBLEUUID.cpp:184
+
NimBLEUUID::to128
const NimBLEUUID & to128()
Convert a UUID to its 128 bit representation.
Definition NimBLEUUID.cpp:235
NimBLEUUID::NimBLEUUID
NimBLEUUID()=default
Created a blank UUID.
-
NimBLEUUID::toString
std::string toString() const
Get a string representation of the UUID.
Definition NimBLEUUID.cpp:263
-
NimBLEUUID::reverseByteOrder
const NimBLEUUID & reverseByteOrder()
Reverse the byte order of the UUID.
Definition NimBLEUUID.cpp:272
-
NimBLEUUID::operator!=
bool operator!=(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is not equal to another.
Definition NimBLEUUID.cpp:325
-
NimBLEUUID::getValue
const uint8_t * getValue() const
Get the uuid value.
Definition NimBLEUUID.cpp:152
-
NimBLEUUID::fromString
static NimBLEUUID fromString(const std::string &uuid)
Definition NimBLEUUID.cpp:195
-
NimBLEUUID::bitSize
uint8_t bitSize() const
Get the bit size of the UUID, 16, 32 or 128.
Definition NimBLEUUID.cpp:143
+
NimBLEUUID::toString
std::string toString() const
Get a string representation of the UUID.
Definition NimBLEUUID.cpp:277
+
NimBLEUUID::reverseByteOrder
const NimBLEUUID & reverseByteOrder()
Reverse the byte order of the UUID.
Definition NimBLEUUID.cpp:286
+
NimBLEUUID::operator!=
bool operator!=(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is not equal to another.
Definition NimBLEUUID.cpp:339
+
NimBLEUUID::getValue
const uint8_t * getValue() const
Get the uuid value.
Definition NimBLEUUID.cpp:166
+
NimBLEUUID::fromString
static NimBLEUUID fromString(const std::string &uuid)
Definition NimBLEUUID.cpp:209
+
NimBLEUUID::bitSize
uint8_t bitSize() const
Get the bit size of the UUID, 16, 32 or 128.
Definition NimBLEUUID.cpp:157
diff --git a/_nim_b_l_e_utils_8h_source.html b/_nim_b_l_e_utils_8h_source.html index fe1fb41..d4ba554 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/_nim_b_l_e_value_attribute_8h_source.html b/_nim_b_l_e_value_attribute_8h_source.html index 970d233..5c368aa 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/annotated.html b/annotated.html index 1f792d7..cc7ecdb 100644 --- a/annotated.html +++ b/annotated.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_address-members.html b/class_nim_b_l_e_address-members.html index fb4b76b..00aba66 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_address.html b/class_nim_b_l_e_address.html index 5636e6e..aba5b27 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_advertisement_data-members.html b/class_nim_b_l_e_advertisement_data-members.html index 491edd0..abd4cc6 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_advertisement_data.html b/class_nim_b_l_e_advertisement_data.html index 4d76685..080ef0e 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_advertising-members.html b/class_nim_b_l_e_advertising-members.html index 5836087..a1cec64 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_advertising.html b/class_nim_b_l_e_advertising.html index 66a4e51..e8907a8 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_att_value-members.html b/class_nim_b_l_e_att_value-members.html index 9f70033..52b6cc9 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_att_value.html b/class_nim_b_l_e_att_value.html index 7cd0c67..f232bf6 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_conn_info-members.html b/class_nim_b_l_e_conn_info-members.html index 6db1427..f51a4bb 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.3 +
esp-nimble-cpp 2.4.0
@@ -108,6 +108,7 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_conn_info.html',''); i isEncrypted() constNimBLEConnInfoinline isMaster() constNimBLEConnInfoinline isSlave() constNimBLEConnInfoinline + toString() constNimBLEConnInfoinline
diff --git a/class_nim_b_l_e_conn_info.html b/class_nim_b_l_e_conn_info.html index 05dd205..a668d6f 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.3 +
esp-nimble-cpp 2.4.0
@@ -155,6 +155,10 @@ bool isAuthenticated ( uint8_t getSecKeySize () const  Gets the key size used to encrypt the connection.
  + +std::string toString () const + Get a string representation of the connection info, useful for debugging.

Detailed Description

Connection information.

diff --git a/class_nim_b_l_e_conn_info.js b/class_nim_b_l_e_conn_info.js index fe3f915..f8c8813 100644 --- a/class_nim_b_l_e_conn_info.js +++ b/class_nim_b_l_e_conn_info.js @@ -12,5 +12,6 @@ var class_nim_b_l_e_conn_info = [ "isBonded", "class_nim_b_l_e_conn_info.html#afefcdd1c560a307632c15394497c436f", null ], [ "isEncrypted", "class_nim_b_l_e_conn_info.html#a1a29242623a50989c7a03ee209ac2cf4", null ], [ "isMaster", "class_nim_b_l_e_conn_info.html#a5f91ef30d5ff92ad26f07feb31a5cd20", null ], - [ "isSlave", "class_nim_b_l_e_conn_info.html#ad91de04bdad64019950a1d095baf0e43", null ] + [ "isSlave", "class_nim_b_l_e_conn_info.html#ad91de04bdad64019950a1d095baf0e43", null ], + [ "toString", "class_nim_b_l_e_conn_info.html#a82da6ce1d231083023460742eb2d41b1", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_device-members.html b/class_nim_b_l_e_device-members.html index 2db5fa2..9d1b52d 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.3 +
esp-nimble-cpp 2.4.0
@@ -100,32 +100,33 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_device.html',''); init getMTU()NimBLEDevicestatic getPower(NimBLETxPowerType type=NimBLETxPowerType::All)NimBLEDevicestatic getSecurityPasskey()NimBLEDevicestatic - getWhiteListAddress(size_t index)NimBLEDevicestatic - getWhiteListCount()NimBLEDevicestatic - host_task(void *param)NimBLEDevicestatic - init(const std::string &deviceName)NimBLEDevicestatic - isInitialized()NimBLEDevicestatic - onReset(int reason)NimBLEDevicestatic - onSync(void)NimBLEDevicestatic - onWhiteList(const NimBLEAddress &address)NimBLEDevicestatic - setCustomGapHandler(gap_event_handler handler, void *arg=nullptr)NimBLEDevicestatic - setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask)NimBLEDevicestatic - setDeviceName(const std::string &deviceName)NimBLEDevicestatic - setMTU(uint16_t mtu)NimBLEDevicestatic - setOwnAddr(const NimBLEAddress &addr)NimBLEDevicestatic - setOwnAddr(const uint8_t *addr)NimBLEDevicestatic - setOwnAddrType(uint8_t type)NimBLEDevicestatic - setPower(int8_t dbm, NimBLETxPowerType type=NimBLETxPowerType::All)NimBLEDevicestatic - setSecurityAuth(bool bonding, bool mitm, bool sc)NimBLEDevicestatic - setSecurityAuth(uint8_t auth)NimBLEDevicestatic - setSecurityInitKey(uint8_t initKey)NimBLEDevicestatic - setSecurityIOCap(uint8_t iocap)NimBLEDevicestatic - setSecurityPasskey(uint32_t passKey)NimBLEDevicestatic - setSecurityRespKey(uint8_t respKey)NimBLEDevicestatic - startSecurity(uint16_t connHandle, int *rcPtr=nullptr)NimBLEDevicestatic - toString()NimBLEDevicestatic - whiteListAdd(const NimBLEAddress &address)NimBLEDevicestatic - whiteListRemove(const NimBLEAddress &address)NimBLEDevicestatic + getVersion()NimBLEDevicestatic + getWhiteListAddress(size_t index)NimBLEDevicestatic + getWhiteListCount()NimBLEDevicestatic + host_task(void *param)NimBLEDevicestatic + init(const std::string &deviceName)NimBLEDevicestatic + isInitialized()NimBLEDevicestatic + onReset(int reason)NimBLEDevicestatic + onSync(void)NimBLEDevicestatic + onWhiteList(const NimBLEAddress &address)NimBLEDevicestatic + setCustomGapHandler(gap_event_handler handler, void *arg=nullptr)NimBLEDevicestatic + setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask)NimBLEDevicestatic + setDeviceName(const std::string &deviceName)NimBLEDevicestatic + setMTU(uint16_t mtu)NimBLEDevicestatic + setOwnAddr(const NimBLEAddress &addr)NimBLEDevicestatic + setOwnAddr(const uint8_t *addr)NimBLEDevicestatic + setOwnAddrType(uint8_t type)NimBLEDevicestatic + setPower(int8_t dbm, NimBLETxPowerType type=NimBLETxPowerType::All)NimBLEDevicestatic + setSecurityAuth(bool bonding, bool mitm, bool sc)NimBLEDevicestatic + setSecurityAuth(uint8_t auth)NimBLEDevicestatic + setSecurityInitKey(uint8_t initKey)NimBLEDevicestatic + setSecurityIOCap(uint8_t iocap)NimBLEDevicestatic + setSecurityPasskey(uint32_t passKey)NimBLEDevicestatic + setSecurityRespKey(uint8_t respKey)NimBLEDevicestatic + startSecurity(uint16_t connHandle, int *rcPtr=nullptr)NimBLEDevicestatic + toString()NimBLEDevicestatic + whiteListAdd(const NimBLEAddress &address)NimBLEDevicestatic + whiteListRemove(const NimBLEAddress &address)NimBLEDevicestatic
diff --git a/class_nim_b_l_e_device.html b/class_nim_b_l_e_device.html index 3aceb6c..46b48b8 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.3 +
esp-nimble-cpp 2.4.0
@@ -121,6 +121,9 @@ Static Public Member Functions static std::string toString ()  Return a string representation of the address of this device.
  +static const char * getVersion () + Return the library version as a string.
+  static bool whiteListAdd (const NimBLEAddress &address)  Add a peer address to the whitelist.
  @@ -348,6 +351,34 @@ static void host_task

Get the current passkey used for pairing.

Returns
The current passkey.
+
+
+ +

◆ getVersion()

+ +
+
+ + + + + +
+ + + + + + + +
const char * NimBLEDevice::getVersion ()
+
+static
+
+ +

Return the library version as a string.

+
Returns
A const char* containing library version information.
+
diff --git a/class_nim_b_l_e_device_callbacks-members.html b/class_nim_b_l_e_device_callbacks-members.html index e035604..93b8f63 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.3 +
esp-nimble-cpp 2.4.0
diff --git a/class_nim_b_l_e_device_callbacks.html b/class_nim_b_l_e_device_callbacks.html index ba1e8b2..acbfe60 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.3 +
esp-nimble-cpp 2.4.0
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 bf323e1..fa32a70 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.3 +
esp-nimble-cpp 2.4.0
@@ -102,19 +102,20 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_u_u_i_d.html',''); ini getValue() constNimBLEUUID NimBLEUUID()=defaultNimBLEUUID NimBLEUUID(const ble_uuid_any_t &uuid)NimBLEUUID - NimBLEUUID(const std::string &uuid)NimBLEUUID - NimBLEUUID(uint16_t uuid)NimBLEUUID - NimBLEUUID(uint32_t uuid)NimBLEUUID - NimBLEUUID(const ble_uuid128_t *uuid)NimBLEUUID - NimBLEUUID(const uint8_t *pData, size_t size)NimBLEUUID - NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)NimBLEUUID - operator std::string() constNimBLEUUID - operator!=(const NimBLEUUID &rhs) constNimBLEUUID - operator==(const NimBLEUUID &rhs) constNimBLEUUID - reverseByteOrder()NimBLEUUID - to128()NimBLEUUID - to16()NimBLEUUID - toString() constNimBLEUUID + NimBLEUUID(const ble_uuid_t *uuid)NimBLEUUID + NimBLEUUID(const std::string &uuid)NimBLEUUID + NimBLEUUID(uint16_t uuid)NimBLEUUID + NimBLEUUID(uint32_t uuid)NimBLEUUID + NimBLEUUID(const ble_uuid128_t *uuid)NimBLEUUID + NimBLEUUID(const uint8_t *pData, size_t size)NimBLEUUID + NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)NimBLEUUID + operator std::string() constNimBLEUUID + operator!=(const NimBLEUUID &rhs) constNimBLEUUID + operator==(const NimBLEUUID &rhs) constNimBLEUUID + reverseByteOrder()NimBLEUUID + to128()NimBLEUUID + to16()NimBLEUUID + toString() constNimBLEUUID
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 50dbcad..c3f6c46 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.3 +
esp-nimble-cpp 2.4.0
@@ -111,6 +111,9 @@ Public Member Functions  NimBLEUUID (const ble_uuid_any_t &uuid)  Create a UUID from the native UUID.
  + NimBLEUUID (const ble_uuid_t *uuid) + Create a UUID from the native UUID pointer.
+   NimBLEUUID (const std::string &uuid)  Create a UUID from a string.
  @@ -174,7 +177,7 @@ Static Public Member Functions

A model of a BLE UUID.

Constructor & Destructor Documentation

-

◆ NimBLEUUID() [1/7]

+

◆ NimBLEUUID() [1/8]

@@ -197,10 +200,36 @@ Static Public Member Functions +
+
+ +

◆ NimBLEUUID() [2/8]

+ +
+
+ + + + + + + + +
NimBLEUUID::NimBLEUUID (const ble_uuid_tuuid)
+
+ +

Create a UUID from the native UUID pointer.

+
Parameters
+ + +
[in]uuidThe native UUID pointer.
+
+
+
-

◆ NimBLEUUID() [2/7]

+

◆ NimBLEUUID() [3/8]

@@ -220,7 +249,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:152
+
const uint8_t * getValue() const
Get the uuid value.
Definition NimBLEUUID.cpp:166

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

Parameters
@@ -232,7 +261,7 @@ Static Public Member Functions -

◆ NimBLEUUID() [3/7]

+

◆ NimBLEUUID() [4/8]

@@ -258,7 +287,7 @@ Static Public Member Functions
-

◆ NimBLEUUID() [4/7]

+

◆ NimBLEUUID() [5/8]

@@ -284,7 +313,7 @@ Static Public Member Functions
-

◆ NimBLEUUID() [5/7]

+

◆ NimBLEUUID() [6/8]

@@ -310,7 +339,7 @@ Static Public Member Functions
-

◆ NimBLEUUID() [6/7]

+

◆ NimBLEUUID() [7/8]

@@ -347,7 +376,7 @@ Static Public Member Functions
-

◆ NimBLEUUID() [7/7]

+

◆ NimBLEUUID() [8/8]

diff --git a/class_nim_b_l_e_u_u_i_d.js b/class_nim_b_l_e_u_u_i_d.js index 45bb6f7..a30e408 100644 --- a/class_nim_b_l_e_u_u_i_d.js +++ b/class_nim_b_l_e_u_u_i_d.js @@ -2,6 +2,7 @@ var class_nim_b_l_e_u_u_i_d = [ [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc", null ], [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d", null ], + [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#a8b701010caa0a48ded55db8d99bf3d2a", null ], [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac", null ], [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92", null ], [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461", null ], diff --git a/class_nim_b_l_e_utils-members.html b/class_nim_b_l_e_utils-members.html index 1fc87db..1dff189 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 db5ee47..8839f88 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 887a8f0..6b24ce6 100644 --- a/classes.html +++ b/classes.html @@ -25,7 +25,7 @@ diff --git a/deprecated.html b/deprecated.html index 4b6daea..0d55cea 100644 --- a/deprecated.html +++ b/deprecated.html @@ -25,7 +25,7 @@ diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 1b4825c..0250981 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -25,7 +25,7 @@ @@ -121,6 +121,8 @@ Files + + @@ -155,6 +157,8 @@ Files + + diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/dir_68267d1309a1af8e8297ef4c3efbcdba.js index 565263e..94d51f3 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.js +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.js @@ -13,6 +13,7 @@ var dir_68267d1309a1af8e8297ef4c3efbcdba = [ "NimBLECharacteristic.h", "_nim_b_l_e_characteristic_8h_source.html", null ], [ "NimBLEClient.h", "_nim_b_l_e_client_8h_source.html", null ], [ "NimBLEConnInfo.h", "_nim_b_l_e_conn_info_8h_source.html", null ], + [ "NimBLECppVersion.h", "_nim_b_l_e_cpp_version_8h_source.html", null ], [ "NimBLEDescriptor.h", "_nim_b_l_e_descriptor_8h_source.html", null ], [ "NimBLEDevice.h", "_nim_b_l_e_device_8h_source.html", null ], [ "NimBLEEddystoneTLM.h", "_nim_b_l_e_eddystone_t_l_m_8h_source.html", null ], @@ -30,6 +31,7 @@ var dir_68267d1309a1af8e8297ef4c3efbcdba = [ "NimBLEScan.h", "_nim_b_l_e_scan_8h_source.html", null ], [ "NimBLEServer.h", "_nim_b_l_e_server_8h_source.html", null ], [ "NimBLEService.h", "_nim_b_l_e_service_8h_source.html", null ], + [ "NimBLEStream.h", "_nim_b_l_e_stream_8h_source.html", null ], [ "NimBLEUtils.h", "_nim_b_l_e_utils_8h_source.html", null ], [ "NimBLEUUID.h", "_nim_b_l_e_u_u_i_d_8h_source.html", null ], [ "NimBLEValueAttribute.h", "_nim_b_l_e_value_attribute_8h_source.html", null ] diff --git a/files.html b/files.html index 178c5fa..a4807d4 100644 --- a/files.html +++ b/files.html @@ -25,7 +25,7 @@ @@ -108,26 +108,28 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); }); - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
-
esp-nimble-cpp 2.3.3 +
esp-nimble-cpp 2.4.0
-
esp-nimble-cpp 2.3.3 +
esp-nimble-cpp 2.4.0
-
esp-nimble-cpp 2.3.3 +
esp-nimble-cpp 2.4.0
-
esp-nimble-cpp 2.3.3 +
esp-nimble-cpp 2.4.0
-
esp-nimble-cpp 2.3.3 +
esp-nimble-cpp 2.4.0
 
 NimBLEConnInfo.h
 
 NimBLECppVersion.h
 
 NimBLEDescriptor.h
 
 NimBLEDevice.h
 
 NimBLEService.h
 
 NimBLEStream.h
 
 NimBLEUtils.h
 
 NimBLEUUID.h
-
esp-nimble-cpp 2.3.3 +
esp-nimble-cpp 2.4.0
 NimBLECharacteristic.h
 NimBLEClient.h
 NimBLEConnInfo.h
 NimBLEDescriptor.h
 NimBLEDevice.h
 NimBLEEddystoneTLM.h
 NimBLEExtAdvertising.h
 NimBLEHIDDevice.h
 NimBLEL2CAPChannel.h
 NimBLEL2CAPServer.h
 NimBLELocalAttribute.h
 NimBLELocalValueAttribute.h
 NimBLELog.h
 NimBLERemoteCharacteristic.h
 NimBLERemoteDescriptor.h
 NimBLERemoteService.h
 NimBLERemoteValueAttribute.h
 NimBLEScan.h
 NimBLEServer.h
 NimBLEService.h
 NimBLEUtils.h
 NimBLEUUID.h
 NimBLEValueAttribute.h
 NimBLECppVersion.h
 NimBLEDescriptor.h
 NimBLEDevice.h
 NimBLEEddystoneTLM.h
 NimBLEExtAdvertising.h
 NimBLEHIDDevice.h
 NimBLEL2CAPChannel.h
 NimBLEL2CAPServer.h
 NimBLELocalAttribute.h
 NimBLELocalValueAttribute.h
 NimBLELog.h
 NimBLERemoteCharacteristic.h
 NimBLERemoteDescriptor.h
 NimBLERemoteService.h
 NimBLERemoteValueAttribute.h
 NimBLEScan.h
 NimBLEServer.h
 NimBLEService.h
 NimBLEStream.h
 NimBLEUtils.h
 NimBLEUUID.h
 NimBLEValueAttribute.h
diff --git a/functions.html b/functions.html index 5b494af..48a8d48 100644 --- a/functions.html +++ b/functions.html @@ -25,7 +25,7 @@ -
esp-nimble-cpp 2.3.3 +
esp-nimble-cpp 2.4.0
@@ -153,6 +153,7 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • getType() : NimBLEAddress
  • getVal() : NimBLEAddress
  • getValue() : NimBLEAttValue, NimBLEUUID
  • +
  • getVersion() : NimBLEDevice
  • getWhiteListAddress() : NimBLEDevice
  • getWhiteListCount() : NimBLEDevice
  • @@ -193,7 +194,7 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();

    - n -

    @@ -276,7 +277,7 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
  • taskWait() : NimBLEUtils
  • to128() : NimBLEUUID
  • to16() : NimBLEUUID
  • -
  • toString() : NimBLEAddress, NimBLEAdvertisementData, NimBLEDevice, NimBLEUUID
  • +
  • toString() : NimBLEAddress, NimBLEAdvertisementData, NimBLEConnInfo, NimBLEDevice, NimBLEUUID
  • diff --git a/functions_func.html b/functions_func.html index 1831ba7..0a3fad4 100644 --- a/functions_func.html +++ b/functions_func.html @@ -25,7 +25,7 @@ -
    esp-nimble-cpp 2.3.3 +
    esp-nimble-cpp 2.4.0
    @@ -153,6 +153,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • getType() : NimBLEAddress
  • getVal() : NimBLEAddress
  • getValue() : NimBLEAttValue, NimBLEUUID
  • +
  • getVersion() : NimBLEDevice
  • getWhiteListAddress() : NimBLEDevice
  • getWhiteListCount() : NimBLEDevice
  • @@ -193,7 +194,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl

    - n -

    @@ -276,7 +277,7 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
  • taskWait() : NimBLEUtils
  • to128() : NimBLEUUID
  • to16() : NimBLEUUID
  • -
  • toString() : NimBLEAddress, NimBLEAdvertisementData, NimBLEDevice, NimBLEUUID
  • +
  • toString() : NimBLEAddress, NimBLEAdvertisementData, NimBLEConnInfo, NimBLEDevice, NimBLEUUID
  • diff --git a/index.html b/index.html index 39e0c34..3809e1c 100644 --- a/index.html +++ b/index.html @@ -25,7 +25,7 @@ -
    esp-nimble-cpp 2.3.3 +
    esp-nimble-cpp 2.4.0
    diff --git a/md_1_8x__to2_8x__migration__guide.html b/md_1_8x__to2_8x__migration__guide.html index d7bce10..0519fa5 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.3 +
    esp-nimble-cpp 2.4.0
    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 b40776c..b747a24 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.3 +
    esp-nimble-cpp 2.4.0
    @@ -93,9 +93,42 @@ $(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.4.0] 2026-03-20

    +

    +Fixed

    +
      +
    • GATT attribute handles are now assigned from the registration callback so duplicate UUID attributes are identified correctly.
    • +
    • Dynamic service changes now properly remove characteristics/descriptors and reset the GATT database when advertising starts.
    • +
    • Missing notification/indication payload data when the value spans multiple mbufs, such as values larger than 255 bytes with small ACL buffers.
    • +
    • NimBLEDevice::createServer will longer crash when called before the stack is initialized.
    • +
    • Re-pairing after deleting all bonds now works by unpairing each stored bond instead of only deleting NVS data.
    • +
    • Whitelist bounds checks.
    • +
    • NimBLEDevice::getBondedAddress index bounds validation.
    • +
    • Compiler warnings when bonds are disabled.
    • +
    • kconfig warnings, redefined macros.
    • +
    +

    +Added

    +
      +
    • NimBLEStream, NimBLEStreamClient, and NimBLEStreamServer classes and examples.
    • +
    • NimBLECppVersion.h with compile-time version macros.
    • +
    • NimBLEDevice::getVersion runtime version string helper.
    • +
    • Matching passkey callbacks for both roles: NimBLEServerCallbacks::onPassKeyEntry and NimBLEClientCallbacks::onPassKeyDisplay.
    • +
    • Bond migration helpers to convert bond storage between v1 and current formats while preserving existing bonds.
    • +
    • NimBLEUUID constructor overload for ble_uuid_t*.
    • +
    • Optional index parameter for NimBLECharacteristic::getDescriptorByUUID to access multiple descriptors with the same UUID.
    • +
    • NimBLEConnInfo::toString method to get a string representation of the connection info.
    • +
    +

    +Changed

    +
      +
    • NimBLEService::start is deprecated; services are now added when the server starts.
    • +
    • NimBLEHIDDevice::startServices() is deprecated; services are now added when the server starts.
    • +

    [2.3.4] 2025-12-27

    -

    +

    Fixed

    • Disconnect event not finding the client by address in some cases, use the connection handle instead.
    • @@ -103,13 +136,13 @@ Fixed
    • Attribute values will now consider type size when using a container.
    • Descriptor searching will now correctly stop at the end handle of the characteristic.
    -

    +

    Changed

    • Build conditionals now use MYNEWT_VAL_ macros instead of CONFIG_ macros where applicable.
    • Sending of indications/notifications has been refactored for greater efficiency and tracks client subscription state locally instead uof relying on the stack.
    -

    +

    Added

    • Support for esp32c61.
    • @@ -118,27 +151,27 @@ Added

    [2.3.3] 2025-09-05

    -

    +

    Fixed

    • NimBLEAdvertisedDevice::isConnectable returning incorrect result.
    • Extended advertisements not reporting full data.
    -

    +

    Added

    • Support up to 1650 bytes of advertisement with extended advertising

    [2.3.2] 2025-09-02

    -

    +

    Fixed

    • Build failures with esp-idf versions 4.x.
    • Workaround for upstream issue causing onConnectFail to not be called.
    • Build failures with idf v5.5+ and specific roles are not enabled.
    -

    +

    Changed

    • Allow peripheral and central roles to be used without broadcaster/observer roles.
    • @@ -146,21 +179,21 @@ Changed

    [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.
    • @@ -172,14 +205,14 @@ Fixed
    • Attribute getValue failing with some data types
    • Incorrectly passing a pointer to a function taking const reference.
    -

    +

    Added

    • Support for esp32c5
    • L2CAP infrastructure.
    • Scan duplicate cache reset time.
    -

    +

    Changed

    • Cleaned up examples.
    • @@ -187,7 +220,7 @@ Changed

    [2.2.1] 2025-02-28

    -

    +

    Fixed

    • Added back NimBLEClient::connect overload with NimBLEAdvertisedDevice parameter to resolve connection error due to NULL address.
    • @@ -195,12 +228,12 @@ Fixed

    [2.2.0] 2025-02-24

    -

    +

    Fixed

    • Crash when calling NimBLEClient::DiscoverAttributes.
    -

    +

    Added

    • Conditional macros for logging.
    • @@ -208,7 +241,7 @@ Added

    [2.1.1] 2025-01-26

    -

    +

    Fixed

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

    [2.1.0] 2025-01-12

    -

    +

    Fixed

    • Crash when retrieving descriptors if more than one exists.
    • @@ -225,13 +258,13 @@ Fixed
    • New user guide code for 2.x
    • Potential race condition if `NimBLEScan::clearResults1 is called from multiple tasks.
    -

    +

    Changed

    -

    +

    Added

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

    [2.0.3] 2025-01-05

    -

    +

    Fixed

    • Unused variable warning when log level is below info.
    • @@ -249,12 +282,12 @@ Fixed
    • NimBLECharacteristic/NimBLEDescriptor not able to update their values in the onRead callback.
    • Too short of a timeout being requested in NimBLE_Server example leading to frequent disconnects.
    -

    +

    Changed

    • NimBLEHIDDevice now allows for the same report ID in multiple input/output/feature reports.
    -

    +

    Added

    • Config for custom log colors pre level.
    • @@ -264,26 +297,26 @@ Added

    [2.0.2] 2024-12-21

    -

    +

    Fixed

    • Compile error when only advertising role is enabled.
    • Possible crash if bonded client reconnects.
    -

    +

    Changed

    • NimBLEHIDDevice can now create more than one in/out/feature report map.

    [2.0.1] 2024-12-16

    -

    +

    Fixed

    • NimBLEHIDDevice::getOutputReport will now return the correct characteristic.
    • Compile error when central is disabled, class NimBLEServer has no member named m_pClient.
    -

    +

    Changed

    • Added missing includes for NimBLEConnInfo and NimBLEUtils to NimBLEDevice.h.
    • @@ -329,7 +362,7 @@ Changed
    • -NimBLEScanCallbacks::onScanEnd, replaces the scanEnded callback passed toNimBLEScan::startand now takes aconst NimBLEScanResults&andint reasonparameter.
    • -NimBLEScanCallbacks::onDiscovered, This is called immediately when a device is first scanned, before any scan response data is available and takes aconst NimBLEAdvertisedDevice*parameter. -NimBLEScan::stopwill no longer call theonScanEndcallback as the caller should know its been stopped when this is called. -NimBLEScan::clearDuplicateCachehas been removed as it was problematic and only for the esp32. Stop and start the scanner for the same effect. -NimBLEScanResults::getDevicemethods now returnconst NimBLEAdvertisedDevice*. -NimBLEScanResultsiterators are nowconst_iterator. -NimBLEAdvertisedDevice::hasRSSIremoved as redundant, RSSI is always available. -NimBLEAdvertisedDevice::getPayloadnow returnsconst std::vector<uint8_t>instead of a pointer to internal memory. -NimBLEAdvertisedDeviceTimestamp removed, if needed then the app should track the time from the callback. -NimBLECharacteristic::notifyno longer takes abool is_notificationparameter, insteadindicate()should be called to send indications. -NimBLECharacteristicCallbacks::onNotifyremoved as unnecessary, the library does not call notify without app input. -NimBLECharacteristicCallbacks::onStatusNo longer takes astatusparameter, refer to the return code for success/failure. -NimBLERemoteCharacteristic::getRemoteServicenow returns aconst NimBLERemoteService*instead of non-const. -NimBLERemoteCharacteristic::readUInt32Has been removed. -NimBLERemoteCharacteristic::readUInt16Has been removed. -NimBLERemoteCharacteristic::readUInt8Has been removed. -NimBLERemoteCharacteristic::readFloatHas been removed. -NimBLERemoteCharacteristic::registerForNotifyHas been removed. -NimBLERemoteService::getCharacteristicsnow returns aconst std::vector<NimBLERemoteCharacteristic*>&instead of non-conststd::vector<NimBLERemoteCharacteristic*>*. -NimBLERemoteService::getValuenow returnsNimBLEAttValueinstead ofstd::string. -NimBLEService::getCharacteristicsnow returns aconst std::vector<NimBLECharacteristic*>&instead of std::vector<NimBLECharacteristic *>. -NimBLEUUID::getNativemethod replaced withNimBLEUUID::getBasewhich returns a read-only pointer to the underlyingble_uuid_tstruct. -NimBLEUUID;msbFirstparameter has been removed from constructor, caller should reverse the data first or call the newreverseByteOrdermethod after. -NimBLEAddressconstructor; default value for thetypeparameter removed, caller should know the address type and specify it. -NimBLEAddress::getNativereplaced withNimBLEAddress::getBaseand now returns a pointer toconst ble_addr_tinstead of a pointer to the address value. -NimBLEAddress::equalsmethod andNimBLEAddress::== operatorwill now also test if the address types are the same. -NimBLEUtils::dumpGapEventfunction removed. -NimBLEUtils::buildHexDatareplaced withNimBLEUtils::dataToHexString, which returns astd::stringcontaining the hex string. -NimBLEEddystoneTLM::setTempnow takes anint16_tparameter instead of float to be friendly to devices without floating point support. -NimBLEEddystoneTLM::getTempnow returnsint16_tto work with devices that don't have floating point support. -NimBLEEddystoneTLM::setDatanow takes a reference to *NimBLEEddystoneTLM::BeaconDatainstead ofstd::string. -NimBLEEddystoneTLM::getDatanow returns a reference to *NimBLEEddystoneTLM::BeaconDatainstead ofstd::string. -NimBLEBeacon::setDatanow takesconst NimBLEBeacon::BeaconData&instead ofstd::string. -NimBLEBeacon::getDatanow returnsconst NimBLEBeacon::BeaconData&instead ofstd::string. -NimBLEHIDDevice::reportMaprenamed toNimBLEHIDDevice::getReportMap. -NimBLEHIDDevice::hidControlrenamed toNimBLEHIDDevice::getHidControl. -NimBLEHIDDevice::inputReportrenamed toNimBLEHIDDevice::getInputReport. -NimBLEHIDDevice::outputReportrenamed toNimBLEHIDDevice::getOutputReport. -NimBLEHIDDevice::featureReportrenamed toNimBLEHIDDevice::getFeatureReport. -NimBLEHIDDevice::protocolModerenamed toNimBLEHIDDevice::getProtocolMode. -NimBLEHIDDevice::bootOutputrenamed toNimBLEHIDDevice::getBootOutput. -NimBLEHIDDevice::pnprenamed toNimBLEHIDDevice::setPnp. -NimBLEHIDDevice::hidInforenamed toNimBLEHIDDevice::setHidInfo. -NimBLEHIDDevice::deviceInforenamed toNimBLEHIDDevice::getDeviceInfoService. -NimBLEHIDDevice::hidServicerenamed toNimBLEHIDDevice::getHidService. -NimBLEHIDDevice::batteryServicerenamed toNimBLEHIDDevice::getBatteryService`.
    -

    +

    Fixed

    • NimBLEDevice::getPower and NimBLEDevice::getPowerLevel bug worked around for the esp32s3 and esp32c3.
    • @@ -347,7 +380,7 @@ Fixed
    • Fixed building with esp-idf and Arduino component.
    • Workaround for esp32s3 and esp32c3 not returning the correct txPower with some IDF versions.
    -

    +

    Changed

    • NimBLEClient::secureConnection now takes an additional parameter bool async, if true, will send the secure command and return immediately with a true value for successfully sending the command, else false. This allows for asynchronously securing a connection.
    • @@ -397,7 +430,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.
    • @@ -450,18 +483,18 @@ Added

    [1.4.1] - 2022-10-30

    -

    +

    Fixed

    -

    +

    Changed

    • Revert previous change that forced writing with response when subscribing in favor of allowing the application to decide.
    -

    +

    Added

    • Added NimBLEHIDDevice::batteryLevel.
    • @@ -470,7 +503,7 @@ Added

    [1.4.0] - 2022-07-31

    -

    +

    Fixed

    • Fixed missing data from long notification values.
    • @@ -478,7 +511,7 @@ Fixed
    • Prevent a potential crash when retrieving characteristics from a service if the result was successful but no characteristics found.
    • logs/typos.
    -

    +

    Changed

    • AD flags are no longer set in the advertisements of non-connectable beacons, freeing up 3 bytes of advertisement room.
    • @@ -487,7 +520,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
    • @@ -497,12 +530,12 @@ Added

    [1.3.3] - 2022-02-15

    -

    +

    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.
    • @@ -512,7 +545,7 @@ Fixed

    [1.3.2] - 2022-01-15

    -

    +

    Fixed

    • Initialize advertising complete callback in NimBLEAdvertising constructor.
    • @@ -521,7 +554,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.
    • @@ -531,7 +564,7 @@ Added
    • NimBLEClient::setDataLen and NimBLEServer::setDataLen: Data length extension support (IDF version >= 4.3.2 only)
    • Config option to set logging level for esp-nimble-cpp
    -

    +

    Changed

    • Critical section calls now use the NimBLE API instead of FreeRTOS directly. This removes the need for a portMUX_TYPE variable in the class definitions.
    • @@ -539,14 +572,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.
    • @@ -572,7 +605,7 @@ Added
    • Connection Information class: NimBLEConnInfo.
    • NimBLEScan::clearDuplicateCache: This can be used to reset the cache of advertised devices so they will be immediately discovered again.
    -

    +

    Changed

    • FreeRTOS files have been removed as they are not used by the library.
    • @@ -580,7 +613,7 @@ Changed
    • Excess logging and some asserts removed.
    • Use ESP_LOGx macros to enable using local log level filtering.
    -

    +

    Fixed

    • NimBLECharacteristicCallbacks::onSubscribe Is now called after the connection is added to the vector.
    • @@ -594,7 +627,7 @@ Fixed

    [1.2.0] - 2021-02-08

    -

    +

    Added

    • NimBLECharacteristic::getDescriptorByHandle: Return the BLE Descriptor for the given handle.
    • @@ -632,7 +665,7 @@ Added
    -

    +

    Changed

    • nimconfig.h (Arduino) is now easier to use.
    • @@ -643,14 +676,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
    • @@ -663,7 +696,7 @@ Added
    • NimBLEServerCallbacks::onDisconnect overloaded callback added to provide a ble_gap_conn_desc parameter for the application to obtain information about the disconnected client.
    • Conditional checks in nimconfig.h for command line defined macros to support platformio config settings.
    -

    +

    Changed

    • NimBLEAdvertising::start now returns a bool value to indicate success/failure.
    • @@ -673,7 +706,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.
    • @@ -691,7 +724,7 @@ Fixed

    [1.0.2] - 2020-09-13

    -

    +

    Changed

    • NimBLEAdvertising::start Now takes 2 optional parameters, the first is the duration to advertise for (in seconds), the second is a callback that is invoked when advertising ends and takes a pointer to a NimBLEAdvertising object (similar to the NimBLEScan::start API).
    • @@ -700,18 +733,18 @@ Changed

    [1.0.1] - 2020-09-02

    -

    +

    Added

    • Empty NimBLEAddress constructor: NimBLEAddress() produces an address of 00:00:00:00:00:00 type 0.
    • Documentation of the difference of NimBLEAddress::getNative vs the original bluedroid library.
    -

    +

    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 7b19e35..ca77966 100644 --- a/md__bluetooth_015_01features.html +++ b/md__bluetooth_015_01features.html @@ -25,7 +25,7 @@ -
      esp-nimble-cpp 2.3.3 +
      esp-nimble-cpp 2.4.0
      diff --git a/md__migration__guide.html b/md__migration__guide.html index ffd33df..99fbbb1 100644 --- a/md__migration__guide.html +++ b/md__migration__guide.html @@ -25,7 +25,7 @@ -
      esp-nimble-cpp 2.3.3 +
      esp-nimble-cpp 2.4.0
      diff --git a/md__new__user__guide.html b/md__new__user__guide.html index 6180db8..31dccd1 100644 --- a/md__new__user__guide.html +++ b/md__new__user__guide.html @@ -25,7 +25,7 @@ -
      esp-nimble-cpp 2.3.3 +
      esp-nimble-cpp 2.4.0
      diff --git a/md__usage__tips.html b/md__usage__tips.html index c201d47..5c9affc 100644 --- a/md__usage__tips.html +++ b/md__usage__tips.html @@ -25,7 +25,7 @@ -
      esp-nimble-cpp 2.3.3 +
      esp-nimble-cpp 2.4.0
      diff --git a/navtreedata.js b/navtreedata.js index 167a97a..e5de63a 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -27,94 +27,98 @@ 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.4] 2025-12-27", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27", null ], + [ "[2.4.0] 2026-03-20", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md240-2026-03-20", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added", null ], - [ "[2.3.3] 2025-09-05", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed", null ], + [ "[2.3.4] 2025-12-27", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27", 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 ], - [ "[2.3.2] 2025-09-02", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02", null ], - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1", 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-3", null ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1", null ], + [ "[2.3.3] 2025-09-05", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05", 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-2", 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 ], + [ "[2.3.2] 2025-09-02", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2", 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-4", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2", 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 ], + [ "[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-5", 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-6", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4", 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-7", 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-8", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3", 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-6", 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-7", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5", 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-8", 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-9", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-4", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6", 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-10", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5", 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 ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7", 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-11", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6", 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-12", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7", 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-12", [ - [ "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.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-13", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13", [ [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8", 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-14", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9", null ], [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9", 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", [ + [ "[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-15", 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 ] + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-10", 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-11", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-16", 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-16", null ], - [ "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-11", null ] + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17", null ], + [ "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 ] ] ], [ "[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-17", 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-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-18", 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-12", null ], [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-13", null ], [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-19", 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-13", 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-20", 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-14", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-15", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-21", 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-15", null ] + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-16", 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-14", null ], - [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-16", null ], - [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-21", null ] + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-15", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-17", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-22", 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 ] ] ], @@ -214,7 +218,7 @@ var NAVTREE = var NAVTREEINDEX = [ "_h_i_d_keyboard_types_8h_source.html", -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08" +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/navtreeindex0.js b/navtreeindex0.js index bdc20fe..dbe6670 100644 --- a/navtreeindex0.js +++ b/navtreeindex0.js @@ -13,26 +13,28 @@ var NAVTREEINDEX0 = "_nim_b_l_e_characteristic_8h_source.html":[9,0,0,10], "_nim_b_l_e_client_8h_source.html":[9,0,0,11], "_nim_b_l_e_conn_info_8h_source.html":[9,0,0,12], -"_nim_b_l_e_descriptor_8h_source.html":[9,0,0,13], -"_nim_b_l_e_device_8h_source.html":[9,0,0,14], -"_nim_b_l_e_eddystone_t_l_m_8h_source.html":[9,0,0,15], -"_nim_b_l_e_ext_advertising_8h_source.html":[9,0,0,16], -"_nim_b_l_e_h_i_d_device_8h_source.html":[9,0,0,17], -"_nim_b_l_e_l2_c_a_p_channel_8h_source.html":[9,0,0,18], -"_nim_b_l_e_l2_c_a_p_server_8h_source.html":[9,0,0,19], -"_nim_b_l_e_local_attribute_8h_source.html":[9,0,0,20], -"_nim_b_l_e_local_value_attribute_8h_source.html":[9,0,0,21], -"_nim_b_l_e_log_8h_source.html":[9,0,0,22], -"_nim_b_l_e_remote_characteristic_8h_source.html":[9,0,0,23], -"_nim_b_l_e_remote_descriptor_8h_source.html":[9,0,0,24], -"_nim_b_l_e_remote_service_8h_source.html":[9,0,0,25], -"_nim_b_l_e_remote_value_attribute_8h_source.html":[9,0,0,26], -"_nim_b_l_e_scan_8h_source.html":[9,0,0,27], -"_nim_b_l_e_server_8h_source.html":[9,0,0,28], -"_nim_b_l_e_service_8h_source.html":[9,0,0,29], -"_nim_b_l_e_u_u_i_d_8h_source.html":[9,0,0,31], -"_nim_b_l_e_utils_8h_source.html":[9,0,0,30], -"_nim_b_l_e_value_attribute_8h_source.html":[9,0,0,32], +"_nim_b_l_e_cpp_version_8h_source.html":[9,0,0,13], +"_nim_b_l_e_descriptor_8h_source.html":[9,0,0,14], +"_nim_b_l_e_device_8h_source.html":[9,0,0,15], +"_nim_b_l_e_eddystone_t_l_m_8h_source.html":[9,0,0,16], +"_nim_b_l_e_ext_advertising_8h_source.html":[9,0,0,17], +"_nim_b_l_e_h_i_d_device_8h_source.html":[9,0,0,18], +"_nim_b_l_e_l2_c_a_p_channel_8h_source.html":[9,0,0,19], +"_nim_b_l_e_l2_c_a_p_server_8h_source.html":[9,0,0,20], +"_nim_b_l_e_local_attribute_8h_source.html":[9,0,0,21], +"_nim_b_l_e_local_value_attribute_8h_source.html":[9,0,0,22], +"_nim_b_l_e_log_8h_source.html":[9,0,0,23], +"_nim_b_l_e_remote_characteristic_8h_source.html":[9,0,0,24], +"_nim_b_l_e_remote_descriptor_8h_source.html":[9,0,0,25], +"_nim_b_l_e_remote_service_8h_source.html":[9,0,0,26], +"_nim_b_l_e_remote_value_attribute_8h_source.html":[9,0,0,27], +"_nim_b_l_e_scan_8h_source.html":[9,0,0,28], +"_nim_b_l_e_server_8h_source.html":[9,0,0,29], +"_nim_b_l_e_service_8h_source.html":[9,0,0,30], +"_nim_b_l_e_stream_8h_source.html":[9,0,0,31], +"_nim_b_l_e_u_u_i_d_8h_source.html":[9,0,0,33], +"_nim_b_l_e_utils_8h_source.html":[9,0,0,32], +"_nim_b_l_e_value_attribute_8h_source.html":[9,0,0,34], "annotated.html":[8,0], "class_nim_b_l_e_address.html":[8,0,0], "class_nim_b_l_e_address.html#a0f390fb5f422db8ced1938bd40f87c4d":[8,0,0,18], @@ -144,9 +146,9 @@ var NAVTREEINDEX0 = "class_nim_b_l_e_att_value.html#a86acbb5ab3a35b3d5692c2e05fdccadd":[8,0,3,13], "class_nim_b_l_e_att_value.html#a8ca8d07c06a79e30bf6279e6817e4881":[8,0,3,27], "class_nim_b_l_e_att_value.html#a91cbe0ba44781943390a80514383ee58":[8,0,3,14], +"class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79":[8,0,3,32], "class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79":[8,0,3,30], "class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79":[8,0,3,31], -"class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79":[8,0,3,32], "class_nim_b_l_e_att_value.html#aa217dfc649daed50eb75c7168442f86e":[8,0,3,9], "class_nim_b_l_e_att_value.html#aa53ee00be956c25596cf7cce71b502ba":[8,0,3,23], "class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c":[8,0,3,34], @@ -167,6 +169,7 @@ var NAVTREEINDEX0 = "class_nim_b_l_e_conn_info.html#a1a29242623a50989c7a03ee209ac2cf4":[8,0,4,10], "class_nim_b_l_e_conn_info.html#a3a555ccfc6fe678a2603942022a8cd5c":[8,0,4,7], "class_nim_b_l_e_conn_info.html#a5f91ef30d5ff92ad26f07feb31a5cd20":[8,0,4,11], +"class_nim_b_l_e_conn_info.html#a82da6ce1d231083023460742eb2d41b1":[8,0,4,13], "class_nim_b_l_e_conn_info.html#a8a1174d706ae36e99adc9498bf30d68f":[8,0,4,8], "class_nim_b_l_e_conn_info.html#aa3ffb5995fb9961a6f04117f538a8f28":[8,0,4,1], "class_nim_b_l_e_conn_info.html#aa8c39ebf9d346b3334b0a067ffe082a5":[8,0,4,4], @@ -178,24 +181,25 @@ var NAVTREEINDEX0 = "class_nim_b_l_e_device_callbacks.html#aa0584e7aee6b90e377fc7ef34e89b419":[8,0,6,0], "class_nim_b_l_e_u_u_i_d.html":[8,0,9], "class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d":[8,0,9,1], -"class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1":[8,0,9,7], -"class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd":[8,0,9,9], -"class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048":[8,0,9,12], -"class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875":[8,0,9,14], -"class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb":[8,0,9,17], -"class_nim_b_l_e_u_u_i_d.html#a68c61ae225675ac84d60f76058a5bdd4":[8,0,9,10], -"class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac":[8,0,9,2], -"class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c":[8,0,9,16], +"class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1":[8,0,9,8], +"class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd":[8,0,9,10], +"class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048":[8,0,9,13], +"class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875":[8,0,9,15], +"class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb":[8,0,9,18], +"class_nim_b_l_e_u_u_i_d.html#a68c61ae225675ac84d60f76058a5bdd4":[8,0,9,11], +"class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac":[8,0,9,3], +"class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c":[8,0,9,17], "class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc":[8,0,9,0], -"class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64":[8,0,9,18], -"class_nim_b_l_e_u_u_i_d.html#a9b96d90463f02f6a21afbaebcc242dd9":[8,0,9,15], -"class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92":[8,0,9,3], -"class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461":[8,0,9,4], -"class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe":[8,0,9,13], -"class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286":[8,0,9,5], -"class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd":[8,0,9,6], -"class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af":[8,0,9,11], -"class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6":[8,0,9,8], +"class_nim_b_l_e_u_u_i_d.html#a8b701010caa0a48ded55db8d99bf3d2a":[8,0,9,2], +"class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64":[8,0,9,19], +"class_nim_b_l_e_u_u_i_d.html#a9b96d90463f02f6a21afbaebcc242dd9":[8,0,9,16], +"class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92":[8,0,9,4], +"class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461":[8,0,9,5], +"class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe":[8,0,9,14], +"class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286":[8,0,9,6], +"class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd":[8,0,9,7], +"class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af":[8,0,9,12], +"class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6":[8,0,9,9], "class_nim_b_l_e_utils.html":[8,0,8], "classes.html":[8,1], "deprecated.html":[7], @@ -203,8 +207,8 @@ var NAVTREEINDEX0 = "files.html":[9,0], "functions.html":[8,2,0], "functions_func.html":[8,2,1], -"index.html":[0], "index.html":[], +"index.html":[0], "index.html#acknowledgments":[0,4], "index.html#esp-idf-installation":[0,1], "index.html#sponsors":[0,3], @@ -231,23 +235,19 @@ var NAVTREEINDEX0 = "md_1_8x__to2_8x__migration__guide.html#services":[2,4,0], "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,3], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1":[1,6], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-10":[1,44,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-11":[1,46,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-12":[1,47,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-13":[1,48,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-14":[1,50,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2":[1,12], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3":[1,15], -"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,27], +"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,7], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-10":[1,46,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-11":[1,48,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-12":[1,50,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-13":[1,51,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-14":[1,52,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-15":[1,54,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2":[1,10], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3":[1,16], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4":[1,19], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5":[1,25], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6":[1,31], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7":[1,40,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8":[1,41,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9":[1,42,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22":[1,51], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02":[1,50], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13":[1,49], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20":[1,48] +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7":[1,35], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-8":[1,44,1] }; diff --git a/navtreeindex1.js b/navtreeindex1.js index 1766734..43c980d 100644 --- a/navtreeindex1.js +++ b/navtreeindex1.js @@ -1,64 +1,72 @@ var NAVTREEINDEX1 = { -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08":[1,47], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02":[1,46], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04":[1,45], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15":[1,44], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15":[1,43], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31":[1,42], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30":[1,41], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14":[1,38], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16":[1,35], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21":[1,32], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05":[1,28], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12":[1,24], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26":[1,22], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24":[1,19], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28":[1,17], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19":[1,13], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11":[1,10], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02":[1,7], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05":[1,4], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27":[1,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes":[1,39], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed":[1,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1":[1,9], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-10":[1,43,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-11":[1,44,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-12":[1,46,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-13":[1,47,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-14":[1,48,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-15":[1,49,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-16":[1,50,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2":[1,16], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3":[1,26], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-9":[1,45,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22":[1,55], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02":[1,54], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13":[1,53], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20":[1,52], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08":[1,51], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02":[1,50], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04":[1,49], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15":[1,48], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15":[1,47], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31":[1,46], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30":[1,45], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14":[1,42], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md201-2024-12-16":[1,39], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md202-2024-12-21":[1,36], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05":[1,32], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md210-2025-01-12":[1,28], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md211-2025-01-26":[1,26], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md220-2025-02-24":[1,23], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md221-2025-02-28":[1,21], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md230-2025-05-19":[1,17], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md231-2025-06-11":[1,14], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02":[1,11], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05":[1,8], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27":[1,4], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md240-2026-03-20":[1,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes":[1,43], +"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,6], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-10":[1,46,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-11":[1,47,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-12":[1,48,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-13":[1,50,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-14":[1,51,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-15":[1,52,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-16":[1,53,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-17":[1,54,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2":[1,13], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3":[1,20], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-4":[1,30], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5":[1,34], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6":[1,37], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7":[1,40,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8":[1,41,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9":[1,42,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6":[1,38], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7":[1,41], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8":[1,44,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9":[1,45,1], "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,33], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-11":[1,36], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-11":[1,37], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-12":[1,40], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13":[1,41,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-14":[1,42,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-15":[1,43,1], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-16":[1,44,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17":[1,45,0], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-18":[1,46,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-19":[1,47,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-20":[1,48,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-21":[1,50,2], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3":[1,11], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4":[1,14], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-13":[1,44], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-14":[1,45,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-15":[1,46,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-16":[1,47,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-17":[1,48,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-18":[1,49,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-19":[1,50,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2":[1,9], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-20":[1,51,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-21":[1,52,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-22":[1,54,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3":[1,12], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4":[1,15], "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-5":[1,18], -"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-7":[1,23], -"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8":[1,25], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-6":[1,22], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-7":[1,24], +"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,29], "md__bluetooth_015_01features.html":[3], "md__bluetooth_015_01features.html#about-extended-advertising":[3,0], diff --git a/pages.html b/pages.html index 4ec5b56..08315d4 100644 --- a/pages.html +++ b/pages.html @@ -25,7 +25,7 @@ -
      esp-nimble-cpp 2.3.3 +
      esp-nimble-cpp 2.4.0
      diff --git a/search/all_0.js b/search/all_0.js index 6de39a1..3fca67b 100644 --- a/search/all_0.js +++ b/search/all_0.js @@ -14,27 +14,29 @@ var searchData= ['0_202025_2001_2012_11',['[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,'']]], ['0_202025_2002_2024_12',['[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,'']]], ['0_202025_2005_2019_13',['[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,'']]], - ['0_203_202025_2001_2005_14',['[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,'']]], - ['01_2005_15',['[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,'']]], - ['01_2012_16',['[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,'']]], - ['01_2015_17',['[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,'']]], - ['01_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,'']]], - ['01_2026_19',['[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,'']]], - ['02_20',['02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02',1,'[1.0.1] - 2020-09-02'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'[1.3.0] - 2021-08-02'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02',1,'[2.3.2] 2025-09-02']]], - ['02_2008_21',['[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,'']]], - ['02_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,'']]], - ['02_2024_23',['[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,'']]], - ['02_2028_24',['[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,'']]], - ['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',['05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05',1,'[2.0.3] 2025-01-05'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05',1,'[2.3.3] 2025-09-05']]], - ['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,'']]], - ['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',['09 02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02',1,'[1.0.1] - 2020-09-02'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02',1,'[2.3.2] 2025-09-02']]], - ['09_2005_35',['[2.3.3] 2025-09-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05',1,'']]], - ['09_2013_36',['[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,'']]] + ['0_202026_2003_2020_14',['[2.4.0] 2026-03-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md240-2026-03-20',1,'']]], + ['0_203_202025_2001_2005_15',['[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,'']]], + ['01_2005_16',['[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,'']]], + ['01_2012_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,'']]], + ['01_2015_18',['[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,'']]], + ['01_2020_19',['[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,'']]], + ['01_2026_20',['[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,'']]], + ['02_21',['02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02',1,'[1.0.1] - 2020-09-02'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'[1.3.0] - 2021-08-02'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02',1,'[2.3.2] 2025-09-02']]], + ['02_2008_22',['[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,'']]], + ['02_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,'']]], + ['02_2024_24',['[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,'']]], + ['02_2028_25',['[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,'']]], + ['03_2020_26',['[2.4.0] 2026-03-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md240-2026-03-20',1,'']]], + ['04_27',['[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_28',['05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md203-2025-01-05',1,'[2.0.3] 2025-01-05'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05',1,'[2.3.3] 2025-09-05']]], + ['05_2019_29',['[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,'']]], + ['06_2011_30',['[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_31',['[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_32',['[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_33',['[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_34',['[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_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,'']]], + ['09_2002_36',['09 02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02',1,'[1.0.1] - 2020-09-02'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02',1,'[2.3.2] 2025-09-02']]], + ['09_2005_37',['[2.3.3] 2025-09-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05',1,'']]], + ['09_2013_38',['[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_11.js b/search/all_11.js index 93d82ca..2ab7546 100644 --- a/search/all_11.js +++ b/search/all_11.js @@ -9,13 +9,13 @@ var searchData= ['nimbleaddress_6',['nimbleaddress',['../class_nim_b_l_e_address.html',1,'NimBLEAddress'],['../class_nim_b_l_e_address.html#adc38af9709f212868a89e52ea700a417',1,'NimBLEAddress::NimBLEAddress()=default'],['../class_nim_b_l_e_address.html#ac1bad3b929b3a694402cc7354635775e',1,'NimBLEAddress::NimBLEAddress(const ble_addr_t address)'],['../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#a4339a4ba2a68932000b2168547a37b35',1,'NimBLEAddress::NimBLEAddress(const std::string &stringAddress, uint8_t type)'],['../class_nim_b_l_e_address.html#adde06cf0cd99fed05b199fcd8df665a9',1,'NimBLEAddress::NimBLEAddress(const uint64_t &address, uint8_t type)']]], ['nimbleadvertisementdata_7',['NimBLEAdvertisementData',['../class_nim_b_l_e_advertisement_data.html',1,'']]], ['nimbleadvertising_8',['nimbleadvertising',['../class_nim_b_l_e_advertising.html',1,'NimBLEAdvertising'],['../class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd',1,'NimBLEAdvertising::NimBLEAdvertising()']]], - ['nimbleattvalue_9',['nimbleattvalue',['../class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c',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#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#a2860f49ac373ddc76ec923de3805d030',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=MYNEWT_VAL(NIMBLE_CPP_ATT_VALUE_INIT_LENGTH), 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#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)']]], + ['nimbleattvalue_9',['nimbleattvalue',['../class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c',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#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#a2860f49ac373ddc76ec923de3805d030',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=MYNEWT_VAL(NIMBLE_CPP_ATT_VALUE_INIT_LENGTH), 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#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#a03347eab1f3df449762902a4256d2b1c',1,'NimBLEAttValue::NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], ['nimbleconninfo_10',['NimBLEConnInfo',['../class_nim_b_l_e_conn_info.html',1,'']]], ['nimbledevice_11',['NimBLEDevice',['../class_nim_b_l_e_device.html',1,'']]], ['nimbledevicecallbacks_12',['NimBLEDeviceCallbacks',['../class_nim_b_l_e_device_callbacks.html',1,'']]], ['nimbletaskdata_13',['nimbletaskdata',['../struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4',1,'NimBLETaskData::NimBLETaskData()'],['../struct_nim_b_l_e_task_data.html',1,'NimBLETaskData']]], ['nimbleutils_14',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], - ['nimbleuuid_15',['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#a11f607fa0f7afbad0f047c6e9cba9d4d',1,'NimBLEUUID::NimBLEUUID(const ble_uuid_any_t &uuid)'],['../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)']]], + ['nimbleuuid_15',['nimbleuuid',['../class_nim_b_l_e_u_u_i_d.html',1,'NimBLEUUID'],['../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'],['../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#a8b701010caa0a48ded55db8d99bf3d2a',1,'NimBLEUUID::NimBLEUUID(const ble_uuid_t *uuid)']]], ['not_20delete_20client_20instances_20unless_20necessary_20or_20unused_16',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], ['now_17',['Is Now',['../md__migration__guide.html#is-now',1,'']]] ]; diff --git a/search/all_16.js b/search/all_16.js index 4f05fd0..1d8a2b7 100644 --- a/search/all_16.js +++ b/search/all_16.js @@ -14,5 +14,5 @@ var searchData= ['to_20nimble_11',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]], ['to128_12',['to128',['../class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c',1,'NimBLEUUID']]], ['to16_13',['to16',['../class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb',1,'NimBLEUUID']]], - ['tostring_14',['tostring',['../class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961',1,'NimBLEDevice::toString()'],['../class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64',1,'NimBLEUUID::toString()'],['../class_nim_b_l_e_advertisement_data.html#a6ff7fc36a9f5966792f354d2586714a6',1,'NimBLEAdvertisementData::toString()'],['../class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6',1,'NimBLEAddress::toString()']]] + ['tostring_14',['tostring',['../class_nim_b_l_e_conn_info.html#a82da6ce1d231083023460742eb2d41b1',1,'NimBLEConnInfo::toString()'],['../class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961',1,'NimBLEDevice::toString()'],['../class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64',1,'NimBLEUUID::toString()'],['../class_nim_b_l_e_advertisement_data.html#a6ff7fc36a9f5966792f354d2586714a6',1,'NimBLEAdvertisementData::toString()'],['../class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6',1,'NimBLEAddress::toString()']]] ]; diff --git a/search/all_2.js b/search/all_2.js index 89c0e8e..a4f6cd0 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -16,36 +16,38 @@ var searchData= ['2_203_202_202025_2009_2002_13',['[2.3.2] 2025-09-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02',1,'']]], ['2_203_203_202025_2009_2005_14',['[2.3.3] 2025-09-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05',1,'']]], ['2_203_204_202025_2012_2027_15',['[2.3.4] 2025-12-27',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27',1,'']]], - ['2_20x_16',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], - ['20_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,'']]], - ['2020_2008_2022_18',['[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_19',['[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_20',['[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_21',['[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_22',['[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_23',['[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_24',['[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_25',['[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_26',['[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_27',['[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_28',['[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_29',['[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_30',['[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_31',['[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_32',['[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_33',['[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_34',['[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_35',['[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_36',['[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_37',['[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_38',['[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,'']]], - ['2025_2009_2002_39',['[2.3.2] 2025-09-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02',1,'']]], - ['2025_2009_2005_40',['[2.3.3] 2025-09-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05',1,'']]], - ['2025_2012_2027_41',['[2.3.4] 2025-12-27',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27',1,'']]], - ['21_42',['[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_43',['[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_44',['[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_45',['[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,'']]], - ['27_46',['[2.3.4] 2025-12-27',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27',1,'']]], - ['28_47',['[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_204_200_202026_2003_2020_16',['[2.4.0] 2026-03-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md240-2026-03-20',1,'']]], + ['2_20x_17',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['20_18',['20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20',1,'[1.1.0] - 2021-01-20'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md240-2026-03-20',1,'[2.4.0] 2026-03-20']]], + ['2020_2008_2022_19',['[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_20',['[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_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,'']]], + ['2021_2001_2020_22',['[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_23',['[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_24',['[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_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,'']]], + ['2022_2001_2015_26',['[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_27',['[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_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,'']]], + ['2022_2010_2030_29',['[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_30',['[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_31',['[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_32',['[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_33',['[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_34',['[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_35',['[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_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,'']]], + ['2025_2002_2028_37',['[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_38',['[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_39',['[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,'']]], + ['2025_2009_2002_40',['[2.3.2] 2025-09-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md232-2025-09-02',1,'']]], + ['2025_2009_2005_41',['[2.3.3] 2025-09-05',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md233-2025-09-05',1,'']]], + ['2025_2012_2027_42',['[2.3.4] 2025-12-27',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27',1,'']]], + ['2026_2003_2020_43',['[2.4.0] 2026-03-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md240-2026-03-20',1,'']]], + ['21_44',['[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_45',['[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_46',['[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_47',['[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,'']]], + ['27_48',['[2.3.4] 2025-12-27',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27',1,'']]], + ['28_49',['[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_4.js b/search/all_4.js index 1e7d395..17f3639 100644 --- a/search/all_4.js +++ b/search/all_4.js @@ -1,6 +1,7 @@ var searchData= [ ['4_200_202022_2007_2031_0',['[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_201_202022_2010_2030_1',['[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,'']]], - ['4_202025_2012_2027_2',['[2.3.4] 2025-12-27',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27',1,'']]] + ['4_200_202026_2003_2020_1',['[2.4.0] 2026-03-20',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md240-2026-03-20',1,'']]], + ['4_201_202022_2010_2030_2',['[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,'']]], + ['4_202025_2012_2027_3',['[2.3.4] 2025-12-27',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md234-2025-12-27',1,'']]] ]; diff --git a/search/all_6.js b/search/all_6.js index 9e83e34..7df4d8d 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -5,7 +5,7 @@ var searchData= ['about_20extended_20advertising_2',['About extended advertising',['../md__bluetooth_015_01features.html#about-extended-advertising',1,'']]], ['acknowledgments_3',['Acknowledgments',['../index.html#acknowledgments',1,'']]], ['adddata_4',['adddata',['../class_nim_b_l_e_advertisement_data.html#a051d8f4ae66d2caa39351af8277bf0ed',1,'NimBLEAdvertisementData::addData(const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertisement_data.html#a67f4d6869eb2797bc78389adf20cb59e',1,'NimBLEAdvertisementData::addData(const uint8_t *data, size_t length)']]], - ['added_5',['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-14',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-13',1,'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-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-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',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-5',1,'Added']]], + ['added_5',['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-15',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-14',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-13',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-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',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-5',1,'Added']]], ['addresses_6',['addresses',['../md_1_8x__to2_8x__migration__guide.html#ble-addresses',1,'BLE Addresses'],['../md__migration__guide.html#ble-addresses-1',1,'BLE Addresses']]], ['addserviceuuid_7',['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#a1bacfa32690f7e0c6f1172ea03c68c0d',1,'NimBLEAdvertising::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_advertising.html#a67c9589dff7e0ee3ec24f2c930d56c06',1,'NimBLEAdvertising::addServiceUUID(const NimBLEUUID &serviceUUID)']]], ['addtxpower_8',['addtxpower',['../class_nim_b_l_e_advertising.html#a0d3c5cb3a93416a4206abb1f8e443ebf',1,'NimBLEAdvertising::addTxPower()'],['../class_nim_b_l_e_advertisement_data.html#a3f227c597ec00f639e4bd26b80ce404b',1,'NimBLEAdvertisementData::addTxPower()']]], diff --git a/search/all_8.js b/search/all_8.js index abbcb06..499f1c8 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -1,15 +1,15 @@ var searchData= [ ['c_5fstr_0',['c_str',['../class_nim_b_l_e_att_value.html#a4d18b6e6839afc943f11200e76414c17',1,'NimBLEAttValue']]], - ['callbacks_1',['callbacks',['../md__migration__guide.html#characteristic-callbacks-1',1,'Characteristic callbacks'],['../md_1_8x__to2_8x__migration__guide.html#characteristic-callbacks',1,'Characteristic callbacks'],['../md_1_8x__to2_8x__migration__guide.html#client-callbacks',1,'Client callbacks'],['../md__migration__guide.html#client-callbacks-1',1,'Client callbacks'],['../md__migration__guide.html#descriptor-callbacks',1,'Descriptor callbacks']]], + ['callbacks_1',['callbacks',['../md__migration__guide.html#characteristic-callbacks-1',1,'Characteristic callbacks'],['../md_1_8x__to2_8x__migration__guide.html#characteristic-callbacks',1,'Characteristic callbacks'],['../md__migration__guide.html#client-callbacks-1',1,'Client callbacks'],['../md_1_8x__to2_8x__migration__guide.html#client-callbacks',1,'Client callbacks'],['../md__migration__guide.html#descriptor-callbacks',1,'Descriptor callbacks']]], ['can_20be_20lost_20due_20to_20low_20max_5fcccds_2',['Persisted bonds can be lost due to low MAX_CCCDS',['../md__usage__tips.html#persisted-bonds-can-be-lost-due-to-low-max_cccds',1,'']]], ['capacity_3',['capacity',['../class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2',1,'NimBLEAttValue']]], - ['changed_4',['changed',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-4',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-16',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-15',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-14',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-13',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-12',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-11',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-10',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3',1,'Changed']]], + ['changed_4',['changed',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-10',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-17',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-16',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-15',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-14',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-13',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-12',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-11',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-4',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2',1,'Changed']]], ['changelog_5',['Changelog',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html',1,'']]], ['changes_6',['General changes',['../md_1_8x__to2_8x__migration__guide.html#general-changes',1,'']]], ['changes_20strong_7',['<strong>Breaking changes</strong>',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes',1,'']]], - ['characteristic_20callbacks_8',['characteristic callbacks',['../md__migration__guide.html#characteristic-callbacks-1',1,'Characteristic callbacks'],['../md_1_8x__to2_8x__migration__guide.html#characteristic-callbacks',1,'Characteristic callbacks']]], - ['characteristics_9',['characteristics',['../md__migration__guide.html#characteristics-1',1,'Characteristics'],['../md_1_8x__to2_8x__migration__guide.html#characteristics',1,'Characteristics'],['../md__migration__guide.html#remote-characteristics-1',1,'Remote Characteristics'],['../md_1_8x__to2_8x__migration__guide.html#remote-characteristics',1,'Remote Characteristics']]], + ['characteristic_20callbacks_8',['characteristic callbacks',['../md_1_8x__to2_8x__migration__guide.html#characteristic-callbacks',1,'Characteristic callbacks'],['../md__migration__guide.html#characteristic-callbacks-1',1,'Characteristic callbacks']]], + ['characteristics_9',['characteristics',['../md_1_8x__to2_8x__migration__guide.html#characteristics',1,'Characteristics'],['../md__migration__guide.html#characteristics-1',1,'Characteristics'],['../md_1_8x__to2_8x__migration__guide.html#remote-characteristics',1,'Remote Characteristics'],['../md__migration__guide.html#remote-characteristics-1',1,'Remote Characteristics']]], ['characteristics_20needed_10',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], ['check_20return_20values_11',['Check return values',['../md__usage__tips.html#check-return-values',1,'']]], ['class_20names_12',['Class Names',['../md__migration__guide.html#class-names',1,'']]], diff --git a/search/all_b.js b/search/all_b.js index fa07aba..90e20fe 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-10',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-21',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-20',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-19',1,'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-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-11',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-22',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-21',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-20',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-19',1,'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-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 1c3866d..77d107e 100644 --- a/search/all_c.js +++ b/search/all_c.js @@ -23,7 +23,8 @@ var searchData= ['gettype_20',['getType',['../class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb',1,'NimBLEAddress']]], ['getval_21',['getVal',['../class_nim_b_l_e_address.html#a196801fb1ad972085e748c90159e858e',1,'NimBLEAddress']]], ['getvalue_22',['getvalue',['../class_nim_b_l_e_att_value.html#ab16b9901e6ff9374c7d2e1afa5aa4671',1,'NimBLEAttValue::getValue()'],['../class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af',1,'NimBLEUUID::getValue()']]], - ['getwhitelistaddress_23',['getWhiteListAddress',['../class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789',1,'NimBLEDevice']]], - ['getwhitelistcount_24',['getWhiteListCount',['../class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0',1,'NimBLEDevice']]], - ['guide_25',['New User Guide',['../md__new__user__guide.html',1,'']]] + ['getversion_23',['getVersion',['../class_nim_b_l_e_device.html#af54be1633fe006b4b421abb471129b4f',1,'NimBLEDevice']]], + ['getwhitelistaddress_24',['getWhiteListAddress',['../class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789',1,'NimBLEDevice']]], + ['getwhitelistcount_25',['getWhiteListCount',['../class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0',1,'NimBLEDevice']]], + ['guide_26',['New User Guide',['../md__new__user__guide.html',1,'']]] ]; diff --git a/search/functions_6.js b/search/functions_6.js index 0ac95ab..6463134 100644 --- a/search/functions_6.js +++ b/search/functions_6.js @@ -20,6 +20,7 @@ var searchData= ['gettype_17',['getType',['../class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb',1,'NimBLEAddress']]], ['getval_18',['getVal',['../class_nim_b_l_e_address.html#a196801fb1ad972085e748c90159e858e',1,'NimBLEAddress']]], ['getvalue_19',['getvalue',['../class_nim_b_l_e_att_value.html#ab16b9901e6ff9374c7d2e1afa5aa4671',1,'NimBLEAttValue::getValue()'],['../class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af',1,'NimBLEUUID::getValue()']]], - ['getwhitelistaddress_20',['getWhiteListAddress',['../class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789',1,'NimBLEDevice']]], - ['getwhitelistcount_21',['getWhiteListCount',['../class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0',1,'NimBLEDevice']]] + ['getversion_20',['getVersion',['../class_nim_b_l_e_device.html#af54be1633fe006b4b421abb471129b4f',1,'NimBLEDevice']]], + ['getwhitelistaddress_21',['getWhiteListAddress',['../class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789',1,'NimBLEDevice']]], + ['getwhitelistcount_22',['getWhiteListCount',['../class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0',1,'NimBLEDevice']]] ]; diff --git a/search/functions_b.js b/search/functions_b.js index 20f28ce..f620271 100644 --- a/search/functions_b.js +++ b/search/functions_b.js @@ -2,7 +2,7 @@ var searchData= [ ['nimbleaddress_0',['nimbleaddress',['../class_nim_b_l_e_address.html#ac1bad3b929b3a694402cc7354635775e',1,'NimBLEAddress::NimBLEAddress(const ble_addr_t address)'],['../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#a4339a4ba2a68932000b2168547a37b35',1,'NimBLEAddress::NimBLEAddress(const std::string &stringAddress, uint8_t type)'],['../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#adc38af9709f212868a89e52ea700a417',1,'NimBLEAddress::NimBLEAddress()=default']]], ['nimbleadvertising_1',['NimBLEAdvertising',['../class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd',1,'NimBLEAdvertising']]], - ['nimbleattvalue_2',['nimbleattvalue',['../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#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#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#a2860f49ac373ddc76ec923de3805d030',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=MYNEWT_VAL(NIMBLE_CPP_ATT_VALUE_INIT_LENGTH), uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], + ['nimbleattvalue_2',['nimbleattvalue',['../class_nim_b_l_e_att_value.html#a7473ad95c2240e0d1ce5c2d57f8914c2',1,'NimBLEAttValue::NimBLEAttValue(const NimBLEAttValue &source)'],['../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#a2860f49ac373ddc76ec923de3805d030',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=MYNEWT_VAL(NIMBLE_CPP_ATT_VALUE_INIT_LENGTH), uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], ['nimbletaskdata_3',['NimBLETaskData',['../struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4',1,'NimBLETaskData']]], - ['nimbleuuid_4',['nimbleuuid',['../class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc',1,'NimBLEUUID::NimBLEUUID()=default'],['../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#a6fd3849062c96cee3d6cd00544fadfac',1,'NimBLEUUID::NimBLEUUID(const std::string &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#ab4e1658b1c414edb9aea5cf5140fa461',1,'NimBLEUUID::NimBLEUUID(uint32_t uuid)'],['../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#aca27c0b572bb65ff9559f3b7ce8541fd',1,'NimBLEUUID::NimBLEUUID(const uint8_t *pData, size_t size)'],['../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)']]] + ['nimbleuuid_4',['nimbleuuid',['../class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc',1,'NimBLEUUID::NimBLEUUID()=default'],['../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#a8b701010caa0a48ded55db8d99bf3d2a',1,'NimBLEUUID::NimBLEUUID(const ble_uuid_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#aadbfc5504e63cd91c59c778607b8dd92',1,'NimBLEUUID::NimBLEUUID(uint16_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#ac9fbd00e7ffeb334571016c61bca9286',1,'NimBLEUUID::NimBLEUUID(const ble_uuid128_t *uuid)'],['../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#a399dca7d70ee262aa155b39d357321b1',1,'NimBLEUUID::NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)']]] ]; diff --git a/search/functions_f.js b/search/functions_f.js index a9e8ca2..efadfda 100644 --- a/search/functions_f.js +++ b/search/functions_f.js @@ -4,5 +4,5 @@ var searchData= ['taskwait_1',['taskWait',['../class_nim_b_l_e_utils.html#a6b3a170f26ce51f353ff960f59739181',1,'NimBLEUtils']]], ['to128_2',['to128',['../class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c',1,'NimBLEUUID']]], ['to16_3',['to16',['../class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb',1,'NimBLEUUID']]], - ['tostring_4',['tostring',['../class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6',1,'NimBLEAddress::toString()'],['../class_nim_b_l_e_advertisement_data.html#a6ff7fc36a9f5966792f354d2586714a6',1,'NimBLEAdvertisementData::toString()'],['../class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961',1,'NimBLEDevice::toString()'],['../class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64',1,'NimBLEUUID::toString()']]] + ['tostring_4',['tostring',['../class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6',1,'NimBLEAddress::toString()'],['../class_nim_b_l_e_advertisement_data.html#a6ff7fc36a9f5966792f354d2586714a6',1,'NimBLEAdvertisementData::toString()'],['../class_nim_b_l_e_conn_info.html#a82da6ce1d231083023460742eb2d41b1',1,'NimBLEConnInfo::toString()'],['../class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961',1,'NimBLEDevice::toString()'],['../class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64',1,'NimBLEUUID::toString()']]] ]; diff --git a/struct_nim_b_l_e_task_data-members.html b/struct_nim_b_l_e_task_data-members.html index 6182f32..18258c8 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.3 +
      esp-nimble-cpp 2.4.0
      diff --git a/struct_nim_b_l_e_task_data.html b/struct_nim_b_l_e_task_data.html index 8073c70..4e47811 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.3 +
      esp-nimble-cpp 2.4.0