From 73d39b0a885590ff2c94e21a5e1ae33f048a0698 Mon Sep 17 00:00:00 2001 From: h2zero Date: Sun, 30 Oct 2022 17:19:11 +0000 Subject: [PATCH] deploy: afdeff7871ef2f627d5ef8638e057a10a4c4cf16 --- .nojekyll | 0 _h_i_d_keyboard_types_8h_source.html | 4 +- _h_i_d_types_8h_source.html | 4 +- _nim_b_l_e2904_8h_source.html | 4 +- _nim_b_l_e_address_8h_source.html | 4 +- _nim_b_l_e_advertised_device_8h_source.html | 4 +- _nim_b_l_e_advertising_8h_source.html | 4 +- _nim_b_l_e_att_value_8h_source.html | 4 +- _nim_b_l_e_beacon_8h_source.html | 4 +- _nim_b_l_e_characteristic_8h_source.html | 4 +- _nim_b_l_e_client_8h_source.html | 64 ++-- _nim_b_l_e_conn_info_8h_source.html | 4 +- _nim_b_l_e_descriptor_8h_source.html | 4 +- _nim_b_l_e_device_8h_source.html | 315 +++++++++--------- _nim_b_l_e_eddystone_t_l_m_8h_source.html | 4 +- _nim_b_l_e_eddystone_u_r_l_8h_source.html | 4 +- _nim_b_l_e_ext_advertising_8h_source.html | 4 +- _nim_b_l_e_h_i_d_device_8h_source.html | 6 +- _nim_b_l_e_log_8h_source.html | 4 +- ...b_l_e_remote_characteristic_8h_source.html | 24 +- _nim_b_l_e_remote_descriptor_8h_source.html | 4 +- _nim_b_l_e_remote_service_8h_source.html | 4 +- _nim_b_l_e_scan_8h_source.html | 4 +- _nim_b_l_e_security_8h_source.html | 4 +- _nim_b_l_e_server_8h_source.html | 179 +++++----- _nim_b_l_e_service_8h_source.html | 4 +- _nim_b_l_e_u_u_i_d_8h_source.html | 4 +- _nim_b_l_e_utils_8h_source.html | 4 +- annotated.html | 2 +- class_nim_b_l_e2904-members.html | 2 +- class_nim_b_l_e2904.html | 2 +- class_nim_b_l_e_address-members.html | 2 +- class_nim_b_l_e_address.html | 2 +- ...s_nim_b_l_e_advertised_device-members.html | 2 +- class_nim_b_l_e_advertised_device.html | 2 +- ...e_advertised_device_callbacks-members.html | 2 +- ...nim_b_l_e_advertised_device_callbacks.html | 2 +- ..._nim_b_l_e_advertisement_data-members.html | 2 +- class_nim_b_l_e_advertisement_data.html | 2 +- class_nim_b_l_e_advertising-members.html | 2 +- class_nim_b_l_e_advertising.html | 2 +- class_nim_b_l_e_att_value-members.html | 2 +- class_nim_b_l_e_att_value.html | 2 +- class_nim_b_l_e_beacon-members.html | 2 +- class_nim_b_l_e_beacon.html | 2 +- class_nim_b_l_e_characteristic-members.html | 2 +- class_nim_b_l_e_characteristic.html | 2 +- ..._l_e_characteristic_callbacks-members.html | 2 +- class_nim_b_l_e_characteristic_callbacks.html | 2 +- class_nim_b_l_e_characteristic_callbacks.js | 4 +- class_nim_b_l_e_client-members.html | 2 +- class_nim_b_l_e_client.html | 2 +- class_nim_b_l_e_client_callbacks-members.html | 2 +- class_nim_b_l_e_client_callbacks.html | 4 +- class_nim_b_l_e_conn_info-members.html | 2 +- class_nim_b_l_e_conn_info.html | 2 +- class_nim_b_l_e_descriptor-members.html | 2 +- class_nim_b_l_e_descriptor.html | 2 +- ...im_b_l_e_descriptor_callbacks-members.html | 2 +- class_nim_b_l_e_descriptor_callbacks.html | 2 +- class_nim_b_l_e_device-members.html | 22 +- class_nim_b_l_e_device.html | 76 ++++- class_nim_b_l_e_eddystone_t_l_m-members.html | 2 +- class_nim_b_l_e_eddystone_t_l_m.html | 2 +- class_nim_b_l_e_eddystone_u_r_l-members.html | 2 +- class_nim_b_l_e_eddystone_u_r_l.html | 2 +- ...s_nim_b_l_e_ext_advertisement-members.html | 2 +- class_nim_b_l_e_ext_advertisement.html | 2 +- class_nim_b_l_e_ext_advertising-members.html | 2 +- class_nim_b_l_e_ext_advertising.html | 2 +- ...l_e_ext_advertising_callbacks-members.html | 2 +- ...s_nim_b_l_e_ext_advertising_callbacks.html | 2 +- class_nim_b_l_e_h_i_d_device-members.html | 2 +- class_nim_b_l_e_h_i_d_device.html | 2 +- ...m_b_l_e_remote_characteristic-members.html | 6 +- class_nim_b_l_e_remote_characteristic.html | 30 +- class_nim_b_l_e_remote_characteristic.js | 4 +- ...s_nim_b_l_e_remote_descriptor-members.html | 2 +- class_nim_b_l_e_remote_descriptor.html | 2 +- class_nim_b_l_e_remote_service-members.html | 2 +- class_nim_b_l_e_remote_service.html | 2 +- class_nim_b_l_e_scan-members.html | 2 +- class_nim_b_l_e_scan.html | 2 +- class_nim_b_l_e_scan_results-members.html | 2 +- class_nim_b_l_e_scan_results.html | 2 +- class_nim_b_l_e_security-members.html | 2 +- class_nim_b_l_e_security.html | 2 +- ..._nim_b_l_e_security_callbacks-members.html | 2 +- class_nim_b_l_e_security_callbacks.html | 2 +- class_nim_b_l_e_server-members.html | 9 +- class_nim_b_l_e_server.html | 30 +- class_nim_b_l_e_server.js | 1 + class_nim_b_l_e_server_callbacks-members.html | 2 +- class_nim_b_l_e_server_callbacks.html | 2 +- class_nim_b_l_e_service-members.html | 2 +- class_nim_b_l_e_service.html | 2 +- class_nim_b_l_e_u_u_i_d-members.html | 2 +- class_nim_b_l_e_u_u_i_d.html | 2 +- class_nim_b_l_e_utils-members.html | 2 +- class_nim_b_l_e_utils.html | 2 +- classes.html | 2 +- deprecated.html | 4 +- dir_68267d1309a1af8e8297ef4c3efbcdba.html | 4 +- files.html | 2 +- functions.html | 2 +- functions_b.html | 2 +- functions_c.html | 2 +- functions_d.html | 2 +- functions_e.html | 2 +- functions_enum.html | 2 +- functions_f.html | 2 +- functions_func.html | 2 +- functions_func_b.html | 2 +- functions_func_c.html | 2 +- functions_func_d.html | 2 +- functions_func_e.html | 2 +- functions_func_f.html | 2 +- functions_func_g.html | 4 +- functions_func_h.html | 2 +- functions_func_i.html | 4 +- functions_func_l.html | 2 +- functions_func_m.html | 2 +- functions_func_n.html | 8 +- functions_func_o.html | 2 +- functions_func_p.html | 2 +- functions_func_r.html | 2 +- functions_func_s.html | 9 +- functions_func_t.html | 2 +- functions_func_u.html | 4 +- functions_func_w.html | 2 +- functions_func_~.html | 2 +- functions_g.html | 4 +- functions_h.html | 2 +- functions_i.html | 4 +- functions_l.html | 2 +- functions_m.html | 2 +- functions_n.html | 8 +- functions_o.html | 2 +- functions_p.html | 2 +- functions_r.html | 2 +- functions_s.html | 9 +- functions_t.html | 2 +- functions_u.html | 4 +- functions_w.html | 2 +- functions_~.html | 2 +- globals.html | 2 +- globals_defs.html | 2 +- hierarchy.html | 2 +- index.html | 16 +- md__bluetooth_5_features.html | 6 +- ...__github_workspace__c_h_a_n_g_e_l_o_g.html | 211 ++++++------ md__improvements_and_updates.html | 12 +- md__migration_guide.html | 46 +-- md__new_user_guide.html | 10 +- md__usage_tips.html | 12 +- navtreedata.js | 153 +++++---- navtreeindex1.js | 4 +- navtreeindex2.js | 169 +++++----- nimconfig_8h.html | 4 +- nimconfig_8h_source.html | 4 +- pages.html | 4 +- search/all_10.js | 8 +- search/all_11.js | 6 +- search/all_12.js | 6 +- search/all_13.js | 12 +- search/all_2.js | 6 +- search/all_6.js | 16 +- search/all_8.js | 2 +- search/all_b.js | 22 +- search/all_c.js | 6 +- search/all_f.js | 145 ++++---- search/classes_0.js | 68 ++-- search/defines_0.js | 44 +-- search/enums_0.js | 2 +- search/files_0.js | 2 +- search/functions_0.js | 22 +- search/functions_1.js | 12 +- search/functions_10.js | 6 +- search/functions_11.js | 4 +- search/functions_12.js | 6 +- search/functions_13.js | 12 +- search/functions_2.js | 36 +- search/functions_3.js | 32 +- search/functions_4.js | 8 +- search/functions_5.js | 4 +- search/functions_6.js | 202 +++++------ search/functions_7.js | 28 +- search/functions_8.js | 32 +- search/functions_9.js | 2 +- search/functions_a.js | 4 +- search/functions_b.js | 30 +- search/functions_c.js | 56 ++-- search/functions_d.js | 4 +- search/functions_e.js | 32 +- search/functions_f.js | 189 +++++------ search/pages_0.js | 2 +- search/pages_1.js | 2 +- search/pages_2.js | 2 +- search/pages_3.js | 2 +- search/pages_4.js | 2 +- search/pages_5.js | 2 +- search/pages_6.js | 2 +- search/pages_7.js | 2 +- search/pages_8.js | 2 +- todo.html | 2 +- 205 files changed, 1477 insertions(+), 1384 deletions(-) create mode 100644 .nojekyll rename md__k___users__ryan__desktop_test_idf_components_esp_nimble_cpp__c_h_a_n_g_e_l_o_g.html => md__github_workspace__c_h_a_n_g_e_l_o_g.html (87%) diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/_h_i_d_keyboard_types_8h_source.html b/_h_i_d_keyboard_types_8h_source.html index cd5fb39..c751672 100644 --- a/_h_i_d_keyboard_types_8h_source.html +++ b/_h_i_d_keyboard_types_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/HIDKeyboardTypes.h Source File +esp-nimble-cpp: /github/workspace/src/HIDKeyboardTypes.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_h_i_d_types_8h_source.html b/_h_i_d_types_8h_source.html index dfe4099..e8f348c 100644 --- a/_h_i_d_types_8h_source.html +++ b/_h_i_d_types_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/HIDTypes.h Source File +esp-nimble-cpp: /github/workspace/src/HIDTypes.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e2904_8h_source.html b/_nim_b_l_e2904_8h_source.html index 592a073..c9bccdb 100644 --- a/_nim_b_l_e2904_8h_source.html +++ b/_nim_b_l_e2904_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLE2904.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLE2904.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_address_8h_source.html b/_nim_b_l_e_address_8h_source.html index e2839e8..691920d 100644 --- a/_nim_b_l_e_address_8h_source.html +++ b/_nim_b_l_e_address_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEAddress.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEAddress.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_advertised_device_8h_source.html b/_nim_b_l_e_advertised_device_8h_source.html index 528d009..b8e265e 100644 --- a/_nim_b_l_e_advertised_device_8h_source.html +++ b/_nim_b_l_e_advertised_device_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEAdvertisedDevice.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEAdvertisedDevice.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_advertising_8h_source.html b/_nim_b_l_e_advertising_8h_source.html index 756f519..41d921e 100644 --- a/_nim_b_l_e_advertising_8h_source.html +++ b/_nim_b_l_e_advertising_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEAdvertising.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEAdvertising.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_att_value_8h_source.html b/_nim_b_l_e_att_value_8h_source.html index fa9f72e..366cc31 100644 --- a/_nim_b_l_e_att_value_8h_source.html +++ b/_nim_b_l_e_att_value_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEAttValue.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEAttValue.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_beacon_8h_source.html b/_nim_b_l_e_beacon_8h_source.html index f1bf3e8..0f3ebfa 100644 --- a/_nim_b_l_e_beacon_8h_source.html +++ b/_nim_b_l_e_beacon_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEBeacon.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEBeacon.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_characteristic_8h_source.html b/_nim_b_l_e_characteristic_8h_source.html index c46c2a5..ecaf25e 100644 --- a/_nim_b_l_e_characteristic_8h_source.html +++ b/_nim_b_l_e_characteristic_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLECharacteristic.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLECharacteristic.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_client_8h_source.html b/_nim_b_l_e_client_8h_source.html index d359d06..58b1244 100644 --- a/_nim_b_l_e_client_8h_source.html +++ b/_nim_b_l_e_client_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEClient.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEClient.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -225,41 +225,41 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_client_8h_source.html','');
A representation of a BLE advertised device found by a scan.
Definition: NimBLEAdvertisedDevice.h:42
A specialized container class to hold BLE attribute values.
Definition: NimBLEAttValue.h:61
Callbacks associated with a BLE client.
Definition: NimBLEClient.h:120
-
virtual void onDisconnect(NimBLEClient *pClient)
Called when disconnected from the server.
Definition: NimBLEClient.cpp:1266
-
virtual void onAuthenticationComplete(ble_gap_conn_desc *desc)
Called when the pairing procedure is complete.
Definition: NimBLEClient.cpp:1288
-
virtual bool onConnParamsUpdateRequest(NimBLEClient *pClient, const ble_gap_upd_params *params)
Called when server requests to update the connection parameters.
Definition: NimBLEClient.cpp:1270
-
virtual void onConnect(NimBLEClient *pClient)
Called after client connects.
Definition: NimBLEClient.cpp:1262
-
virtual uint32_t onPassKeyRequest()
Called when server requests a passkey for pairing.
Definition: NimBLEClient.cpp:1275
-
virtual bool onConfirmPIN(uint32_t pin)
Called when using numeric comparision for pairing.
Definition: NimBLEClient.cpp:1291
+
virtual void onDisconnect(NimBLEClient *pClient)
Called when disconnected from the server.
Definition: NimBLEClient.cpp:1269
+
virtual void onAuthenticationComplete(ble_gap_conn_desc *desc)
Called when the pairing procedure is complete.
Definition: NimBLEClient.cpp:1291
+
virtual bool onConnParamsUpdateRequest(NimBLEClient *pClient, const ble_gap_upd_params *params)
Called when server requests to update the connection parameters.
Definition: NimBLEClient.cpp:1273
+
virtual void onConnect(NimBLEClient *pClient)
Called after client connects.
Definition: NimBLEClient.cpp:1265
+
virtual uint32_t onPassKeyRequest()
Called when server requests a passkey for pairing.
Definition: NimBLEClient.cpp:1278
+
virtual bool onConfirmPIN(uint32_t pin)
Called when using numeric comparision for pairing.
Definition: NimBLEClient.cpp:1294
A model of a BLE client.
Definition: NimBLEClient.h:39
-
NimBLEAddress getPeerAddress()
Retrieve the address of the peer.
Definition: NimBLEClient.cpp:555
-
std::vector< NimBLERemoteService * >::iterator end()
Get iterator to the end of the vector of remote service pointers.
Definition: NimBLEClient.cpp:613
+
NimBLEAddress getPeerAddress()
Retrieve the address of the peer.
Definition: NimBLEClient.cpp:558
+
std::vector< NimBLERemoteService * >::iterator end()
Get iterator to the end of the vector of remote service pointers.
Definition: NimBLEClient.cpp:616
size_t deleteService(const NimBLEUUID &uuid)
Delete service by UUID.
Definition: NimBLEClient.cpp:141
-
bool discoverAttributes()
Retrieves the full database of attributes that the peripheral has available.
Definition: NimBLEClient.cpp:708
-
void setConnectionParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout, uint16_t scanInterval=16, uint16_t scanWindow=16)
Set the connection parameters to use when connecting to a server.
Definition: NimBLEClient.cpp:442
-
int getLastError()
Get the last error code reported by the NimBLE host.
Definition: NimBLEClient.cpp:1257
-
NimBLERemoteCharacteristic * getCharacteristic(const uint16_t handle)
Get the remote characteristic with the specified handle.
Definition: NimBLEClient.cpp:892
-
void setDataLen(uint16_t tx_octets)
Request an update of the data packet length.
Definition: NimBLEClient.cpp:501
-
NimBLEAttValue getValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)
Get the value of a specific characteristic associated with a specific service.
Definition: NimBLEClient.cpp:839
-
void setConnectPhy(uint8_t mask)
Set the PHY types to use when connecting to a server.
Definition: NimBLEClient.cpp:427
-
void setConnectTimeout(uint8_t timeout)
Set the timeout to wait for connection attempt to complete.
Definition: NimBLEClient.cpp:538
-
NimBLEConnInfo getConnInfo()
Get detailed information about the current peer connection.
Definition: NimBLEClient.cpp:519
-
int disconnect(uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
Disconnect from the peer.
Definition: NimBLEClient.cpp:374
+
bool discoverAttributes()
Retrieves the full database of attributes that the peripheral has available.
Definition: NimBLEClient.cpp:711
+
void setConnectionParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout, uint16_t scanInterval=16, uint16_t scanWindow=16)
Set the connection parameters to use when connecting to a server.
Definition: NimBLEClient.cpp:445
+
int getLastError()
Get the last error code reported by the NimBLE host.
Definition: NimBLEClient.cpp:1260
+
NimBLERemoteCharacteristic * getCharacteristic(const uint16_t handle)
Get the remote characteristic with the specified handle.
Definition: NimBLEClient.cpp:895
+
void setDataLen(uint16_t tx_octets)
Request an update of the data packet length.
Definition: NimBLEClient.cpp:504
+
NimBLEAttValue getValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)
Get the value of a specific characteristic associated with a specific service.
Definition: NimBLEClient.cpp:842
+
void setConnectPhy(uint8_t mask)
Set the PHY types to use when connecting to a server.
Definition: NimBLEClient.cpp:430
+
void setConnectTimeout(uint8_t timeout)
Set the timeout to wait for connection attempt to complete.
Definition: NimBLEClient.cpp:541
+
NimBLEConnInfo getConnInfo()
Get detailed information about the current peer connection.
Definition: NimBLEClient.cpp:522
+
int disconnect(uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
Disconnect from the peer.
Definition: NimBLEClient.cpp:377
void deleteServices()
Delete all service objects created by this client and clear the vector.
Definition: NimBLEClient.cpp:124
bool secureConnection()
Initiate a secure connection (pair/bond) with the server. Called automatically when a characteristic ...
Definition: NimBLEClient.cpp:338
-
void setPeerAddress(const NimBLEAddress &address)
Set the peer address.
Definition: NimBLEClient.cpp:565
-
bool setValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID, const NimBLEAttValue &value, bool response=false)
Set the value of a specific characteristic associated with a specific service.
Definition: NimBLEClient.cpp:866
-
uint16_t getConnId()
Get the connection id for this client.
Definition: NimBLEClient.cpp:547
-
std::vector< NimBLERemoteService * >::iterator begin()
Get iterator to the beginning of the vector of remote service pointers.
Definition: NimBLEClient.cpp:604
-
uint16_t getMTU()
Get the current mtu of this connection.
Definition: NimBLEClient.cpp:917
-
std::string toString()
Return a string representation of this client.
Definition: NimBLEClient.cpp:1241
-
std::vector< NimBLERemoteService * > * getServices(bool refresh=false)
Get a pointer to the vector of found services.
Definition: NimBLEClient.cpp:689
-
int getRssi()
Ask the BLE server for the RSSI value.
Definition: NimBLEClient.cpp:580
-
NimBLERemoteService * getService(const char *uuid)
Get the service BLE Remote Service instance corresponding to the uuid.
Definition: NimBLEClient.cpp:623
+
void setPeerAddress(const NimBLEAddress &address)
Set the peer address.
Definition: NimBLEClient.cpp:568
+
bool setValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID, const NimBLEAttValue &value, bool response=false)
Set the value of a specific characteristic associated with a specific service.
Definition: NimBLEClient.cpp:869
+
uint16_t getConnId()
Get the connection id for this client.
Definition: NimBLEClient.cpp:550
+
std::vector< NimBLERemoteService * >::iterator begin()
Get iterator to the beginning of the vector of remote service pointers.
Definition: NimBLEClient.cpp:607
+
uint16_t getMTU()
Get the current mtu of this connection.
Definition: NimBLEClient.cpp:920
+
std::string toString()
Return a string representation of this client.
Definition: NimBLEClient.cpp:1244
+
std::vector< NimBLERemoteService * > * getServices(bool refresh=false)
Get a pointer to the vector of found services.
Definition: NimBLEClient.cpp:692
+
int getRssi()
Ask the BLE server for the RSSI value.
Definition: NimBLEClient.cpp:583
+
NimBLERemoteService * getService(const char *uuid)
Get the service BLE Remote Service instance corresponding to the uuid.
Definition: NimBLEClient.cpp:626
bool connect(NimBLEAdvertisedDevice *device, bool deleteAttributes=true)
Connect to an advertising device.
Definition: NimBLEClient.cpp:175
-
void setClientCallbacks(NimBLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true)
Set the callbacks that will be invoked when events are received.
Definition: NimBLEClient.cpp:1227
-
bool isConnected()
Are we connected to a server?
Definition: NimBLEClient.cpp:1217
-
void updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
Update the connection parameters:
Definition: NimBLEClient.cpp:472
+
void setClientCallbacks(NimBLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true)
Set the callbacks that will be invoked when events are received.
Definition: NimBLEClient.cpp:1230
+
bool isConnected()
Are we connected to a server?
Definition: NimBLEClient.cpp:1220
+
void updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
Update the connection parameters:
Definition: NimBLEClient.cpp:475
Connection information.
Definition: NimBLEConnInfo.h:9
A model of a BLE Device from which all the BLE roles are created.
Definition: NimBLEDevice.h:96
A model of a remote BLE characteristic.
Definition: NimBLERemoteCharacteristic.h:44
diff --git a/_nim_b_l_e_conn_info_8h_source.html b/_nim_b_l_e_conn_info_8h_source.html index ba88e8f..4521664 100644 --- a/_nim_b_l_e_conn_info_8h_source.html +++ b/_nim_b_l_e_conn_info_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEConnInfo.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEConnInfo.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_descriptor_8h_source.html b/_nim_b_l_e_descriptor_8h_source.html index 6b644c4..98766c9 100644 --- a/_nim_b_l_e_descriptor_8h_source.html +++ b/_nim_b_l_e_descriptor_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEDescriptor.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEDescriptor.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_device_8h_source.html b/_nim_b_l_e_device_8h_source.html index da4c684..a5b162c 100644 --- a/_nim_b_l_e_device_8h_source.html +++ b/_nim_b_l_e_device_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEDevice.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEDevice.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -182,191 +182,194 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
97 public:
98  static void init(const std::string &deviceName);
99  static void deinit(bool clearAll = false);
-
100  static bool getInitialized();
-
101  static NimBLEAddress getAddress();
-
102  static std::string toString();
-
103  static bool whiteListAdd(const NimBLEAddress & address);
-
104  static bool whiteListRemove(const NimBLEAddress & address);
-
105  static bool onWhiteList(const NimBLEAddress & address);
-
106  static size_t getWhiteListCount();
-
107  static NimBLEAddress getWhiteListAddress(size_t index);
-
108 
-
109 #if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
-
110  static NimBLEScan* getScan();
-
111 #endif
-
112 
-
113 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
114  static NimBLEServer* createServer();
-
115  static NimBLEServer* getServer();
-
116 #endif
-
117 
-
118 #ifdef ESP_PLATFORM
-
119  static void setPower(esp_power_level_t powerLevel, esp_ble_power_type_t powerType=ESP_BLE_PWR_TYPE_DEFAULT);
-
120  static int getPower(esp_ble_power_type_t powerType=ESP_BLE_PWR_TYPE_DEFAULT);
-
121  static void setOwnAddrType(uint8_t own_addr_type, bool useNRPA=false);
-
122  static void setScanDuplicateCacheSize(uint16_t cacheSize);
-
123  static void setScanFilterMode(uint8_t type);
-
124 #else
-
125  static void setPower(int dbm);
-
126  static int getPower();
-
127 #endif
-
128 
-
129  static void setCustomGapHandler(gap_event_handler handler);
-
130  static void setSecurityAuth(bool bonding, bool mitm, bool sc);
-
131  static void setSecurityAuth(uint8_t auth_req);
-
132  static void setSecurityIOCap(uint8_t iocap);
-
133  static void setSecurityInitKey(uint8_t init_key);
-
134  static void setSecurityRespKey(uint8_t init_key);
-
135  static void setSecurityPasskey(uint32_t pin);
-
136  static uint32_t getSecurityPasskey();
-
137  static void setSecurityCallbacks(NimBLESecurityCallbacks* pCallbacks);
-
138  static int startSecurity(uint16_t conn_id);
-
139  static int setMTU(uint16_t mtu);
-
140  static uint16_t getMTU();
-
141  static bool isIgnored(const NimBLEAddress &address);
-
142  static void addIgnored(const NimBLEAddress &address);
-
143  static void removeIgnored(const NimBLEAddress &address);
-
144 
-
145 #if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
-
146 # if CONFIG_BT_NIMBLE_EXT_ADV
-
147  static NimBLEExtAdvertising* getAdvertising();
-
148  static bool startAdvertising(uint8_t inst_id,
-
149  int duration = 0,
-
150  int max_events = 0);
-
151  static bool stopAdvertising(uint8_t inst_id);
-
152  static bool stopAdvertising();
-
153 # else
-
154  static NimBLEAdvertising* getAdvertising();
-
155  static bool startAdvertising();
-
156  static bool stopAdvertising();
-
157 # endif
-
158 #endif
-
159 
-
160 #if defined( CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
161  static NimBLEClient* createClient(NimBLEAddress peerAddress = NimBLEAddress(""));
-
162  static bool deleteClient(NimBLEClient* pClient);
-
163  static NimBLEClient* getClientByID(uint16_t conn_id);
-
164  static NimBLEClient* getClientByPeerAddress(const NimBLEAddress &peer_addr);
-
165  static NimBLEClient* getDisconnectedClient();
-
166  static size_t getClientListSize();
-
167  static std::list<NimBLEClient*>* getClientList();
-
168 #endif
-
169 
-
170 #if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) || defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
171  static bool deleteBond(const NimBLEAddress &address);
-
172  static int getNumBonds();
-
173  static bool isBonded(const NimBLEAddress &address);
-
174  static void deleteAllBonds();
-
175  static NimBLEAddress getBondedAddress(int index);
-
176 #endif
-
177 
-
178 private:
-
179 #if defined( CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
180  friend class NimBLEClient;
-
181 #endif
-
182 
-
183 #if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
-
184  friend class NimBLEScan;
-
185 #endif
-
186 
-
187 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
188  friend class NimBLEServer;
-
189  friend class NimBLECharacteristic;
-
190 #endif
-
191 
-
192 #if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
-
193  friend class NimBLEAdvertising;
-
194 # if CONFIG_BT_NIMBLE_EXT_ADV
-
195  friend class NimBLEExtAdvertising;
-
196  friend class NimBLEExtAdvertisement;
-
197 # endif
-
198 #endif
-
199 
-
200  static void onReset(int reason);
-
201  static void onSync(void);
-
202  static void host_task(void *param);
-
203  static bool m_synced;
-
204 
-
205 #if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
-
206  static NimBLEScan* m_pScan;
-
207 #endif
-
208 
-
209 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
210  static NimBLEServer* m_pServer;
-
211 #endif
-
212 
-
213 #if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
-
214 # if CONFIG_BT_NIMBLE_EXT_ADV
-
215  static NimBLEExtAdvertising* m_bleAdvertising;
-
216 # else
-
217  static NimBLEAdvertising* m_bleAdvertising;
-
218 # endif
-
219 #endif
-
220 
-
221 #if defined( CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
222  static std::list <NimBLEClient*> m_cList;
-
223 #endif
-
224  static std::list <NimBLEAddress> m_ignoreList;
-
225  static NimBLESecurityCallbacks* m_securityCallbacks;
-
226  static uint32_t m_passkey;
-
227  static ble_gap_event_listener m_listener;
-
228  static gap_event_handler m_customGapHandler;
-
229  static uint8_t m_own_addr_type;
-
230 #ifdef ESP_PLATFORM
-
231  static uint16_t m_scanDuplicateSize;
-
232  static uint8_t m_scanFilterMode;
-
233 #endif
-
234  static std::vector<NimBLEAddress> m_whiteList;
-
235 };
-
236 
-
237 
-
238 #endif // CONFIG_BT_ENABLED
-
239 #endif // MAIN_NIMBLEDEVICE_H_
+
100  static void setDeviceName(const std::string &deviceName);
+
101  static bool getInitialized();
+
102  static NimBLEAddress getAddress();
+
103  static std::string toString();
+
104  static bool whiteListAdd(const NimBLEAddress & address);
+
105  static bool whiteListRemove(const NimBLEAddress & address);
+
106  static bool onWhiteList(const NimBLEAddress & address);
+
107  static size_t getWhiteListCount();
+
108  static NimBLEAddress getWhiteListAddress(size_t index);
+
109 
+
110 #if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
111  static NimBLEScan* getScan();
+
112 #endif
+
113 
+
114 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
115  static NimBLEServer* createServer();
+
116  static NimBLEServer* getServer();
+
117 #endif
+
118 
+
119 #ifdef ESP_PLATFORM
+
120  static void setPower(esp_power_level_t powerLevel, esp_ble_power_type_t powerType=ESP_BLE_PWR_TYPE_DEFAULT);
+
121  static int getPower(esp_ble_power_type_t powerType=ESP_BLE_PWR_TYPE_DEFAULT);
+
122  static void setOwnAddrType(uint8_t own_addr_type, bool useNRPA=false);
+
123  static void setScanDuplicateCacheSize(uint16_t cacheSize);
+
124  static void setScanFilterMode(uint8_t type);
+
125 #else
+
126  static void setPower(int dbm);
+
127  static int getPower();
+
128 #endif
+
129 
+
130  static void setCustomGapHandler(gap_event_handler handler);
+
131  static void setSecurityAuth(bool bonding, bool mitm, bool sc);
+
132  static void setSecurityAuth(uint8_t auth_req);
+
133  static void setSecurityIOCap(uint8_t iocap);
+
134  static void setSecurityInitKey(uint8_t init_key);
+
135  static void setSecurityRespKey(uint8_t init_key);
+
136  static void setSecurityPasskey(uint32_t pin);
+
137  static uint32_t getSecurityPasskey();
+
138  static void setSecurityCallbacks(NimBLESecurityCallbacks* pCallbacks);
+
139  static int startSecurity(uint16_t conn_id);
+
140  static int setMTU(uint16_t mtu);
+
141  static uint16_t getMTU();
+
142  static bool isIgnored(const NimBLEAddress &address);
+
143  static void addIgnored(const NimBLEAddress &address);
+
144  static void removeIgnored(const NimBLEAddress &address);
+
145 
+
146 #if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
147 # if CONFIG_BT_NIMBLE_EXT_ADV
+
148  static NimBLEExtAdvertising* getAdvertising();
+
149  static bool startAdvertising(uint8_t inst_id,
+
150  int duration = 0,
+
151  int max_events = 0);
+
152  static bool stopAdvertising(uint8_t inst_id);
+
153  static bool stopAdvertising();
+
154 # endif
+
155 # if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
+
156  static NimBLEAdvertising* getAdvertising();
+
157  static bool startAdvertising();
+
158  static bool stopAdvertising();
+
159 # endif
+
160 #endif
+
161 
+
162 #if defined( CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
163  static NimBLEClient* createClient(NimBLEAddress peerAddress = NimBLEAddress(""));
+
164  static bool deleteClient(NimBLEClient* pClient);
+
165  static NimBLEClient* getClientByID(uint16_t conn_id);
+
166  static NimBLEClient* getClientByPeerAddress(const NimBLEAddress &peer_addr);
+
167  static NimBLEClient* getDisconnectedClient();
+
168  static size_t getClientListSize();
+
169  static std::list<NimBLEClient*>* getClientList();
+
170 #endif
+
171 
+
172 #if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) || defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
173  static bool deleteBond(const NimBLEAddress &address);
+
174  static int getNumBonds();
+
175  static bool isBonded(const NimBLEAddress &address);
+
176  static void deleteAllBonds();
+
177  static NimBLEAddress getBondedAddress(int index);
+
178 #endif
+
179 
+
180 private:
+
181 #if defined( CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
182  friend class NimBLEClient;
+
183 #endif
+
184 
+
185 #if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
186  friend class NimBLEScan;
+
187 #endif
+
188 
+
189 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
190  friend class NimBLEServer;
+
191  friend class NimBLECharacteristic;
+
192 #endif
+
193 
+
194 #if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
195  friend class NimBLEAdvertising;
+
196 # if CONFIG_BT_NIMBLE_EXT_ADV
+
197  friend class NimBLEExtAdvertising;
+
198  friend class NimBLEExtAdvertisement;
+
199 # endif
+
200 #endif
+
201 
+
202  static void onReset(int reason);
+
203  static void onSync(void);
+
204  static void host_task(void *param);
+
205  static bool m_synced;
+
206 
+
207 #if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
208  static NimBLEScan* m_pScan;
+
209 #endif
+
210 
+
211 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
212  static NimBLEServer* m_pServer;
+
213 #endif
+
214 
+
215 #if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
216 # if CONFIG_BT_NIMBLE_EXT_ADV
+
217  static NimBLEExtAdvertising* m_bleAdvertising;
+
218 # else
+
219  static NimBLEAdvertising* m_bleAdvertising;
+
220 # endif
+
221 #endif
+
222 
+
223 #if defined( CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
224  static std::list <NimBLEClient*> m_cList;
+
225 #endif
+
226  static std::list <NimBLEAddress> m_ignoreList;
+
227  static NimBLESecurityCallbacks* m_securityCallbacks;
+
228  static uint32_t m_passkey;
+
229  static ble_gap_event_listener m_listener;
+
230  static gap_event_handler m_customGapHandler;
+
231  static uint8_t m_own_addr_type;
+
232 #ifdef ESP_PLATFORM
+
233  static uint16_t m_scanDuplicateSize;
+
234  static uint8_t m_scanFilterMode;
+
235 #endif
+
236  static std::vector<NimBLEAddress> m_whiteList;
+
237 };
+
238 
+
239 
+
240 #endif // CONFIG_BT_ENABLED
+
241 #endif // MAIN_NIMBLEDEVICE_H_
A BLE device address.
Definition: NimBLEAddress.h:39
Perform and manage BLE advertising.
Definition: NimBLEAdvertising.h:87
The model of a BLE Characteristic.
Definition: NimBLECharacteristic.h:63
A model of a BLE client.
Definition: NimBLEClient.h:39
A model of a BLE Device from which all the BLE roles are created.
Definition: NimBLEDevice.h:96
-
static void removeIgnored(const NimBLEAddress &address)
Remove a device from the ignore list.
Definition: NimBLEDevice.cpp:1178
+
static void removeIgnored(const NimBLEAddress &address)
Remove a device from the ignore list.
Definition: NimBLEDevice.cpp:1187
static NimBLEClient * getDisconnectedClient()
Finds the first disconnected client in the list.
Definition: NimBLEDevice.cpp:333
-
static bool isIgnored(const NimBLEAddress &address)
Check if the device address is on our ignore list.
Definition: NimBLEDevice.cpp:1152
+
static bool isIgnored(const NimBLEAddress &address)
Check if the device address is on our ignore list.
Definition: NimBLEDevice.cpp:1161
static bool isBonded(const NimBLEAddress &address)
Checks if a peer device is bonded.
Definition: NimBLEDevice.cpp:596
static std::list< NimBLEClient * > * getClientList()
Get the list of created client objects.
Definition: NimBLEDevice.cpp:280
static bool deleteBond(const NimBLEAddress &address)
Deletes a peer bond.
Definition: NimBLEDevice.cpp:576
-
static int startSecurity(uint16_t conn_id)
Start the connection securing and authorization for this connection.
Definition: NimBLEDevice.cpp:1136
+
static int startSecurity(uint16_t conn_id)
Start the connection securing and authorization for this connection.
Definition: NimBLEDevice.cpp:1145
static bool stopAdvertising()
Convenience function to stop all advertising.
Definition: NimBLEDevice.cpp:185
static NimBLEServer * getServer()
Get the instance of the server.
Definition: NimBLEDevice.cpp:114
static NimBLEAddress getWhiteListAddress(size_t index)
Gets the address at the vector index.
Definition: NimBLEDevice.cpp:745
static NimBLEServer * createServer()
Create a new instance of a server.
Definition: NimBLEDevice.cpp:98
static uint16_t getMTU()
Get local MTU value set.
Definition: NimBLEDevice.cpp:490
-
static void setSecurityRespKey(uint8_t init_key)
Set the keys we are willing to accept during pairing.
Definition: NimBLEDevice.cpp:1057
+
static void setSecurityRespKey(uint8_t init_key)
Set the keys we are willing to accept during pairing.
Definition: NimBLEDevice.cpp:1066
static void init(const std::string &deviceName)
Initialize the BLE environment.
Definition: NimBLEDevice.cpp:847
-
static void addIgnored(const NimBLEAddress &address)
Add a device to the ignore list.
Definition: NimBLEDevice.cpp:1168
+
static void addIgnored(const NimBLEAddress &address)
Add a device to the ignore list.
Definition: NimBLEDevice.cpp:1177
static NimBLEAddress getAddress()
Get our device address.
Definition: NimBLEDevice.cpp:442
-
static void setSecurityCallbacks(NimBLESecurityCallbacks *pCallbacks)
Set callbacks that will be used to handle encryption negotiation events and authentication events.
Definition: NimBLEDevice.cpp:1088
+
static void setSecurityCallbacks(NimBLESecurityCallbacks *pCallbacks)
Set callbacks that will be used to handle encryption negotiation events and authentication events.
Definition: NimBLEDevice.cpp:1097
static int setMTU(uint16_t mtu)
Setup local mtu that will be used to negotiate mtu during request from client peer.
Definition: NimBLEDevice.cpp:471
static int getNumBonds()
Gets the number of bonded peers stored.
Definition: NimBLEDevice.cpp:548
static bool whiteListRemove(const NimBLEAddress &address)
Remove a peer address from the whitelist.
Definition: NimBLEDevice.cpp:694
static bool deleteClient(NimBLEClient *pClient)
Delete the client object and remove it from the list. Checks if it is connected or trying to connect ...
Definition: NimBLEDevice.cpp:235
-
static void setSecurityPasskey(uint32_t pin)
Set the passkey the server will ask for when pairing.
Definition: NimBLEDevice.cpp:1067
-
static void setCustomGapHandler(gap_event_handler handler)
Set a custom callback for gap events.
Definition: NimBLEDevice.cpp:1193
-
static void setSecurityInitKey(uint8_t init_key)
If we are the initiator of the security procedure this sets the keys we will distribute.
Definition: NimBLEDevice.cpp:1042
-
static uint32_t getSecurityPasskey()
Get the current passkey used for pairing.
Definition: NimBLEDevice.cpp:1077
-
static void setSecurityAuth(bool bonding, bool mitm, bool sc)
Set the authorization mode for this device.
Definition: NimBLEDevice.cpp:992
+
static void setSecurityPasskey(uint32_t pin)
Set the passkey the server will ask for when pairing.
Definition: NimBLEDevice.cpp:1076
+
static void setCustomGapHandler(gap_event_handler handler)
Set a custom callback for gap events.
Definition: NimBLEDevice.cpp:1202
+
static void setSecurityInitKey(uint8_t init_key)
If we are the initiator of the security procedure this sets the keys we will distribute.
Definition: NimBLEDevice.cpp:1051
+
static uint32_t getSecurityPasskey()
Get the current passkey used for pairing.
Definition: NimBLEDevice.cpp:1086
+
static void setSecurityAuth(bool bonding, bool mitm, bool sc)
Set the authorization mode for this device.
Definition: NimBLEDevice.cpp:1001
static NimBLEExtAdvertising * getAdvertising()
Get the instance of the advertising object.
Definition: NimBLEDevice.cpp:126
static bool whiteListAdd(const NimBLEAddress &address)
Add a peer address to the whitelist.
Definition: NimBLEDevice.cpp:662
static size_t getWhiteListCount()
Gets the count of addresses in the whitelist.
Definition: NimBLEDevice.cpp:734
static void deleteAllBonds()
Deletes all bonding information.
Definition: NimBLEDevice.cpp:565
-
static void setSecurityIOCap(uint8_t iocap)
Set the Input/Output capabilities of this device.
Definition: NimBLEDevice.cpp:1027
+
static void setSecurityIOCap(uint8_t iocap)
Set the Input/Output capabilities of this device.
Definition: NimBLEDevice.cpp:1036
static size_t getClientListSize()
Get the number of created client objects.
Definition: NimBLEDevice.cpp:290
static std::string toString()
Return a string representation of the address of this device.
Definition: NimBLEDevice.cpp:460
static NimBLEClient * getClientByPeerAddress(const NimBLEAddress &peer_addr)
Get a reference to a client by peer address.
Definition: NimBLEDevice.cpp:318
static NimBLEClient * getClientByID(uint16_t conn_id)
Get a reference to a client by connection ID.
Definition: NimBLEDevice.cpp:301
static NimBLEAddress getBondedAddress(int index)
Get the address of a bonded peer device by index.
Definition: NimBLEDevice.cpp:622
-
static bool getInitialized()
Check if the initialization is complete.
Definition: NimBLEDevice.cpp:980
+
static bool startAdvertising()
Convenience function to begin advertising.
Definition: NimBLEDevice.cpp:176
+
static bool getInitialized()
Check if the initialization is complete.
Definition: NimBLEDevice.cpp:989
+
static void setDeviceName(const std::string &deviceName)
Set the BLEDevice's name.
Definition: NimBLEDevice.cpp:979
static bool onWhiteList(const NimBLEAddress &address)
Checks if a peer device is whitelisted.
Definition: NimBLEDevice.cpp:645
static void deinit(bool clearAll=false)
Shutdown the NimBLE stack/controller.
Definition: NimBLEDevice.cpp:923
-
static bool startAdvertising(uint8_t inst_id, int duration=0, int max_events=0)
Convenience function to begin advertising.
Definition: NimBLEDevice.cpp:141
static NimBLEClient * createClient(NimBLEAddress peerAddress=NimBLEAddress(""))
Creates a new client object and maintains a list of all client objects each client can connect to 1 p...
Definition: NimBLEDevice.cpp:216
static NimBLEScan * getScan()
Retrieve the Scan object that we use for scanning.
Definition: NimBLEDevice.cpp:198
Extended advertisement data.
Definition: NimBLEExtAdvertising.h:37
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 904d7f4..75d1259 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 @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEEddystoneTLM.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEEddystoneTLM.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_eddystone_u_r_l_8h_source.html b/_nim_b_l_e_eddystone_u_r_l_8h_source.html index c8c0bac..8cf7a57 100644 --- a/_nim_b_l_e_eddystone_u_r_l_8h_source.html +++ b/_nim_b_l_e_eddystone_u_r_l_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEEddystoneURL.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEEddystoneURL.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_ext_advertising_8h_source.html b/_nim_b_l_e_ext_advertising_8h_source.html index b6f48fb..514aa39 100644 --- a/_nim_b_l_e_ext_advertising_8h_source.html +++ b/_nim_b_l_e_ext_advertising_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEExtAdvertising.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEExtAdvertising.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
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 2eda75a..fe0424c 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 @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEHIDDevice.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEHIDDevice.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -140,7 +140,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_h_i_d_device_8h_source.html
55  void pnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version);
56  //NimBLECharacteristic* hidInfo();
57  void hidInfo(uint8_t country, uint8_t flags);
-
58  //NimBLECharacteristic* batteryLevel();
+
58  NimBLECharacteristic* batteryLevel();
59  void setBatteryLevel(uint8_t level);
60 
61 
diff --git a/_nim_b_l_e_log_8h_source.html b/_nim_b_l_e_log_8h_source.html index a31dce4..203e826 100644 --- a/_nim_b_l_e_log_8h_source.html +++ b/_nim_b_l_e_log_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLELog.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLELog.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_remote_characteristic_8h_source.html b/_nim_b_l_e_remote_characteristic_8h_source.html index ff79d7d..efcfdd9 100644 --- a/_nim_b_l_e_remote_characteristic_8h_source.html +++ b/_nim_b_l_e_remote_characteristic_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLERemoteCharacteristic.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLERemoteCharacteristic.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -156,10 +156,10 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_characteristic_8h_so
71  float readFloat() __attribute__ ((deprecated("Use template readValue<float>()")));
72  NimBLEAttValue getValue(time_t *timestamp = nullptr);
73 
-
74  bool subscribe(bool notifications = true,
+
74  bool subscribe(bool notifications = true,
75  notify_callback notifyCallback = nullptr,
-
76  bool response = true);
-
77  bool unsubscribe(bool response = true);
+
76  bool response = false);
+
77  bool unsubscribe(bool response = false);
78  bool registerForNotify(notify_callback notifyCallback,
79  bool notifications = true,
80  bool response = true)
@@ -252,14 +252,15 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_characteristic_8h_so
uint16_t readUInt16() __attribute__((deprecated("Use template readValue<uint16_t>()")))
Read an unsigned 16 bit value.
Definition: NimBLERemoteCharacteristic.cpp:451
bool canWriteNoResponse()
Does the characteristic support writing with no response?
Definition: NimBLERemoteCharacteristic.cpp:133
std::vector< NimBLERemoteDescriptor * >::iterator end()
Get iterator to the end of the vector of remote descriptor pointers.
Definition: NimBLERemoteCharacteristic.cpp:392
-
bool writeValue(const uint8_t *data, size_t length, bool response=false)
Write a new value to the remote characteristic from a data buffer.
Definition: NimBLERemoteCharacteristic.cpp:765
+
bool writeValue(const uint8_t *data, size_t length, bool response=false)
Write a new value to the remote characteristic from a data buffer.
Definition: NimBLERemoteCharacteristic.cpp:764
NimBLEAttValue readValue(time_t *timestamp=nullptr)
Read the value of the remote characteristic.
Definition: NimBLERemoteCharacteristic.cpp:490
T readValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)
Template to convert the remote characteristic data to <type>.
Definition: NimBLERemoteCharacteristic.h:148
-
std::string toString()
Convert a NimBLERemoteCharacteristic to a string representation;.
Definition: NimBLERemoteCharacteristic.cpp:714
+
std::string toString()
Convert a NimBLERemoteCharacteristic to a string representation;.
Definition: NimBLERemoteCharacteristic.cpp:713
bool canIndicate()
Does the characteristic support indications?
Definition: NimBLERemoteCharacteristic.cpp:97
-
void deleteDescriptors()
Delete the descriptors in the descriptor vector.
Definition: NimBLERemoteCharacteristic.cpp:677
+
void deleteDescriptors()
Delete the descriptors in the descriptor vector.
Definition: NimBLERemoteCharacteristic.cpp:676
NimBLERemoteDescriptor * getDescriptor(const NimBLEUUID &uuid)
Get the descriptor instance with the given UUID that belongs to this characteristic.
Definition: NimBLERemoteCharacteristic.cpp:307
NimBLEAttValue getValue(time_t *timestamp=nullptr)
Get the value of the remote characteristic.
Definition: NimBLERemoteCharacteristic.cpp:437
+
bool unsubscribe(bool response=false)
Unsubscribe for notifications or indications.
Definition: NimBLERemoteCharacteristic.cpp:645
bool canBroadcast()
Does the characteristic support broadcasting?
Definition: NimBLERemoteCharacteristic.cpp:88
uint32_t readUInt32() __attribute__((deprecated("Use template readValue<uint32_t>()")))
Read an unsigned 32 bit value.
Definition: NimBLERemoteCharacteristic.cpp:461
T getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)
Template to convert the remote characteristic data to <type>.
Definition: NimBLERemoteCharacteristic.h:133
@@ -268,16 +269,15 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_characteristic_8h_so
~NimBLERemoteCharacteristic()
Destructor.
Definition: NimBLERemoteCharacteristic.cpp:69
NimBLERemoteService * getRemoteService()
Get the remote service associated with this characteristic.
Definition: NimBLERemoteCharacteristic.cpp:418
bool canNotify()
Does the characteristic support notifications?
Definition: NimBLERemoteCharacteristic.cpp:106
-
size_t deleteDescriptor(const NimBLEUUID &uuid)
Delete descriptor by UUID.
Definition: NimBLERemoteCharacteristic.cpp:693
+
bool subscribe(bool notifications=true, notify_callback notifyCallback=nullptr, bool response=false)
Subscribe for notifications or indications.
Definition: NimBLERemoteCharacteristic.cpp:631
+
size_t deleteDescriptor(const NimBLEUUID &uuid)
Delete descriptor by UUID.
Definition: NimBLERemoteCharacteristic.cpp:692
bool canWrite()
Does the characteristic support writing?
Definition: NimBLERemoteCharacteristic.cpp:124
uint16_t getHandle()
Get the handle for this characteristic.
Definition: NimBLERemoteCharacteristic.cpp:401
-
bool registerForNotify(notify_callback notifyCallback, bool notifications=true, bool response=true) __attribute__((deprecated("Use subscribe()/unsubscribe()")))
backward-compatibility method for subscribe/unsubscribe notifications/indications
Definition: NimBLERemoteCharacteristic.cpp:660
+
bool registerForNotify(notify_callback notifyCallback, bool notifications=true, bool response=true) __attribute__((deprecated("Use subscribe()/unsubscribe()")))
backward-compatibility method for subscribe/unsubscribe notifications/indications
Definition: NimBLERemoteCharacteristic.cpp:659
std::vector< NimBLERemoteDescriptor * > * getDescriptors(bool refresh=false)
Get a pointer to the vector of found descriptors.
Definition: NimBLERemoteCharacteristic.cpp:364
bool writeValue(const T &s, bool response=false)
Template to set the remote characteristic value to <type>val.
Definition: NimBLERemoteCharacteristic.h:103
-
bool subscribe(bool notifications=true, notify_callback notifyCallback=nullptr, bool response=true)
Subscribe for notifications or indications.
Definition: NimBLERemoteCharacteristic.cpp:632
NimBLEUUID getUUID()
Get the UUID for this characteristic.
Definition: NimBLERemoteCharacteristic.cpp:427
uint8_t readUInt8() __attribute__((deprecated("Use template readValue<uint8_t>()")))
Read a byte value.
Definition: NimBLERemoteCharacteristic.cpp:471
-
bool unsubscribe(bool response=true)
Unsubscribe for notifications or indications.
Definition: NimBLERemoteCharacteristic.cpp:646
uint16_t getDefHandle()
Get the handle for this characteristics definition.
Definition: NimBLERemoteCharacteristic.cpp:409
A model of remote BLE descriptor.
Definition: NimBLERemoteDescriptor.h:27
A model of a remote BLE service.
Definition: NimBLERemoteService.h:34
diff --git a/_nim_b_l_e_remote_descriptor_8h_source.html b/_nim_b_l_e_remote_descriptor_8h_source.html index c141136..b271291 100644 --- a/_nim_b_l_e_remote_descriptor_8h_source.html +++ b/_nim_b_l_e_remote_descriptor_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLERemoteDescriptor.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLERemoteDescriptor.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_remote_service_8h_source.html b/_nim_b_l_e_remote_service_8h_source.html index d0cf05e..7cfdba7 100644 --- a/_nim_b_l_e_remote_service_8h_source.html +++ b/_nim_b_l_e_remote_service_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLERemoteService.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLERemoteService.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_scan_8h_source.html b/_nim_b_l_e_scan_8h_source.html index 920b5de..98b49f9 100644 --- a/_nim_b_l_e_scan_8h_source.html +++ b/_nim_b_l_e_scan_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEScan.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEScan.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_security_8h_source.html b/_nim_b_l_e_security_8h_source.html index f29e144..5a8fe40 100644 --- a/_nim_b_l_e_security_8h_source.html +++ b/_nim_b_l_e_security_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLESecurity.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLESecurity.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_server_8h_source.html b/_nim_b_l_e_server_8h_source.html index 16cef2b..231f55b 100644 --- a/_nim_b_l_e_server_8h_source.html +++ b/_nim_b_l_e_server_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEServer.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEServer.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -139,102 +139,103 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_server_8h_source.html','');
54  bool deleteCallbacks = true);
55 #if CONFIG_BT_NIMBLE_EXT_ADV
56  NimBLEExtAdvertising* getAdvertising();
-
57  bool startAdvertising(uint8_t inst_id,
+
57  bool startAdvertising(uint8_t inst_id,
58  int duration = 0,
59  int max_events = 0);
60  bool stopAdvertising(uint8_t inst_id);
-
61 #else
-
62  NimBLEAdvertising* getAdvertising();
-
63  bool startAdvertising();
-
64 #endif
-
65  bool stopAdvertising();
-
66  void start();
-
67  NimBLEService* getServiceByUUID(const char* uuid, uint16_t instanceId = 0);
-
68  NimBLEService* getServiceByUUID(const NimBLEUUID &uuid, uint16_t instanceId = 0);
-
69  NimBLEService* getServiceByHandle(uint16_t handle);
-
70  int disconnect(uint16_t connID,
-
71  uint8_t reason = BLE_ERR_REM_USER_CONN_TERM);
-
72  void updateConnParams(uint16_t conn_handle,
-
73  uint16_t minInterval, uint16_t maxInterval,
-
74  uint16_t latency, uint16_t timeout);
-
75  void setDataLen(uint16_t conn_handle, uint16_t tx_octets);
-
76  uint16_t getPeerMTU(uint16_t conn_id);
-
77  std::vector<uint16_t> getPeerDevices();
-
78  NimBLEConnInfo getPeerInfo(size_t index);
-
79  NimBLEConnInfo getPeerInfo(const NimBLEAddress& address);
-
80  NimBLEConnInfo getPeerIDInfo(uint16_t id);
-
81 #if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
-
82  void advertiseOnDisconnect(bool);
-
83 #endif
-
84 
-
85 private:
-
86  NimBLEServer();
-
87  ~NimBLEServer();
-
88  friend class NimBLECharacteristic;
-
89  friend class NimBLEService;
-
90  friend class NimBLEDevice;
-
91  friend class NimBLEAdvertising;
-
92 #if CONFIG_BT_NIMBLE_EXT_ADV
-
93  friend class NimBLEExtAdvertising;
-
94  friend class NimBLEExtAdvertisementData;
-
95 #endif
-
96 
-
97  bool m_gattsStarted;
-
98 #if !CONFIG_BT_NIMBLE_EXT_ADV
-
99  bool m_advertiseOnDisconnect;
-
100 #endif
-
101  bool m_svcChanged;
-
102  NimBLEServerCallbacks* m_pServerCallbacks;
-
103  bool m_deleteCallbacks;
-
104  uint16_t m_indWait[CONFIG_BT_NIMBLE_MAX_CONNECTIONS];
-
105  std::vector<uint16_t> m_connectedPeersVec;
-
106 
-
107 // uint16_t m_svcChgChrHdl; // Future use
-
108 
-
109  std::vector<NimBLEService*> m_svcVec;
-
110  std::vector<NimBLECharacteristic*> m_notifyChrVec;
-
111 
-
112  static int handleGapEvent(struct ble_gap_event *event, void *arg);
-
113  void serviceChanged();
-
114  void resetGATT();
-
115  bool setIndicateWait(uint16_t conn_handle);
-
116  void clearIndicateWait(uint16_t conn_handle);
-
117 }; // NimBLEServer
-
118 
+
61 #endif
+
62 # if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
+
63  NimBLEAdvertising* getAdvertising();
+
64  bool startAdvertising();
+
65 #endif
+
66  bool stopAdvertising();
+
67  void start();
+
68  NimBLEService* getServiceByUUID(const char* uuid, uint16_t instanceId = 0);
+
69  NimBLEService* getServiceByUUID(const NimBLEUUID &uuid, uint16_t instanceId = 0);
+
70  NimBLEService* getServiceByHandle(uint16_t handle);
+
71  int disconnect(uint16_t connID,
+
72  uint8_t reason = BLE_ERR_REM_USER_CONN_TERM);
+
73  void updateConnParams(uint16_t conn_handle,
+
74  uint16_t minInterval, uint16_t maxInterval,
+
75  uint16_t latency, uint16_t timeout);
+
76  void setDataLen(uint16_t conn_handle, uint16_t tx_octets);
+
77  uint16_t getPeerMTU(uint16_t conn_id);
+
78  std::vector<uint16_t> getPeerDevices();
+
79  NimBLEConnInfo getPeerInfo(size_t index);
+
80  NimBLEConnInfo getPeerInfo(const NimBLEAddress& address);
+
81  NimBLEConnInfo getPeerIDInfo(uint16_t id);
+
82 #if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
+
83  void advertiseOnDisconnect(bool);
+
84 #endif
+
85 
+
86 private:
+
87  NimBLEServer();
+
88  ~NimBLEServer();
+
89  friend class NimBLECharacteristic;
+
90  friend class NimBLEService;
+
91  friend class NimBLEDevice;
+
92  friend class NimBLEAdvertising;
+
93 #if CONFIG_BT_NIMBLE_EXT_ADV
+
94  friend class NimBLEExtAdvertising;
+
95  friend class NimBLEExtAdvertisementData;
+
96 #endif
+
97 
+
98  bool m_gattsStarted;
+
99 #if !CONFIG_BT_NIMBLE_EXT_ADV
+
100  bool m_advertiseOnDisconnect;
+
101 #endif
+
102  bool m_svcChanged;
+
103  NimBLEServerCallbacks* m_pServerCallbacks;
+
104  bool m_deleteCallbacks;
+
105  uint16_t m_indWait[CONFIG_BT_NIMBLE_MAX_CONNECTIONS];
+
106  std::vector<uint16_t> m_connectedPeersVec;
+
107 
+
108 // uint16_t m_svcChgChrHdl; // Future use
+
109 
+
110  std::vector<NimBLEService*> m_svcVec;
+
111  std::vector<NimBLECharacteristic*> m_notifyChrVec;
+
112 
+
113  static int handleGapEvent(struct ble_gap_event *event, void *arg);
+
114  void serviceChanged();
+
115  void resetGATT();
+
116  bool setIndicateWait(uint16_t conn_handle);
+
117  void clearIndicateWait(uint16_t conn_handle);
+
118 }; // NimBLEServer
119 
-
123 class NimBLEServerCallbacks {
-
124 public:
-
125  virtual ~NimBLEServerCallbacks() {};
-
126 
-
132  virtual void onConnect(NimBLEServer* pServer);
-
133 
-
141  virtual void onConnect(NimBLEServer* pServer, ble_gap_conn_desc* desc);
-
142 
-
148  virtual void onDisconnect(NimBLEServer* pServer);
-
149 
-
157  virtual void onDisconnect(NimBLEServer* pServer, ble_gap_conn_desc* desc);
-
158 
-
165  virtual void onMTUChange(uint16_t MTU, ble_gap_conn_desc* desc);
-
166 
-
171  virtual uint32_t onPassKeyRequest();
-
172 
-
173  //virtual void onPassKeyNotify(uint32_t pass_key);
-
174  //virtual bool onSecurityRequest();
-
175 
-
181  virtual void onAuthenticationComplete(ble_gap_conn_desc* desc);
-
182 
-
188  virtual bool onConfirmPIN(uint32_t pin);
-
189 }; // NimBLEServerCallbacks
-
190 
-
191 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
-
192 #endif /* MAIN_NIMBLESERVER_H_ */
+
120 
+
124 class NimBLEServerCallbacks {
+
125 public:
+
126  virtual ~NimBLEServerCallbacks() {};
+
127 
+
133  virtual void onConnect(NimBLEServer* pServer);
+
134 
+
142  virtual void onConnect(NimBLEServer* pServer, ble_gap_conn_desc* desc);
+
143 
+
149  virtual void onDisconnect(NimBLEServer* pServer);
+
150 
+
158  virtual void onDisconnect(NimBLEServer* pServer, ble_gap_conn_desc* desc);
+
159 
+
166  virtual void onMTUChange(uint16_t MTU, ble_gap_conn_desc* desc);
+
167 
+
172  virtual uint32_t onPassKeyRequest();
+
173 
+
174  //virtual void onPassKeyNotify(uint32_t pass_key);
+
175  //virtual bool onSecurityRequest();
+
176 
+
182  virtual void onAuthenticationComplete(ble_gap_conn_desc* desc);
+
183 
+
189  virtual bool onConfirmPIN(uint32_t pin);
+
190 }; // NimBLEServerCallbacks
+
191 
+
192 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
+
193 #endif /* MAIN_NIMBLESERVER_H_ */
A BLE device address.
Definition: NimBLEAddress.h:39
Perform and manage BLE advertising.
Definition: NimBLEAdvertising.h:87
The model of a BLE Characteristic.
Definition: NimBLECharacteristic.h:63
Connection information.
Definition: NimBLEConnInfo.h:9
A model of a BLE Device from which all the BLE roles are created.
Definition: NimBLEDevice.h:96
Extended advertising class.
Definition: NimBLEExtAdvertising.h:92
-
Callbacks associated with the operation of a BLE server.
Definition: NimBLEServer.h:123
+
Callbacks associated with the operation of a BLE server.
Definition: NimBLEServer.h:124
virtual void onDisconnect(NimBLEServer *pServer)
Handle a client disconnection. This is called when a client disconnects.
Definition: NimBLEServer.cpp:887
virtual bool onConfirmPIN(uint32_t pin)
Called when using numeric comparision for pairing.
Definition: NimBLEServer.cpp:916
virtual void onAuthenticationComplete(ble_gap_conn_desc *desc)
Called when the pairing procedure is complete.
Definition: NimBLEServer.cpp:913
@@ -252,7 +253,6 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_server_8h_source.html','');
void addService(NimBLEService *service)
Adds a service which was either already created but removed from availability, or created and later a...
Definition: NimBLEServer.cpp:691
bool stopAdvertising()
Stop advertising.
Definition: NimBLEServer.cpp:787
NimBLEService * getServiceByUUID(const char *uuid, uint16_t instanceId=0)
Get a BLE Service by its UUID.
Definition: NimBLEServer.cpp:106
-
bool startAdvertising(uint8_t inst_id, int duration=0, int max_events=0)
Start advertising.
Definition: NimBLEServer.cpp:753
size_t getConnectedCount()
Return the number of connected clients.
Definition: NimBLEServer.cpp:270
void updateConnParams(uint16_t conn_handle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
Request an Update the connection parameters:
Definition: NimBLEServer.cpp:810
uint16_t getPeerMTU(uint16_t conn_id)
Get the MTU of the client.
Definition: NimBLEServer.cpp:796
@@ -260,6 +260,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_server_8h_source.html','');
NimBLEExtAdvertising * getAdvertising()
Retrieve the advertising object that can be used to advertise the existence of the server.
Definition: NimBLEServer.cpp:150
std::vector< uint16_t > getPeerDevices()
Get the vector of the connected client ID's.
Definition: NimBLEServer.cpp:278
NimBLEConnInfo getPeerIDInfo(uint16_t id)
Get the connection information of a connected peer by connection ID.
Definition: NimBLEServer.cpp:320
+
bool startAdvertising()
Start advertising.
Definition: NimBLEServer.cpp:777
void start()
Start the GATT server. Required to be called after setup of all services and characteristics / descri...
Definition: NimBLEServer.cpp:181
The model of a BLE service.
Definition: NimBLEService.h:34
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
diff --git a/_nim_b_l_e_service_8h_source.html b/_nim_b_l_e_service_8h_source.html index 984e823..aaa349c 100644 --- a/_nim_b_l_e_service_8h_source.html +++ b/_nim_b_l_e_service_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEService.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEService.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
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 763b61f..bab5541 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 @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEUUID.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEUUID.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/_nim_b_l_e_utils_8h_source.html b/_nim_b_l_e_utils_8h_source.html index 3e320e7..bfd0837 100644 --- a/_nim_b_l_e_utils_8h_source.html +++ b/_nim_b_l_e_utils_8h_source.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src/NimBLEUtils.h Source File +esp-nimble-cpp: /github/workspace/src/NimBLEUtils.h Source File @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/annotated.html b/annotated.html index 29317f0..50a0c35 100644 --- a/annotated.html +++ b/annotated.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e2904-members.html b/class_nim_b_l_e2904-members.html index bb12b92..41f6cff 100644 --- a/class_nim_b_l_e2904-members.html +++ b/class_nim_b_l_e2904-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e2904.html b/class_nim_b_l_e2904.html index b3f3645..e68e9c6 100644 --- a/class_nim_b_l_e2904.html +++ b/class_nim_b_l_e2904.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_address-members.html b/class_nim_b_l_e_address-members.html index 514127d..6ddec94 100644 --- a/class_nim_b_l_e_address-members.html +++ b/class_nim_b_l_e_address-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_address.html b/class_nim_b_l_e_address.html index 27c61ae..238c464 100644 --- a/class_nim_b_l_e_address.html +++ b/class_nim_b_l_e_address.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_advertised_device-members.html b/class_nim_b_l_e_advertised_device-members.html index d787364..56b1b11 100644 --- a/class_nim_b_l_e_advertised_device-members.html +++ b/class_nim_b_l_e_advertised_device-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_advertised_device.html b/class_nim_b_l_e_advertised_device.html index a35a0d0..303b6f4 100644 --- a/class_nim_b_l_e_advertised_device.html +++ b/class_nim_b_l_e_advertised_device.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_advertised_device_callbacks-members.html b/class_nim_b_l_e_advertised_device_callbacks-members.html index 65caf8e..b37dbc9 100644 --- a/class_nim_b_l_e_advertised_device_callbacks-members.html +++ b/class_nim_b_l_e_advertised_device_callbacks-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_advertised_device_callbacks.html b/class_nim_b_l_e_advertised_device_callbacks.html index 193a3dc..8dd63bd 100644 --- a/class_nim_b_l_e_advertised_device_callbacks.html +++ b/class_nim_b_l_e_advertised_device_callbacks.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_advertisement_data-members.html b/class_nim_b_l_e_advertisement_data-members.html index 883babf..b8a06d0 100644 --- a/class_nim_b_l_e_advertisement_data-members.html +++ b/class_nim_b_l_e_advertisement_data-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_advertisement_data.html b/class_nim_b_l_e_advertisement_data.html index 951424e..c8527c6 100644 --- a/class_nim_b_l_e_advertisement_data.html +++ b/class_nim_b_l_e_advertisement_data.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_advertising-members.html b/class_nim_b_l_e_advertising-members.html index 0674c3a..61f267d 100644 --- a/class_nim_b_l_e_advertising-members.html +++ b/class_nim_b_l_e_advertising-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_advertising.html b/class_nim_b_l_e_advertising.html index 6ae14be..c50231c 100644 --- a/class_nim_b_l_e_advertising.html +++ b/class_nim_b_l_e_advertising.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_att_value-members.html b/class_nim_b_l_e_att_value-members.html index 8f3a479..a84da38 100644 --- a/class_nim_b_l_e_att_value-members.html +++ b/class_nim_b_l_e_att_value-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_att_value.html b/class_nim_b_l_e_att_value.html index c9d734e..af7ba0d 100644 --- a/class_nim_b_l_e_att_value.html +++ b/class_nim_b_l_e_att_value.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_beacon-members.html b/class_nim_b_l_e_beacon-members.html index 60343cb..73ef5d5 100644 --- a/class_nim_b_l_e_beacon-members.html +++ b/class_nim_b_l_e_beacon-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_beacon.html b/class_nim_b_l_e_beacon.html index e8a349c..28e7398 100644 --- a/class_nim_b_l_e_beacon.html +++ b/class_nim_b_l_e_beacon.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_characteristic-members.html b/class_nim_b_l_e_characteristic-members.html index 4d85ad2..4c881fc 100644 --- a/class_nim_b_l_e_characteristic-members.html +++ b/class_nim_b_l_e_characteristic-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_characteristic.html b/class_nim_b_l_e_characteristic.html index 84c4864..82cad43 100644 --- a/class_nim_b_l_e_characteristic.html +++ b/class_nim_b_l_e_characteristic.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_characteristic_callbacks-members.html b/class_nim_b_l_e_characteristic_callbacks-members.html index 6a6caa9..69dcfad 100644 --- a/class_nim_b_l_e_characteristic_callbacks-members.html +++ b/class_nim_b_l_e_characteristic_callbacks-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_characteristic_callbacks.html b/class_nim_b_l_e_characteristic_callbacks.html index be6e502..a330bcb 100644 --- a/class_nim_b_l_e_characteristic_callbacks.html +++ b/class_nim_b_l_e_characteristic_callbacks.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_characteristic_callbacks.js b/class_nim_b_l_e_characteristic_callbacks.js index f614674..8705600 100644 --- a/class_nim_b_l_e_characteristic_callbacks.js +++ b/class_nim_b_l_e_characteristic_callbacks.js @@ -1,8 +1,8 @@ var class_nim_b_l_e_characteristic_callbacks = [ [ "Status", "class_nim_b_l_e_characteristic_callbacks.html#a104baba3c4bbdee7aa28273d265e4c6f", [ - [ "Example", "md__migration_guide.html#autotoc_md61", null ], - [ "Example", "md__migration_guide.html#autotoc_md62", null ] + [ "Example", "md__migration_guide.html#autotoc_md65", null ], + [ "Example", "md__migration_guide.html#autotoc_md66", null ] ] ], [ "onNotify", "class_nim_b_l_e_characteristic_callbacks.html#a185eb5298cc042f1aceeba21caf0dcc9", null ], [ "onRead", "class_nim_b_l_e_characteristic_callbacks.html#a523904b8d39e364db094f623403bad93", null ], diff --git a/class_nim_b_l_e_client-members.html b/class_nim_b_l_e_client-members.html index f8259ca..3467a31 100644 --- a/class_nim_b_l_e_client-members.html +++ b/class_nim_b_l_e_client-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_client.html b/class_nim_b_l_e_client.html index 1f91ab2..c19d87b 100644 --- a/class_nim_b_l_e_client.html +++ b/class_nim_b_l_e_client.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_client_callbacks-members.html b/class_nim_b_l_e_client_callbacks-members.html index 9386deb..fc04c8f 100644 --- a/class_nim_b_l_e_client_callbacks-members.html +++ b/class_nim_b_l_e_client_callbacks-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_client_callbacks.html b/class_nim_b_l_e_client_callbacks.html index 39d5f3b..bdda26c 100644 --- a/class_nim_b_l_e_client_callbacks.html +++ b/class_nim_b_l_e_client_callbacks.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -144,7 +144,7 @@ Public Member Functions

Called when the pairing procedure is complete.

Parameters
-
[in]descA pointer to the struct containing the connection information.
+
[in]descA reference to a NimBLEConnInfo instance containing the peer info.
This can be used to check the status of the connection encryption/pairing.
diff --git a/class_nim_b_l_e_conn_info-members.html b/class_nim_b_l_e_conn_info-members.html index 5ab8955..6ee3e62 100644 --- a/class_nim_b_l_e_conn_info-members.html +++ b/class_nim_b_l_e_conn_info-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_conn_info.html b/class_nim_b_l_e_conn_info.html index cab6304..5da6921 100644 --- a/class_nim_b_l_e_conn_info.html +++ b/class_nim_b_l_e_conn_info.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_descriptor-members.html b/class_nim_b_l_e_descriptor-members.html index 9dd505d..5e6391b 100644 --- a/class_nim_b_l_e_descriptor-members.html +++ b/class_nim_b_l_e_descriptor-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_descriptor.html b/class_nim_b_l_e_descriptor.html index dd31c08..0ceb1ef 100644 --- a/class_nim_b_l_e_descriptor.html +++ b/class_nim_b_l_e_descriptor.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_descriptor_callbacks-members.html b/class_nim_b_l_e_descriptor_callbacks-members.html index f3c174b..065034e 100644 --- a/class_nim_b_l_e_descriptor_callbacks-members.html +++ b/class_nim_b_l_e_descriptor_callbacks-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_descriptor_callbacks.html b/class_nim_b_l_e_descriptor_callbacks.html index ac87b47..b4865f1 100644 --- a/class_nim_b_l_e_descriptor_callbacks.html +++ b/class_nim_b_l_e_descriptor_callbacks.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_device-members.html b/class_nim_b_l_e_device-members.html index 152949d..7d712e1 100644 --- a/class_nim_b_l_e_device-members.html +++ b/class_nim_b_l_e_device-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -118,15 +118,17 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_device.html',''); init onWhiteList(const NimBLEAddress &address)NimBLEDevicestatic removeIgnored(const NimBLEAddress &address)NimBLEDevicestatic setCustomGapHandler(gap_event_handler handler)NimBLEDevicestatic - setMTU(uint16_t mtu)NimBLEDevicestatic - setSecurityAuth(bool bonding, bool mitm, bool sc)NimBLEDevicestatic - setSecurityAuth(uint8_t auth_req)NimBLEDevicestatic - setSecurityCallbacks(NimBLESecurityCallbacks *pCallbacks)NimBLEDevicestatic - setSecurityInitKey(uint8_t init_key)NimBLEDevicestatic - setSecurityIOCap(uint8_t iocap)NimBLEDevicestatic - setSecurityPasskey(uint32_t pin)NimBLEDevicestatic - setSecurityRespKey(uint8_t init_key)NimBLEDevicestatic - startAdvertising(uint8_t inst_id, int duration=0, int max_events=0)NimBLEDevicestatic + setDeviceName(const std::string &deviceName)NimBLEDevicestatic + setMTU(uint16_t mtu)NimBLEDevicestatic + setSecurityAuth(bool bonding, bool mitm, bool sc)NimBLEDevicestatic + setSecurityAuth(uint8_t auth_req)NimBLEDevicestatic + setSecurityCallbacks(NimBLESecurityCallbacks *pCallbacks)NimBLEDevicestatic + setSecurityInitKey(uint8_t init_key)NimBLEDevicestatic + setSecurityIOCap(uint8_t iocap)NimBLEDevicestatic + setSecurityPasskey(uint32_t pin)NimBLEDevicestatic + setSecurityRespKey(uint8_t init_key)NimBLEDevicestatic + startAdvertising(uint8_t inst_id, int duration=0, int max_events=0)NimBLEDevicestatic + startAdvertising()NimBLEDevicestatic startSecurity(uint16_t conn_id)NimBLEDevicestatic stopAdvertising(uint8_t inst_id)NimBLEDevicestatic stopAdvertising()NimBLEDevicestatic diff --git a/class_nim_b_l_e_device.html b/class_nim_b_l_e_device.html index 98885b6..641e714 100644 --- a/class_nim_b_l_e_device.html +++ b/class_nim_b_l_e_device.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -101,6 +101,9 @@ Static Public Member Functions static void deinit (bool clearAll=false)  Shutdown the NimBLE stack/controller. More...
  +static void setDeviceName (const std::string &deviceName) + Set the BLEDevice's name. More...
+  static bool getInitialized ()  Check if the initialization is complete. More...
  @@ -191,6 +194,9 @@ Static Public Member Functions static bool stopAdvertising ()  Convenience function to stop all advertising. More...
  +static bool startAdvertising () + Convenience function to begin advertising. More...
+  static NimBLEClientcreateClient (NimBLEAddress peerAddress=NimBLEAddress(""))  Creates a new client object and maintains a list of all client objects each client can connect to 1 peripheral device. More...
  @@ -1089,6 +1095,40 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
+ + + +

◆ setDeviceName()

+ +
+
+ + + + + +
+ + + + + + + + +
void NimBLEDevice::setDeviceName (const std::string & deviceName)
+
+static
+
+ +

Set the BLEDevice's name.

+
Parameters
+ + +
[in]deviceNameThe device name of the device.
+
+
+
@@ -1410,10 +1450,38 @@ The available bits are defined as: + + + +

◆ startAdvertising() [1/2]

+ +
+
+ + + + + + + +
bool NimBLEServer::startAdvertising ()
+
+ +

Start advertising.

+
Returns
True if advertising started successfully.
+

Start the server advertising its existence. This is a convenience function and is equivalent to retrieving the advertising object and invoking start upon it.

+
-

◆ startAdvertising()

+

◆ startAdvertising() [2/2]

@@ -721,8 +745,6 @@ Advertising will need to be restarted by the user after calling this as we must
Returns
True if advertising started successfully.
-

Start the server advertising its existence. This is a convenience function and is equivalent to retrieving the advertising object and invoking start upon it.

-
Returns
True if advertising started successfully.

Start the server advertising its existence. This is a convenience function and is equivalent to retrieving the advertising object and invoking start upon it.

diff --git a/class_nim_b_l_e_server.js b/class_nim_b_l_e_server.js index cb33881..bb46aed 100644 --- a/class_nim_b_l_e_server.js +++ b/class_nim_b_l_e_server.js @@ -19,6 +19,7 @@ var class_nim_b_l_e_server = [ "setCallbacks", "class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9", null ], [ "setDataLen", "class_nim_b_l_e_server.html#a15112931d1eb6226188c7e383523ba06", null ], [ "start", "class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb", null ], + [ "startAdvertising", "class_nim_b_l_e_server.html#adb1e37c174a5b62f6fd674376fac99d0", null ], [ "startAdvertising", "class_nim_b_l_e_server.html#a8f4b6c2fc5602f5ec34f963df6a21f75", null ], [ "stopAdvertising", "class_nim_b_l_e_server.html#a7a4c114b572675e82700604db29e6e25", null ], [ "stopAdvertising", "class_nim_b_l_e_server.html#af827ef8988c1584795447a634502f0df", null ], diff --git a/class_nim_b_l_e_server_callbacks-members.html b/class_nim_b_l_e_server_callbacks-members.html index c6cdd5b..9d65c88 100644 --- a/class_nim_b_l_e_server_callbacks-members.html +++ b/class_nim_b_l_e_server_callbacks-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_server_callbacks.html b/class_nim_b_l_e_server_callbacks.html index 812f1b4..64d6717 100644 --- a/class_nim_b_l_e_server_callbacks.html +++ b/class_nim_b_l_e_server_callbacks.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_service-members.html b/class_nim_b_l_e_service-members.html index 52d9e5f..a90879e 100644 --- a/class_nim_b_l_e_service-members.html +++ b/class_nim_b_l_e_service-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_service.html b/class_nim_b_l_e_service.html index 96c63e0..930462a 100644 --- a/class_nim_b_l_e_service.html +++ b/class_nim_b_l_e_service.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_u_u_i_d-members.html b/class_nim_b_l_e_u_u_i_d-members.html index a3d1a58..a3d1712 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 @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_u_u_i_d.html b/class_nim_b_l_e_u_u_i_d.html index 4dc73f7..20beada 100644 --- a/class_nim_b_l_e_u_u_i_d.html +++ b/class_nim_b_l_e_u_u_i_d.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_utils-members.html b/class_nim_b_l_e_utils-members.html index f61edb4..4e99fad 100644 --- a/class_nim_b_l_e_utils-members.html +++ b/class_nim_b_l_e_utils-members.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/class_nim_b_l_e_utils.html b/class_nim_b_l_e_utils.html index 83c1b78..694c567 100644 --- a/class_nim_b_l_e_utils.html +++ b/class_nim_b_l_e_utils.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/classes.html b/classes.html index a091867..b0d02e5 100644 --- a/classes.html +++ b/classes.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/deprecated.html b/deprecated.html index 0ae2b6b..c880501 100644 --- a/deprecated.html +++ b/deprecated.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -100,7 +100,7 @@ $(document).ready(function(){initNavTree('deprecated.html',''); initResizable();
Member NimBLERemoteCharacteristic::readUInt8 () __attribute__((deprecated("Use template readValue<uint8_t>()")))
Use readValue<uint8_t>().
Member NimBLERemoteCharacteristic::registerForNotify (notify_callback notifyCallback, bool notifications=true, bool response=true) __attribute__((deprecated("Use subscribe()/unsubscribe()")))
-
Use subscribe() / unsubscribe() instead.
+
Use subscribe() / unsubscribe() instead.
Member NimBLERemoteDescriptor::readUInt16 () __attribute__((deprecated("Use template readValue<uint16_t>()")))
Use readValue<uint16_t>().
Member NimBLERemoteDescriptor::readUInt32 () __attribute__((deprecated("Use template readValue<uint32_t>()")))
diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 2e657a2..606f463 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -5,7 +5,7 @@ -esp-nimble-cpp: K:/Users/Ryan/Desktop/test_idf/components/esp-nimble-cpp/src Directory Reference +esp-nimble-cpp: /github/workspace/src Directory Reference @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/files.html b/files.html index 379cae4..563188e 100644 --- a/files.html +++ b/files.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions.html b/functions.html index 4e534da..92a1da5 100644 --- a/functions.html +++ b/functions.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_b.html b/functions_b.html index 919e4d3..4b262ac 100644 --- a/functions_b.html +++ b/functions_b.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_c.html b/functions_c.html index 041ad1b..4710664 100644 --- a/functions_c.html +++ b/functions_c.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_d.html b/functions_d.html index 1f2f248..48afd71 100644 --- a/functions_d.html +++ b/functions_d.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_e.html b/functions_e.html index 15642f1..01433cb 100644 --- a/functions_e.html +++ b/functions_e.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_enum.html b/functions_enum.html index 3a7a935..3d43f9b 100644 --- a/functions_enum.html +++ b/functions_enum.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_f.html b/functions_f.html index 1b4e166..76341f6 100644 --- a/functions_f.html +++ b/functions_f.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_func.html b/functions_func.html index 89330a7..e3346ae 100644 --- a/functions_func.html +++ b/functions_func.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_func_b.html b/functions_func_b.html index 186e05a..346f21d 100644 --- a/functions_func_b.html +++ b/functions_func_b.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_func_c.html b/functions_func_c.html index fc3251c..719efdd 100644 --- a/functions_func_c.html +++ b/functions_func_c.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_func_d.html b/functions_func_d.html index 469623d..02f6c04 100644 --- a/functions_func_d.html +++ b/functions_func_d.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_func_e.html b/functions_func_e.html index 4ccbd0c..fd244fc 100644 --- a/functions_func_e.html +++ b/functions_func_e.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_func_f.html b/functions_func_f.html index 0e59089..9dc7960 100644 --- a/functions_func_f.html +++ b/functions_func_f.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
diff --git a/functions_func_g.html b/functions_func_g.html index 5769048..e76a3e0 100644 --- a/functions_func_g.html +++ b/functions_func_g.html @@ -26,7 +26,7 @@
esp-nimble-cpp -  1.4.0 +  1.4.1
@@ -129,7 +129,7 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
  • getCharacteristics() : NimBLERemoteService -, NimBLEService +, NimBLEService
  • getClient() : NimBLERemoteService diff --git a/functions_func_h.html b/functions_func_h.html index 30197d8..d309930 100644 --- a/functions_func_h.html +++ b/functions_func_h.html @@ -26,7 +26,7 @@
    esp-nimble-cpp -  1.4.0 +  1.4.1
    diff --git a/functions_func_i.html b/functions_func_i.html index 0313375..d253aa3 100644 --- a/functions_func_i.html +++ b/functions_func_i.html @@ -26,7 +26,7 @@
    esp-nimble-cpp -  1.4.0 +  1.4.1
    @@ -86,7 +86,7 @@ $(document).ready(function(){initNavTree('functions_func_i.html',''); initResiza

    - i -

    • indicate() -: NimBLECharacteristic +: NimBLECharacteristic
    • init() : NimBLEDevice diff --git a/functions_func_l.html b/functions_func_l.html index 5560292..5b0dfe0 100644 --- a/functions_func_l.html +++ b/functions_func_l.html @@ -26,7 +26,7 @@
      esp-nimble-cpp -  1.4.0 +  1.4.1
      diff --git a/functions_func_m.html b/functions_func_m.html index d2d2710..9ba3ac7 100644 --- a/functions_func_m.html +++ b/functions_func_m.html @@ -26,7 +26,7 @@
      esp-nimble-cpp -  1.4.0 +  1.4.1
      diff --git a/functions_func_n.html b/functions_func_n.html index 3aed35e..91427e2 100644 --- a/functions_func_n.html +++ b/functions_func_n.html @@ -26,7 +26,7 @@
      esp-nimble-cpp -  1.4.0 +  1.4.1
      @@ -86,7 +86,7 @@ $(document).ready(function(){initNavTree('functions_func_n.html',''); initResiza

      - n -

      • NimBLEAddress() -: NimBLEAddress +: NimBLEAddress
      • NimBLEAdvertisedDevice() : NimBLEAdvertisedDevice @@ -104,7 +104,7 @@ $(document).ready(function(){initNavTree('functions_func_n.html',''); initResiza : NimBLECharacteristic
      • NimBLEDescriptor() -: NimBLEDescriptor +: NimBLEDescriptor
      • NimBLEEddystoneTLM() : NimBLEEddystoneTLM @@ -125,7 +125,7 @@ $(document).ready(function(){initNavTree('functions_func_n.html',''); initResiza : NimBLEService
      • NimBLEUUID() -: NimBLEUUID +: NimBLEUUID
      • notify() : NimBLECharacteristic diff --git a/functions_func_o.html b/functions_func_o.html index ff24467..46e2e5f 100644 --- a/functions_func_o.html +++ b/functions_func_o.html @@ -26,7 +26,7 @@
        esp-nimble-cpp -  1.4.0 +  1.4.1
        diff --git a/functions_func_p.html b/functions_func_p.html index 5070eb0..d5d39ad 100644 --- a/functions_func_p.html +++ b/functions_func_p.html @@ -26,7 +26,7 @@
        esp-nimble-cpp -  1.4.0 +  1.4.1
        diff --git a/functions_func_r.html b/functions_func_r.html index 2660153..9313fd1 100644 --- a/functions_func_r.html +++ b/functions_func_r.html @@ -26,7 +26,7 @@
        esp-nimble-cpp -  1.4.0 +  1.4.1
        diff --git a/functions_func_s.html b/functions_func_s.html index 93f8077..f19ce28 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -26,7 +26,7 @@
        esp-nimble-cpp -  1.4.0 +  1.4.1
        @@ -172,6 +172,9 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
      • setDescription() : NimBLE2904
      • +
      • setDeviceName() +: NimBLEDevice +
      • setDirected() : NimBLEExtAdvertisement
      • @@ -363,7 +366,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza , NimBLEEddystoneURL
      • setValue() -: NimBLEAttValue +: NimBLEAttValue , NimBLECharacteristic , NimBLEClient , NimBLEDescriptor @@ -408,7 +411,7 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza , NimBLEServer
      • subscribe() -: NimBLERemoteCharacteristic +: NimBLERemoteCharacteristic
  • diff --git a/functions_func_t.html b/functions_func_t.html index 296bcb5..ee12a3b 100644 --- a/functions_func_t.html +++ b/functions_func_t.html @@ -26,7 +26,7 @@
    esp-nimble-cpp -  1.4.0 +  1.4.1
    diff --git a/functions_func_u.html b/functions_func_u.html index 3fcaa49..0d03594 100644 --- a/functions_func_u.html +++ b/functions_func_u.html @@ -26,7 +26,7 @@
    esp-nimble-cpp -  1.4.0 +  1.4.1
    @@ -86,7 +86,7 @@ $(document).ready(function(){initNavTree('functions_func_u.html',''); initResiza

    - u -