From c47dd827c745ce82c902a95bd75eeb0f3edbba2c Mon Sep 17 00:00:00 2001 From: h2zero Date: Sun, 15 Dec 2024 00:45:58 +0000 Subject: [PATCH] deploy: a6ed1933bc05559145097269ee6e551884a48c4c --- _h_i_d_keyboard_types_8h_source.html | 853 ++++++------ _h_i_d_types_8h_source.html | 231 ++-- _nim_b_l_e2904_8h_source.html | 220 +-- _nim_b_l_e_address_8h_source.html | 193 +-- _nim_b_l_e_advertised_device_8h_source.html | 462 +++---- _nim_b_l_e_advertisement_data_8h_source.html | 216 +++ _nim_b_l_e_advertising_8h_source.html | 369 +++-- _nim_b_l_e_att_value_8h_source.html | 720 +++++----- _nim_b_l_e_attribute_8h_source.html | 161 +++ _nim_b_l_e_beacon_8h_source.html | 186 +-- _nim_b_l_e_characteristic_8h_source.html | 510 +++---- _nim_b_l_e_client_8h_source.html | 461 ++++--- _nim_b_l_e_conn_info_8h_source.html | 193 +-- _nim_b_l_e_descriptor_8h_source.html | 256 ++-- _nim_b_l_e_device_8h_source.html | 684 +++++----- _nim_b_l_e_eddystone_t_l_m_8h_source.html | 208 +-- _nim_b_l_e_eddystone_u_r_l_8h_source.html | 158 --- _nim_b_l_e_ext_advertising_8h_source.html | 439 +++--- _nim_b_l_e_h_i_d_device_8h_source.html | 263 ++-- _nim_b_l_e_local_attribute_8h_source.html | 161 +++ ...b_l_e_local_value_attribute_8h_source.html | 221 +++ _nim_b_l_e_log_8h_source.html | 207 +-- ...b_l_e_remote_characteristic_8h_source.html | 348 ++--- _nim_b_l_e_remote_descriptor_8h_source.html | 203 ++- _nim_b_l_e_remote_service_8h_source.html | 231 ++-- ..._l_e_remote_value_attribute_8h_source.html | 237 ++++ _nim_b_l_e_scan_8h_source.html | 315 +++-- _nim_b_l_e_security_8h_source.html | 206 --- _nim_b_l_e_server_8h_source.html | 435 +++--- _nim_b_l_e_service_8h_source.html | 238 ++-- _nim_b_l_e_u_u_i_d_8h_source.html | 204 +-- _nim_b_l_e_utils_8h_source.html | 170 +-- annotated.html | 90 +- annotated_dup.js | 8 +- bc_sd.png | Bin 0 -> 635 bytes bdwn.png | Bin 147 -> 0 bytes class_nim_b_l_e2904-members.html | 80 +- class_nim_b_l_e2904.html | 251 ++-- class_nim_b_l_e_address-members.html | 69 +- class_nim_b_l_e_address.html | 366 +++-- class_nim_b_l_e_address.js | 19 +- ...s_nim_b_l_e_advertised_device-members.html | 143 +- class_nim_b_l_e_advertised_device.html | 854 +++++++----- class_nim_b_l_e_advertised_device.js | 99 +- ...nim_b_l_e_advertised_device_callbacks.html | 145 -- ...s_nim_b_l_e_advertised_device_callbacks.js | 4 - ..._nim_b_l_e_advertisement_data-members.html | 93 +- class_nim_b_l_e_advertisement_data.html | 724 +++++++--- class_nim_b_l_e_advertisement_data.js | 49 +- class_nim_b_l_e_advertising-members.html | 103 +- class_nim_b_l_e_advertising.html | 934 +++++++++---- class_nim_b_l_e_advertising.js | 51 +- class_nim_b_l_e_att_value-members.html | 106 +- class_nim_b_l_e_att_value.html | 490 ++++--- class_nim_b_l_e_att_value.js | 26 +- ... => class_nim_b_l_e_attribute-members.html | 58 +- class_nim_b_l_e_attribute.html | 214 +++ class_nim_b_l_e_attribute.js | 7 + class_nim_b_l_e_beacon-members.html | 60 +- class_nim_b_l_e_beacon.html | 200 +-- class_nim_b_l_e_beacon.js | 6 +- class_nim_b_l_e_characteristic-members.html | 106 +- class_nim_b_l_e_characteristic.html | 1073 +++++++-------- class_nim_b_l_e_characteristic.js | 50 +- ..._l_e_characteristic_callbacks-members.html | 56 +- class_nim_b_l_e_characteristic_callbacks.html | 254 +--- class_nim_b_l_e_characteristic_callbacks.js | 15 +- class_nim_b_l_e_client-members.html | 105 +- class_nim_b_l_e_client.html | 760 ++++++++--- class_nim_b_l_e_client.js | 47 +- class_nim_b_l_e_client_callbacks-members.html | 58 +- class_nim_b_l_e_client_callbacks.html | 348 ++++- class_nim_b_l_e_client_callbacks.js | 12 +- class_nim_b_l_e_conn_info-members.html | 70 +- class_nim_b_l_e_conn_info.html | 152 ++- class_nim_b_l_e_conn_info.js | 26 +- class_nim_b_l_e_descriptor-members.html | 72 +- class_nim_b_l_e_descriptor.html | 375 +----- class_nim_b_l_e_descriptor.js | 18 +- ...im_b_l_e_descriptor_callbacks-members.html | 48 +- class_nim_b_l_e_descriptor_callbacks.html | 94 +- class_nim_b_l_e_descriptor_callbacks.js | 4 +- class_nim_b_l_e_device-members.html | 126 +- class_nim_b_l_e_device.html | 1182 +++++++++++------ class_nim_b_l_e_eddystone_t_l_m-members.html | 66 +- class_nim_b_l_e_eddystone_t_l_m.html | 234 ++-- class_nim_b_l_e_eddystone_t_l_m.js | 10 +- class_nim_b_l_e_eddystone_u_r_l-members.html | 111 -- class_nim_b_l_e_eddystone_u_r_l.html | 350 ----- class_nim_b_l_e_eddystone_u_r_l.js | 13 - ...s_nim_b_l_e_ext_advertisement-members.html | 124 +- class_nim_b_l_e_ext_advertisement.html | 849 ++++++++---- class_nim_b_l_e_ext_advertisement.js | 58 +- class_nim_b_l_e_ext_advertising-members.html | 66 +- class_nim_b_l_e_ext_advertising.html | 182 +-- class_nim_b_l_e_ext_advertising.js | 12 +- ...l_e_ext_advertising_callbacks-members.html | 48 +- ...s_nim_b_l_e_ext_advertising_callbacks.html | 77 +- class_nim_b_l_e_ext_advertising_callbacks.js | 4 +- class_nim_b_l_e_h_i_d_device-members.html | 83 +- class_nim_b_l_e_h_i_d_device.html | 635 ++++++--- class_nim_b_l_e_h_i_d_device.js | 37 +- class_nim_b_l_e_local_attribute-members.html | 115 ++ class_nim_b_l_e_local_attribute.html | 220 +++ class_nim_b_l_e_local_attribute.js | 7 + ...m_b_l_e_remote_characteristic-members.html | 100 +- class_nim_b_l_e_remote_characteristic.html | 923 +++---------- class_nim_b_l_e_remote_characteristic.js | 52 +- ...s_nim_b_l_e_remote_descriptor-members.html | 64 +- class_nim_b_l_e_remote_descriptor.html | 497 +------ class_nim_b_l_e_remote_descriptor.js | 16 +- class_nim_b_l_e_remote_service-members.html | 72 +- class_nim_b_l_e_remote_service.html | 225 ++-- class_nim_b_l_e_remote_service.js | 24 +- class_nim_b_l_e_scan-members.html | 74 +- class_nim_b_l_e_scan.html | 398 +++--- class_nim_b_l_e_scan.js | 16 +- ...lass_nim_b_l_e_scan_callbacks-members.html | 56 +- class_nim_b_l_e_scan_callbacks.html | 242 ++++ class_nim_b_l_e_scan_callbacks.js | 6 + class_nim_b_l_e_scan_results-members.html | 56 +- class_nim_b_l_e_scan_results.html | 132 +- class_nim_b_l_e_scan_results.js | 12 +- class_nim_b_l_e_security.html | 311 ----- class_nim_b_l_e_security.js | 9 - class_nim_b_l_e_security_callbacks.html | 254 ---- class_nim_b_l_e_security_callbacks.js | 8 - class_nim_b_l_e_server-members.html | 94 +- class_nim_b_l_e_server.html | 673 +++++++--- class_nim_b_l_e_server.js | 42 +- class_nim_b_l_e_server_callbacks-members.html | 61 +- class_nim_b_l_e_server_callbacks.html | 320 +++-- class_nim_b_l_e_server_callbacks.js | 17 +- class_nim_b_l_e_service-members.html | 82 +- class_nim_b_l_e_service.html | 323 ++--- class_nim_b_l_e_service.js | 22 +- class_nim_b_l_e_u_u_i_d-members.html | 75 +- class_nim_b_l_e_u_u_i_d.html | 284 ++-- class_nim_b_l_e_u_u_i_d.js | 9 +- class_nim_b_l_e_utils-members.html | 53 +- class_nim_b_l_e_utils.html | 316 +++-- classes.html | 48 +- deprecated.html | 70 +- dir_68267d1309a1af8e8297ef4c3efbcdba.html | 108 +- dir_68267d1309a1af8e8297ef4c3efbcdba.js | 7 +- doc.png | Bin 746 -> 0 bytes doc.svg | 12 + docd.svg | 12 + doxygen.css | 1084 +++++++++------ doxygen.svg | 4 +- dynsections.js | 71 + files.html | 99 +- folderclosed.png | Bin 616 -> 0 bytes folderclosed.svg | 11 + folderclosedd.svg | 11 + folderopen.png | Bin 597 -> 0 bytes folderopen.svg | 17 + folderopend.svg | 12 + functions.html | 88 +- functions_b.html | 67 +- functions_c.html | 116 +- functions_d.html | 108 +- functions_dup.js | 1 - functions_e.html | 66 +- functions_enum.html | 99 -- functions_f.html | 50 +- functions_func.html | 90 +- functions_func.js | 1 - functions_func_b.html | 69 +- functions_func_c.html | 118 +- functions_func_d.html | 110 +- functions_func_e.html | 68 +- functions_func_f.html | 52 +- functions_func_g.html | 500 ++----- functions_func_h.html | 100 +- functions_func_i.html | 119 +- functions_func_l.html | 49 +- functions_func_m.html | 52 +- functions_func_n.html | 104 +- functions_func_o.html | 179 +-- functions_func_p.html | 104 -- functions_func_r.html | 109 +- functions_func_s.html | 472 ++----- functions_func_t.html | 70 +- functions_func_u.html | 55 +- functions_func_w.html | 57 +- functions_func_~.html | 70 +- functions_g.html | 498 ++----- functions_h.html | 98 +- functions_i.html | 117 +- functions_l.html | 47 +- functions_m.html | 50 +- functions_n.html | 102 +- functions_o.html | 177 +-- functions_p.html | 104 -- functions_r.html | 107 +- functions_s.html | 473 ++----- functions_t.html | 68 +- functions_u.html | 53 +- functions_w.html | 55 +- functions_~.html | 68 +- globals.html | 129 +- globals_defs.html | 131 +- hierarchy.html | 107 +- hierarchy.js | 20 +- index.html | 88 +- index.js | 10 + jquery.js | 11 +- md_1_8x__to2_8x__migration__guide.html | 313 +++++ ...github_2workspace_2_c_h_a_n_g_e_l_o_g.html | 538 ++++++++ ....html => md__bluetooth_015_01features.html | 61 +- md__github_workspace__c_h_a_n_g_e_l_o_g.html | 372 ------ md__improvements_and_updates.html | 206 --- md__migration__guide.html | 481 +++++++ md__migration_guide.html | 378 ------ ...er_guide.html => md__new__user__guide.html | 90 +- md__usage_tips.html => md__usage__tips.html | 63 +- menu.js | 97 +- menudata.js | 5 +- minus.svg | 8 + minusd.svg | 8 + nav_fd.png | Bin 0 -> 169 bytes nav_hd.png | Bin 0 -> 114 bytes navtree.css | 23 +- navtree.js | 39 +- navtreedata.js | 227 ++-- navtreeindex0.js | 500 +++---- navtreeindex1.js | 500 +++---- navtreeindex2.js | 488 +++---- navtreeindex3.js | 28 + nimconfig_8h.html | 138 +- nimconfig_8h_source.html | 215 +-- pages.html | 57 +- plus.svg | 9 + plusd.svg | 9 + resize.js | 97 +- search/all_0.html | 37 - search/all_0.js | 33 +- search/all_1.html | 37 - search/all_1.js | 24 +- search/all_10.html | 37 - search/all_10.js | 7 +- search/all_11.html | 37 - search/all_11.js | 47 +- search/all_12.html | 37 - search/all_12.js | 42 +- search/all_13.html | 37 - search/all_13.js | 9 +- search/all_14.js | 21 + search/all_15.js | 114 ++ search/all_16.js | 18 + search/all_17.js | 14 + search/all_18.js | 5 + search/all_19.js | 7 + search/all_1a.js | 5 + search/all_1b.js | 10 + search/all_2.html | 37 - search/all_2.js | 60 +- search/all_3.html | 37 - search/all_3.js | 23 +- search/all_4.html | 37 - search/all_4.js | 6 +- search/all_5.html | 37 - search/all_5.js | 3 +- search/all_6.html | 37 - search/all_6.js | 124 +- search/all_7.html | 37 - search/all_7.js | 27 +- search/all_8.html | 37 - search/all_8.js | 77 +- search/all_9.html | 37 - search/all_9.js | 22 +- search/all_a.html | 37 - search/all_a.js | 13 +- search/all_b.html | 37 - search/all_b.js | 45 +- search/all_c.html | 37 - search/all_c.js | 147 +- search/all_d.html | 37 - search/all_d.js | 16 +- search/all_e.html | 37 - search/all_e.js | 48 +- search/all_f.html | 37 - search/all_f.js | 100 +- search/classes_0.html | 37 - search/classes_0.js | 68 +- search/close.svg | 19 +- search/defines_0.html | 37 - search/defines_0.js | 44 +- search/enums_0.html | 37 - search/enums_0.js | 4 - search/files_0.html | 37 - search/files_0.js | 2 +- search/functions_0.html | 37 - search/functions_0.js | 20 +- search/functions_1.html | 37 - search/functions_1.js | 8 +- search/functions_10.html | 37 - search/functions_10.js | 6 +- search/functions_11.html | 37 - search/functions_11.js | 4 +- search/functions_12.html | 37 - search/functions_12.js | 10 +- search/functions_13.html | 37 - search/functions_13.js | 9 - search/functions_2.html | 37 - search/functions_2.js | 37 +- search/functions_3.html | 37 - search/functions_3.js | 31 +- search/functions_4.html | 37 - search/functions_4.js | 10 +- search/functions_5.html | 37 - search/functions_5.js | 3 +- search/functions_6.html | 37 - search/functions_6.js | 217 +-- search/functions_7.html | 37 - search/functions_7.js | 27 +- search/functions_8.html | 37 - search/functions_8.js | 40 +- search/functions_9.html | 37 - search/functions_9.js | 2 +- search/functions_a.html | 37 - search/functions_a.js | 3 +- search/functions_b.html | 37 - search/functions_b.js | 29 +- search/functions_c.html | 37 - search/functions_c.js | 61 +- search/functions_d.html | 37 - search/functions_d.js | 14 +- search/functions_e.html | 37 - search/functions_e.js | 115 +- search/functions_f.html | 37 - search/functions_f.js | 100 +- search/mag.svg | 24 + search/mag_d.svg | 24 + search/mag_sel.svg | 53 +- search/mag_seld.svg | 31 + search/nomatches.html | 13 - search/pages_0.html | 37 - search/pages_0.js | 2 +- search/pages_1.html | 37 - search/pages_1.js | 2 +- search/pages_2.html | 37 - search/pages_2.js | 2 +- search/pages_3.html | 37 - search/pages_3.js | 3 +- search/pages_4.html | 37 - search/pages_4.js | 2 +- search/pages_5.html | 37 - search/pages_5.js | 2 +- search/pages_6.html | 37 - search/pages_6.js | 4 +- search/pages_7.html | 37 - search/pages_7.js | 2 +- search/pages_8.html | 37 - search/pages_8.js | 2 +- search/pages_9.js | 5 + search/pages_a.js | 5 + search/pages_b.js | 4 + search/pages_c.js | 6 + search/pages_d.js | 5 + search/pages_e.js | 5 + search/search.css | 122 +- search/search.js | 190 +-- search/search_l.png | Bin 567 -> 0 bytes search/search_m.png | Bin 158 -> 0 bytes search/search_r.png | Bin 553 -> 0 bytes search/searchdata.js | 19 +- splitbard.png | Bin 0 -> 282 bytes ...=> struct_nim_b_l_e_task_data-members.html | 51 +- struct_nim_b_l_e_task_data.html | 172 +++ struct_nim_b_l_e_task_data.js | 5 + tab_ad.png | Bin 0 -> 135 bytes tab_bd.png | Bin 0 -> 173 bytes tab_hd.png | Bin 0 -> 180 bytes tab_sd.png | Bin 0 -> 188 bytes tabs.css | 2 +- todo.html | 103 -- 378 files changed, 23544 insertions(+), 22877 deletions(-) create mode 100644 _nim_b_l_e_advertisement_data_8h_source.html create mode 100644 _nim_b_l_e_attribute_8h_source.html delete mode 100644 _nim_b_l_e_eddystone_u_r_l_8h_source.html create mode 100644 _nim_b_l_e_local_attribute_8h_source.html create mode 100644 _nim_b_l_e_local_value_attribute_8h_source.html create mode 100644 _nim_b_l_e_remote_value_attribute_8h_source.html delete mode 100644 _nim_b_l_e_security_8h_source.html create mode 100644 bc_sd.png delete mode 100644 bdwn.png delete mode 100644 class_nim_b_l_e_advertised_device_callbacks.html delete mode 100644 class_nim_b_l_e_advertised_device_callbacks.js rename class_nim_b_l_e_security-members.html => class_nim_b_l_e_attribute-members.html (51%) create mode 100644 class_nim_b_l_e_attribute.html create mode 100644 class_nim_b_l_e_attribute.js delete mode 100644 class_nim_b_l_e_eddystone_u_r_l-members.html delete mode 100644 class_nim_b_l_e_eddystone_u_r_l.html delete mode 100644 class_nim_b_l_e_eddystone_u_r_l.js create mode 100644 class_nim_b_l_e_local_attribute-members.html create mode 100644 class_nim_b_l_e_local_attribute.html create mode 100644 class_nim_b_l_e_local_attribute.js rename class_nim_b_l_e_security_callbacks-members.html => class_nim_b_l_e_scan_callbacks-members.html (50%) create mode 100644 class_nim_b_l_e_scan_callbacks.html create mode 100644 class_nim_b_l_e_scan_callbacks.js delete mode 100644 class_nim_b_l_e_security.html delete mode 100644 class_nim_b_l_e_security.js delete mode 100644 class_nim_b_l_e_security_callbacks.html delete mode 100644 class_nim_b_l_e_security_callbacks.js delete mode 100644 doc.png create mode 100644 doc.svg create mode 100644 docd.svg delete mode 100644 folderclosed.png create mode 100644 folderclosed.svg create mode 100644 folderclosedd.svg delete mode 100644 folderopen.png create mode 100644 folderopen.svg create mode 100644 folderopend.svg delete mode 100644 functions_enum.html delete mode 100644 functions_func_p.html delete mode 100644 functions_p.html create mode 100644 index.js create mode 100644 md_1_8x__to2_8x__migration__guide.html create mode 100644 md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html rename md__bluetooth_5_features.html => md__bluetooth_015_01features.html (70%) delete mode 100644 md__github_workspace__c_h_a_n_g_e_l_o_g.html delete mode 100644 md__improvements_and_updates.html create mode 100644 md__migration__guide.html delete mode 100644 md__migration_guide.html rename md__new_user_guide.html => md__new__user__guide.html (87%) rename md__usage_tips.html => md__usage__tips.html (77%) create mode 100644 minus.svg create mode 100644 minusd.svg create mode 100644 nav_fd.png create mode 100644 nav_hd.png create mode 100644 navtreeindex3.js create mode 100644 plus.svg create mode 100644 plusd.svg delete mode 100644 search/all_0.html delete mode 100644 search/all_1.html delete mode 100644 search/all_10.html delete mode 100644 search/all_11.html delete mode 100644 search/all_12.html delete mode 100644 search/all_13.html create mode 100644 search/all_14.js create mode 100644 search/all_15.js create mode 100644 search/all_16.js create mode 100644 search/all_17.js create mode 100644 search/all_18.js create mode 100644 search/all_19.js create mode 100644 search/all_1a.js create mode 100644 search/all_1b.js delete mode 100644 search/all_2.html delete mode 100644 search/all_3.html delete mode 100644 search/all_4.html delete mode 100644 search/all_5.html delete mode 100644 search/all_6.html delete mode 100644 search/all_7.html delete mode 100644 search/all_8.html delete mode 100644 search/all_9.html delete mode 100644 search/all_a.html delete mode 100644 search/all_b.html delete mode 100644 search/all_c.html delete mode 100644 search/all_d.html delete mode 100644 search/all_e.html delete mode 100644 search/all_f.html delete mode 100644 search/classes_0.html delete mode 100644 search/defines_0.html delete mode 100644 search/enums_0.html delete mode 100644 search/enums_0.js delete mode 100644 search/files_0.html delete mode 100644 search/functions_0.html delete mode 100644 search/functions_1.html delete mode 100644 search/functions_10.html delete mode 100644 search/functions_11.html delete mode 100644 search/functions_12.html delete mode 100644 search/functions_13.html delete mode 100644 search/functions_13.js delete mode 100644 search/functions_2.html delete mode 100644 search/functions_3.html delete mode 100644 search/functions_4.html delete mode 100644 search/functions_5.html delete mode 100644 search/functions_6.html delete mode 100644 search/functions_7.html delete mode 100644 search/functions_8.html delete mode 100644 search/functions_9.html delete mode 100644 search/functions_a.html delete mode 100644 search/functions_b.html delete mode 100644 search/functions_c.html delete mode 100644 search/functions_d.html delete mode 100644 search/functions_e.html delete mode 100644 search/functions_f.html create mode 100644 search/mag.svg create mode 100644 search/mag_d.svg create mode 100644 search/mag_seld.svg delete mode 100644 search/nomatches.html delete mode 100644 search/pages_0.html delete mode 100644 search/pages_1.html delete mode 100644 search/pages_2.html delete mode 100644 search/pages_3.html delete mode 100644 search/pages_4.html delete mode 100644 search/pages_5.html delete mode 100644 search/pages_6.html delete mode 100644 search/pages_7.html delete mode 100644 search/pages_8.html create mode 100644 search/pages_9.js create mode 100644 search/pages_a.js create mode 100644 search/pages_b.js create mode 100644 search/pages_c.js create mode 100644 search/pages_d.js create mode 100644 search/pages_e.js delete mode 100644 search/search_l.png delete mode 100644 search/search_m.png delete mode 100644 search/search_r.png create mode 100644 splitbard.png rename class_nim_b_l_e_advertised_device_callbacks-members.html => struct_nim_b_l_e_task_data-members.html (59%) create mode 100644 struct_nim_b_l_e_task_data.html create mode 100644 struct_nim_b_l_e_task_data.js create mode 100644 tab_ad.png create mode 100644 tab_bd.png create mode 100644 tab_hd.png create mode 100644 tab_sd.png delete mode 100644 todo.html diff --git a/_h_i_d_keyboard_types_8h_source.html b/_h_i_d_keyboard_types_8h_source.html index c751672..c1f46e8 100644 --- a/_h_i_d_keyboard_types_8h_source.html +++ b/_h_i_d_keyboard_types_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/HIDKeyboardTypes.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,425 +81,431 @@ $(document).ready(function(){initNavTree('_h_i_d_keyboard_types_8h_source.html',
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
HIDKeyboardTypes.h
+
HIDKeyboardTypes.h
-
1 /* Copyright (c) 2015 mbed.org, MIT License
-
2  *
-
3  * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
-
4  * and associated documentation files (the "Software"), to deal in the Software without
-
5  * restriction, including without limitation the rights to use, copy, modify, merge, publish,
-
6  * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
-
7  * Software is furnished to do so, subject to the following conditions:
-
8  *
-
9  * The above copyright notice and this permission notice shall be included in all copies or
-
10  * substantial portions of the Software.
-
11  *
-
12  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
-
13  * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-
14  * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-
15  * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-
16  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
17  *
-
18  * Note: this file was pulled from different parts of the USBHID library, in mbed SDK
-
19  */
-
20 
-
21 #ifndef KEYBOARD_DEFS_H
-
22 #define KEYBOARD_DEFS_H
-
23 
-
24 #define REPORT_ID_KEYBOARD 1
-
25 #define REPORT_ID_VOLUME 3
-
26 
-
27 /* Modifiers */
-
28 enum MODIFIER_KEY {
-
29  KEY_CTRL = 1,
-
30  KEY_SHIFT = 2,
-
31  KEY_ALT = 4,
-
32 };
-
33 
-
34 
-
35 enum MEDIA_KEY {
-
36  KEY_NEXT_TRACK,
-
37  KEY_PREVIOUS_TRACK,
-
38  KEY_STOP,
-
39  KEY_PLAY_PAUSE,
-
40  KEY_MUTE,
-
41  KEY_VOLUME_UP,
-
42  KEY_VOLUME_DOWN,
-
43 };
-
44 
-
45 enum FUNCTION_KEY {
-
46  KEY_F1 = 128, /* F1 key */
-
47  KEY_F2, /* F2 key */
-
48  KEY_F3, /* F3 key */
-
49  KEY_F4, /* F4 key */
-
50  KEY_F5, /* F5 key */
-
51  KEY_F6, /* F6 key */
-
52  KEY_F7, /* F7 key */
-
53  KEY_F8, /* F8 key */
-
54  KEY_F9, /* F9 key */
-
55  KEY_F10, /* F10 key */
-
56  KEY_F11, /* F11 key */
-
57  KEY_F12, /* F12 key */
-
58 
-
59  KEY_PRINT_SCREEN, /* Print Screen key */
-
60  KEY_SCROLL_LOCK, /* Scroll lock */
-
61  KEY_CAPS_LOCK, /* caps lock */
-
62  KEY_NUM_LOCK, /* num lock */
-
63  KEY_INSERT, /* Insert key */
-
64  KEY_HOME, /* Home key */
-
65  KEY_PAGE_UP, /* Page Up key */
-
66  KEY_PAGE_DOWN, /* Page Down key */
-
67 
-
68  RIGHT_ARROW, /* Right arrow */
-
69  LEFT_ARROW, /* Left arrow */
-
70  DOWN_ARROW, /* Down arrow */
-
71  UP_ARROW, /* Up arrow */
-
72 };
-
73 
-
74 typedef struct {
-
75  unsigned char usage;
-
76  unsigned char modifier;
-
77 } KEYMAP;
-
78 
-
79 #ifdef US_KEYBOARD
-
80 /* US keyboard (as HID standard) */
-
81 #define KEYMAP_SIZE (152)
-
82 const KEYMAP keymap[KEYMAP_SIZE] = {
-
83  {0, 0}, /* NUL */
-
84  {0, 0}, /* SOH */
-
85  {0, 0}, /* STX */
-
86  {0, 0}, /* ETX */
-
87  {0, 0}, /* EOT */
-
88  {0, 0}, /* ENQ */
-
89  {0, 0}, /* ACK */
-
90  {0, 0}, /* BEL */
-
91  {0x2a, 0}, /* BS */ /* Keyboard Delete (Backspace) */
-
92  {0x2b, 0}, /* TAB */ /* Keyboard Tab */
-
93  {0x28, 0}, /* LF */ /* Keyboard Return (Enter) */
-
94  {0, 0}, /* VT */
-
95  {0, 0}, /* FF */
-
96  {0, 0}, /* CR */
-
97  {0, 0}, /* SO */
-
98  {0, 0}, /* SI */
-
99  {0, 0}, /* DEL */
-
100  {0, 0}, /* DC1 */
-
101  {0, 0}, /* DC2 */
-
102  {0, 0}, /* DC3 */
-
103  {0, 0}, /* DC4 */
-
104  {0, 0}, /* NAK */
-
105  {0, 0}, /* SYN */
-
106  {0, 0}, /* ETB */
-
107  {0, 0}, /* CAN */
-
108  {0, 0}, /* EM */
-
109  {0, 0}, /* SUB */
-
110  {0, 0}, /* ESC */
-
111  {0, 0}, /* FS */
-
112  {0, 0}, /* GS */
-
113  {0, 0}, /* RS */
-
114  {0, 0}, /* US */
-
115  {0x2c, 0}, /* */
-
116  {0x1e, KEY_SHIFT}, /* ! */
-
117  {0x34, KEY_SHIFT}, /* " */
-
118  {0x20, KEY_SHIFT}, /* # */
-
119  {0x21, KEY_SHIFT}, /* $ */
-
120  {0x22, KEY_SHIFT}, /* % */
-
121  {0x24, KEY_SHIFT}, /* & */
-
122  {0x34, 0}, /* ' */
-
123  {0x26, KEY_SHIFT}, /* ( */
-
124  {0x27, KEY_SHIFT}, /* ) */
-
125  {0x25, KEY_SHIFT}, /* * */
-
126  {0x2e, KEY_SHIFT}, /* + */
-
127  {0x36, 0}, /* , */
-
128  {0x2d, 0}, /* - */
-
129  {0x37, 0}, /* . */
-
130  {0x38, 0}, /* / */
-
131  {0x27, 0}, /* 0 */
-
132  {0x1e, 0}, /* 1 */
-
133  {0x1f, 0}, /* 2 */
-
134  {0x20, 0}, /* 3 */
-
135  {0x21, 0}, /* 4 */
-
136  {0x22, 0}, /* 5 */
-
137  {0x23, 0}, /* 6 */
-
138  {0x24, 0}, /* 7 */
-
139  {0x25, 0}, /* 8 */
-
140  {0x26, 0}, /* 9 */
-
141  {0x33, KEY_SHIFT}, /* : */
-
142  {0x33, 0}, /* ; */
-
143  {0x36, KEY_SHIFT}, /* < */
-
144  {0x2e, 0}, /* = */
-
145  {0x37, KEY_SHIFT}, /* > */
-
146  {0x38, KEY_SHIFT}, /* ? */
-
147  {0x1f, KEY_SHIFT}, /* @ */
-
148  {0x04, KEY_SHIFT}, /* A */
-
149  {0x05, KEY_SHIFT}, /* B */
-
150  {0x06, KEY_SHIFT}, /* C */
-
151  {0x07, KEY_SHIFT}, /* D */
-
152  {0x08, KEY_SHIFT}, /* E */
-
153  {0x09, KEY_SHIFT}, /* F */
-
154  {0x0a, KEY_SHIFT}, /* G */
-
155  {0x0b, KEY_SHIFT}, /* H */
-
156  {0x0c, KEY_SHIFT}, /* I */
-
157  {0x0d, KEY_SHIFT}, /* J */
-
158  {0x0e, KEY_SHIFT}, /* K */
-
159  {0x0f, KEY_SHIFT}, /* L */
-
160  {0x10, KEY_SHIFT}, /* M */
-
161  {0x11, KEY_SHIFT}, /* N */
-
162  {0x12, KEY_SHIFT}, /* O */
-
163  {0x13, KEY_SHIFT}, /* P */
-
164  {0x14, KEY_SHIFT}, /* Q */
-
165  {0x15, KEY_SHIFT}, /* R */
-
166  {0x16, KEY_SHIFT}, /* S */
-
167  {0x17, KEY_SHIFT}, /* T */
-
168  {0x18, KEY_SHIFT}, /* U */
-
169  {0x19, KEY_SHIFT}, /* V */
-
170  {0x1a, KEY_SHIFT}, /* W */
-
171  {0x1b, KEY_SHIFT}, /* X */
-
172  {0x1c, KEY_SHIFT}, /* Y */
-
173  {0x1d, KEY_SHIFT}, /* Z */
-
174  {0x2f, 0}, /* [ */
-
175  {0x31, 0}, /* \ */
-
176  {0x30, 0}, /* ] */
-
177  {0x23, KEY_SHIFT}, /* ^ */
-
178  {0x2d, KEY_SHIFT}, /* _ */
-
179  {0x35, 0}, /* ` */
-
180  {0x04, 0}, /* a */
-
181  {0x05, 0}, /* b */
-
182  {0x06, 0}, /* c */
-
183  {0x07, 0}, /* d */
-
184  {0x08, 0}, /* e */
-
185  {0x09, 0}, /* f */
-
186  {0x0a, 0}, /* g */
-
187  {0x0b, 0}, /* h */
-
188  {0x0c, 0}, /* i */
-
189  {0x0d, 0}, /* j */
-
190  {0x0e, 0}, /* k */
-
191  {0x0f, 0}, /* l */
-
192  {0x10, 0}, /* m */
-
193  {0x11, 0}, /* n */
-
194  {0x12, 0}, /* o */
-
195  {0x13, 0}, /* p */
-
196  {0x14, 0}, /* q */
-
197  {0x15, 0}, /* r */
-
198  {0x16, 0}, /* s */
-
199  {0x17, 0}, /* t */
-
200  {0x18, 0}, /* u */
-
201  {0x19, 0}, /* v */
-
202  {0x1a, 0}, /* w */
-
203  {0x1b, 0}, /* x */
-
204  {0x1c, 0}, /* y */
-
205  {0x1d, 0}, /* z */
-
206  {0x2f, KEY_SHIFT}, /* { */
-
207  {0x31, KEY_SHIFT}, /* | */
-
208  {0x30, KEY_SHIFT}, /* } */
-
209  {0x35, KEY_SHIFT}, /* ~ */
-
210  {0,0}, /* DEL */
-
211 
-
212  {0x3a, 0}, /* F1 */
-
213  {0x3b, 0}, /* F2 */
-
214  {0x3c, 0}, /* F3 */
-
215  {0x3d, 0}, /* F4 */
-
216  {0x3e, 0}, /* F5 */
-
217  {0x3f, 0}, /* F6 */
-
218  {0x40, 0}, /* F7 */
-
219  {0x41, 0}, /* F8 */
-
220  {0x42, 0}, /* F9 */
-
221  {0x43, 0}, /* F10 */
-
222  {0x44, 0}, /* F11 */
-
223  {0x45, 0}, /* F12 */
-
224 
-
225  {0x46, 0}, /* PRINT_SCREEN */
-
226  {0x47, 0}, /* SCROLL_LOCK */
-
227  {0x39, 0}, /* CAPS_LOCK */
-
228  {0x53, 0}, /* NUM_LOCK */
-
229  {0x49, 0}, /* INSERT */
-
230  {0x4a, 0}, /* HOME */
-
231  {0x4b, 0}, /* PAGE_UP */
-
232  {0x4e, 0}, /* PAGE_DOWN */
-
233 
-
234  {0x4f, 0}, /* RIGHT_ARROW */
-
235  {0x50, 0}, /* LEFT_ARROW */
-
236  {0x51, 0}, /* DOWN_ARROW */
-
237  {0x52, 0}, /* UP_ARROW */
-
238 };
-
239 
-
240 #else
-
241 /* UK keyboard */
-
242 #define KEYMAP_SIZE (152)
-
243 const KEYMAP keymap[KEYMAP_SIZE] = {
-
244  {0, 0}, /* NUL */
-
245  {0, 0}, /* SOH */
-
246  {0, 0}, /* STX */
-
247  {0, 0}, /* ETX */
-
248  {0, 0}, /* EOT */
-
249  {0, 0}, /* ENQ */
-
250  {0, 0}, /* ACK */
-
251  {0, 0}, /* BEL */
-
252  {0x2a, 0}, /* BS */ /* Keyboard Delete (Backspace) */
-
253  {0x2b, 0}, /* TAB */ /* Keyboard Tab */
-
254  {0x28, 0}, /* LF */ /* Keyboard Return (Enter) */
-
255  {0, 0}, /* VT */
-
256  {0, 0}, /* FF */
-
257  {0, 0}, /* CR */
-
258  {0, 0}, /* SO */
-
259  {0, 0}, /* SI */
-
260  {0, 0}, /* DEL */
-
261  {0, 0}, /* DC1 */
-
262  {0, 0}, /* DC2 */
-
263  {0, 0}, /* DC3 */
-
264  {0, 0}, /* DC4 */
-
265  {0, 0}, /* NAK */
-
266  {0, 0}, /* SYN */
-
267  {0, 0}, /* ETB */
-
268  {0, 0}, /* CAN */
-
269  {0, 0}, /* EM */
-
270  {0, 0}, /* SUB */
-
271  {0, 0}, /* ESC */
-
272  {0, 0}, /* FS */
-
273  {0, 0}, /* GS */
-
274  {0, 0}, /* RS */
-
275  {0, 0}, /* US */
-
276  {0x2c, 0}, /* */
-
277  {0x1e, KEY_SHIFT}, /* ! */
-
278  {0x1f, KEY_SHIFT}, /* " */
-
279  {0x32, 0}, /* # */
-
280  {0x21, KEY_SHIFT}, /* $ */
-
281  {0x22, KEY_SHIFT}, /* % */
-
282  {0x24, KEY_SHIFT}, /* & */
-
283  {0x34, 0}, /* ' */
-
284  {0x26, KEY_SHIFT}, /* ( */
-
285  {0x27, KEY_SHIFT}, /* ) */
-
286  {0x25, KEY_SHIFT}, /* * */
-
287  {0x2e, KEY_SHIFT}, /* + */
-
288  {0x36, 0}, /* , */
-
289  {0x2d, 0}, /* - */
-
290  {0x37, 0}, /* . */
-
291  {0x38, 0}, /* / */
-
292  {0x27, 0}, /* 0 */
-
293  {0x1e, 0}, /* 1 */
-
294  {0x1f, 0}, /* 2 */
-
295  {0x20, 0}, /* 3 */
-
296  {0x21, 0}, /* 4 */
-
297  {0x22, 0}, /* 5 */
-
298  {0x23, 0}, /* 6 */
-
299  {0x24, 0}, /* 7 */
-
300  {0x25, 0}, /* 8 */
-
301  {0x26, 0}, /* 9 */
-
302  {0x33, KEY_SHIFT}, /* : */
-
303  {0x33, 0}, /* ; */
-
304  {0x36, KEY_SHIFT}, /* < */
-
305  {0x2e, 0}, /* = */
-
306  {0x37, KEY_SHIFT}, /* > */
-
307  {0x38, KEY_SHIFT}, /* ? */
-
308  {0x34, KEY_SHIFT}, /* @ */
-
309  {0x04, KEY_SHIFT}, /* A */
-
310  {0x05, KEY_SHIFT}, /* B */
-
311  {0x06, KEY_SHIFT}, /* C */
-
312  {0x07, KEY_SHIFT}, /* D */
-
313  {0x08, KEY_SHIFT}, /* E */
-
314  {0x09, KEY_SHIFT}, /* F */
-
315  {0x0a, KEY_SHIFT}, /* G */
-
316  {0x0b, KEY_SHIFT}, /* H */
-
317  {0x0c, KEY_SHIFT}, /* I */
-
318  {0x0d, KEY_SHIFT}, /* J */
-
319  {0x0e, KEY_SHIFT}, /* K */
-
320  {0x0f, KEY_SHIFT}, /* L */
-
321  {0x10, KEY_SHIFT}, /* M */
-
322  {0x11, KEY_SHIFT}, /* N */
-
323  {0x12, KEY_SHIFT}, /* O */
-
324  {0x13, KEY_SHIFT}, /* P */
-
325  {0x14, KEY_SHIFT}, /* Q */
-
326  {0x15, KEY_SHIFT}, /* R */
-
327  {0x16, KEY_SHIFT}, /* S */
-
328  {0x17, KEY_SHIFT}, /* T */
-
329  {0x18, KEY_SHIFT}, /* U */
-
330  {0x19, KEY_SHIFT}, /* V */
-
331  {0x1a, KEY_SHIFT}, /* W */
-
332  {0x1b, KEY_SHIFT}, /* X */
-
333  {0x1c, KEY_SHIFT}, /* Y */
-
334  {0x1d, KEY_SHIFT}, /* Z */
-
335  {0x2f, 0}, /* [ */
-
336  {0x64, 0}, /* \ */
-
337  {0x30, 0}, /* ] */
-
338  {0x23, KEY_SHIFT}, /* ^ */
-
339  {0x2d, KEY_SHIFT}, /* _ */
-
340  {0x35, 0}, /* ` */
-
341  {0x04, 0}, /* a */
-
342  {0x05, 0}, /* b */
-
343  {0x06, 0}, /* c */
-
344  {0x07, 0}, /* d */
-
345  {0x08, 0}, /* e */
-
346  {0x09, 0}, /* f */
-
347  {0x0a, 0}, /* g */
-
348  {0x0b, 0}, /* h */
-
349  {0x0c, 0}, /* i */
-
350  {0x0d, 0}, /* j */
-
351  {0x0e, 0}, /* k */
-
352  {0x0f, 0}, /* l */
-
353  {0x10, 0}, /* m */
-
354  {0x11, 0}, /* n */
-
355  {0x12, 0}, /* o */
-
356  {0x13, 0}, /* p */
-
357  {0x14, 0}, /* q */
-
358  {0x15, 0}, /* r */
-
359  {0x16, 0}, /* s */
-
360  {0x17, 0}, /* t */
-
361  {0x18, 0}, /* u */
-
362  {0x19, 0}, /* v */
-
363  {0x1a, 0}, /* w */
-
364  {0x1b, 0}, /* x */
-
365  {0x1c, 0}, /* y */
-
366  {0x1d, 0}, /* z */
-
367  {0x2f, KEY_SHIFT}, /* { */
-
368  {0x64, KEY_SHIFT}, /* | */
-
369  {0x30, KEY_SHIFT}, /* } */
-
370  {0x32, KEY_SHIFT}, /* ~ */
-
371  {0,0}, /* DEL */
-
372 
-
373  {0x3a, 0}, /* F1 */
-
374  {0x3b, 0}, /* F2 */
-
375  {0x3c, 0}, /* F3 */
-
376  {0x3d, 0}, /* F4 */
-
377  {0x3e, 0}, /* F5 */
-
378  {0x3f, 0}, /* F6 */
-
379  {0x40, 0}, /* F7 */
-
380  {0x41, 0}, /* F8 */
-
381  {0x42, 0}, /* F9 */
-
382  {0x43, 0}, /* F10 */
-
383  {0x44, 0}, /* F11 */
-
384  {0x45, 0}, /* F12 */
-
385 
-
386  {0x46, 0}, /* PRINT_SCREEN */
-
387  {0x47, 0}, /* SCROLL_LOCK */
-
388  {0x39, 0}, /* CAPS_LOCK */
-
389  {0x53, 0}, /* NUM_LOCK */
-
390  {0x49, 0}, /* INSERT */
-
391  {0x4a, 0}, /* HOME */
-
392  {0x4b, 0}, /* PAGE_UP */
-
393  {0x4e, 0}, /* PAGE_DOWN */
-
394 
-
395  {0x4f, 0}, /* RIGHT_ARROW */
-
396  {0x50, 0}, /* LEFT_ARROW */
-
397  {0x51, 0}, /* DOWN_ARROW */
-
398  {0x52, 0}, /* UP_ARROW */
-
399 };
-
400 #endif
-
401 
-
402 #endif
+
1/* Copyright (c) 2015 mbed.org, MIT License
+
2 *
+
3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+
4 * and associated documentation files (the "Software"), to deal in the Software without
+
5 * restriction, including without limitation the rights to use, copy, modify, merge, publish,
+
6 * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
+
7 * Software is furnished to do so, subject to the following conditions:
+
8 *
+
9 * The above copyright notice and this permission notice shall be included in all copies or
+
10 * substantial portions of the Software.
+
11 *
+
12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
+
13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+
14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+
15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
17 *
+
18 * Note: this file was pulled from different parts of the USBHID library, in mbed SDK
+
19 */
+
20
+
21#ifndef KEYBOARD_DEFS_H
+
22#define KEYBOARD_DEFS_H
+
23
+
24#define REPORT_ID_KEYBOARD 1
+
25#define REPORT_ID_VOLUME 3
+
26
+
27/* Modifiers */
+
28enum MODIFIER_KEY {
+
29 KEY_CTRL = 1,
+
30 KEY_SHIFT = 2,
+
31 KEY_ALT = 4,
+
32};
+
33
+
34
+
35enum MEDIA_KEY {
+
36 KEY_NEXT_TRACK,
+
37 KEY_PREVIOUS_TRACK,
+
38 KEY_STOP,
+
39 KEY_PLAY_PAUSE,
+
40 KEY_MUTE,
+
41 KEY_VOLUME_UP,
+
42 KEY_VOLUME_DOWN,
+
43};
+
44
+
45enum FUNCTION_KEY {
+
46 KEY_F1 = 128, /* F1 key */
+
47 KEY_F2, /* F2 key */
+
48 KEY_F3, /* F3 key */
+
49 KEY_F4, /* F4 key */
+
50 KEY_F5, /* F5 key */
+
51 KEY_F6, /* F6 key */
+
52 KEY_F7, /* F7 key */
+
53 KEY_F8, /* F8 key */
+
54 KEY_F9, /* F9 key */
+
55 KEY_F10, /* F10 key */
+
56 KEY_F11, /* F11 key */
+
57 KEY_F12, /* F12 key */
+
58
+
59 KEY_PRINT_SCREEN, /* Print Screen key */
+
60 KEY_SCROLL_LOCK, /* Scroll lock */
+
61 KEY_CAPS_LOCK, /* caps lock */
+
62 KEY_NUM_LOCK, /* num lock */
+
63 KEY_INSERT, /* Insert key */
+
64 KEY_HOME, /* Home key */
+
65 KEY_PAGE_UP, /* Page Up key */
+
66 KEY_PAGE_DOWN, /* Page Down key */
+
67
+
68 RIGHT_ARROW, /* Right arrow */
+
69 LEFT_ARROW, /* Left arrow */
+
70 DOWN_ARROW, /* Down arrow */
+
71 UP_ARROW, /* Up arrow */
+
72};
+
73
+
74typedef struct {
+
75 unsigned char usage;
+
76 unsigned char modifier;
+
77} KEYMAP;
+
78
+
79#ifdef US_KEYBOARD
+
80/* US keyboard (as HID standard) */
+
81#define KEYMAP_SIZE (152)
+
82const KEYMAP keymap[KEYMAP_SIZE] = {
+
83 {0, 0}, /* NUL */
+
84 {0, 0}, /* SOH */
+
85 {0, 0}, /* STX */
+
86 {0, 0}, /* ETX */
+
87 {0, 0}, /* EOT */
+
88 {0, 0}, /* ENQ */
+
89 {0, 0}, /* ACK */
+
90 {0, 0}, /* BEL */
+
91 {0x2a, 0}, /* BS */ /* Keyboard Delete (Backspace) */
+
92 {0x2b, 0}, /* TAB */ /* Keyboard Tab */
+
93 {0x28, 0}, /* LF */ /* Keyboard Return (Enter) */
+
94 {0, 0}, /* VT */
+
95 {0, 0}, /* FF */
+
96 {0, 0}, /* CR */
+
97 {0, 0}, /* SO */
+
98 {0, 0}, /* SI */
+
99 {0, 0}, /* DEL */
+
100 {0, 0}, /* DC1 */
+
101 {0, 0}, /* DC2 */
+
102 {0, 0}, /* DC3 */
+
103 {0, 0}, /* DC4 */
+
104 {0, 0}, /* NAK */
+
105 {0, 0}, /* SYN */
+
106 {0, 0}, /* ETB */
+
107 {0, 0}, /* CAN */
+
108 {0, 0}, /* EM */
+
109 {0, 0}, /* SUB */
+
110 {0, 0}, /* ESC */
+
111 {0, 0}, /* FS */
+
112 {0, 0}, /* GS */
+
113 {0, 0}, /* RS */
+
114 {0, 0}, /* US */
+
115 {0x2c, 0}, /* */
+
116 {0x1e, KEY_SHIFT}, /* ! */
+
117 {0x34, KEY_SHIFT}, /* " */
+
118 {0x20, KEY_SHIFT}, /* # */
+
119 {0x21, KEY_SHIFT}, /* $ */
+
120 {0x22, KEY_SHIFT}, /* % */
+
121 {0x24, KEY_SHIFT}, /* & */
+
122 {0x34, 0}, /* ' */
+
123 {0x26, KEY_SHIFT}, /* ( */
+
124 {0x27, KEY_SHIFT}, /* ) */
+
125 {0x25, KEY_SHIFT}, /* * */
+
126 {0x2e, KEY_SHIFT}, /* + */
+
127 {0x36, 0}, /* , */
+
128 {0x2d, 0}, /* - */
+
129 {0x37, 0}, /* . */
+
130 {0x38, 0}, /* / */
+
131 {0x27, 0}, /* 0 */
+
132 {0x1e, 0}, /* 1 */
+
133 {0x1f, 0}, /* 2 */
+
134 {0x20, 0}, /* 3 */
+
135 {0x21, 0}, /* 4 */
+
136 {0x22, 0}, /* 5 */
+
137 {0x23, 0}, /* 6 */
+
138 {0x24, 0}, /* 7 */
+
139 {0x25, 0}, /* 8 */
+
140 {0x26, 0}, /* 9 */
+
141 {0x33, KEY_SHIFT}, /* : */
+
142 {0x33, 0}, /* ; */
+
143 {0x36, KEY_SHIFT}, /* < */
+
144 {0x2e, 0}, /* = */
+
145 {0x37, KEY_SHIFT}, /* > */
+
146 {0x38, KEY_SHIFT}, /* ? */
+
147 {0x1f, KEY_SHIFT}, /* @ */
+
148 {0x04, KEY_SHIFT}, /* A */
+
149 {0x05, KEY_SHIFT}, /* B */
+
150 {0x06, KEY_SHIFT}, /* C */
+
151 {0x07, KEY_SHIFT}, /* D */
+
152 {0x08, KEY_SHIFT}, /* E */
+
153 {0x09, KEY_SHIFT}, /* F */
+
154 {0x0a, KEY_SHIFT}, /* G */
+
155 {0x0b, KEY_SHIFT}, /* H */
+
156 {0x0c, KEY_SHIFT}, /* I */
+
157 {0x0d, KEY_SHIFT}, /* J */
+
158 {0x0e, KEY_SHIFT}, /* K */
+
159 {0x0f, KEY_SHIFT}, /* L */
+
160 {0x10, KEY_SHIFT}, /* M */
+
161 {0x11, KEY_SHIFT}, /* N */
+
162 {0x12, KEY_SHIFT}, /* O */
+
163 {0x13, KEY_SHIFT}, /* P */
+
164 {0x14, KEY_SHIFT}, /* Q */
+
165 {0x15, KEY_SHIFT}, /* R */
+
166 {0x16, KEY_SHIFT}, /* S */
+
167 {0x17, KEY_SHIFT}, /* T */
+
168 {0x18, KEY_SHIFT}, /* U */
+
169 {0x19, KEY_SHIFT}, /* V */
+
170 {0x1a, KEY_SHIFT}, /* W */
+
171 {0x1b, KEY_SHIFT}, /* X */
+
172 {0x1c, KEY_SHIFT}, /* Y */
+
173 {0x1d, KEY_SHIFT}, /* Z */
+
174 {0x2f, 0}, /* [ */
+
175 {0x31, 0}, /* \ */
+
176 {0x30, 0}, /* ] */
+
177 {0x23, KEY_SHIFT}, /* ^ */
+
178 {0x2d, KEY_SHIFT}, /* _ */
+
179 {0x35, 0}, /* ` */
+
180 {0x04, 0}, /* a */
+
181 {0x05, 0}, /* b */
+
182 {0x06, 0}, /* c */
+
183 {0x07, 0}, /* d */
+
184 {0x08, 0}, /* e */
+
185 {0x09, 0}, /* f */
+
186 {0x0a, 0}, /* g */
+
187 {0x0b, 0}, /* h */
+
188 {0x0c, 0}, /* i */
+
189 {0x0d, 0}, /* j */
+
190 {0x0e, 0}, /* k */
+
191 {0x0f, 0}, /* l */
+
192 {0x10, 0}, /* m */
+
193 {0x11, 0}, /* n */
+
194 {0x12, 0}, /* o */
+
195 {0x13, 0}, /* p */
+
196 {0x14, 0}, /* q */
+
197 {0x15, 0}, /* r */
+
198 {0x16, 0}, /* s */
+
199 {0x17, 0}, /* t */
+
200 {0x18, 0}, /* u */
+
201 {0x19, 0}, /* v */
+
202 {0x1a, 0}, /* w */
+
203 {0x1b, 0}, /* x */
+
204 {0x1c, 0}, /* y */
+
205 {0x1d, 0}, /* z */
+
206 {0x2f, KEY_SHIFT}, /* { */
+
207 {0x31, KEY_SHIFT}, /* | */
+
208 {0x30, KEY_SHIFT}, /* } */
+
209 {0x35, KEY_SHIFT}, /* ~ */
+
210 {0,0}, /* DEL */
+
211
+
212 {0x3a, 0}, /* F1 */
+
213 {0x3b, 0}, /* F2 */
+
214 {0x3c, 0}, /* F3 */
+
215 {0x3d, 0}, /* F4 */
+
216 {0x3e, 0}, /* F5 */
+
217 {0x3f, 0}, /* F6 */
+
218 {0x40, 0}, /* F7 */
+
219 {0x41, 0}, /* F8 */
+
220 {0x42, 0}, /* F9 */
+
221 {0x43, 0}, /* F10 */
+
222 {0x44, 0}, /* F11 */
+
223 {0x45, 0}, /* F12 */
+
224
+
225 {0x46, 0}, /* PRINT_SCREEN */
+
226 {0x47, 0}, /* SCROLL_LOCK */
+
227 {0x39, 0}, /* CAPS_LOCK */
+
228 {0x53, 0}, /* NUM_LOCK */
+
229 {0x49, 0}, /* INSERT */
+
230 {0x4a, 0}, /* HOME */
+
231 {0x4b, 0}, /* PAGE_UP */
+
232 {0x4e, 0}, /* PAGE_DOWN */
+
233
+
234 {0x4f, 0}, /* RIGHT_ARROW */
+
235 {0x50, 0}, /* LEFT_ARROW */
+
236 {0x51, 0}, /* DOWN_ARROW */
+
237 {0x52, 0}, /* UP_ARROW */
+
238};
+
239
+
240#else
+
241/* UK keyboard */
+
242#define KEYMAP_SIZE (152)
+
243const KEYMAP keymap[KEYMAP_SIZE] = {
+
244 {0, 0}, /* NUL */
+
245 {0, 0}, /* SOH */
+
246 {0, 0}, /* STX */
+
247 {0, 0}, /* ETX */
+
248 {0, 0}, /* EOT */
+
249 {0, 0}, /* ENQ */
+
250 {0, 0}, /* ACK */
+
251 {0, 0}, /* BEL */
+
252 {0x2a, 0}, /* BS */ /* Keyboard Delete (Backspace) */
+
253 {0x2b, 0}, /* TAB */ /* Keyboard Tab */
+
254 {0x28, 0}, /* LF */ /* Keyboard Return (Enter) */
+
255 {0, 0}, /* VT */
+
256 {0, 0}, /* FF */
+
257 {0, 0}, /* CR */
+
258 {0, 0}, /* SO */
+
259 {0, 0}, /* SI */
+
260 {0, 0}, /* DEL */
+
261 {0, 0}, /* DC1 */
+
262 {0, 0}, /* DC2 */
+
263 {0, 0}, /* DC3 */
+
264 {0, 0}, /* DC4 */
+
265 {0, 0}, /* NAK */
+
266 {0, 0}, /* SYN */
+
267 {0, 0}, /* ETB */
+
268 {0, 0}, /* CAN */
+
269 {0, 0}, /* EM */
+
270 {0, 0}, /* SUB */
+
271 {0, 0}, /* ESC */
+
272 {0, 0}, /* FS */
+
273 {0, 0}, /* GS */
+
274 {0, 0}, /* RS */
+
275 {0, 0}, /* US */
+
276 {0x2c, 0}, /* */
+
277 {0x1e, KEY_SHIFT}, /* ! */
+
278 {0x1f, KEY_SHIFT}, /* " */
+
279 {0x32, 0}, /* # */
+
280 {0x21, KEY_SHIFT}, /* $ */
+
281 {0x22, KEY_SHIFT}, /* % */
+
282 {0x24, KEY_SHIFT}, /* & */
+
283 {0x34, 0}, /* ' */
+
284 {0x26, KEY_SHIFT}, /* ( */
+
285 {0x27, KEY_SHIFT}, /* ) */
+
286 {0x25, KEY_SHIFT}, /* * */
+
287 {0x2e, KEY_SHIFT}, /* + */
+
288 {0x36, 0}, /* , */
+
289 {0x2d, 0}, /* - */
+
290 {0x37, 0}, /* . */
+
291 {0x38, 0}, /* / */
+
292 {0x27, 0}, /* 0 */
+
293 {0x1e, 0}, /* 1 */
+
294 {0x1f, 0}, /* 2 */
+
295 {0x20, 0}, /* 3 */
+
296 {0x21, 0}, /* 4 */
+
297 {0x22, 0}, /* 5 */
+
298 {0x23, 0}, /* 6 */
+
299 {0x24, 0}, /* 7 */
+
300 {0x25, 0}, /* 8 */
+
301 {0x26, 0}, /* 9 */
+
302 {0x33, KEY_SHIFT}, /* : */
+
303 {0x33, 0}, /* ; */
+
304 {0x36, KEY_SHIFT}, /* < */
+
305 {0x2e, 0}, /* = */
+
306 {0x37, KEY_SHIFT}, /* > */
+
307 {0x38, KEY_SHIFT}, /* ? */
+
308 {0x34, KEY_SHIFT}, /* @ */
+
309 {0x04, KEY_SHIFT}, /* A */
+
310 {0x05, KEY_SHIFT}, /* B */
+
311 {0x06, KEY_SHIFT}, /* C */
+
312 {0x07, KEY_SHIFT}, /* D */
+
313 {0x08, KEY_SHIFT}, /* E */
+
314 {0x09, KEY_SHIFT}, /* F */
+
315 {0x0a, KEY_SHIFT}, /* G */
+
316 {0x0b, KEY_SHIFT}, /* H */
+
317 {0x0c, KEY_SHIFT}, /* I */
+
318 {0x0d, KEY_SHIFT}, /* J */
+
319 {0x0e, KEY_SHIFT}, /* K */
+
320 {0x0f, KEY_SHIFT}, /* L */
+
321 {0x10, KEY_SHIFT}, /* M */
+
322 {0x11, KEY_SHIFT}, /* N */
+
323 {0x12, KEY_SHIFT}, /* O */
+
324 {0x13, KEY_SHIFT}, /* P */
+
325 {0x14, KEY_SHIFT}, /* Q */
+
326 {0x15, KEY_SHIFT}, /* R */
+
327 {0x16, KEY_SHIFT}, /* S */
+
328 {0x17, KEY_SHIFT}, /* T */
+
329 {0x18, KEY_SHIFT}, /* U */
+
330 {0x19, KEY_SHIFT}, /* V */
+
331 {0x1a, KEY_SHIFT}, /* W */
+
332 {0x1b, KEY_SHIFT}, /* X */
+
333 {0x1c, KEY_SHIFT}, /* Y */
+
334 {0x1d, KEY_SHIFT}, /* Z */
+
335 {0x2f, 0}, /* [ */
+
336 {0x64, 0}, /* \ */
+
337 {0x30, 0}, /* ] */
+
338 {0x23, KEY_SHIFT}, /* ^ */
+
339 {0x2d, KEY_SHIFT}, /* _ */
+
340 {0x35, 0}, /* ` */
+
341 {0x04, 0}, /* a */
+
342 {0x05, 0}, /* b */
+
343 {0x06, 0}, /* c */
+
344 {0x07, 0}, /* d */
+
345 {0x08, 0}, /* e */
+
346 {0x09, 0}, /* f */
+
347 {0x0a, 0}, /* g */
+
348 {0x0b, 0}, /* h */
+
349 {0x0c, 0}, /* i */
+
350 {0x0d, 0}, /* j */
+
351 {0x0e, 0}, /* k */
+
352 {0x0f, 0}, /* l */
+
353 {0x10, 0}, /* m */
+
354 {0x11, 0}, /* n */
+
355 {0x12, 0}, /* o */
+
356 {0x13, 0}, /* p */
+
357 {0x14, 0}, /* q */
+
358 {0x15, 0}, /* r */
+
359 {0x16, 0}, /* s */
+
360 {0x17, 0}, /* t */
+
361 {0x18, 0}, /* u */
+
362 {0x19, 0}, /* v */
+
363 {0x1a, 0}, /* w */
+
364 {0x1b, 0}, /* x */
+
365 {0x1c, 0}, /* y */
+
366 {0x1d, 0}, /* z */
+
367 {0x2f, KEY_SHIFT}, /* { */
+
368 {0x64, KEY_SHIFT}, /* | */
+
369 {0x30, KEY_SHIFT}, /* } */
+
370 {0x32, KEY_SHIFT}, /* ~ */
+
371 {0,0}, /* DEL */
+
372
+
373 {0x3a, 0}, /* F1 */
+
374 {0x3b, 0}, /* F2 */
+
375 {0x3c, 0}, /* F3 */
+
376 {0x3d, 0}, /* F4 */
+
377 {0x3e, 0}, /* F5 */
+
378 {0x3f, 0}, /* F6 */
+
379 {0x40, 0}, /* F7 */
+
380 {0x41, 0}, /* F8 */
+
381 {0x42, 0}, /* F9 */
+
382 {0x43, 0}, /* F10 */
+
383 {0x44, 0}, /* F11 */
+
384 {0x45, 0}, /* F12 */
+
385
+
386 {0x46, 0}, /* PRINT_SCREEN */
+
387 {0x47, 0}, /* SCROLL_LOCK */
+
388 {0x39, 0}, /* CAPS_LOCK */
+
389 {0x53, 0}, /* NUM_LOCK */
+
390 {0x49, 0}, /* INSERT */
+
391 {0x4a, 0}, /* HOME */
+
392 {0x4b, 0}, /* PAGE_UP */
+
393 {0x4e, 0}, /* PAGE_DOWN */
+
394
+
395 {0x4f, 0}, /* RIGHT_ARROW */
+
396 {0x50, 0}, /* LEFT_ARROW */
+
397 {0x51, 0}, /* DOWN_ARROW */
+
398 {0x52, 0}, /* UP_ARROW */
+
399};
+
400#endif
+
401
+
402#endif
diff --git a/_h_i_d_types_8h_source.html b/_h_i_d_types_8h_source.html index e8f348c..e5d3052 100644 --- a/_h_i_d_types_8h_source.html +++ b/_h_i_d_types_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/HIDTypes.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,114 +81,120 @@ $(document).ready(function(){initNavTree('_h_i_d_types_8h_source.html',''); init
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
HIDTypes.h
+
HIDTypes.h
-
1 /* Copyright (c) 2010-2011 mbed.org, MIT License
-
2 *
-
3 * Permission is hereby granted, free of charge, to any person obtaining a copy of this software
-
4 * and associated documentation files (the "Software"), to deal in the Software without
-
5 * restriction, including without limitation the rights to use, copy, modify, merge, publish,
-
6 * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
-
7 * Software is furnished to do so, subject to the following conditions:
-
8 *
-
9 * The above copyright notice and this permission notice shall be included in all copies or
-
10 * substantial portions of the Software.
-
11 *
-
12 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
-
13 * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
-
14 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
-
15 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-
16 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
17 */
-
18 
-
19 #ifndef USBCLASS_HID_TYPES
-
20 #define USBCLASS_HID_TYPES
-
21 
-
22 #include <stdint.h>
-
23 
-
24 /* */
-
25 #define HID_VERSION_1_11 (0x0111)
-
26 
-
27 /* HID Class */
-
28 #define HID_CLASS (3)
-
29 #define HID_SUBCLASS_NONE (0)
-
30 #define HID_PROTOCOL_NONE (0)
-
31 
-
32 /* Descriptors */
-
33 #define HID_DESCRIPTOR (33)
-
34 #define HID_DESCRIPTOR_LENGTH (0x09)
-
35 #define REPORT_DESCRIPTOR (34)
-
36 
-
37 /* Class requests */
-
38 #define GET_REPORT (0x1)
-
39 #define GET_IDLE (0x2)
-
40 #define SET_REPORT (0x9)
-
41 #define SET_IDLE (0xa)
-
42 
-
43 /* HID Class Report Descriptor */
-
44 /* Short items: size is 0, 1, 2 or 3 specifying 0, 1, 2 or 4 (four) bytes */
-
45 /* of data as per HID Class standard */
-
46 
-
47 /* Main items */
-
48 #define HIDINPUT(size) (0x80 | size)
-
49 #define HIDOUTPUT(size) (0x90 | size)
-
50 #define FEATURE(size) (0xb0 | size)
-
51 #define COLLECTION(size) (0xa0 | size)
-
52 #define END_COLLECTION(size) (0xc0 | size)
-
53 
-
54 /* Global items */
-
55 #define USAGE_PAGE(size) (0x04 | size)
-
56 #define LOGICAL_MINIMUM(size) (0x14 | size)
-
57 #define LOGICAL_MAXIMUM(size) (0x24 | size)
-
58 #define PHYSICAL_MINIMUM(size) (0x34 | size)
-
59 #define PHYSICAL_MAXIMUM(size) (0x44 | size)
-
60 #define UNIT_EXPONENT(size) (0x54 | size)
-
61 #define UNIT(size) (0x64 | size)
-
62 #define REPORT_SIZE(size) (0x74 | size) //bits
-
63 #define REPORT_ID(size) (0x84 | size)
-
64 #define REPORT_COUNT(size) (0x94 | size) //bytes
-
65 #define PUSH(size) (0xa4 | size)
-
66 #define POP(size) (0xb4 | size)
-
67 
-
68 /* Local items */
-
69 #define USAGE(size) (0x08 | size)
-
70 #define USAGE_MINIMUM(size) (0x18 | size)
-
71 #define USAGE_MAXIMUM(size) (0x28 | size)
-
72 #define DESIGNATOR_INDEX(size) (0x38 | size)
-
73 #define DESIGNATOR_MINIMUM(size) (0x48 | size)
-
74 #define DESIGNATOR_MAXIMUM(size) (0x58 | size)
-
75 #define STRING_INDEX(size) (0x78 | size)
-
76 #define STRING_MINIMUM(size) (0x88 | size)
-
77 #define STRING_MAXIMUM(size) (0x98 | size)
-
78 #define DELIMITER(size) (0xa8 | size)
-
79 
-
80 /* HID Report */
-
81 /* Where report IDs are used the first byte of 'data' will be the */
-
82 /* report ID and 'length' will include this report ID byte. */
-
83 
-
84 #define MAX_HID_REPORT_SIZE (64)
-
85 
-
86 typedef struct {
-
87  uint32_t length;
-
88  uint8_t data[MAX_HID_REPORT_SIZE];
-
89 } HID_REPORT;
-
90 
-
91 #endif
+
1/* Copyright (c) 2010-2011 mbed.org, MIT License
+
2*
+
3* Permission is hereby granted, free of charge, to any person obtaining a copy of this software
+
4* and associated documentation files (the "Software"), to deal in the Software without
+
5* restriction, including without limitation the rights to use, copy, modify, merge, publish,
+
6* distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the
+
7* Software is furnished to do so, subject to the following conditions:
+
8*
+
9* The above copyright notice and this permission notice shall be included in all copies or
+
10* substantial portions of the Software.
+
11*
+
12* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
+
13* BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+
14* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
+
15* DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+
16* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
17*/
+
18
+
19#ifndef USBCLASS_HID_TYPES
+
20#define USBCLASS_HID_TYPES
+
21
+
22#include <stdint.h>
+
23
+
24/* */
+
25#define HID_VERSION_1_11 (0x0111)
+
26
+
27/* HID Class */
+
28#define BLE_HID_CLASS (3)
+
29#define BLE_HID_SUBCLASS_NONE (0)
+
30#define BLE_HID_PROTOCOL_NONE (0)
+
31
+
32/* Descriptors */
+
33#define HID_DESCRIPTOR (33)
+
34#define HID_DESCRIPTOR_LENGTH (0x09)
+
35#define REPORT_DESCRIPTOR (34)
+
36
+
37/* Class requests */
+
38#define GET_REPORT (0x1)
+
39#define GET_IDLE (0x2)
+
40#define SET_REPORT (0x9)
+
41#define SET_IDLE (0xa)
+
42
+
43/* HID Class Report Descriptor */
+
44/* Short items: size is 0, 1, 2 or 3 specifying 0, 1, 2 or 4 (four) bytes */
+
45/* of data as per HID Class standard */
+
46
+
47/* Main items */
+
48#define HIDINPUT(size) (0x80 | size)
+
49#define HIDOUTPUT(size) (0x90 | size)
+
50#define FEATURE(size) (0xb0 | size)
+
51#define COLLECTION(size) (0xa0 | size)
+
52#define END_COLLECTION(size) (0xc0 | size)
+
53
+
54/* Global items */
+
55#define USAGE_PAGE(size) (0x04 | size)
+
56#define LOGICAL_MINIMUM(size) (0x14 | size)
+
57#define LOGICAL_MAXIMUM(size) (0x24 | size)
+
58#define PHYSICAL_MINIMUM(size) (0x34 | size)
+
59#define PHYSICAL_MAXIMUM(size) (0x44 | size)
+
60#define UNIT_EXPONENT(size) (0x54 | size)
+
61#define UNIT(size) (0x64 | size)
+
62#define REPORT_SIZE(size) (0x74 | size) //bits
+
63#define REPORT_ID(size) (0x84 | size)
+
64#define REPORT_COUNT(size) (0x94 | size) //bytes
+
65#define PUSH(size) (0xa4 | size)
+
66#define POP(size) (0xb4 | size)
+
67
+
68/* Local items */
+
69#define USAGE(size) (0x08 | size)
+
70#define USAGE_MINIMUM(size) (0x18 | size)
+
71#define USAGE_MAXIMUM(size) (0x28 | size)
+
72#define DESIGNATOR_INDEX(size) (0x38 | size)
+
73#define DESIGNATOR_MINIMUM(size) (0x48 | size)
+
74#define DESIGNATOR_MAXIMUM(size) (0x58 | size)
+
75#define STRING_INDEX(size) (0x78 | size)
+
76#define STRING_MINIMUM(size) (0x88 | size)
+
77#define STRING_MAXIMUM(size) (0x98 | size)
+
78#define DELIMITER(size) (0xa8 | size)
+
79
+
80/* HID Report */
+
81/* Where report IDs are used the first byte of 'data' will be the */
+
82/* report ID and 'length' will include this report ID byte. */
+
83
+
84#define MAX_HID_REPORT_SIZE (64)
+
85
+
86typedef struct {
+
87 uint32_t length;
+
88 uint8_t data[MAX_HID_REPORT_SIZE];
+
89} HID_REPORT;
+
90
+
91#endif
diff --git a/_nim_b_l_e2904_8h_source.html b/_nim_b_l_e2904_8h_source.html index c9bccdb..e47bd72 100644 --- a/_nim_b_l_e2904_8h_source.html +++ b/_nim_b_l_e2904_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLE2904.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,99 +81,110 @@ $(document).ready(function(){initNavTree('_nim_b_l_e2904_8h_source.html',''); in
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLE2904.h
+
NimBLE2904.h
-
1 /*
-
2  * NimBLE2904.h
-
3  *
-
4  * Created: on March 13, 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLE2904.h
-
10  *
-
11  * Created on: Dec 23, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef MAIN_NIMBLE2904_H_
-
16 #define MAIN_NIMBLE2904_H_
-
17 #include "nimconfig.h"
-
18 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
19 
-
20 #include "NimBLEDescriptor.h"
-
21 
-
22 struct BLE2904_Data {
-
23  uint8_t m_format;
-
24  int8_t m_exponent;
-
25  uint16_t m_unit; // See https://www.bluetooth.com/specifications/assigned-numbers/units
-
26  uint8_t m_namespace;
-
27  uint16_t m_description;
-
28 
-
29 } __attribute__((packed));
-
30 
-
31 
- -
41 public:
-
42  NimBLE2904(NimBLECharacteristic* pCharacterisitic = nullptr);
-
43  static const uint8_t FORMAT_BOOLEAN = 1;
-
44  static const uint8_t FORMAT_UINT2 = 2;
-
45  static const uint8_t FORMAT_UINT4 = 3;
-
46  static const uint8_t FORMAT_UINT8 = 4;
-
47  static const uint8_t FORMAT_UINT12 = 5;
-
48  static const uint8_t FORMAT_UINT16 = 6;
-
49  static const uint8_t FORMAT_UINT24 = 7;
-
50  static const uint8_t FORMAT_UINT32 = 8;
-
51  static const uint8_t FORMAT_UINT48 = 9;
-
52  static const uint8_t FORMAT_UINT64 = 10;
-
53  static const uint8_t FORMAT_UINT128 = 11;
-
54  static const uint8_t FORMAT_SINT8 = 12;
-
55  static const uint8_t FORMAT_SINT12 = 13;
-
56  static const uint8_t FORMAT_SINT16 = 14;
-
57  static const uint8_t FORMAT_SINT24 = 15;
-
58  static const uint8_t FORMAT_SINT32 = 16;
-
59  static const uint8_t FORMAT_SINT48 = 17;
-
60  static const uint8_t FORMAT_SINT64 = 18;
-
61  static const uint8_t FORMAT_SINT128 = 19;
-
62  static const uint8_t FORMAT_FLOAT32 = 20;
-
63  static const uint8_t FORMAT_FLOAT64 = 21;
-
64  static const uint8_t FORMAT_SFLOAT16 = 22;
-
65  static const uint8_t FORMAT_SFLOAT32 = 23;
-
66  static const uint8_t FORMAT_IEEE20601 = 24;
-
67  static const uint8_t FORMAT_UTF8 = 25;
-
68  static const uint8_t FORMAT_UTF16 = 26;
-
69  static const uint8_t FORMAT_OPAQUE = 27;
-
70 
-
71  void setDescription(uint16_t);
-
72  void setExponent(int8_t exponent);
-
73  void setFormat(uint8_t format);
-
74  void setNamespace(uint8_t namespace_value);
-
75  void setUnit(uint16_t unit);
-
76 
-
77 private:
-
78  friend class NimBLECharacteristic;
-
79  BLE2904_Data m_data;
-
80 }; // BLE2904
-
81 
-
82 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
-
83 #endif /* MAIN_NIMBLE2904_H_ */
-
Descriptor for Characteristic Presentation Format.
Definition: NimBLE2904.h:40
-
void setNamespace(uint8_t namespace_value)
Set the namespace.
Definition: NimBLE2904.cpp:70
-
void setDescription(uint16_t)
Set the description.
Definition: NimBLE2904.cpp:43
-
void setExponent(int8_t exponent)
Set the exponent.
Definition: NimBLE2904.cpp:52
-
void setFormat(uint8_t format)
Set the format.
Definition: NimBLE2904.cpp:61
-
void setUnit(uint16_t unit)
Set the units for this value. It should be one of the encoded values defined here: https://www....
Definition: NimBLE2904.cpp:81
-
The model of a BLE Characteristic.
Definition: NimBLECharacteristic.h:63
-
A model of a BLE descriptor.
Definition: NimBLEDescriptor.h:35
+
1/*
+
2 * Copyright 2020-2024 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_2904_H_
+
19#define NIMBLE_CPP_2904_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
23
+
24# include "NimBLEDescriptor.h"
+
25
+
26struct NimBLE2904Data {
+
27 uint8_t m_format{0};
+
28 int8_t m_exponent{0};
+
29 uint16_t m_unit{0x2700}; // Unitless; See https://www.bluetooth.com/specifications/assigned-numbers/units
+
30 uint8_t m_namespace{1}; // 1 = Bluetooth SIG Assigned Numbers
+
31 uint16_t m_description{0}; // unknown description
+
32} __attribute__((packed));
+
33
+
+ +
40 public:
+
41 NimBLE2904(NimBLECharacteristic* pChr = nullptr);
+
42 static const uint8_t FORMAT_BOOLEAN = 1;
+
43 static const uint8_t FORMAT_UINT2 = 2;
+
44 static const uint8_t FORMAT_UINT4 = 3;
+
45 static const uint8_t FORMAT_UINT8 = 4;
+
46 static const uint8_t FORMAT_UINT12 = 5;
+
47 static const uint8_t FORMAT_UINT16 = 6;
+
48 static const uint8_t FORMAT_UINT24 = 7;
+
49 static const uint8_t FORMAT_UINT32 = 8;
+
50 static const uint8_t FORMAT_UINT48 = 9;
+
51 static const uint8_t FORMAT_UINT64 = 10;
+
52 static const uint8_t FORMAT_UINT128 = 11;
+
53 static const uint8_t FORMAT_SINT8 = 12;
+
54 static const uint8_t FORMAT_SINT12 = 13;
+
55 static const uint8_t FORMAT_SINT16 = 14;
+
56 static const uint8_t FORMAT_SINT24 = 15;
+
57 static const uint8_t FORMAT_SINT32 = 16;
+
58 static const uint8_t FORMAT_SINT48 = 17;
+
59 static const uint8_t FORMAT_SINT64 = 18;
+
60 static const uint8_t FORMAT_SINT128 = 19;
+
61 static const uint8_t FORMAT_FLOAT32 = 20;
+
62 static const uint8_t FORMAT_FLOAT64 = 21;
+
63 static const uint8_t FORMAT_SFLOAT16 = 22;
+
64 static const uint8_t FORMAT_SFLOAT32 = 23;
+
65 static const uint8_t FORMAT_IEEE20601 = 24;
+
66 static const uint8_t FORMAT_UTF8 = 25;
+
67 static const uint8_t FORMAT_UTF16 = 26;
+
68 static const uint8_t FORMAT_OPAQUE = 27;
+
69 static const uint8_t FORMAT_MEDASN1 = 28;
+
70
+
71 void setDescription(uint16_t);
+
72 void setExponent(int8_t exponent);
+
73 void setFormat(uint8_t format);
+
74 void setNamespace(uint8_t namespace_value);
+
75 void setUnit(uint16_t unit);
+
76
+
77 private:
+
78 friend class NimBLECharacteristic;
+
79 NimBLE2904Data m_data{};
+
80}; // NimBLE2904
+
+
81
+
82#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
83#endif // NIMBLE_CPP_2904_H_
+
Descriptor for Characteristic Presentation Format.
Definition NimBLE2904.h:39
+
void setNamespace(uint8_t namespace_value)
Set the namespace.
Definition NimBLE2904.cpp:59
+
void setDescription(uint16_t)
Set the description.
Definition NimBLE2904.cpp:32
+
void setExponent(int8_t exponent)
Set the exponent.
Definition NimBLE2904.cpp:41
+
void setFormat(uint8_t format)
Set the format.
Definition NimBLE2904.cpp:50
+
void setUnit(uint16_t unit)
Set the units for this value.
Definition NimBLE2904.cpp:69
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
A model of a BLE descriptor.
Definition NimBLEDescriptor.h:38
@@ -176,7 +192,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e2904_8h_source.html',''); in diff --git a/_nim_b_l_e_address_8h_source.html b/_nim_b_l_e_address_8h_source.html index 691920d..312011f 100644 --- a/_nim_b_l_e_address_8h_source.html +++ b/_nim_b_l_e_address_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEAddress.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,81 +81,101 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_address_8h_source.html','')
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAddress.h
+
NimBLEAddress.h
-
1 /*
-
2  * NimBLEAddress.h
-
3  *
-
4  * Created: on Jan 24 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEAddress.h
-
10  *
-
11  * Created on: Jul 2, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef COMPONENTS_NIMBLEADDRESS_H_
-
16 #define COMPONENTS_NIMBLEADDRESS_H_
-
17 #include "nimconfig.h"
-
18 #if defined(CONFIG_BT_ENABLED)
-
19 
-
20 #if defined(CONFIG_NIMBLE_CPP_IDF)
-
21 #include "nimble/ble.h"
-
22 #else
-
23 #include "nimble/nimble/include/nimble/ble.h"
-
24 #endif
-
25 
-
26 /**** FIX COMPILATION ****/
-
27 #undef min
-
28 #undef max
-
29 /**************************/
-
30 
-
31 #include <string>
-
32 #include <algorithm>
-
33 
- -
40 public:
-
41  NimBLEAddress();
-
42  NimBLEAddress(ble_addr_t address);
-
43  NimBLEAddress(uint8_t address[6], uint8_t type = BLE_ADDR_PUBLIC);
-
44  NimBLEAddress(const std::string &stringAddress, uint8_t type = BLE_ADDR_PUBLIC);
-
45  NimBLEAddress(const uint64_t &address, uint8_t type = BLE_ADDR_PUBLIC);
-
46  bool equals(const NimBLEAddress &otherAddress) const;
-
47  const uint8_t* getNative() const;
-
48  std::string toString() const;
-
49  uint8_t getType() const;
-
50 
-
51  bool operator ==(const NimBLEAddress & rhs) const;
-
52  bool operator !=(const NimBLEAddress & rhs) const;
-
53  operator std::string() const;
-
54  operator uint64_t() const;
-
55 
-
56 private:
-
57  uint8_t m_address[6];
-
58  uint8_t m_addrType;
-
59 };
-
60 
-
61 #endif /* CONFIG_BT_ENABLED */
-
62 #endif /* COMPONENTS_NIMBLEADDRESS_H_ */
-
A BLE device address.
Definition: NimBLEAddress.h:39
-
uint8_t getType() const
Get the address type.
Definition: NimBLEAddress.cpp:136
-
NimBLEAddress()
Create a blank address, i.e. 00:00:00:00:00:00, type 0.
Definition: NimBLEAddress.cpp:43
-
bool equals(const NimBLEAddress &otherAddress) const
Determine if this address equals another.
Definition: NimBLEAddress.cpp:118
-
bool operator==(const NimBLEAddress &rhs) const
Convenience operator to check if this address is equal to another.
Definition: NimBLEAddress.cpp:161
-
std::string toString() const
Convert a BLE address to a string.
Definition: NimBLEAddress.cpp:153
-
const uint8_t * getNative() const
Get the native representation of the address.
Definition: NimBLEAddress.cpp:127
-
bool operator!=(const NimBLEAddress &rhs) const
Convenience operator to check if this address is not equal to another.
Definition: NimBLEAddress.cpp:169
+
1/*
+
2 * Copyright 2020-2024 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_ADDRESS_H_
+
19#define NIMBLE_CPP_ADDRESS_H_
+
20#include "nimconfig.h"
+
21#if defined(CONFIG_BT_ENABLED)
+
22
+
23# if defined(CONFIG_NIMBLE_CPP_IDF)
+
24# include "nimble/ble.h"
+
25# else
+
26# include "nimble/nimble/include/nimble/ble.h"
+
27# endif
+
28
+
29/**** FIX COMPILATION ****/
+
30# undef min
+
31# undef max
+
32/**************************/
+
33
+
34# include <string>
+
35
+
+
41class NimBLEAddress : private ble_addr_t {
+
42 public:
+
46 NimBLEAddress() = default;
+
47 NimBLEAddress(const ble_addr_t address);
+
48 NimBLEAddress(const uint8_t address[BLE_DEV_ADDR_LEN], uint8_t type);
+
49 NimBLEAddress(const std::string& stringAddress, uint8_t type);
+
50 NimBLEAddress(const uint64_t& address, uint8_t type);
+
51
+
52 bool isRpa() const;
+
53 bool isNrpa() const;
+
54 bool isStatic() const;
+
55 bool isPublic() const;
+
56 bool isNull() const;
+
57 bool equals(const NimBLEAddress& otherAddress) const;
+
58 const ble_addr_t* getBase() const;
+
59 std::string toString() const;
+
60 uint8_t getType() const;
+
61 const uint8_t* getVal() const;
+ +
63 bool operator==(const NimBLEAddress& rhs) const;
+
64 bool operator!=(const NimBLEAddress& rhs) const;
+
65 operator std::string() const;
+
66 operator uint64_t() const;
+
67};
+
+
68
+
69#endif /* CONFIG_BT_ENABLED */
+
70#endif /* NIMBLE_CPP_ADDRESS_H_ */
+
A BLE device address.
Definition NimBLEAddress.h:41
+
const NimBLEAddress & reverseByteOrder()
Reverse the byte order of the address.
Definition NimBLEAddress.cpp:183
+
uint8_t getType() const
Get the address type.
Definition NimBLEAddress.cpp:118
+
const uint8_t * getVal() const
Get the address value.
Definition NimBLEAddress.cpp:126
+
const ble_addr_t * getBase() const
Get the NimBLE base struct of the address.
Definition NimBLEAddress.cpp:110
+
bool isStatic() const
Determine if this address is a Static Address.
Definition NimBLEAddress.cpp:150
+
bool isPublic() const
Determine if this address is a Public Address.
Definition NimBLEAddress.cpp:158
+
bool equals(const NimBLEAddress &otherAddress) const
Determine if this address equals another.
Definition NimBLEAddress.cpp:102
+
bool operator==(const NimBLEAddress &rhs) const
Convenience operator to check if this address is equal to another.
Definition NimBLEAddress.cpp:191
+
bool isRpa() const
Determine if this address is a Resolvable Private Address.
Definition NimBLEAddress.cpp:134
+
bool isNrpa() const
Determine if this address is a Non-Resolvable Private Address.
Definition NimBLEAddress.cpp:142
+
bool isNull() const
Determine if this address is a NULL Address.
Definition NimBLEAddress.cpp:166
+
std::string toString() const
Convert a BLE address to a string.
Definition NimBLEAddress.cpp:175
+
NimBLEAddress()=default
Create a blank address, i.e. 00:00:00:00:00:00, type 0.
+
bool operator!=(const NimBLEAddress &rhs) const
Convenience operator to check if this address is not equal to another.
Definition NimBLEAddress.cpp:202
@@ -158,7 +183,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_address_8h_source.html','') diff --git a/_nim_b_l_e_advertised_device_8h_source.html b/_nim_b_l_e_advertised_device_8h_source.html index b8e265e..e005ece 100644 --- a/_nim_b_l_e_advertised_device_8h_source.html +++ b/_nim_b_l_e_advertised_device_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEAdvertisedDevice.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,222 +81,229 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertised_device_8h_source
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAdvertisedDevice.h
+
NimBLEAdvertisedDevice.h
-
1 /*
-
2  * NimBLEAdvertisedDevice.h
-
3  *
-
4  * Created: on Jan 24 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEAdvertisedDevice.h
-
10  *
-
11  * Created on: Jul 3, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef COMPONENTS_NIMBLEADVERTISEDDEVICE_H_
-
16 #define COMPONENTS_NIMBLEADVERTISEDDEVICE_H_
-
17 #include "nimconfig.h"
-
18 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
-
19 
-
20 #include "NimBLEAddress.h"
-
21 #include "NimBLEScan.h"
-
22 #include "NimBLEUUID.h"
-
23 
-
24 #if defined(CONFIG_NIMBLE_CPP_IDF)
-
25 #include "host/ble_hs_adv.h"
-
26 #else
-
27 #include "nimble/nimble/host/include/host/ble_hs_adv.h"
-
28 #endif
-
29 
-
30 #include <map>
-
31 #include <vector>
-
32 #include <time.h>
-
33 
-
34 
-
35 class NimBLEScan;
- -
43 public:
- -
45 
- -
47  uint8_t getAdvType();
-
48  uint16_t getAppearance();
-
49  uint16_t getAdvInterval();
-
50  uint16_t getMinInterval();
-
51  uint16_t getMaxInterval();
-
52  std::string getManufacturerData();
-
53  std::string getURI();
-
54 
-
63  template<typename T>
-
64  T getManufacturerData(bool skipSizeCheck = false) {
-
65  std::string data = getManufacturerData();
-
66  if(!skipSizeCheck && data.size() < sizeof(T)) return T();
-
67  const char *pData = data.data();
-
68  return *((T *)pData);
-
69  }
-
70 
-
71  std::string getName();
-
72  int getRSSI();
- -
74  uint8_t getServiceDataCount();
-
75  std::string getServiceData(uint8_t index = 0);
-
76  std::string getServiceData(const NimBLEUUID &uuid);
-
77 
-
87  template<typename T>
-
88  T getServiceData(uint8_t index = 0, bool skipSizeCheck = false) {
-
89  std::string data = getServiceData(index);
-
90  if(!skipSizeCheck && data.size() < sizeof(T)) return T();
-
91  const char *pData = data.data();
-
92  return *((T *)pData);
-
93  }
-
94 
-
104  template<typename T>
-
105  T getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck = false) {
-
106  std::string data = getServiceData(uuid);
-
107  if(!skipSizeCheck && data.size() < sizeof(T)) return T();
-
108  const char *pData = data.data();
-
109  return *((T *)pData);
-
110  }
-
111 
-
112  NimBLEUUID getServiceDataUUID(uint8_t index = 0);
-
113  NimBLEUUID getServiceUUID(uint8_t index = 0);
-
114  uint8_t getServiceUUIDCount();
-
115  NimBLEAddress getTargetAddress(uint8_t index = 0);
-
116  uint8_t getTargetAddressCount();
-
117  int8_t getTXPower();
-
118  uint8_t* getPayload();
-
119  uint8_t getAdvLength();
-
120  size_t getPayloadLength();
-
121  uint8_t getAddressType();
-
122  time_t getTimestamp();
-
123  bool isAdvertisingService(const NimBLEUUID &uuid);
-
124  bool haveAppearance();
-
125  bool haveManufacturerData();
-
126  bool haveName();
-
127  bool haveRSSI();
-
128  bool haveServiceData();
-
129  bool haveServiceUUID();
-
130  bool haveTXPower();
-
131  bool haveConnParams();
-
132  bool haveAdvInterval();
-
133  bool haveTargetAddress();
-
134  bool haveURI();
-
135  std::string toString();
-
136  bool isConnectable();
-
137  bool isLegacyAdvertisement();
-
138 #if CONFIG_BT_NIMBLE_EXT_ADV
-
139  uint8_t getSetId();
-
140  uint8_t getPrimaryPhy();
-
141  uint8_t getSecondaryPhy();
-
142  uint16_t getPeriodicInterval();
-
143 #endif
-
144 
-
145 private:
-
146  friend class NimBLEScan;
-
147 
-
148  void setAddress(NimBLEAddress address);
-
149  void setAdvType(uint8_t advType, bool isLegacyAdv);
-
150  void setPayload(const uint8_t *payload, uint8_t length, bool append);
-
151  void setRSSI(int rssi);
-
152 #if CONFIG_BT_NIMBLE_EXT_ADV
-
153  void setSetId(uint8_t sid) { m_sid = sid; }
-
154  void setPrimaryPhy(uint8_t phy) { m_primPhy = phy; }
-
155  void setSecondaryPhy(uint8_t phy) { m_secPhy = phy; }
-
156  void setPeriodicInterval(uint16_t itvl) { m_periodicItvl = itvl; }
-
157 #endif
-
158  uint8_t findAdvField(uint8_t type, uint8_t index = 0, size_t * data_loc = nullptr);
-
159  size_t findServiceData(uint8_t index, uint8_t* bytes);
-
160 
-
161  NimBLEAddress m_address = NimBLEAddress("");
-
162  uint8_t m_advType;
-
163  int m_rssi;
-
164  time_t m_timestamp;
-
165  bool m_callbackSent;
-
166  uint8_t m_advLength;
-
167 #if CONFIG_BT_NIMBLE_EXT_ADV
-
168  bool m_isLegacyAdv;
-
169  uint8_t m_sid;
-
170  uint8_t m_primPhy;
-
171  uint8_t m_secPhy;
-
172  uint16_t m_periodicItvl;
-
173 #endif
-
174 
-
175  std::vector<uint8_t> m_payload;
-
176 };
-
177 
- -
186 public:
-
187  virtual ~NimBLEAdvertisedDeviceCallbacks() {}
-
194  virtual void onResult(NimBLEAdvertisedDevice* advertisedDevice) = 0;
-
195 };
-
196 
-
197 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_OBSERVER */
-
198 #endif /* COMPONENTS_NIMBLEADVERTISEDDEVICE_H_ */
-
A BLE device address.
Definition: NimBLEAddress.h:39
-
A callback handler for callbacks associated device scanning.
Definition: NimBLEAdvertisedDevice.h:185
-
virtual void onResult(NimBLEAdvertisedDevice *advertisedDevice)=0
Called when a new scan result is detected.
-
A representation of a BLE advertised device found by a scan.
Definition: NimBLEAdvertisedDevice.h:42
-
bool haveTargetAddress()
Does the advertisement contain a target address?
Definition: NimBLEAdvertisedDevice.cpp:534
-
uint8_t getServiceDataCount()
Get the count of advertised service data UUIDS.
Definition: NimBLEAdvertisedDevice.cpp:371
-
time_t getTimestamp()
Get the timeStamp of when the device last advertised.
Definition: NimBLEAdvertisedDevice.cpp:821
-
uint8_t getSecondaryPhy()
Get the primary PHY used by this advertisement.
Definition: NimBLEAdvertisedDevice.cpp:614
-
uint16_t getAppearance()
Get the appearance.
Definition: NimBLEAdvertisedDevice.cpp:73
-
bool haveConnParams()
Does this advertisement have preferred connection parameters?
Definition: NimBLEAdvertisedDevice.cpp:489
-
uint16_t getMinInterval()
Get the preferred min connection interval.
Definition: NimBLEAdvertisedDevice.cpp:109
-
bool isLegacyAdvertisement()
Check if this advertisement is a legacy or extended type.
Definition: NimBLEAdvertisedDevice.cpp:855
-
bool isAdvertisingService(const NimBLEUUID &uuid)
Check advertised services for existence of the required UUID.
Definition: NimBLEAdvertisedDevice.cpp:455
-
uint16_t getMaxInterval()
Get the preferred max connection interval.
Definition: NimBLEAdvertisedDevice.cpp:127
-
NimBLEUUID getServiceDataUUID(uint8_t index=0)
Get the UUID of the service data at the index.
Definition: NimBLEAdvertisedDevice.cpp:315
-
bool isConnectable()
Check if this device is advertising as connectable.
Definition: NimBLEAdvertisedDevice.cpp:839
-
NimBLEAddress getTargetAddress(uint8_t index=0)
Get the target address at the index.
Definition: NimBLEAdvertisedDevice.cpp:234
-
bool haveServiceUUID()
Does this advertisement have a service UUID value?
Definition: NimBLEAdvertisedDevice.cpp:572
-
uint8_t getServiceUUIDCount()
Get the number of services advertised.
Definition: NimBLEAdvertisedDevice.cpp:436
-
bool haveRSSI()
Does this advertisement have a signal strength value?
Definition: NimBLEAdvertisedDevice.cpp:554
-
uint8_t getSetId()
Get the set ID of the extended advertisement.
Definition: NimBLEAdvertisedDevice.cpp:591
-
bool haveURI()
Does this advertisement have a URI?
Definition: NimBLEAdvertisedDevice.cpp:525
-
bool haveName()
Does this advertisement have a name value?
Definition: NimBLEAdvertisedDevice.cpp:544
-
T getServiceData(uint8_t index=0, bool skipSizeCheck=false)
A template to convert the service data to <type>.
Definition: NimBLEAdvertisedDevice.h:88
-
uint16_t getAdvInterval()
Get the advertisement interval.
Definition: NimBLEAdvertisedDevice.cpp:91
-
uint8_t getPrimaryPhy()
Get the primary PHY used by this advertisement.
Definition: NimBLEAdvertisedDevice.cpp:602
-
T getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false)
A template to convert the service data to <type>.
Definition: NimBLEAdvertisedDevice.h:105
-
uint8_t getAdvType()
Get the advertisement type.
Definition: NimBLEAdvertisedDevice.cpp:60
-
NimBLEAddress getAddress()
Get the address of the advertising device.
Definition: NimBLEAdvertisedDevice.cpp:46
-
bool haveAdvInterval()
Does this advertisement have have the advertising interval?
Definition: NimBLEAdvertisedDevice.cpp:498
-
NimBLEUUID getServiceUUID(uint8_t index=0)
Get the Service UUID.
Definition: NimBLEAdvertisedDevice.cpp:387
-
NimBLEAdvertisedDevice()
Constructor.
Definition: NimBLEAdvertisedDevice.cpp:31
-
bool haveManufacturerData()
Does this advertisement have manufacturer data?
Definition: NimBLEAdvertisedDevice.cpp:516
-
std::string toString()
Create a string representation of this device.
Definition: NimBLEAdvertisedDevice.cpp:728
-
size_t getPayloadLength()
Get the length of the payload advertised by the device.
Definition: NimBLEAdvertisedDevice.cpp:830
-
bool haveAppearance()
Does this advertisement have an appearance value?
Definition: NimBLEAdvertisedDevice.cpp:507
-
int getRSSI()
Get the RSSI.
Definition: NimBLEAdvertisedDevice.cpp:201
-
NimBLEScan * getScan()
Get the scan object that created this advertised device.
Definition: NimBLEAdvertisedDevice.cpp:210
-
std::string getURI()
Get the URI from the advertisement.
Definition: NimBLEAdvertisedDevice.cpp:163
-
uint16_t getPeriodicInterval()
Get the periodic interval of the advertisement.
Definition: NimBLEAdvertisedDevice.cpp:623
-
uint8_t getTargetAddressCount()
Get the number of target addresses.
Definition: NimBLEAdvertisedDevice.cpp:219
-
std::string getName()
Get the advertised name.
Definition: NimBLEAdvertisedDevice.cpp:181
-
uint8_t getAdvLength()
Get the length of the advertisement data in the payload.
Definition: NimBLEAdvertisedDevice.cpp:799
-
T getManufacturerData(bool skipSizeCheck=false)
A template to convert the service data to <type>.
Definition: NimBLEAdvertisedDevice.h:64
-
std::string getServiceData(uint8_t index=0)
Get the service data.
Definition: NimBLEAdvertisedDevice.cpp:266
-
bool haveTXPower()
Does this advertisement have a transmission power value?
Definition: NimBLEAdvertisedDevice.cpp:581
-
std::string getManufacturerData()
Get the manufacturer data.
Definition: NimBLEAdvertisedDevice.cpp:145
-
uint8_t * getPayload()
Get the payload advertised by the device.
Definition: NimBLEAdvertisedDevice.cpp:774
-
bool haveServiceData()
Does this advertisement have a service data value?
Definition: NimBLEAdvertisedDevice.cpp:563
-
uint8_t getAddressType()
Get the advertised device address type.
Definition: NimBLEAdvertisedDevice.cpp:812
-
int8_t getTXPower()
Get the TX Power.
Definition: NimBLEAdvertisedDevice.cpp:471
-
Perform and manage BLE scans.
Definition: NimBLEScan.h:63
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_ADVERTISED_DEVICE_H_
+
19#define NIMBLE_CPP_ADVERTISED_DEVICE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
23
+
24# include "NimBLEAddress.h"
+
25# include "NimBLEScan.h"
+
26# include "NimBLEUUID.h"
+
27
+
28# if defined(CONFIG_NIMBLE_CPP_IDF)
+
29# include "host/ble_hs_adv.h"
+
30# include "host/ble_gap.h"
+
31# else
+
32# include "nimble/nimble/host/include/host/ble_hs_adv.h"
+
33# include "nimble/nimble/host/include/host/ble_gap.h"
+
34# endif
+
35
+
36# include <vector>
+
37
+
38class NimBLEScan;
+
+ +
46 public:
+
47 NimBLEAdvertisedDevice() = default;
+
48
+
49 uint8_t getAdvType() const;
+
50 uint8_t getAdvFlags() const;
+
51 uint16_t getAppearance() const;
+
52 uint16_t getAdvInterval() const;
+
53 uint16_t getMinInterval() const;
+
54 uint16_t getMaxInterval() const;
+
55 uint8_t getManufacturerDataCount() const;
+
56 const NimBLEAddress& getAddress() const;
+
57 std::string getManufacturerData(uint8_t index = 0) const;
+
58 std::string getURI() const;
+
59 std::string getPayloadByType(uint16_t type, uint8_t index = 0) const;
+
60 std::string getName() const;
+
61 int8_t getRSSI() const;
+
62 NimBLEScan* getScan() const;
+
63 uint8_t getServiceDataCount() const;
+
64 std::string getServiceData(uint8_t index = 0) const;
+
65 std::string getServiceData(const NimBLEUUID& uuid) const;
+
66 NimBLEUUID getServiceDataUUID(uint8_t index = 0) const;
+
67 NimBLEUUID getServiceUUID(uint8_t index = 0) const;
+
68 uint8_t getServiceUUIDCount() const;
+
69 NimBLEAddress getTargetAddress(uint8_t index = 0) const;
+
70 uint8_t getTargetAddressCount() const;
+
71 int8_t getTXPower() const;
+
72 uint8_t getAdvLength() const;
+
73 uint8_t getAddressType() const;
+
74 bool isAdvertisingService(const NimBLEUUID& uuid) const;
+
75 bool haveAppearance() const;
+
76 bool haveManufacturerData() const;
+
77 bool haveName() const;
+
78 bool haveServiceData() const;
+
79 bool haveServiceUUID() const;
+
80 bool haveTXPower() const;
+
81 bool haveConnParams() const;
+
82 bool haveAdvInterval() const;
+
83 bool haveTargetAddress() const;
+
84 bool haveURI() const;
+
85 bool haveType(uint16_t type) const;
+
86 std::string toString() const;
+
87 bool isConnectable() const;
+
88 bool isScannable() const;
+
89 bool isLegacyAdvertisement() const;
+
90# if CONFIG_BT_NIMBLE_EXT_ADV
+
91 uint8_t getSetId() const;
+
92 uint8_t getPrimaryPhy() const;
+
93 uint8_t getSecondaryPhy() const;
+
94 uint16_t getPeriodicInterval() const;
+
95# endif
+
96
+
97 const std::vector<uint8_t>& getPayload() const;
+
98 const std::vector<uint8_t>::const_iterator begin() const;
+
99 const std::vector<uint8_t>::const_iterator end() const;
+
100
+
109 template <typename T>
+
+
110 T getManufacturerData(bool skipSizeCheck = false) const {
+
111 std::string data = getManufacturerData();
+
112 if (!skipSizeCheck && data.size() < sizeof(T)) return T();
+
113 const char* pData = data.data();
+
114 return *((T*)pData);
+
115 }
+
+
116
+
126 template <typename T>
+
+
127 T getServiceData(uint8_t index = 0, bool skipSizeCheck = false) const {
+
128 std::string data = getServiceData(index);
+
129 if (!skipSizeCheck && data.size() < sizeof(T)) return T();
+
130 const char* pData = data.data();
+
131 return *((T*)pData);
+
132 }
+
+
133
+
143 template <typename T>
+
+
144 T getServiceData(const NimBLEUUID& uuid, bool skipSizeCheck = false) const {
+
145 std::string data = getServiceData(uuid);
+
146 if (!skipSizeCheck && data.size() < sizeof(T)) return T();
+
147 const char* pData = data.data();
+
148 return *((T*)pData);
+
149 }
+
+
150
+
151 private:
+
152 friend class NimBLEScan;
+
153
+
154 NimBLEAdvertisedDevice(const ble_gap_event* event, uint8_t eventType);
+
155 void update(const ble_gap_event* event, uint8_t eventType);
+
156 uint8_t findAdvField(uint8_t type, uint8_t index = 0, size_t* data_loc = nullptr) const;
+
157 size_t findServiceData(uint8_t index, uint8_t* bytes) const;
+
158
+
159 NimBLEAddress m_address{};
+
160 uint8_t m_advType{};
+
161 int8_t m_rssi{};
+
162 uint8_t m_callbackSent{};
+
163 uint8_t m_advLength{};
+
164
+
165# if CONFIG_BT_NIMBLE_EXT_ADV
+
166 bool m_isLegacyAdv{};
+
167 uint8_t m_sid{};
+
168 uint8_t m_primPhy{};
+
169 uint8_t m_secPhy{};
+
170 uint16_t m_periodicItvl{};
+
171# endif
+
172
+
173 std::vector<uint8_t> m_payload;
+
174};
+
+
175
+
176#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_OBSERVER */
+
177#endif /* NIMBLE_CPP_ADVERTISED_DEVICE_H_ */
+
A BLE device address.
Definition NimBLEAddress.h:41
+
A representation of a BLE advertised device found by a scan.
Definition NimBLEAdvertisedDevice.h:45
+
uint8_t getManufacturerDataCount() const
Get the count of manufacturer data sets.
Definition NimBLEAdvertisedDevice.cpp:200
+
const std::vector< uint8_t > & getPayload() const
Get the payload advertised by the device.
Definition NimBLEAdvertisedDevice.cpp:787
+
uint8_t getTargetAddressCount() const
Get the number of target addresses.
Definition NimBLEAdvertisedDevice.cpp:258
+
bool haveServiceUUID() const
Does this advertisement have a service UUID value?
Definition NimBLEAdvertisedDevice.cpp:572
+
NimBLEScan * getScan() const
Get the scan object that created this advertised device.
Definition NimBLEAdvertisedDevice.cpp:250
+
T getServiceData(uint8_t index=0, bool skipSizeCheck=false) const
A template to convert the service data to <type>.
Definition NimBLEAdvertisedDevice.h:127
+
bool haveURI() const
Does this advertisement have a URI?
Definition NimBLEAdvertisedDevice.cpp:532
+
T getManufacturerData(bool skipSizeCheck=false) const
A template to convert the service data to <type>.
Definition NimBLEAdvertisedDevice.h:110
+
uint8_t getAddressType() const
Get the advertised device address type.
Definition NimBLEAdvertisedDevice.cpp:746
+
uint8_t getSecondaryPhy() const
Get the primary PHY used by this advertisement.
Definition NimBLEAdvertisedDevice.cpp:610
+
int8_t getTXPower() const
Get the TX Power.
Definition NimBLEAdvertisedDevice.cpp:484
+
bool isLegacyAdvertisement() const
Check if this advertisement is a legacy or extended type.
Definition NimBLEAdvertisedDevice.cpp:775
+
NimBLEUUID getServiceDataUUID(uint8_t index=0) const
Get the UUID of the service data at the index.
Definition NimBLEAdvertisedDevice.cpp:344
+
std::string getURI() const
Get the URI from the advertisement.
Definition NimBLEAdvertisedDevice.cpp:208
+
bool haveConnParams() const
Does this advertisement have preferred connection parameters?
Definition NimBLEAdvertisedDevice.cpp:500
+
bool haveTargetAddress() const
Does the advertisement contain a target address?
Definition NimBLEAdvertisedDevice.cpp:548
+
bool isScannable() const
Check if this device is advertising as scannable.
Definition NimBLEAdvertisedDevice.cpp:767
+
int8_t getRSSI() const
Get the RSSI.
Definition NimBLEAdvertisedDevice.cpp:242
+
std::string getPayloadByType(uint16_t type, uint8_t index=0) const
Get the data from any type available in the advertisement.
Definition NimBLEAdvertisedDevice.cpp:218
+
uint16_t getAppearance() const
Get the appearance.
Definition NimBLEAdvertisedDevice.cpp:127
+
const std::vector< uint8_t >::const_iterator end() const
Get the end iterator for the payload.
Definition NimBLEAdvertisedDevice.cpp:803
+
uint16_t getPeriodicInterval() const
Get the periodic interval of the advertisement.
Definition NimBLEAdvertisedDevice.cpp:618
+
bool haveAppearance() const
Does this advertisement have an appearance value?
Definition NimBLEAdvertisedDevice.cpp:516
+
bool haveType(uint16_t type) const
Does this advertisement have a adv type type?
Definition NimBLEAdvertisedDevice.cpp:540
+
uint8_t getPrimaryPhy() const
Get the primary PHY used by this advertisement.
Definition NimBLEAdvertisedDevice.cpp:599
+
std::string getServiceData(uint8_t index=0) const
Get the service data.
Definition NimBLEAdvertisedDevice.cpp:298
+
uint8_t getServiceDataCount() const
Get the count of advertised service data UUIDS.
Definition NimBLEAdvertisedDevice.cpp:394
+
bool haveAdvInterval() const
Does this advertisement have have the advertising interval?
Definition NimBLEAdvertisedDevice.cpp:508
+
const std::vector< uint8_t >::const_iterator begin() const
Get the begin iterator for the payload.
Definition NimBLEAdvertisedDevice.cpp:795
+
std::string getManufacturerData(uint8_t index=0) const
Get the manufacturer data.
Definition NimBLEAdvertisedDevice.cpp:192
+
uint8_t getAdvType() const
Get the advertisement type.
Definition NimBLEAdvertisedDevice.cpp:96
+
bool haveServiceData() const
Does this advertisement have a service data value?
Definition NimBLEAdvertisedDevice.cpp:564
+
bool isConnectable() const
Check if this device is advertising as connectable.
Definition NimBLEAdvertisedDevice.cpp:754
+
const NimBLEAddress & getAddress() const
Get the address of the advertising device.
Definition NimBLEAdvertisedDevice.cpp:83
+
uint8_t getAdvFlags() const
Get the advertisement flags.
Definition NimBLEAdvertisedDevice.cpp:107
+
uint16_t getMinInterval() const
Get the preferred min connection interval.
Definition NimBLEAdvertisedDevice.cpp:159
+
std::string getName() const
Get the advertised name.
Definition NimBLEAdvertisedDevice.cpp:234
+
bool isAdvertisingService(const NimBLEUUID &uuid) const
Check advertised services for existence of the required UUID.
Definition NimBLEAdvertisedDevice.cpp:469
+
uint16_t getAdvInterval() const
Get the advertisement interval.
Definition NimBLEAdvertisedDevice.cpp:143
+
std::string toString() const
Create a string representation of this device.
Definition NimBLEAdvertisedDevice.cpp:690
+
bool haveManufacturerData() const
Does this advertisement have manufacturer data?
Definition NimBLEAdvertisedDevice.cpp:524
+
uint8_t getSetId() const
Get the set ID of the extended advertisement.
Definition NimBLEAdvertisedDevice.cpp:589
+
uint8_t getServiceUUIDCount() const
Get the number of services advertised.
Definition NimBLEAdvertisedDevice.cpp:453
+
T getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false) const
A template to convert the service data to <type>.
Definition NimBLEAdvertisedDevice.h:144
+
NimBLEUUID getServiceUUID(uint8_t index=0) const
Get the Service UUID.
Definition NimBLEAdvertisedDevice.cpp:407
+
uint16_t getMaxInterval() const
Get the preferred max connection interval.
Definition NimBLEAdvertisedDevice.cpp:175
+
bool haveName() const
Does this advertisement have a name value?
Definition NimBLEAdvertisedDevice.cpp:556
+
NimBLEAddress getTargetAddress(uint8_t index=0) const
Get the target address at the index.
Definition NimBLEAdvertisedDevice.cpp:270
+
uint8_t getAdvLength() const
Get the length of the advertisement data in the payload.
Definition NimBLEAdvertisedDevice.cpp:734
+
bool haveTXPower() const
Does this advertisement have a transmission power value?
Definition NimBLEAdvertisedDevice.cpp:580
+
Perform and manage BLE scans.
Definition NimBLEScan.h:67
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
@@ -299,7 +311,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertised_device_8h_source diff --git a/_nim_b_l_e_advertisement_data_8h_source.html b/_nim_b_l_e_advertisement_data_8h_source.html new file mode 100644 index 0000000..771e518 --- /dev/null +++ b/_nim_b_l_e_advertisement_data_8h_source.html @@ -0,0 +1,216 @@ + + + + + + + +esp-nimble-cpp: /github/workspace/src/NimBLEAdvertisementData.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
esp-nimble-cpp 2.0.0 +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NimBLEAdvertisementData.h
+
+
+
1/*
+
2 * Copyright 2020-2024 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_ADVERTISEMENT_DATA_H_
+
19#define NIMBLE_CPP_ADVERTISEMENT_DATA_H_
+
20
+
21#include "nimconfig.h"
+
22#if (defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && !CONFIG_BT_NIMBLE_EXT_ADV) || \
+
23 defined(_DOXYGEN_)
+
24
+
25# include <cstdint>
+
26# include <string>
+
27# include <vector>
+
28
+
29class NimBLEUUID;
+
+ +
34 // Only a subset of the possible BLE architected advertisement fields are currently exposed. Others will
+
35 // be exposed on demand/request or as time permits.
+
36 //
+
37 public:
+
38 bool addData(const uint8_t* data, size_t length);
+
39 bool addData(const std::vector<uint8_t>& data);
+
40 bool setAppearance(uint16_t appearance);
+
41 bool setFlags(uint8_t);
+
42 bool addTxPower();
+
43 bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval);
+
44 bool addServiceUUID(const NimBLEUUID& serviceUUID);
+
45 bool addServiceUUID(const char* serviceUUID);
+
46 bool removeServiceUUID(const NimBLEUUID& serviceUUID);
+
47 bool removeServiceUUID(const char* serviceUUID);
+
48 bool removeServices();
+
49 bool setManufacturerData(const uint8_t* data, size_t length);
+
50 bool setManufacturerData(const std::string& data);
+
51 bool setManufacturerData(const std::vector<uint8_t>& data);
+
52 bool setURI(const std::string& uri);
+
53 bool setName(const std::string& name, bool isComplete = true);
+
54 bool setShortName(const std::string& name);
+
55 bool setCompleteServices(const NimBLEUUID& uuid);
+
56 bool setCompleteServices16(const std::vector<NimBLEUUID>& uuids);
+
57 bool setCompleteServices32(const std::vector<NimBLEUUID>& uuids);
+
58 bool setPartialServices(const NimBLEUUID& uuid);
+
59 bool setPartialServices16(const std::vector<NimBLEUUID>& uuids);
+
60 bool setPartialServices32(const std::vector<NimBLEUUID>& uuids);
+
61 bool setServiceData(const NimBLEUUID& uuid, const uint8_t* data, size_t length);
+
62 bool setServiceData(const NimBLEUUID& uuid, const std::string& data);
+
63 bool setServiceData(const NimBLEUUID& uuid, const std::vector<uint8_t>& data);
+
64 bool removeData(uint8_t type);
+
65 void clearData();
+
66 int getDataLocation(uint8_t type) const;
+
67
+
68 std::string toString() const;
+
69 std::vector<uint8_t> getPayload() const;
+
70
+
71 private:
+
72 friend class NimBLEAdvertising;
+
73
+
74 bool setServices(bool complete, uint8_t size, const std::vector<NimBLEUUID>& v_uuid);
+
75 std::vector<uint8_t> m_payload{};
+
76}; // NimBLEAdvertisementData
+
+
77
+
78#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV
+
79#endif // NIMBLE_CPP_ADVERTISEMENT_DATA_H_
+
Advertisement data set by the programmer to be published by the BLE server.
Definition NimBLEAdvertisementData.h:33
+
bool setFlags(uint8_t)
Set the advertisement flags.
Definition NimBLEAdvertisementData.cpp:86
+
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEAdvertisementData.cpp:458
+
bool setPartialServices(const NimBLEUUID &uuid)
Set a single service to advertise as a partial list of services.
Definition NimBLEAdvertisementData.cpp:381
+
bool setManufacturerData(const uint8_t *data, size_t length)
Set manufacturer specific data.
Definition NimBLEAdvertisementData.cpp:268
+
std::vector< uint8_t > getPayload() const
Retrieve the payload that is to be advertised.
Definition NimBLEAdvertisementData.cpp:554
+
bool setShortName(const std::string &name)
Set the short name.
Definition NimBLEAdvertisementData.cpp:345
+
bool addTxPower()
Adds Tx power level to the advertisement data.
Definition NimBLEAdvertisementData.cpp:108
+
int getDataLocation(uint8_t type) const
Get the location of the data in the payload.
Definition NimBLEAdvertisementData.cpp:521
+
bool setAppearance(uint16_t appearance)
Set the appearance.
Definition NimBLEAdvertisementData.cpp:65
+
bool addData(const uint8_t *data, size_t length)
Add data to the payload to be advertised.
Definition NimBLEAdvertisementData.cpp:41
+
std::string toString() const
Get the string representation of the advertisement data.
Definition NimBLEAdvertisementData.cpp:569
+
bool setPartialServices32(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEAdvertisementData.cpp:399
+
bool setURI(const std::string &uri)
Set the URI to advertise.
Definition NimBLEAdvertisementData.cpp:304
+
bool setCompleteServices16(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 16 bit services to advertise.
Definition NimBLEAdvertisementData.cpp:363
+
bool setPartialServices16(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEAdvertisementData.cpp:390
+
bool setCompleteServices(const NimBLEUUID &uuid)
Set a single service to advertise as a complete list of services.
Definition NimBLEAdvertisementData.cpp:354
+
void clearData()
Clear the advertisement data for reuse.
Definition NimBLEAdvertisementData.cpp:561
+
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEAdvertisementData.cpp:148
+
bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEAdvertisementData.cpp:127
+
bool removeData(uint8_t type)
Remove data from the advertisement data.
Definition NimBLEAdvertisementData.cpp:537
+
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEAdvertisementData.cpp:203
+
bool setName(const std::string &name, bool isComplete=true)
Set the complete name of this device.
Definition NimBLEAdvertisementData.cpp:326
+
bool setCompleteServices32(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 32 bit services to advertise.
Definition NimBLEAdvertisementData.cpp:372
+
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEAdvertisementData.cpp:258
+
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:52
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
+ +
+
+ + + + diff --git a/_nim_b_l_e_advertising_8h_source.html b/_nim_b_l_e_advertising_8h_source.html index 41d921e..4fc1e27 100644 --- a/_nim_b_l_e_advertising_8h_source.html +++ b/_nim_b_l_e_advertising_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEAdvertising.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,194 +81,164 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertising_8h_source.html'
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAdvertising.h
+
NimBLEAdvertising.h
-
1 /*
-
2  * NimBLEAdvertising.h
-
3  *
-
4  * Created: on March 3, 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEAdvertising.h
-
10  *
-
11  * Created on: Jun 21, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef MAIN_BLEADVERTISING_H_
-
16 #define MAIN_BLEADVERTISING_H_
-
17 #include "nimconfig.h"
-
18 #if (defined(CONFIG_BT_ENABLED) && \
-
19  defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && \
-
20  !CONFIG_BT_NIMBLE_EXT_ADV) || defined(_DOXYGEN_)
-
21 
-
22 #if defined(CONFIG_NIMBLE_CPP_IDF)
-
23 #include "host/ble_gap.h"
-
24 #else
-
25 #include "nimble/nimble/host/include/host/ble_gap.h"
-
26 #endif
-
27 
-
28 /**** FIX COMPILATION ****/
-
29 #undef min
-
30 #undef max
-
31 /**************************/
-
32 
-
33 #include "NimBLEUUID.h"
-
34 
-
35 #include <vector>
-
36 
-
37 /* COMPATIBILITY - DO NOT USE */
-
38 #define ESP_BLE_ADV_FLAG_LIMIT_DISC (0x01 << 0)
-
39 #define ESP_BLE_ADV_FLAG_GEN_DISC (0x01 << 1)
-
40 #define ESP_BLE_ADV_FLAG_BREDR_NOT_SPT (0x01 << 2)
-
41 #define ESP_BLE_ADV_FLAG_DMT_CONTROLLER_SPT (0x01 << 3)
-
42 #define ESP_BLE_ADV_FLAG_DMT_HOST_SPT (0x01 << 4)
-
43 #define ESP_BLE_ADV_FLAG_NON_LIMIT_DISC (0x00 )
-
44  /* ************************* */
-
45 
-
46 
- -
51  // Only a subset of the possible BLE architected advertisement fields are currently exposed. Others will
-
52  // be exposed on demand/request or as time permits.
-
53  //
-
54 public:
-
55  void setAppearance(uint16_t appearance);
-
56  void setCompleteServices(const NimBLEUUID &uuid);
-
57  void setCompleteServices16(const std::vector<NimBLEUUID> &v_uuid);
-
58  void setCompleteServices32(const std::vector<NimBLEUUID> &v_uuid);
-
59  void setFlags(uint8_t);
-
60  void setManufacturerData(const std::string &data);
-
61  void setURI(const std::string &uri);
-
62  void setName(const std::string &name);
-
63  void setPartialServices(const NimBLEUUID &uuid);
-
64  void setPartialServices16(const std::vector<NimBLEUUID> &v_uuid);
-
65  void setPartialServices32(const std::vector<NimBLEUUID> &v_uuid);
-
66  void setServiceData(const NimBLEUUID &uuid, const std::string &data);
-
67  void setShortName(const std::string &name);
-
68  void addData(const std::string &data); // Add data to the payload.
-
69  void addData(char * data, size_t length);
-
70  void addTxPower();
-
71  void setPreferredParams(uint16_t min, uint16_t max);
-
72  std::string getPayload(); // Retrieve the current advert payload.
-
73 
-
74 private:
-
75  friend class NimBLEAdvertising;
-
76  void setServices(const bool complete, const uint8_t size,
-
77  const std::vector<NimBLEUUID> &v_uuid);
-
78  std::string m_payload; // The payload of the advertisement.
-
79 }; // NimBLEAdvertisementData
-
80 
-
81 
- -
88 public:
- -
90  void addServiceUUID(const NimBLEUUID &serviceUUID);
-
91  void addServiceUUID(const char* serviceUUID);
-
92  void removeServiceUUID(const NimBLEUUID &serviceUUID);
-
93  bool start(uint32_t duration = 0, void (*advCompleteCB)(NimBLEAdvertising *pAdv) = nullptr);
-
94  bool stop();
-
95  void setAppearance(uint16_t appearance);
-
96  void setName(const std::string &name);
-
97  void setManufacturerData(const std::string &data);
-
98  void setURI(const std::string &uri);
-
99  void setServiceData(const NimBLEUUID &uuid, const std::string &data);
-
100  void setAdvertisementType(uint8_t adv_type);
-
101  void setMaxInterval(uint16_t maxinterval);
-
102  void setMinInterval(uint16_t mininterval);
-
103  void setAdvertisementData(NimBLEAdvertisementData& advertisementData);
-
104  void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly);
-
105  void setScanResponseData(NimBLEAdvertisementData& advertisementData);
-
106  void setScanResponse(bool);
-
107  void setMinPreferred(uint16_t);
-
108  void setMaxPreferred(uint16_t);
-
109  void addTxPower();
-
110  void reset();
-
111  void advCompleteCB();
-
112  bool isAdvertising();
-
113 
-
114 private:
-
115  friend class NimBLEDevice;
-
116  friend class NimBLEServer;
-
117 
-
118  void onHostSync();
-
119  static int handleGapEvent(struct ble_gap_event *event, void *arg);
-
120 
-
121  ble_hs_adv_fields m_advData;
-
122  ble_hs_adv_fields m_scanData;
-
123  ble_gap_adv_params m_advParams;
-
124  std::vector<NimBLEUUID> m_serviceUUIDs;
-
125  bool m_customAdvData;
-
126  bool m_customScanResponseData;
-
127  bool m_scanResp;
-
128  bool m_advDataSet;
-
129  void (*m_advCompCB)(NimBLEAdvertising *pAdv);
-
130  uint8_t m_slaveItvl[4];
-
131  uint32_t m_duration;
-
132  std::vector<uint8_t> m_svcData16;
-
133  std::vector<uint8_t> m_svcData32;
-
134  std::vector<uint8_t> m_svcData128;
-
135  std::vector<uint8_t> m_name;
-
136  std::vector<uint8_t> m_mfgData;
-
137  std::vector<uint8_t> m_uri;
-
138 };
-
139 
-
140 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV */
-
141 #endif /* MAIN_BLEADVERTISING_H_ */
-
Advertisement data set by the programmer to be published by the BLE server.
Definition: NimBLEAdvertising.h:50
-
void setAppearance(uint16_t appearance)
Set the appearance.
Definition: NimBLEAdvertising.cpp:785
-
void setPartialServices32(const std::vector< NimBLEUUID > &v_uuid)
Set the partial list of services to advertise.
Definition: NimBLEAdvertising.cpp:894
-
void addTxPower()
Adds Tx power level to the advertisement data.
Definition: NimBLEAdvertising.cpp:1004
-
void setPartialServices16(const std::vector< NimBLEUUID > &v_uuid)
Set the partial list of services to advertise.
Definition: NimBLEAdvertising.cpp:885
-
void setCompleteServices16(const std::vector< NimBLEUUID > &v_uuid)
Set the complete list of 16 bit services to advertise.
Definition: NimBLEAdvertising.cpp:858
-
void setPreferredParams(uint16_t min, uint16_t max)
Set the preferred connection interval parameters.
Definition: NimBLEAdvertising.cpp:1018
-
void setCompleteServices(const NimBLEUUID &uuid)
Set a single service to advertise as a complete list of services.
Definition: NimBLEAdvertising.cpp:849
-
void setCompleteServices32(const std::vector< NimBLEUUID > &v_uuid)
Set the complete list of 32 bit services to advertise.
Definition: NimBLEAdvertising.cpp:867
-
void setFlags(uint8_t)
Set the advertisement flags.
Definition: NimBLEAdvertising.cpp:800
-
void setName(const std::string &name)
Set the complete name of this device.
Definition: NimBLEAdvertising.cpp:837
-
void setURI(const std::string &uri)
Set the URI to advertise.
Definition: NimBLEAdvertising.cpp:825
-
void setManufacturerData(const std::string &data)
Set manufacturer specific data.
Definition: NimBLEAdvertising.cpp:813
-
std::string getPayload()
Retrieve the payload that is to be advertised.
Definition: NimBLEAdvertising.cpp:1034
-
void setShortName(const std::string &name)
Set the short name.
Definition: NimBLEAdvertising.cpp:993
-
void addData(const std::string &data)
Add data to the payload to be advertised.
Definition: NimBLEAdvertising.cpp:759
-
void setServiceData(const NimBLEUUID &uuid, const std::string &data)
Set the service data (UUID + data)
Definition: NimBLEAdvertising.cpp:956
-
void setPartialServices(const NimBLEUUID &uuid)
Set a single service to advertise as a partial list of services.
Definition: NimBLEAdvertising.cpp:876
-
Perform and manage BLE advertising.
Definition: NimBLEAdvertising.h:87
-
void setScanResponseData(NimBLEAdvertisementData &advertisementData)
Set the advertisement data that is to be published in a scan response.
Definition: NimBLEAdvertising.cpp:372
-
void setMinInterval(uint16_t mininterval)
Set the minimum advertising interval.
Definition: NimBLEAdvertising.cpp:227
-
void setManufacturerData(const std::string &data)
Set the advertised manufacturer data.
Definition: NimBLEAdvertising.cpp:151
-
void setMaxPreferred(uint16_t)
Set the advertised max connection interval preferred by this device.
Definition: NimBLEAdvertising.cpp:279
-
bool stop()
Stop advertising.
Definition: NimBLEAdvertising.cpp:674
-
void setMinPreferred(uint16_t)
Set the advertised min connection interval preferred by this device.
Definition: NimBLEAdvertising.cpp:247
-
void advCompleteCB()
Handles the callback when advertising stops.
Definition: NimBLEAdvertising.cpp:692
-
void addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition: NimBLEAdvertising.cpp:82
-
void reset()
Stops the current advertising and resets the advertising data to the default values.
Definition: NimBLEAdvertising.cpp:46
-
void setURI(const std::string &uri)
Set the advertised URI.
Definition: NimBLEAdvertising.cpp:163
-
void setAdvertisementType(uint8_t adv_type)
Set the type of advertisment to use.
Definition: NimBLEAdvertising.cpp:218
-
void setScanResponse(bool)
Set if scan response is available.
Definition: NimBLEAdvertising.cpp:307
-
void removeServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition: NimBLEAdvertising.cpp:102
-
void setServiceData(const NimBLEUUID &uuid, const std::string &data)
Set the service data advertised for the UUID.
Definition: NimBLEAdvertising.cpp:177
-
void setAppearance(uint16_t appearance)
Set the device appearance in the advertising data. The codes for distinct appearances can be found he...
Definition: NimBLEAdvertising.cpp:119
-
void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
Set the filtering for the scan filter.
Definition: NimBLEAdvertising.cpp:318
-
void setMaxInterval(uint16_t maxinterval)
Set the maximum advertising interval.
Definition: NimBLEAdvertising.cpp:236
-
NimBLEAdvertising()
Construct a default advertising object.
Definition: NimBLEAdvertising.cpp:38
-
bool isAdvertising()
Check if currently advertising.
Definition: NimBLEAdvertising.cpp:703
-
void addTxPower()
Add the transmission power level to the advertisement packet.
Definition: NimBLEAdvertising.cpp:129
-
void setName(const std::string &name)
Set the advertised name of the device.
Definition: NimBLEAdvertising.cpp:139
-
bool start(uint32_t duration=0, void(*advCompleteCB)(NimBLEAdvertising *pAdv)=nullptr)
Start advertising.
Definition: NimBLEAdvertising.cpp:392
-
void setAdvertisementData(NimBLEAdvertisementData &advertisementData)
Set the advertisement data that is to be published in a regular advertisement.
Definition: NimBLEAdvertising.cpp:352
-
A model of a BLE Device from which all the BLE roles are created.
Definition: NimBLEDevice.h:96
-
The model of a BLE server.
Definition: NimBLEServer.h:46
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_ADVERTISING_H_
+
19#define NIMBLE_CPP_ADVERTISING_H_
+
20
+
21#include "nimconfig.h"
+
22#if (defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && !CONFIG_BT_NIMBLE_EXT_ADV) || \
+
23 defined(_DOXYGEN_)
+
24
+
25# if defined(CONFIG_NIMBLE_CPP_IDF)
+
26# include "host/ble_gap.h"
+
27# else
+
28# include "nimble/nimble/host/include/host/ble_gap.h"
+
29# endif
+
30
+
31/**** FIX COMPILATION ****/
+
32# undef min
+
33# undef max
+
34/**************************/
+
35
+
36# include "NimBLEUUID.h"
+
37# include "NimBLEAddress.h"
+
38# include "NimBLEAdvertisementData.h"
+
39
+
40# include <functional>
+
41# include <string>
+
42# include <vector>
+
43
+ +
45typedef std::function<void(NimBLEAdvertising*)> advCompleteCB_t;
+
46
+
+ +
53 public:
+ +
55 bool start(uint32_t duration = 0, const NimBLEAddress* dirAddr = nullptr);
+
56 void setAdvertisingCompleteCallback(advCompleteCB_t callback);
+
57 bool stop();
+
58 bool setConnectableMode(uint8_t mode);
+
59 bool setDiscoverableMode(uint8_t mode);
+
60 bool reset();
+
61 bool isAdvertising();
+
62 void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly);
+
63 void enableScanResponse(bool enable);
+
64 void setAdvertisingInterval(uint16_t interval);
+
65 void setMaxInterval(uint16_t maxInterval);
+
66 void setMinInterval(uint16_t minInterval);
+
67
+
68 bool setAdvertisementData(const NimBLEAdvertisementData& advertisementData);
+
69 bool setScanResponseData(const NimBLEAdvertisementData& advertisementData);
+ + +
72 void clearData();
+ +
74
+
75 bool addServiceUUID(const NimBLEUUID& serviceUUID);
+
76 bool addServiceUUID(const char* serviceUUID);
+
77 bool removeServiceUUID(const NimBLEUUID& serviceUUID);
+
78 bool removeServiceUUID(const char* serviceUUID);
+
79 bool removeServices();
+
80 bool setAppearance(uint16_t appearance);
+
81 bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval);
+
82 bool addTxPower();
+
83 bool setName(const std::string& name);
+
84 bool setManufacturerData(const uint8_t* data, size_t length);
+
85 bool setManufacturerData(const std::string& data);
+
86 bool setManufacturerData(const std::vector<uint8_t>& data);
+
87 bool setURI(const std::string& uri);
+
88 bool setServiceData(const NimBLEUUID& uuid, const uint8_t* data, size_t length);
+
89 bool setServiceData(const NimBLEUUID& uuid, const std::string& data);
+
90 bool setServiceData(const NimBLEUUID& uuid, const std::vector<uint8_t>& data);
+
91
+
92 private:
+
93 friend class NimBLEDevice;
+
94 friend class NimBLEServer;
+
95
+
96 void onHostSync();
+
97 static int handleGapEvent(ble_gap_event* event, void* arg);
+
98
+ +
100 NimBLEAdvertisementData m_scanData;
+
101 ble_gap_adv_params m_advParams;
+
102 advCompleteCB_t m_advCompCb;
+
103 uint8_t m_slaveItvl[4];
+
104 uint32_t m_duration;
+
105 bool m_scanResp : 1;
+
106 bool m_advDataSet : 1;
+
107};
+
+
108
+
109#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && !CONFIG_BT_NIMBLE_EXT_ADV */
+
110#endif /* NIMBLE_CPP_ADVERTISING_H_ */
+
A BLE device address.
Definition NimBLEAddress.h:41
+
Advertisement data set by the programmer to be published by the BLE server.
Definition NimBLEAdvertisementData.h:33
+
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:52
+
bool addTxPower()
Add the transmission power level to the advertisement packet.
Definition NimBLEAdvertising.cpp:501
+
const NimBLEAdvertisementData & getAdvertisementData()
Get the current advertisement data.
Definition NimBLEAdvertising.cpp:348
+
bool setAppearance(uint16_t appearance)
Set the device appearance in the advertising data.
Definition NimBLEAdvertising.cpp:468
+
void setAdvertisingInterval(uint16_t interval)
Set the advertising interval.
Definition NimBLEAdvertising.cpp:123
+
bool stop()
Stop advertising.
Definition NimBLEAdvertising.cpp:249
+
void setAdvertisingCompleteCallback(advCompleteCB_t callback)
Set the callback to be invoked when advertising stops.
Definition NimBLEAdvertising.cpp:263
+
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEAdvertising.cpp:410
+
void setMinInterval(uint16_t minInterval)
Set the minimum advertising interval.
Definition NimBLEAdvertising.cpp:132
+
void enableScanResponse(bool enable)
Enable scan response data.
Definition NimBLEAdvertising.cpp:149
+
bool setDiscoverableMode(uint8_t mode)
Set the discoverable mode to use.
Definition NimBLEAdvertising.cpp:99
+
bool setName(const std::string &name)
Set the advertised name of the device.
Definition NimBLEAdvertising.cpp:519
+
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEAdvertising.cpp:592
+
bool start(uint32_t duration=0, const NimBLEAddress *dirAddr=nullptr)
Start advertising.
Definition NimBLEAdvertising.cpp:184
+
bool reset()
Stops the current advertising and resets the advertising data to the default values.
Definition NimBLEAdvertising.cpp:60
+
bool setScanResponseData(const NimBLEAdvertisementData &advertisementData)
Set the data that is to be provided in a scan response.
Definition NimBLEAdvertising.cpp:359
+
void setMaxInterval(uint16_t maxInterval)
Set the maximum advertising interval.
Definition NimBLEAdvertising.cpp:140
+
bool setPreferredParams(uint16_t minInterval, uint16_t maxInterval)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEAdvertising.cpp:486
+
bool setURI(const std::string &uri)
Set the advertised URI.
Definition NimBLEAdvertising.cpp:573
+
void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
Set the filtering for the scan filter.
Definition NimBLEAdvertising.cpp:159
+
bool setAdvertisementData(const NimBLEAdvertisementData &advertisementData)
Set the advertisement data that is to be broadcast in a regular advertisement.
Definition NimBLEAdvertising.cpp:331
+
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEAdvertising.cpp:435
+
NimBLEAdvertising()
Construct a default advertising object.
Definition NimBLEAdvertising.cpp:38
+
bool isAdvertising()
Check if currently advertising.
Definition NimBLEAdvertising.cpp:271
+
bool setManufacturerData(const uint8_t *data, size_t length)
Set the advertised manufacturer data.
Definition NimBLEAdvertising.cpp:539
+
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEAdvertising.cpp:455
+
bool refreshAdvertisingData()
Refresh advertsing data dynamically without stop/start cycle. For instance allows refreshing manufact...
Definition NimBLEAdvertising.cpp:396
+
const NimBLEAdvertisementData & getScanData()
Get the current scan response data.
Definition NimBLEAdvertising.cpp:375
+
bool setConnectableMode(uint8_t mode)
Set the type of connectable mode to advertise.
Definition NimBLEAdvertising.cpp:77
+
void clearData()
Clear the advertisement and scan response data and set the flags to BLE_HS_ADV_F_DISC_GEN.
Definition NimBLEAdvertising.cpp:382
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:109
+
The model of a BLE server.
Definition NimBLEServer.h:60
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
@@ -271,7 +246,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_advertising_8h_source.html' diff --git a/_nim_b_l_e_att_value_8h_source.html b/_nim_b_l_e_att_value_8h_source.html index 366cc31..498804a 100644 --- a/_nim_b_l_e_att_value_8h_source.html +++ b/_nim_b_l_e_att_value_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEAttValue.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,389 +81,336 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_att_value_8h_source.html','
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAttValue.h
+
NimBLEAttValue.h
-
1 /*
-
2  * NimBLEAttValue.h
-
3  *
-
4  * Created: on March 18, 2021
-
5  * Author H2zero
-
6  *
-
7  */
-
8 
-
9 #ifndef MAIN_NIMBLEATTVALUE_H_
-
10 #define MAIN_NIMBLEATTVALUE_H_
-
11 #include "nimconfig.h"
-
12 #if defined(CONFIG_BT_ENABLED)
-
13 
-
14 #ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
-
15 #include <Arduino.h>
-
16 #endif
-
17 
-
18 #include "NimBLELog.h"
-
19 
-
20 /**** FIX COMPILATION ****/
-
21 #undef min
-
22 #undef max
-
23 /**************************/
-
24 
-
25 #include <string>
-
26 #include <vector>
-
27 
-
28 #ifndef CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
29 # define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED 0
-
30 #endif
-
31 
-
32 #if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
33 # include <time.h>
-
34 #endif
-
35 
-
36 #if !defined(CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH)
-
37 # define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH 20
-
38 #elif CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH > BLE_ATT_ATTR_MAX_LEN
-
39 # error CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH cannot be larger than 512 (BLE_ATT_ATTR_MAX_LEN)
-
40 #elif CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH < 1
-
41 # error CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH cannot be less than 1; Range = 1 : 512
-
42 #endif
-
43 
-
44 
-
45 /* Used to determine if the type passed to a template has a c_str() and length() method. */
-
46 template <typename T, typename = void, typename = void>
-
47 struct Has_c_str_len : std::false_type {};
-
48 
-
49 template <typename T>
-
50 struct Has_c_str_len<T, decltype(void(std::declval<T &>().c_str())),
-
51  decltype(void(std::declval<T &>().length()))> : std::true_type {};
-
52 
-
53 
- -
61 {
-
62  uint8_t* m_attr_value = nullptr;
-
63  uint16_t m_attr_max_len = 0;
-
64  uint16_t m_attr_len = 0;
-
65  uint16_t m_capacity = 0;
-
66 #if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
67  time_t m_timestamp = 0;
-
68 #endif
-
69  void deepCopy(const NimBLEAttValue & source);
-
70 
-
71 public:
- -
78  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
79 
-
86  NimBLEAttValue(const uint8_t *value, uint16_t len,
-
87  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
88 
-
94  NimBLEAttValue(std::initializer_list<uint8_t> list,
-
95  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
96  :NimBLEAttValue(list.begin(), (uint16_t)list.size(), max_len){}
-
97 
-
103  NimBLEAttValue(const char *value, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
104  :NimBLEAttValue((uint8_t*)value, (uint16_t)strlen(value), max_len){}
-
105 
-
111  NimBLEAttValue(const std::string str, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
112  :NimBLEAttValue((uint8_t*)str.data(), (uint16_t)str.length(), max_len){}
-
113 
-
119  NimBLEAttValue(const std::vector<uint8_t> vec, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
120  :NimBLEAttValue(&vec[0], (uint16_t)vec.size(), max_len){}
-
121 
-
122 #ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
-
128  NimBLEAttValue(const String str, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
-
129  :NimBLEAttValue((uint8_t*)str.c_str(), str.length(), max_len){}
-
130 #endif
-
131 
-
133  NimBLEAttValue(const NimBLEAttValue & source) { deepCopy(source); }
-
134 
-
136  NimBLEAttValue(NimBLEAttValue && source) { *this = std::move(source); }
-
137 
-
139  ~NimBLEAttValue();
-
140 
-
142  uint16_t max_size() const { return m_attr_max_len; }
-
143 
-
145  uint16_t capacity() const { return m_capacity; }
-
146 
-
148  uint16_t length() const { return m_attr_len; }
-
149 
-
151  uint16_t size() const { return m_attr_len; }
-
152 
-
154  const uint8_t* data() const { return m_attr_value; }
-
155 
-
157  const char* c_str() const { return (const char*)m_attr_value; }
-
158 
-
160  const uint8_t* begin() const { return m_attr_value; }
-
161 
-
163  const uint8_t* end() const { return m_attr_value + m_attr_len; }
-
164 
-
165 #if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
167  time_t getTimeStamp() const { return m_timestamp; }
-
168 
-
170  void setTimeStamp() { m_timestamp = time(nullptr); }
-
171 
-
176  void setTimeStamp(time_t t) { m_timestamp = t; }
-
177 #else
-
178  time_t getTimeStamp() const { return 0; }
-
179  void setTimeStamp() { }
-
180  void setTimeStamp(time_t t) { }
-
181 #endif
-
182 
-
189  bool setValue(const uint8_t *value, uint16_t len);
-
190 
-
195  bool setValue(const char* s) {
-
196  return setValue((uint8_t*)s, (uint16_t)strlen(s)); }
-
197 
-
203  const uint8_t* getValue(time_t *timestamp);
-
204 
-
211  NimBLEAttValue& append(const uint8_t *value, uint16_t len);
-
212 
-
213 
-
214  /*********************** Template Functions ************************/
-
215 
-
221  template<typename T>
-
222 #ifdef _DOXYGEN_
-
223  bool
-
224 #else
-
225  typename std::enable_if<!Has_c_str_len<T>::value, bool>::type
-
226 #endif
-
227  setValue(const T &s) {
-
228  return setValue((uint8_t*)&s, sizeof(T));
-
229  }
-
230 
-
236  template<typename T>
-
237 #ifdef _DOXYGEN_
-
238  bool
-
239 #else
-
240  typename std::enable_if<Has_c_str_len<T>::value, bool>::type
-
241 #endif
-
242  setValue(const T & s) {
-
243  return setValue((uint8_t*)s.c_str(), (uint16_t)s.length());
-
244  }
-
245 
-
256  template<typename T>
-
257  T getValue(time_t *timestamp = nullptr, bool skipSizeCheck = false) {
-
258  if(!skipSizeCheck && size() < sizeof(T)) {
-
259  return T();
-
260  }
-
261  return *((T *)getValue(timestamp));
-
262  }
-
263 
-
264 
-
265  /*********************** Operators ************************/
-
266 
-
268  uint8_t operator [](int pos) const {
-
269  assert(pos < m_attr_len && "out of range"); return m_attr_value[pos]; }
-
270 
-
272  operator std::vector<uint8_t>() const {
-
273  return std::vector<uint8_t>(m_attr_value, m_attr_value + m_attr_len); }
-
274 
-
276  operator std::string() const {
-
277  return std::string((char*)m_attr_value, m_attr_len); }
-
278 
-
280  operator const uint8_t*() const { return m_attr_value; }
-
281 
- -
284  return append(source.data(), source.size()); }
-
285 
-
287  NimBLEAttValue& operator =(const std::string & source) {
-
288  setValue((uint8_t*)source.data(), (uint16_t)source.size()); return *this; }
-
289 
- -
292 
-
294  NimBLEAttValue& operator =(const NimBLEAttValue & source);
-
295 
-
297  bool operator ==(const NimBLEAttValue & source) {
-
298  return (m_attr_len == source.size()) ?
-
299  memcmp(m_attr_value, source.data(), m_attr_len) == 0 : false; }
-
300 
-
302  bool operator !=(const NimBLEAttValue & source){ return !(*this == source); }
-
303 
-
304 #ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
-
306  operator String() const { return String((char*)m_attr_value); }
-
307 #endif
-
308 
-
309 };
-
310 
-
311 
-
312 inline NimBLEAttValue::NimBLEAttValue(uint16_t init_len, uint16_t max_len) {
-
313  m_attr_value = (uint8_t*)calloc(init_len + 1, 1);
-
314  assert(m_attr_value && "No Mem");
-
315  m_attr_max_len = std::min(BLE_ATT_ATTR_MAX_LEN, (int)max_len);
-
316  m_attr_len = 0;
-
317  m_capacity = init_len;
-
318  setTimeStamp(0);
-
319 }
-
320 
-
321 inline NimBLEAttValue::NimBLEAttValue(const uint8_t *value, uint16_t len, uint16_t max_len)
-
322 : NimBLEAttValue(len, max_len) {
-
323  memcpy(m_attr_value, value, len);
-
324  m_attr_value[len] = '\0';
-
325  m_attr_len = len;
-
326 }
-
327 
- -
329  if(m_attr_value != nullptr) {
-
330  free(m_attr_value);
-
331  }
-
332 }
-
333 
- -
335  if (this != &source){
-
336  free(m_attr_value);
-
337 
-
338  m_attr_value = source.m_attr_value;
-
339  m_attr_max_len = source.m_attr_max_len;
-
340  m_attr_len = source.m_attr_len;
-
341  m_capacity = source.m_capacity;
-
342  setTimeStamp(source.getTimeStamp());
-
343  source.m_attr_value = nullptr;
-
344  }
-
345  return *this;
-
346 }
-
347 
- -
349  if (this != &source) {
-
350  deepCopy(source);
-
351  }
-
352  return *this;
-
353 }
-
354 
-
355 inline void NimBLEAttValue::deepCopy(const NimBLEAttValue & source) {
-
356  uint8_t* res = (uint8_t*)realloc( m_attr_value, source.m_capacity + 1);
-
357  assert(res && "deepCopy: realloc failed");
-
358 
-
359  ble_npl_hw_enter_critical();
-
360  m_attr_value = res;
-
361  m_attr_max_len = source.m_attr_max_len;
-
362  m_attr_len = source.m_attr_len;
-
363  m_capacity = source.m_capacity;
-
364  setTimeStamp(source.getTimeStamp());
-
365  memcpy(m_attr_value, source.m_attr_value, m_attr_len + 1);
-
366  ble_npl_hw_exit_critical(0);
-
367 }
-
368 
-
369 inline const uint8_t* NimBLEAttValue::getValue(time_t *timestamp) {
-
370  if(timestamp != nullptr) {
-
371 #if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
372  *timestamp = m_timestamp;
-
373 #else
-
374  *timestamp = 0;
-
375 #endif
-
376  }
-
377  return m_attr_value;
-
378 }
-
379 
-
380 inline bool NimBLEAttValue::setValue(const uint8_t *value, uint16_t len) {
-
381  if (len > m_attr_max_len) {
-
382  NIMBLE_LOGE("NimBLEAttValue", "value exceeds max, len=%u, max=%u",
-
383  len, m_attr_max_len);
-
384  return false;
-
385  }
-
386 
-
387  uint8_t *res = m_attr_value;
-
388  if (len > m_capacity) {
-
389  res = (uint8_t*)realloc(m_attr_value, (len + 1));
-
390  m_capacity = len;
-
391  }
-
392  assert(res && "setValue: realloc failed");
-
393 
-
394 #if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
395  time_t t = time(nullptr);
-
396 #else
-
397  time_t t = 0;
-
398 #endif
-
399 
-
400  ble_npl_hw_enter_critical();
-
401  m_attr_value = res;
-
402  memcpy(m_attr_value, value, len);
-
403  m_attr_value[len] = '\0';
-
404  m_attr_len = len;
-
405  setTimeStamp(t);
-
406  ble_npl_hw_exit_critical(0);
-
407  return true;
-
408 }
-
409 
-
410 inline NimBLEAttValue& NimBLEAttValue::append(const uint8_t *value, uint16_t len) {
-
411  if (len < 1) {
-
412  return *this;
-
413  }
-
414 
-
415  if ((m_attr_len + len) > m_attr_max_len) {
-
416  NIMBLE_LOGE("NimBLEAttValue", "val > max, len=%u, max=%u",
-
417  len, m_attr_max_len);
-
418  return *this;
-
419  }
-
420 
-
421  uint8_t* res = m_attr_value;
-
422  uint16_t new_len = m_attr_len + len;
-
423  if (new_len > m_capacity) {
-
424  res = (uint8_t*)realloc(m_attr_value, (new_len + 1));
-
425  m_capacity = new_len;
-
426  }
-
427  assert(res && "append: realloc failed");
-
428 
-
429 #if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
-
430  time_t t = time(nullptr);
-
431 #else
-
432  time_t t = 0;
-
433 #endif
-
434 
-
435  ble_npl_hw_enter_critical();
-
436  m_attr_value = res;
-
437  memcpy(m_attr_value + m_attr_len, value, len);
-
438  m_attr_len = new_len;
-
439  m_attr_value[m_attr_len] = '\0';
-
440  setTimeStamp(t);
-
441  ble_npl_hw_exit_critical(0);
-
442 
-
443  return *this;
-
444 }
-
445 
-
446 #endif /*(CONFIG_BT_ENABLED) */
-
447 #endif /* MAIN_NIMBLEATTVALUE_H_ */
-
A specialized container class to hold BLE attribute values.
Definition: NimBLEAttValue.h:61
-
NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a std::vector<uint8_t>.
Definition: NimBLEAttValue.h:119
-
~NimBLEAttValue()
Destructor.
Definition: NimBLEAttValue.h:328
-
NimBLEAttValue & operator+=(const NimBLEAttValue &source)
Operator; Append another NimBLEAttValue.
Definition: NimBLEAttValue.h:283
-
T getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)
Template to return the value as a <type>.
Definition: NimBLEAttValue.h:257
-
uint16_t length() const
Returns the current length of the value in bytes.
Definition: NimBLEAttValue.h:148
-
NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a const char string.
Definition: NimBLEAttValue.h:103
-
uint16_t capacity() const
Returns the currently allocated capacity in bytes.
Definition: NimBLEAttValue.h:145
-
const uint8_t * end() const
Iterator end.
Definition: NimBLEAttValue.h:163
-
NimBLEAttValue(const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a std::string.
Definition: NimBLEAttValue.h:111
-
bool setValue(const uint8_t *value, uint16_t len)
Set the value from a buffer.
Definition: NimBLEAttValue.h:380
-
const uint8_t * getValue(time_t *timestamp)
Get a pointer to the value buffer with timestamp.
Definition: NimBLEAttValue.h:369
-
const uint8_t * begin() const
Iterator begin.
Definition: NimBLEAttValue.h:160
-
NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initializer list.
Definition: NimBLEAttValue.h:94
-
NimBLEAttValue(const NimBLEAttValue &source)
Copy constructor.
Definition: NimBLEAttValue.h:133
-
NimBLEAttValue(NimBLEAttValue &&source)
Move constructor.
Definition: NimBLEAttValue.h:136
-
uint8_t operator[](int pos) const
Subscript operator.
Definition: NimBLEAttValue.h:268
-
bool operator==(const NimBLEAttValue &source)
Equality operator.
Definition: NimBLEAttValue.h:297
-
bool setValue(const char *s)
Set value to the value of const char*.
Definition: NimBLEAttValue.h:195
-
bool operator!=(const NimBLEAttValue &source)
Inequality operator.
Definition: NimBLEAttValue.h:302
-
const uint8_t * data() const
Returns a pointer to the internal buffer of the value.
Definition: NimBLEAttValue.h:154
-
NimBLEAttValue & operator=(const std::string &source)
Operator; Set the value from a std::string source.
Definition: NimBLEAttValue.h:287
-
NimBLEAttValue & append(const uint8_t *value, uint16_t len)
Append data to the value.
Definition: NimBLEAttValue.h:410
-
const char * c_str() const
Returns a pointer to the internal buffer of the value as a const char*.
Definition: NimBLEAttValue.h:157
-
NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Default constructor.
Definition: NimBLEAttValue.h:312
-
uint16_t size() const
Returns the current size of the value in bytes.
Definition: NimBLEAttValue.h:151
-
uint16_t max_size() const
Returns the max size in bytes.
Definition: NimBLEAttValue.h:142
-
bool setValue(const T &s)
Template to set value to the value of <type>val.
Definition: NimBLEAttValue.h:227
+
1/*
+
2 * Copyright 2020-2024 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_ATTVALUE_H
+
19#define NIMBLE_CPP_ATTVALUE_H
+
20#include "nimconfig.h"
+
21#if defined(CONFIG_BT_ENABLED)
+
22
+
23# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
+
24# include <Arduino.h>
+
25# endif
+
26
+
27# include "NimBLELog.h"
+
28# include <string>
+
29# include <vector>
+
30# include <ctime>
+
31# include <cstring>
+
32# include <cstdint>
+
33
+
34# ifndef CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
35# define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED 0
+
36# endif
+
37
+
38# ifndef BLE_ATT_ATTR_MAX_LEN
+
39# define BLE_ATT_ATTR_MAX_LEN 512
+
40# endif
+
41
+
42# if !defined(CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH)
+
43# define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH 20
+
44# elif CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH > BLE_ATT_ATTR_MAX_LEN
+
45# error CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH cannot be larger than 512 (BLE_ATT_ATTR_MAX_LEN)
+
46# elif CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH < 1
+
47# error CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH cannot be less than 1; Range = 1 : 512
+
48# endif
+
49
+
50/* Used to determine if the type passed to a template has a data() and size() method. */
+
51template <typename T, typename = void, typename = void>
+
52struct Has_data_size : std::false_type {};
+
53
+
54template <typename T>
+
55struct Has_data_size<T, decltype(void(std::declval<T&>().data())), decltype(void(std::declval<T&>().size()))>
+
56 : std::true_type {};
+
57
+
58/* Used to determine if the type passed to a template has a c_str() and length() method. */
+
59template <typename T, typename = void, typename = void>
+
60struct Has_c_str_length : std::false_type {};
+
61
+
62template <typename T>
+
63struct Has_c_str_length<T, decltype(void(std::declval<T&>().c_str())), decltype(void(std::declval<T&>().length()))>
+
64 : std::true_type {};
+
65
+
+ +
73 uint8_t* m_attr_value{};
+
74 uint16_t m_attr_max_len{};
+
75 uint16_t m_attr_len{};
+
76 uint16_t m_capacity{};
+
77# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
78 time_t m_timestamp{};
+
79# endif
+
80 void deepCopy(const NimBLEAttValue& source);
+
81
+
82 public:
+
88 NimBLEAttValue(uint16_t init_len = CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
+
89
+
96 NimBLEAttValue(const uint8_t* value, uint16_t len, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
+
97
+
+
103 NimBLEAttValue(const char* value, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
104 : NimBLEAttValue((uint8_t*)value, (uint16_t)strlen(value), max_len) {}
+
+
105
+
+
111 NimBLEAttValue(std::initializer_list<uint8_t> list, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
112 : NimBLEAttValue(list.begin(), list.size(), max_len) {}
+
+
113
+
+
119 NimBLEAttValue(const std::string str, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
120 : NimBLEAttValue(reinterpret_cast<const uint8_t*>(&str[0]), str.length(), max_len) {}
+
+
121
+
+
127 NimBLEAttValue(const std::vector<uint8_t> vec, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
128 : NimBLEAttValue(&vec[0], vec.size(), max_len) {}
+
+
129
+
130# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
+
136 NimBLEAttValue(const String str, uint16_t max_len = BLE_ATT_ATTR_MAX_LEN)
+
137 : NimBLEAttValue(reinterpret_cast<const uint8_t*>(str.c_str()), str.length(), max_len) {}
+
138# endif
+
139
+
141 NimBLEAttValue(const NimBLEAttValue& source) { deepCopy(source); }
+
142
+
144 NimBLEAttValue(NimBLEAttValue&& source) { *this = std::move(source); }
+
145
+ +
148
+
150 uint16_t max_size() const { return m_attr_max_len; }
+
151
+
153 uint16_t capacity() const { return m_capacity; }
+
154
+
156 uint16_t length() const { return m_attr_len; }
+
157
+
159 uint16_t size() const { return m_attr_len; }
+
160
+
162 const uint8_t* data() const { return m_attr_value; }
+
163
+
165 const char* c_str() const { return reinterpret_cast<const char*>(m_attr_value); }
+
166
+
168 const uint8_t* begin() const { return m_attr_value; }
+
169
+
171 const uint8_t* end() const { return m_attr_value + m_attr_len; }
+
172
+
173# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
175 time_t getTimeStamp() const { return m_timestamp; }
+
176
+
178 void setTimeStamp() { m_timestamp = time(nullptr); }
+
179
+
184 void setTimeStamp(time_t t) { m_timestamp = t; }
+
185# else
+
186 time_t getTimeStamp() const { return 0; }
+
187 void setTimeStamp() {}
+
188 void setTimeStamp(time_t t) {}
+
189# endif
+
190
+
197 bool setValue(const uint8_t* value, uint16_t len);
+
198
+
+
204 bool setValue(const char* s, uint16_t len = 0) {
+
205 if (len == 0) {
+
206 len = strlen(s);
+
207 }
+
208 return setValue(reinterpret_cast<const uint8_t*>(s), len);
+
209 }
+
+
210
+
211 const NimBLEAttValue& getValue(time_t* timestamp = nullptr) const {
+
212 if (timestamp != nullptr) {
+
213# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
214 *timestamp = m_timestamp;
+
215# else
+
216 *timestamp = 0;
+
217# endif
+
218 }
+
219 return *this;
+
220 }
+
221
+
228 NimBLEAttValue& append(const uint8_t* value, uint16_t len);
+
229
+
230 /*********************** Template Functions ************************/
+
231
+
232# if __cplusplus < 201703L
+
239 template <typename T>
+
240# ifdef _DOXYGEN_
+
241 bool
+
242# else
+
243 typename std::enable_if<!std::is_pointer<T>::value && !Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
244# endif
+
+
245 setValue(const T& v) {
+
246 return setValue(reinterpret_cast<const uint8_t*>(&v), sizeof(T));
+
247 }
+
+
248
+
254 template <typename T>
+
255# ifdef _DOXYGEN_
+
256 bool
+
257# else
+
258 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
259# endif
+
+
260 setValue(const T& s) {
+
261 return setValue(reinterpret_cast<const uint8_t*>(s.c_str()), s.length());
+
262 }
+
+
263
+
269 template <typename T>
+
270# ifdef _DOXYGEN_
+
271 bool
+
272# else
+
273 typename std::enable_if<Has_data_size<T>::value, bool>::type
+
274# endif
+
+
275 setValue(const T& v) {
+
276 return setValue(reinterpret_cast<const uint8_t*>(v.data()), v.size());
+
277 }
+
+
278
+
279# else
+
285 template <typename T>
+
286 typename std::enable_if<!std::is_pointer<T>::value, bool>::type setValue(const T& s) {
+
287 if constexpr (Has_data_size<T>::value) {
+
288 return setValue(reinterpret_cast<const uint8_t*>(s.data()), s.size());
+
289 } else if constexpr (Has_c_str_length<T>::value) {
+
290 return setValue(reinterpret_cast<const uint8_t*>(s.c_str()), s.length());
+
291 } else {
+
292 return setValue(reinterpret_cast<const uint8_t*>(&s), sizeof(s));
+
293 }
+
294 }
+
295# endif
+
296
+
307 template <typename T>
+
+
308 T getValue(time_t* timestamp = nullptr, bool skipSizeCheck = false) const {
+
309 if (!skipSizeCheck && size() < sizeof(T)) {
+
310 return T();
+
311 }
+
312 if (timestamp != nullptr) {
+
313# if CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED
+
314 *timestamp = m_timestamp;
+
315# else
+
316 *timestamp = 0;
+
317# endif
+
318 }
+
319
+
320 return *(reinterpret_cast<const T*>(m_attr_value));
+
321 }
+
+
322
+
323 /*********************** Operators ************************/
+
324
+
+
326 uint8_t operator[](int pos) const {
+
327 NIMBLE_CPP_DEBUG_ASSERT(pos < m_attr_len);
+
328 return m_attr_value[pos];
+
329 }
+
+
330
+
332 operator std::vector<uint8_t>() const { return std::vector<uint8_t>(m_attr_value, m_attr_value + m_attr_len); }
+
333
+
335 operator std::string() const { return std::string(reinterpret_cast<char*>(m_attr_value), m_attr_len); }
+
336
+
338 operator const uint8_t*() const { return m_attr_value; }
+
339
+
341 NimBLEAttValue& operator+=(const NimBLEAttValue& source) { return append(source.data(), source.size()); }
+
342
+
+
344 NimBLEAttValue& operator=(const std::string& source) {
+
345 setValue(reinterpret_cast<const uint8_t*>(&source[0]), source.size());
+
346 return *this;
+
347 }
+
+
348
+ +
351
+ +
354
+
+
356 bool operator==(const NimBLEAttValue& source) const {
+
357 return (m_attr_len == source.size()) ? memcmp(m_attr_value, source.data(), m_attr_len) == 0 : false;
+
358 }
+
+
359
+
361 bool operator!=(const NimBLEAttValue& source) const { return !(*this == source); }
+
362
+
363# ifdef NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
+
365 operator String() const { return String(reinterpret_cast<char*>(m_attr_value)); }
+
366# endif
+
367};
+
+
368
+
369#endif /*(CONFIG_BT_ENABLED) */
+
370#endif /* NIMBLE_CPP_ATTVALUE_H_ */
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
+
NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a std::vector<uint8_t>.
Definition NimBLEAttValue.h:127
+
~NimBLEAttValue()
Destructor.
Definition NimBLEAttValue.cpp:51
+
uint16_t length() const
Returns the current length of the value in bytes.
Definition NimBLEAttValue.h:156
+
NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a const char string.
Definition NimBLEAttValue.h:103
+
uint16_t capacity() const
Returns the currently allocated capacity in bytes.
Definition NimBLEAttValue.h:153
+
const char * c_str() const
Returns a pointer to the internal buffer of the value as a const char*.
Definition NimBLEAttValue.h:165
+
NimBLEAttValue(const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initial value from a std::string.
Definition NimBLEAttValue.h:119
+
bool setValue(const uint8_t *value, uint16_t len)
Set the value from a buffer.
Definition NimBLEAttValue.cpp:96
+
NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Construct with an initializer list.
Definition NimBLEAttValue.h:111
+
NimBLEAttValue & operator+=(const NimBLEAttValue &source)
Operator; Append another NimBLEAttValue.
Definition NimBLEAttValue.h:341
+
NimBLEAttValue(const NimBLEAttValue &source)
Copy constructor.
Definition NimBLEAttValue.h:141
+
NimBLEAttValue(NimBLEAttValue &&source)
Move constructor.
Definition NimBLEAttValue.h:144
+
const uint8_t * data() const
Returns a pointer to the internal buffer of the value.
Definition NimBLEAttValue.h:162
+
uint8_t operator[](int pos) const
Subscript operator.
Definition NimBLEAttValue.h:326
+
const uint8_t * end() const
Iterator end.
Definition NimBLEAttValue.h:171
+
bool setValue(const T &v)
Template to set value to the value of <type>val.
Definition NimBLEAttValue.h:245
+
NimBLEAttValue & append(const uint8_t *value, uint16_t len)
Append data to the value.
Definition NimBLEAttValue.cpp:103
+
uint16_t size() const
Returns the current size of the value in bytes.
Definition NimBLEAttValue.h:159
+
bool setValue(const char *s, uint16_t len=0)
Set value to the value of const char*.
Definition NimBLEAttValue.h:204
+
T getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false) const
Template to return the value as a <type>.
Definition NimBLEAttValue.h:308
+
uint16_t max_size() const
Returns the max size in bytes.
Definition NimBLEAttValue.h:150
+
bool setValue(const T &s)
Template to set value to the value of <type>val.
Definition NimBLEAttValue.h:260
+
bool operator==(const NimBLEAttValue &source) const
Equality operator.
Definition NimBLEAttValue.h:356
+
NimBLEAttValue & operator=(const std::string &source)
Operator; Set the value from a std::string source.
Definition NimBLEAttValue.h:344
+
const uint8_t * begin() const
Iterator begin.
Definition NimBLEAttValue.h:168
+
bool operator!=(const NimBLEAttValue &source) const
Inequality operator.
Definition NimBLEAttValue.h:361
-
#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH
Uncomment to set the default allocation size (bytes) for each attribute if not specified when the con...
Definition: nimconfig.h:56
+
#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH
Uncomment to set the default allocation size (bytes) for each attribute if not specified when the con...
Definition nimconfig.h:68
diff --git a/_nim_b_l_e_attribute_8h_source.html b/_nim_b_l_e_attribute_8h_source.html new file mode 100644 index 0000000..1e2fad0 --- /dev/null +++ b/_nim_b_l_e_attribute_8h_source.html @@ -0,0 +1,161 @@ + + + + + + + +esp-nimble-cpp: /github/workspace/src/NimBLEAttribute.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
esp-nimble-cpp 2.0.0 +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NimBLEAttribute.h
+
+
+
1/*
+
2 * Copyright 2020-2024 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_ATTRIBUTE_H_
+
19#define NIMBLE_CPP_ATTRIBUTE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && (defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) || defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL))
+
23
+
24# include "NimBLEUUID.h"
+
25
+
+ +
30 public:
+
35 const NimBLEUUID& getUUID() const { return m_uuid; }
+
36
+
40 uint16_t getHandle() const { return m_handle; };
+
41
+
42 protected:
+
48 NimBLEAttribute(const NimBLEUUID& uuid, uint16_t handle) : m_uuid{uuid}, m_handle{handle} {}
+
49
+
53 ~NimBLEAttribute() = default;
+
54
+
55 const NimBLEUUID m_uuid{};
+
56 uint16_t m_handle{0};
+
57};
+
+
58
+
59#endif // CONFIG_BT_ENABLED && (CONFIG_BT_NIMBLE_ROLE_PERIPHERAL || CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
60#endif // NIMBLE_CPP_ATTRIBUTE_H_
+
A base class for BLE attributes.
Definition NimBLEAttribute.h:29
+
NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)
Construct a new NimBLEAttribute object.
Definition NimBLEAttribute.h:48
+
uint16_t getHandle() const
Get the handle of the attribute.
Definition NimBLEAttribute.h:40
+
~NimBLEAttribute()=default
Destroy the NimBLEAttribute object.
+
const NimBLEUUID & getUUID() const
Get the UUID of the attribute.
Definition NimBLEAttribute.h:35
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
+ +
+
+ + + + diff --git a/_nim_b_l_e_beacon_8h_source.html b/_nim_b_l_e_beacon_8h_source.html index 0f3ebfa..1ce7e81 100644 --- a/_nim_b_l_e_beacon_8h_source.html +++ b/_nim_b_l_e_beacon_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEBeacon.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,84 +81,105 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_beacon_8h_source.html','');
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEBeacon.h
+
NimBLEBeacon.h
-
1 /*
-
2  * NimBLEBeacon2.h
-
3  *
-
4  * Created: on March 15 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEBeacon2.h
-
10  *
-
11  * Created on: Jan 4, 2018
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef MAIN_NIMBLEBEACON_H_
-
16 #define MAIN_NIMBLEBEACON_H_
-
17 
-
18 #include "NimBLEUUID.h"
-
24 class NimBLEBeacon {
-
25 private:
-
26  struct {
-
27  uint16_t manufacturerId;
-
28  uint8_t subType;
-
29  uint8_t subTypeLength;
-
30  uint8_t proximityUUID[16];
-
31  uint16_t major;
-
32  uint16_t minor;
-
33  int8_t signalPower;
-
34  } __attribute__((packed)) m_beaconData;
-
35 public:
-
36  NimBLEBeacon();
-
37  std::string getData();
-
38  uint16_t getMajor();
-
39  uint16_t getMinor();
-
40  uint16_t getManufacturerId();
- -
42  int8_t getSignalPower();
-
43  void setData(const std::string &data);
-
44  void setMajor(uint16_t major);
-
45  void setMinor(uint16_t minor);
-
46  void setManufacturerId(uint16_t manufacturerId);
-
47  void setProximityUUID(const NimBLEUUID &uuid);
-
48  void setSignalPower(int8_t signalPower);
-
49 }; // NimBLEBeacon
-
50 
-
51 #endif /* MAIN_NIMBLEBEACON_H_ */
-
Representation of a beacon. See:
Definition: NimBLEBeacon.h:24
-
void setManufacturerId(uint16_t manufacturerId)
Set the manufacturer ID.
Definition: NimBLEBeacon.cpp:122
-
void setMinor(uint16_t minor)
Set the minor value.
Definition: NimBLEBeacon.cpp:131
-
uint16_t getMinor()
Get the minor value being advertised.
Definition: NimBLEBeacon.cpp:72
-
int8_t getSignalPower()
Get the signal power being advertised.
Definition: NimBLEBeacon.cpp:90
-
void setProximityUUID(const NimBLEUUID &uuid)
Set the proximity UUID.
Definition: NimBLEBeacon.cpp:140
-
uint16_t getManufacturerId()
Get the manufacturer ID being advertised.
Definition: NimBLEBeacon.cpp:63
-
void setData(const std::string &data)
Set the raw data for the beacon record.
Definition: NimBLEBeacon.cpp:99
-
NimBLEUUID getProximityUUID()
Get the proximity UUID being advertised.
Definition: NimBLEBeacon.cpp:81
-
uint16_t getMajor()
Get the major value being advertised.
Definition: NimBLEBeacon.cpp:54
-
void setMajor(uint16_t major)
Set the major value.
Definition: NimBLEBeacon.cpp:113
-
NimBLEBeacon()
Construct a default beacon object.
Definition: NimBLEBeacon.cpp:30
-
std::string getData()
Retrieve the data that is being advertised.
Definition: NimBLEBeacon.cpp:45
-
void setSignalPower(int8_t signalPower)
Set the signal power.
Definition: NimBLEBeacon.cpp:153
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_BEACON_H_
+
19#define NIMBLE_CPP_BEACON_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
23
+
24class NimBLEUUID;
+
25
+
26# include <cstdint>
+
27
+
+ +
34 public:
+
35 struct BeaconData {
+
36 uint16_t manufacturerId{0x4c00};
+
37 uint8_t subType{0x02};
+
38 uint8_t subTypeLength{0x15};
+
39 uint8_t proximityUUID[16]{};
+
40 uint16_t major{};
+
41 uint16_t minor{};
+
42 int8_t signalPower{};
+
43 } __attribute__((packed));
+
44
+
45 const BeaconData& getData();
+
46 uint16_t getMajor();
+
47 uint16_t getMinor();
+
48 uint16_t getManufacturerId();
+ +
50 int8_t getSignalPower();
+
51 void setData(const uint8_t* data, uint8_t length);
+
52 void setData(const BeaconData& data);
+
53 void setMajor(uint16_t major);
+
54 void setMinor(uint16_t minor);
+
55 void setManufacturerId(uint16_t manufacturerId);
+
56 void setProximityUUID(const NimBLEUUID& uuid);
+
57 void setSignalPower(int8_t signalPower);
+
58
+
59 private:
+
60 BeaconData m_beaconData;
+
61}; // NimBLEBeacon
+
+
62
+
63#endif // NIMBLE_CPP_BEACON_H_
+
64#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
Representation of a beacon. See:
Definition NimBLEBeacon.h:33
+
void setManufacturerId(uint16_t manufacturerId)
Set the manufacturer ID.
Definition NimBLEBeacon.cpp:110
+
void setMinor(uint16_t minor)
Set the minor value.
Definition NimBLEBeacon.cpp:118
+
uint16_t getMinor()
Get the minor value being advertised.
Definition NimBLEBeacon.cpp:57
+
int8_t getSignalPower()
Get the signal power being advertised.
Definition NimBLEBeacon.cpp:73
+
void setProximityUUID(const NimBLEUUID &uuid)
Set the proximity UUID.
Definition NimBLEBeacon.cpp:126
+
uint16_t getManufacturerId()
Get the manufacturer ID being advertised.
Definition NimBLEBeacon.cpp:49
+
const BeaconData & getData()
Retrieve the data that is being advertised.
Definition NimBLEBeacon.cpp:33
+
NimBLEUUID getProximityUUID()
Get the proximity UUID being advertised.
Definition NimBLEBeacon.cpp:65
+
uint16_t getMajor()
Get the major value being advertised.
Definition NimBLEBeacon.cpp:41
+
void setData(const uint8_t *data, uint8_t length)
Set the beacon data.
Definition NimBLEBeacon.cpp:82
+
void setMajor(uint16_t major)
Set the major value.
Definition NimBLEBeacon.cpp:102
+
void setSignalPower(int8_t signalPower)
Set the signal power.
Definition NimBLEBeacon.cpp:137
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
+
diff --git a/_nim_b_l_e_characteristic_8h_source.html b/_nim_b_l_e_characteristic_8h_source.html index ecaf25e..95f322b 100644 --- a/_nim_b_l_e_characteristic_8h_source.html +++ b/_nim_b_l_e_characteristic_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLECharacteristic.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,243 +81,256 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_characteristic_8h_source.ht
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLECharacteristic.h
+
NimBLECharacteristic.h
-
1 /*
-
2  * NimBLECharacteristic.h
-
3  *
-
4  * Created: on March 3, 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  * BLECharacteristic.h
-
9  *
-
10  * Created on: Jun 22, 2017
-
11  * Author: kolban
-
12  */
-
13 
-
14 #ifndef MAIN_NIMBLECHARACTERISTIC_H_
-
15 #define MAIN_NIMBLECHARACTERISTIC_H_
-
16 #include "nimconfig.h"
-
17 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
18 
-
19 #if defined(CONFIG_NIMBLE_CPP_IDF)
-
20 #include "host/ble_hs.h"
-
21 #else
-
22 #include "nimble/nimble/host/include/host/ble_hs.h"
-
23 #endif
-
24 
-
25 /**** FIX COMPILATION ****/
-
26 #undef min
-
27 #undef max
-
28 /**************************/
-
29 
-
30 typedef enum {
-
31  READ = BLE_GATT_CHR_F_READ,
-
32  READ_ENC = BLE_GATT_CHR_F_READ_ENC,
-
33  READ_AUTHEN = BLE_GATT_CHR_F_READ_AUTHEN,
-
34  READ_AUTHOR = BLE_GATT_CHR_F_READ_AUTHOR,
-
35  WRITE = BLE_GATT_CHR_F_WRITE,
-
36  WRITE_NR = BLE_GATT_CHR_F_WRITE_NO_RSP,
-
37  WRITE_ENC = BLE_GATT_CHR_F_WRITE_ENC,
-
38  WRITE_AUTHEN = BLE_GATT_CHR_F_WRITE_AUTHEN,
-
39  WRITE_AUTHOR = BLE_GATT_CHR_F_WRITE_AUTHOR,
-
40  BROADCAST = BLE_GATT_CHR_F_BROADCAST,
-
41  NOTIFY = BLE_GATT_CHR_F_NOTIFY,
-
42  INDICATE = BLE_GATT_CHR_F_INDICATE
-
43 } NIMBLE_PROPERTY;
-
44 
-
45 #include "NimBLEService.h"
-
46 #include "NimBLEDescriptor.h"
-
47 #include "NimBLEAttValue.h"
-
48 
-
49 #include <string>
-
50 #include <vector>
-
51 
-
52 class NimBLEService;
-
53 class NimBLEDescriptor;
- -
55 
-
56 
- -
64 public:
-
65  NimBLECharacteristic(const char* uuid,
-
66  uint16_t properties =
-
67  NIMBLE_PROPERTY::READ |
-
68  NIMBLE_PROPERTY::WRITE,
-
69  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN,
-
70  NimBLEService* pService = nullptr);
-
71  NimBLECharacteristic(const NimBLEUUID &uuid,
-
72  uint16_t properties =
-
73  NIMBLE_PROPERTY::READ |
-
74  NIMBLE_PROPERTY::WRITE,
-
75  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN,
-
76  NimBLEService* pService = nullptr);
-
77 
- -
79 
-
80  uint16_t getHandle();
- -
82  std::string toString();
-
83  void indicate();
-
84  void indicate(const uint8_t* value, size_t length);
-
85  void indicate(const std::vector<uint8_t>& value);
-
86  void notify(bool is_notification = true);
-
87  void notify(const uint8_t* value, size_t length, bool is_notification = true);
-
88  void notify(const std::vector<uint8_t>& value, bool is_notification = true);
-
89  size_t getSubscribedCount();
-
90  void addDescriptor(NimBLEDescriptor *pDescriptor);
-
91  NimBLEDescriptor* getDescriptorByUUID(const char* uuid);
- -
93  NimBLEDescriptor* getDescriptorByHandle(uint16_t handle);
-
94  void removeDescriptor(NimBLEDescriptor *pDescriptor, bool deleteDsc = false);
- -
96  uint16_t getProperties();
-
97  NimBLEAttValue getValue(time_t *timestamp = nullptr);
-
98  size_t getDataLength();
-
99  void setValue(const uint8_t* data, size_t size);
-
100  void setValue(const std::vector<uint8_t>& vec);
- -
102  NimBLEDescriptor* createDescriptor(const char* uuid,
-
103  uint32_t properties =
-
104  NIMBLE_PROPERTY::READ |
-
105  NIMBLE_PROPERTY::WRITE,
-
106  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);;
- -
108  uint32_t properties =
-
109  NIMBLE_PROPERTY::READ |
-
110  NIMBLE_PROPERTY::WRITE,
-
111  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
112 
- -
114 
-
115 
-
116  /*********************** Template Functions ************************/
-
117 
-
122  template<typename T>
-
123  void setValue(const T &s) { m_value.setValue<T>(s); }
-
124 
-
133  template<typename T>
-
134  T getValue(time_t *timestamp = nullptr, bool skipSizeCheck = false) {
-
135  return m_value.getValue<T>(timestamp, skipSizeCheck);
-
136  }
-
137 
-
145  template<typename T>
-
146 #ifdef _DOXYGEN_
-
147  void
-
148 #else
-
149  typename std::enable_if<Has_c_str_len<T>::value, void>::type
-
150 #endif
-
151  notify(const T& value, bool is_notification = true) {
-
152  notify((uint8_t*)value.c_str(), value.length(), is_notification);
-
153  }
-
154 
-
161  template<typename T>
-
162 #ifdef _DOXYGEN_
-
163  void
-
164 #else
-
165  typename std::enable_if<Has_c_str_len<T>::value, void>::type
-
166 #endif
-
167  indicate(const T& value) {
-
168  indicate((uint8_t*)value.c_str(), value.length());
-
169  }
-
170 
-
171 private:
-
172 
-
173  friend class NimBLEServer;
-
174  friend class NimBLEService;
-
175 
-
176  void setService(NimBLEService *pService);
-
177  void setSubscribe(struct ble_gap_event *event);
-
178  static int handleGapEvent(uint16_t conn_handle, uint16_t attr_handle,
-
179  struct ble_gatt_access_ctxt *ctxt, void *arg);
-
180 
-
181  NimBLEUUID m_uuid;
-
182  uint16_t m_handle;
-
183  uint16_t m_properties;
-
184  NimBLECharacteristicCallbacks* m_pCallbacks;
-
185  NimBLEService* m_pService;
-
186  NimBLEAttValue m_value;
-
187  std::vector<NimBLEDescriptor*> m_dscVec;
-
188  uint8_t m_removed;
-
189 
-
190  std::vector<std::pair<uint16_t, uint16_t>> m_subscribedVec;
-
191 }; // NimBLECharacteristic
-
192 
-
193 
- -
202 public:
-
203 
-
209  typedef enum {
-
210  SUCCESS_INDICATE,
-
211  SUCCESS_NOTIFY,
-
212  ERROR_INDICATE_DISABLED,
-
213  ERROR_NOTIFY_DISABLED,
-
214  ERROR_GATT,
-
215  ERROR_NO_CLIENT,
-
216  ERROR_INDICATE_TIMEOUT,
-
217  ERROR_INDICATE_FAILURE
-
218  }Status;
-
219 
- -
221  virtual void onRead(NimBLECharacteristic* pCharacteristic);
-
222  virtual void onRead(NimBLECharacteristic* pCharacteristic, ble_gap_conn_desc* desc);
-
223  virtual void onWrite(NimBLECharacteristic* pCharacteristic);
-
224  virtual void onWrite(NimBLECharacteristic* pCharacteristic, ble_gap_conn_desc* desc);
-
225  virtual void onNotify(NimBLECharacteristic* pCharacteristic);
-
226  virtual void onStatus(NimBLECharacteristic* pCharacteristic, Status s, int code);
-
227  virtual void onSubscribe(NimBLECharacteristic* pCharacteristic, ble_gap_conn_desc* desc, uint16_t subValue);
-
228 };
-
229 
-
230 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
-
231 #endif /*MAIN_NIMBLECHARACTERISTIC_H_*/
-
A specialized container class to hold BLE attribute values.
Definition: NimBLEAttValue.h:61
-
bool setValue(const uint8_t *value, uint16_t len)
Set the value from a buffer.
Definition: NimBLEAttValue.h:380
-
const uint8_t * getValue(time_t *timestamp)
Get a pointer to the value buffer with timestamp.
Definition: NimBLEAttValue.h:369
-
Callbacks that can be associated with a BLE characteristic to inform of events.
Definition: NimBLECharacteristic.h:201
-
Status
An enum to provide the callback the status of the notification/indication, implemented for backward c...
Definition: NimBLECharacteristic.h:209
-
virtual void onNotify(NimBLECharacteristic *pCharacteristic)
Callback function to support a Notify request.
Definition: NimBLECharacteristic.cpp:628
-
virtual void onSubscribe(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc, uint16_t subValue)
Callback function called when a client changes subscription status.
Definition: NimBLECharacteristic.cpp:654
-
virtual void onRead(NimBLECharacteristic *pCharacteristic)
Callback function to support a read request.
Definition: NimBLECharacteristic.cpp:594
-
virtual void onWrite(NimBLECharacteristic *pCharacteristic)
Callback function to support a write request.
Definition: NimBLECharacteristic.cpp:611
-
virtual void onStatus(NimBLECharacteristic *pCharacteristic, Status s, int code)
Callback function to support a Notify/Indicate Status report.
Definition: NimBLECharacteristic.cpp:639
-
The model of a BLE Characteristic.
Definition: NimBLECharacteristic.h:63
-
NimBLEDescriptor * getDescriptorByHandle(uint16_t handle)
Return the BLE Descriptor for the given handle.
Definition: NimBLECharacteristic.cpp:185
-
NimBLECharacteristicCallbacks * getCallbacks()
Get the callback handlers for this characteristic.
Definition: NimBLECharacteristic.cpp:535
-
NimBLEDescriptor * createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Create a new BLE Descriptor associated with this characteristic.
Definition: NimBLECharacteristic.cpp:76
-
NimBLEUUID getUUID()
Get the UUID of the characteristic.
Definition: NimBLECharacteristic.cpp:230
-
void setCallbacks(NimBLECharacteristicCallbacks *pCallbacks)
Set the callback handlers for this characteristic.
Definition: NimBLECharacteristic.cpp:524
-
void removeDescriptor(NimBLEDescriptor *pDescriptor, bool deleteDsc=false)
Remove a descriptor from the characteristic.
Definition: NimBLECharacteristic.cpp:133
-
void indicate()
Send an indication.
Definition: NimBLECharacteristic.cpp:389
-
std::string toString()
Return a string representation of the characteristic.
Definition: NimBLECharacteristic.cpp:571
-
size_t getDataLength()
Retrieve the the current data length of the characteristic.
Definition: NimBLECharacteristic.cpp:252
-
NimBLEAttValue getValue(time_t *timestamp=nullptr)
Retrieve the current value of the characteristic.
Definition: NimBLECharacteristic.cpp:239
-
uint16_t getProperties()
Get the properties of the characteristic.
Definition: NimBLECharacteristic.cpp:208
-
void setValue(const uint8_t *data, size_t size)
Set the value of the characteristic from a data buffer .
Definition: NimBLECharacteristic.cpp:545
-
T getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)
Template to convert the characteristic data to <type>.
Definition: NimBLECharacteristic.h:134
-
~NimBLECharacteristic()
Destructor.
Definition: NimBLECharacteristic.cpp:62
-
NimBLEService * getService()
Get the service associated with this characteristic.
Definition: NimBLECharacteristic.cpp:216
-
NimBLECharacteristic(const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)
Construct a characteristic.
Definition: NimBLECharacteristic.cpp:36
-
void notify(bool is_notification=true)
Send a notification or indication.
Definition: NimBLECharacteristic.cpp:417
-
void setValue(const T &s)
Template to set the characteristic value to <type>val.
Definition: NimBLECharacteristic.h:123
-
NimBLEDescriptor * getDescriptorByUUID(const char *uuid)
Return the BLE Descriptor for the given UUID.
Definition: NimBLECharacteristic.cpp:161
-
uint16_t getHandle()
Get the handle of the characteristic.
Definition: NimBLECharacteristic.cpp:199
-
size_t getSubscribedCount()
Get the number of clients subscribed to the characteristic.
Definition: NimBLECharacteristic.cpp:334
-
void notify(const T &value, bool is_notification=true)
Template to send a notification from a class type that has a c_str() and length() method.
Definition: NimBLECharacteristic.h:151
-
void addDescriptor(NimBLEDescriptor *pDescriptor)
Add a descriptor to the characteristic.
Definition: NimBLECharacteristic.cpp:107
-
void indicate(const T &value)
Template to send an indication from a class type that has a c_str() and length() method.
Definition: NimBLECharacteristic.h:167
-
A model of a BLE descriptor.
Definition: NimBLEDescriptor.h:35
-
The model of a BLE server.
Definition: NimBLEServer.h:46
-
The model of a BLE service.
Definition: NimBLEService.h:34
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_CHARACTERISTIC_H_
+
19#define NIMBLE_CPP_CHARACTERISTIC_H_
+
20#include "nimconfig.h"
+
21#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
22
+ +
24class NimBLEService;
+ + +
27class NimBLE2904;
+
28
+
29# include "NimBLELocalValueAttribute.h"
+
30
+
31# include <string>
+
32# include <vector>
+
33
+
+
40class NimBLECharacteristic : public NimBLELocalValueAttribute {
+
41 public:
+
42 NimBLECharacteristic(const char* uuid,
+
43 uint16_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
44 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN,
+
45 NimBLEService* pService = nullptr);
+ +
47 uint16_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
48 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN,
+
49 NimBLEService* pService = nullptr);
+
50
+ +
52
+
53 std::string toString() const;
+
54 void addDescriptor(NimBLEDescriptor* pDescriptor);
+
55 void removeDescriptor(NimBLEDescriptor* pDescriptor, bool deleteDsc = false);
+
56 uint16_t getProperties() const;
+ +
58 bool indicate(uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
59 bool indicate(const uint8_t* value, size_t length, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
60 bool notify(uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
61 bool notify(const uint8_t* value, size_t length, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
62
+
63 NimBLEDescriptor* createDescriptor(const char* uuid,
+
64 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
65 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN);
+ +
67 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
68 uint16_t maxLen = BLE_ATT_ATTR_MAX_LEN);
+ +
70 NimBLEDescriptor* getDescriptorByUUID(const char* uuid) const;
+ +
72 NimBLEDescriptor* getDescriptorByHandle(uint16_t handle) const;
+ +
74
+ +
76
+
77 /*********************** Template Functions ************************/
+
78
+
79# if __cplusplus < 201703L
+
86 template <typename T>
+
87# ifdef _DOXYGEN_
+
88 bool
+
89# else
+
90 typename std::enable_if<!std::is_pointer<T>::value && !Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
91# endif
+
+
92 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
93 return notify(reinterpret_cast<const uint8_t*>(&v), sizeof(T), connHandle);
+
94 }
+
+
95
+
101 template <typename T>
+
102# ifdef _DOXYGEN_
+
103 bool
+
104# else
+
105 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
106# endif
+
+
107 notify(const T& s, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
108 return notify(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), connHandle);
+
109 }
+
+
110
+
116 template <typename T>
+
117# ifdef _DOXYGEN_
+
118 bool
+
119# else
+
120 typename std::enable_if<Has_data_size<T>::value, bool>::type
+
121# endif
+
+
122 notify(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
123 return notify(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
+
124 }
+
+
125
+
132 template <typename T>
+
133# ifdef _DOXYGEN_
+
134 bool
+
135# else
+
136 typename std::enable_if<!std::is_pointer<T>::value && !Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
137# endif
+
+
138 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
139 return indicate(reinterpret_cast<const uint8_t*>(&v), sizeof(T), connHandle);
+
140 }
+
+
141
+
147 template <typename T>
+
148# ifdef _DOXYGEN_
+
149 bool
+
150# else
+
151 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
152# endif
+
+
153 indicate(const T& s, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
154 return indicate(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), connHandle);
+
155 }
+
+
156
+
162 template <typename T>
+
163# ifdef _DOXYGEN_
+
164 bool
+
165# else
+
166 typename std::enable_if<Has_data_size<T>::value, bool>::type
+
167# endif
+
+
168 indicate(const T& v, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
169 return indicate(reinterpret_cast<const uint8_t*>(v.data()), v.size(), connHandle);
+
170 }
+
+
171
+
172# else
+
173
+
184 template <typename T>
+
185 typename std::enable_if<!std::is_pointer<T>::value, bool>::type notify(const T& value,
+
186 uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
187 if constexpr (Has_data_size<T>::value) {
+
188 return notify(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
+
189 } else if constexpr (Has_c_str_length<T>::value) {
+
190 return notify(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
+
191 } else {
+
192 return notify(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
+
193 }
+
194 }
+
195
+
206 template <typename T>
+
207 typename std::enable_if<!std::is_pointer<T>::value, bool>::type indicate(
+
208 const T& value, uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const {
+
209 if constexpr (Has_data_size<T>::value) {
+
210 return indicate(reinterpret_cast<const uint8_t*>(value.data()), value.size(), connHandle);
+
211 } else if constexpr (Has_c_str_length<T>::value) {
+
212 return indicate(reinterpret_cast<const uint8_t*>(value.c_str()), value.length(), connHandle);
+
213 } else {
+
214 return indicate(reinterpret_cast<const uint8_t*>(&value), sizeof(value), connHandle);
+
215 }
+
216 }
+
217# endif
+
218
+
219 private:
+
220 friend class NimBLEServer;
+
221 friend class NimBLEService;
+
222
+
223 void setService(NimBLEService* pService);
+
224 void readEvent(NimBLEConnInfo& connInfo) override;
+
225 void writeEvent(const uint8_t* val, uint16_t len, NimBLEConnInfo& connInfo) override;
+
226 bool sendValue(const uint8_t* value,
+
227 size_t length,
+
228 bool is_notification = true,
+
229 uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const;
+
230
+
231 NimBLECharacteristicCallbacks* m_pCallbacks{nullptr};
+
232 NimBLEService* m_pService{nullptr};
+
233 std::vector<NimBLEDescriptor*> m_vDescriptors{};
+
234}; // NimBLECharacteristic
+
+
235
+
+ +
244 public:
+ +
246 virtual void onRead(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
+
247 virtual void onWrite(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo);
+
248 virtual void onStatus(NimBLECharacteristic* pCharacteristic, int code);
+
249 virtual void onSubscribe(NimBLECharacteristic* pCharacteristic, NimBLEConnInfo& connInfo, uint16_t subValue);
+
250};
+
+
251
+
252#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
+
253#endif /*NIMBLE_CPP_CHARACTERISTIC_H_*/
+
Descriptor for Characteristic Presentation Format.
Definition NimBLE2904.h:39
+
Callbacks that can be associated with a BLE characteristic to inform of events.
Definition NimBLECharacteristic.h:243
+
virtual void onSubscribe(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo, uint16_t subValue)
Callback function called when a client changes subscription status.
Definition NimBLECharacteristic.cpp:396
+
virtual void onRead(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)
Callback function to support a read request.
Definition NimBLECharacteristic.cpp:362
+
virtual void onStatus(NimBLECharacteristic *pCharacteristic, int code)
Callback function to support a Notify/Indicate Status report.
Definition NimBLECharacteristic.cpp:382
+
virtual void onWrite(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)
Callback function to support a write request.
Definition NimBLECharacteristic.cpp:371
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
uint16_t getProperties() const
Get the properties of the characteristic.
Definition NimBLECharacteristic.cpp:200
+
NimBLEDescriptor * getDescriptorByHandle(uint16_t handle) const
Return the BLE Descriptor for the given handle.
Definition NimBLECharacteristic.cpp:187
+
void setCallbacks(NimBLECharacteristicCallbacks *pCallbacks)
Set the callback handlers for this characteristic.
Definition NimBLECharacteristic.cpp:323
+
void removeDescriptor(NimBLEDescriptor *pDescriptor, bool deleteDsc=false)
Remove a descriptor from the characteristic.
Definition NimBLECharacteristic.cpp:137
+
bool indicate(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a indication with a value from a class that has a c_str() and length() method.
Definition NimBLECharacteristic.h:153
+
NimBLEDescriptor * getDescriptorByUUID(const char *uuid) const
Return the BLE Descriptor for the given UUID.
Definition NimBLECharacteristic.cpp:164
+
~NimBLECharacteristic()
Destructor.
Definition NimBLECharacteristic.cpp:54
+
NimBLEService * getService() const
Get the service that owns this characteristic.
Definition NimBLECharacteristic.cpp:207
+
bool notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a notification with a value from a struct or array.
Definition NimBLECharacteristic.h:92
+
bool indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send an indication with a value from a struct or array.
Definition NimBLECharacteristic.h:138
+
NimBLEDescriptor * createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)
Create a new BLE Descriptor associated with this characteristic.
Definition NimBLECharacteristic.cpp:67
+
bool indicate(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Send an indication.
Definition NimBLECharacteristic.cpp:221
+
bool notify(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Template to send a notification with a value from a class that has a c_str() and length() method.
Definition NimBLECharacteristic.h:107
+
NimBLECharacteristicCallbacks * getCallbacks() const
Get the callback handlers for this characteristic.
Definition NimBLECharacteristic.cpp:334
+
bool notify(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
Send a notification.
Definition NimBLECharacteristic.cpp:243
+
NimBLE2904 * create2904()
Create a Characteristic Presentation Format Descriptor for this characteristic.
Definition NimBLECharacteristic.cpp:95
+
void addDescriptor(NimBLEDescriptor *pDescriptor)
Add a descriptor to the characteristic.
Definition NimBLECharacteristic.cpp:105
+
std::string toString() const
Return a string representation of the characteristic.
Definition NimBLECharacteristic.cpp:342
+
Connection information.
Definition NimBLEConnInfo.h:32
+
A model of a BLE descriptor.
Definition NimBLEDescriptor.h:38
+
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE service.
Definition NimBLEService.h:34
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
@@ -320,7 +338,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_characteristic_8h_source.ht diff --git a/_nim_b_l_e_client_8h_source.html b/_nim_b_l_e_client_8h_source.html index 58b1244..62f9fa8 100644 --- a/_nim_b_l_e_client_8h_source.html +++ b/_nim_b_l_e_client_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEClient.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,203 +81,263 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_client_8h_source.html','');
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEClient.h
+
NimBLEClient.h
-
1 /*
-
2  * NimBLEClient.h
-
3  *
-
4  * Created: on Jan 26 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  * BLEClient.h
-
9  *
-
10  * Created on: Mar 22, 2017
-
11  * Author: kolban
-
12  */
-
13 
-
14 #ifndef MAIN_NIMBLECLIENT_H_
-
15 #define MAIN_NIMBLECLIENT_H_
-
16 
-
17 #include "nimconfig.h"
-
18 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
19 
-
20 #include "NimBLEAddress.h"
-
21 #include "NimBLEUUID.h"
-
22 #include "NimBLEUtils.h"
-
23 #include "NimBLEConnInfo.h"
-
24 #include "NimBLEAttValue.h"
-
25 #include "NimBLEAdvertisedDevice.h"
-
26 #include "NimBLERemoteService.h"
-
27 
-
28 #include <vector>
-
29 #include <string>
-
30 
- - - - -
35 
-
39 class NimBLEClient {
-
40 public:
-
41  bool connect(NimBLEAdvertisedDevice* device, bool deleteAttributes = true);
-
42  bool connect(const NimBLEAddress &address, bool deleteAttributes = true);
-
43  bool connect(bool deleteAttributes = true);
-
44  int disconnect(uint8_t reason = BLE_ERR_REM_USER_CONN_TERM);
- -
46  void setPeerAddress(const NimBLEAddress &address);
-
47  int getRssi();
-
48  std::vector<NimBLERemoteService*>* getServices(bool refresh = false);
-
49  std::vector<NimBLERemoteService*>::iterator begin();
-
50  std::vector<NimBLERemoteService*>::iterator end();
-
51  NimBLERemoteService* getService(const char* uuid);
- -
53  void deleteServices();
-
54  size_t deleteService(const NimBLEUUID &uuid);
-
55  NimBLEAttValue getValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID);
-
56  bool setValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID,
-
57  const NimBLEAttValue &value, bool response = false);
-
58  NimBLERemoteCharacteristic* getCharacteristic(const uint16_t handle);
-
59  bool isConnected();
-
60  void setClientCallbacks(NimBLEClientCallbacks *pClientCallbacks,
-
61  bool deleteCallbacks = true);
-
62  std::string toString();
-
63  uint16_t getConnId();
-
64  uint16_t getMTU();
-
65  bool secureConnection();
-
66  void setConnectTimeout(uint8_t timeout);
-
67  void setConnectionParams(uint16_t minInterval, uint16_t maxInterval,
-
68  uint16_t latency, uint16_t timeout,
-
69  uint16_t scanInterval=16, uint16_t scanWindow=16);
-
70  void updateConnParams(uint16_t minInterval, uint16_t maxInterval,
-
71  uint16_t latency, uint16_t timeout);
-
72  void setDataLen(uint16_t tx_octets);
-
73  bool discoverAttributes();
- -
75  int getLastError();
-
76 #if CONFIG_BT_NIMBLE_EXT_ADV
-
77  void setConnectPhy(uint8_t mask);
-
78 #endif
-
79 
-
80 private:
-
81  NimBLEClient(const NimBLEAddress &peerAddress);
-
82  ~NimBLEClient();
-
83 
-
84  friend class NimBLEDevice;
-
85  friend class NimBLERemoteService;
-
86 
-
87  static int handleGapEvent(struct ble_gap_event *event, void *arg);
-
88  static int serviceDiscoveredCB(uint16_t conn_handle,
-
89  const struct ble_gatt_error *error,
-
90  const struct ble_gatt_svc *service,
-
91  void *arg);
-
92  static void dcTimerCb(ble_npl_event *event);
-
93  bool retrieveServices(const NimBLEUUID *uuid_filter = nullptr);
-
94 
-
95  NimBLEAddress m_peerAddress;
-
96  int m_lastErr;
-
97  uint16_t m_conn_id;
-
98  bool m_connEstablished;
-
99  bool m_deleteCallbacks;
-
100  int32_t m_connectTimeout;
-
101  NimBLEClientCallbacks* m_pClientCallbacks;
-
102  ble_task_data_t* m_pTaskData;
-
103  ble_npl_callout m_dcTimer;
-
104 #if CONFIG_BT_NIMBLE_EXT_ADV
-
105  uint8_t m_phyMask;
-
106 #endif
-
107 
-
108  std::vector<NimBLERemoteService*> m_servicesVector;
-
109 
-
110 private:
-
111  friend class NimBLEClientCallbacks;
-
112  ble_gap_conn_params m_pConnParams;
-
113 
-
114 }; // class NimBLEClient
-
115 
-
116 
- -
121 public:
-
122  virtual ~NimBLEClientCallbacks() {};
-
123 
-
128  virtual void onConnect(NimBLEClient* pClient);
-
129 
-
134  virtual void onDisconnect(NimBLEClient* pClient);
-
135 
-
142  virtual bool onConnParamsUpdateRequest(NimBLEClient* pClient, const ble_gap_upd_params* params);
-
143 
-
148  virtual uint32_t onPassKeyRequest();
-
149 
-
150  /*virtual void onPassKeyNotify(uint32_t pass_key);
-
151  virtual bool onSecurityRequest();*/
-
152 
-
158  virtual void onAuthenticationComplete(ble_gap_conn_desc* desc);
-
159 
-
165  virtual bool onConfirmPIN(uint32_t pin);
-
166 };
-
167 
-
168 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
-
169 #endif /* MAIN_NIMBLECLIENT_H_ */
-
A BLE device address.
Definition: NimBLEAddress.h:39
-
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: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: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: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: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: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
-
A model of a remote BLE service.
Definition: NimBLERemoteService.h:34
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_CLIENT_H_
+
19#define NIMBLE_CPP_CLIENT_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "host/ble_gap.h"
+
26# else
+
27# include "nimble/nimble/host/include/host/ble_gap.h"
+
28# endif
+
29
+
30# include "NimBLEAddress.h"
+
31
+
32# include <stdint.h>
+
33# include <vector>
+
34# include <string>
+
35
+
36class NimBLEAddress;
+
37class NimBLEUUID;
+ + + +
41class NimBLEAttValue;
+ +
43class NimBLEConnInfo;
+
44struct NimBLETaskData;
+
45
+
+ +
50 public:
+
51 bool connect(const NimBLEAdvertisedDevice* device,
+
52 bool deleteAttributes = true,
+
53 bool asyncConnect = false,
+
54 bool exchangeMTU = true);
+
55 bool connect(const NimBLEAddress& address, bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
+
56 bool connect(bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
+
57 bool disconnect(uint8_t reason = BLE_ERR_REM_USER_CONN_TERM);
+
58 bool cancelConnect() const;
+
59 void setSelfDelete(bool deleteOnDisconnect, bool deleteOnConnectFail);
+ +
61 bool setPeerAddress(const NimBLEAddress& address);
+
62 int getRssi() const;
+
63 bool isConnected() const;
+
64 void setClientCallbacks(NimBLEClientCallbacks* pClientCallbacks, bool deleteCallbacks = true);
+
65 std::string toString() const;
+
66 uint16_t getConnHandle() const;
+
67 uint16_t getMTU() const;
+
68 bool exchangeMTU();
+
69 bool secureConnection(bool async = false) const;
+
70 void setConnectTimeout(uint32_t timeout);
+
71 bool setDataLen(uint16_t txOctets);
+
72 bool discoverAttributes();
+ +
74 int getLastError() const;
+
75 bool updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout);
+
76 void setConnectionParams(uint16_t minInterval,
+
77 uint16_t maxInterval,
+
78 uint16_t latency,
+
79 uint16_t timeout,
+
80 uint16_t scanInterval = 16,
+
81 uint16_t scanWindow = 16);
+
82 const std::vector<NimBLERemoteService*>& getServices(bool refresh = false);
+
83 std::vector<NimBLERemoteService*>::iterator begin();
+
84 std::vector<NimBLERemoteService*>::iterator end();
+ +
86 NimBLERemoteService* getService(const char* uuid);
+ +
88 void deleteServices();
+
89 size_t deleteService(const NimBLEUUID& uuid);
+
90 NimBLEAttValue getValue(const NimBLEUUID& serviceUUID, const NimBLEUUID& characteristicUUID);
+
91 bool setValue(const NimBLEUUID& serviceUUID,
+
92 const NimBLEUUID& characteristicUUID,
+
93 const NimBLEAttValue& value,
+
94 bool response = false);
+
95
+
96# if CONFIG_BT_NIMBLE_EXT_ADV
+
97 void setConnectPhy(uint8_t phyMask);
+
98 bool updatePhy(uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions = 0);
+
99 bool getPhy(uint8_t* txPhy, uint8_t* rxPhy);
+
100# endif
+
101
+
102 struct Config {
+
103 uint8_t deleteCallbacks : 1; // Delete the callback object when the client is deleted.
+
104 uint8_t deleteOnDisconnect : 1; // Delete the client when disconnected.
+
105 uint8_t deleteOnConnectFail : 1; // Delete the client when a connection attempt fails.
+
106 uint8_t asyncConnect : 1; // Connect asynchronously.
+
107 uint8_t exchangeMTU : 1; // Exchange MTU after connection.
+
108 };
+
109
+
110 Config getConfig() const;
+
111 void setConfig(Config config);
+
112
+
113 private:
+
114 NimBLEClient(const NimBLEAddress& peerAddress);
+ +
116 NimBLEClient(const NimBLEClient&) = delete;
+
117 NimBLEClient& operator=(const NimBLEClient&) = delete;
+
118
+
119 bool retrieveServices(const NimBLEUUID* uuidFilter = nullptr);
+
120 static int handleGapEvent(struct ble_gap_event* event, void* arg);
+
121 static int exchangeMTUCb(uint16_t conn_handle, const ble_gatt_error* error, uint16_t mtu, void* arg);
+
122 static int serviceDiscoveredCB(uint16_t connHandle,
+
123 const struct ble_gatt_error* error,
+
124 const struct ble_gatt_svc* service,
+
125 void* arg);
+
126
+
127 NimBLEAddress m_peerAddress;
+
128 mutable int m_lastErr;
+
129 int32_t m_connectTimeout;
+
130 mutable NimBLETaskData* m_pTaskData;
+
131 std::vector<NimBLERemoteService*> m_svcVec;
+
132 NimBLEClientCallbacks* m_pClientCallbacks;
+
133 uint16_t m_connHandle;
+
134 uint8_t m_terminateFailCount;
+
135 mutable uint8_t m_asyncSecureAttempt;
+
136 Config m_config;
+
137
+
138# if CONFIG_BT_NIMBLE_EXT_ADV
+
139 uint8_t m_phyMask;
+
140# endif
+
141 ble_gap_conn_params m_connParams;
+
142
+
143 friend class NimBLEDevice;
+
144 friend class NimBLEServer;
+
145}; // class NimBLEClient
+
+
146
+
+ +
151 public:
+
152 virtual ~NimBLEClientCallbacks() {};
+
153
+
158 virtual void onConnect(NimBLEClient* pClient);
+
159
+
165 virtual void onConnectFail(NimBLEClient* pClient, int reason);
+
166
+
172 virtual void onDisconnect(NimBLEClient* pClient, int reason);
+
173
+
180 virtual bool onConnParamsUpdateRequest(NimBLEClient* pClient, const ble_gap_upd_params* params);
+
181
+
186 virtual void onPassKeyEntry(NimBLEConnInfo& connInfo);
+
187
+
193 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
+
194
+
200 virtual void onConfirmPasskey(NimBLEConnInfo& connInfo, uint32_t pin);
+
201
+
206 virtual void onIdentity(NimBLEConnInfo& connInfo);
+
207
+
214 virtual void onMTUChange(NimBLEClient* pClient, uint16_t MTU);
+
215
+
216# if CONFIG_BT_NIMBLE_EXT_ADV
+
228 virtual void onPhyUpdate(NimBLEClient* pClient, uint8_t txPhy, uint8_t rxPhy);
+
229# endif
+
230};
+
+
231
+
232#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
+
233#endif /* NIMBLE_CPP_CLIENT_H_ */
+
A BLE device address.
Definition NimBLEAddress.h:41
+
A representation of a BLE advertised device found by a scan.
Definition NimBLEAdvertisedDevice.h:45
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
+
Callbacks associated with a BLE client.
Definition NimBLEClient.h:150
+
virtual void onPhyUpdate(NimBLEClient *pClient, uint8_t txPhy, uint8_t rxPhy)
Called when the PHY update procedure is complete.
Definition NimBLEClient.cpp:1302
+
virtual void onConfirmPasskey(NimBLEConnInfo &connInfo, uint32_t pin)
Called when using numeric comparision for pairing.
Definition NimBLEClient.cpp:1292
+
virtual bool onConnParamsUpdateRequest(NimBLEClient *pClient, const ble_gap_upd_params *params)
Called when server requests to update the connection parameters.
Definition NimBLEClient.cpp:1274
+
virtual void onMTUChange(NimBLEClient *pClient, uint16_t MTU)
Called when the connection MTU changes.
Definition NimBLEClient.cpp:1297
+
virtual void onConnect(NimBLEClient *pClient)
Called after client connects.
Definition NimBLEClient.cpp:1262
+
virtual void onPassKeyEntry(NimBLEConnInfo &connInfo)
Called when server requests a passkey for pairing.
Definition NimBLEClient.cpp:1279
+
virtual void onIdentity(NimBLEConnInfo &connInfo)
Called when the peer identity address is resolved.
Definition NimBLEClient.cpp:1288
+
virtual void onConnectFail(NimBLEClient *pClient, int reason)
Called when a connection attempt fails.
Definition NimBLEClient.cpp:1266
+
virtual void onDisconnect(NimBLEClient *pClient, int reason)
Called when disconnected from the server.
Definition NimBLEClient.cpp:1270
+
virtual void onAuthenticationComplete(NimBLEConnInfo &connInfo)
Called when the pairing procedure is complete.
Definition NimBLEClient.cpp:1284
+
A model of a BLE client.
Definition NimBLEClient.h:49
+
void setConnectPhy(uint8_t phyMask)
Set the PHY types to use when connecting to a server.
Definition NimBLEClient.cpp:408
+
std::vector< NimBLERemoteService * >::iterator end()
Get iterator to the end of the vector of remote service pointers.
Definition NimBLEClient.cpp:614
+
bool isConnected() const
Are we connected to a server?
Definition NimBLEClient.cpp:1218
+
size_t deleteService(const NimBLEUUID &uuid)
Delete a service by UUID from the local database to free resources.
Definition NimBLEClient.cpp:116
+
bool discoverAttributes()
Retrieves the full database of attributes that the peripheral has available.
Definition NimBLEClient.cpp:702
+
bool updatePhy(uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions=0)
Request a change to the PHY used for this peer connection.
Definition NimBLEClient.cpp:430
+
void setConnectionParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout, uint16_t scanInterval=16, uint16_t scanWindow=16)
Set the connection parameters to use when connecting to a server.
Definition NimBLEClient.cpp:464
+
bool exchangeMTU()
Begin the MTU exchange process with the server.
Definition NimBLEClient.cpp:905
+
int getRssi() const
Ask the BLE server for the RSSI value.
Definition NimBLEClient.cpp:585
+
bool connect(const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)
Connect to an advertising device.
Definition NimBLEClient.cpp:155
+
bool secureConnection(bool async=false) const
Initiate a secure connection (pair/bond) with the server. Called automatically when a characteristic ...
Definition NimBLEClient.cpp:306
+
bool disconnect(uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
Disconnect from the peer.
Definition NimBLEClient.cpp:347
+
NimBLEAttValue getValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)
Get the value of a specific characteristic associated with a specific service.
Definition NimBLEClient.cpp:805
+
NimBLEAddress getPeerAddress() const
Retrieve the address of the peer.
Definition NimBLEClient.cpp:562
+
bool setDataLen(uint16_t txOctets)
Request an update of the data packet length.
Definition NimBLEClient.cpp:514
+
NimBLEConnInfo getConnInfo() const
Get detailed information about the current peer connection.
Definition NimBLEClient.cpp:533
+
void setSelfDelete(bool deleteOnDisconnect, bool deleteOnConnectFail)
Set or unset a flag to delete this client when disconnected or connection failed.
Definition NimBLEClient.cpp:378
+
void deleteServices()
Delete all service objects created by this client and clear the vector.
Definition NimBLEClient.cpp:102
+
NimBLERemoteCharacteristic * getCharacteristic(uint16_t handle)
Get the remote characteristic with the specified handle.
Definition NimBLEClient.cpp:859
+
bool getPhy(uint8_t *txPhy, uint8_t *rxPhy)
Get the PHY used for this peer connection.
Definition NimBLEClient.cpp:445
+
uint16_t getMTU() const
Get the current mtu of this connection.
Definition NimBLEClient.cpp:877
+
bool setPeerAddress(const NimBLEAddress &address)
Set the peer address.
Definition NimBLEClient.cpp:571
+
std::string toString() const
Return a string representation of this client.
Definition NimBLEClient.cpp:1241
+
bool setValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID, const NimBLEAttValue &value, bool response=false)
Set the value of a specific characteristic associated with a specific service.
Definition NimBLEClient.cpp:832
+
std::vector< NimBLERemoteService * >::iterator begin()
Get iterator to the beginning of the vector of remote service pointers.
Definition NimBLEClient.cpp:606
+
Config getConfig() const
Get a copy of the clients configuration.
Definition NimBLEClient.cpp:387
+
uint16_t getConnHandle() const
Get the connection handle for this client.
Definition NimBLEClient.cpp:554
+
bool updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
Update the connection parameters:
Definition NimBLEClient.cpp:488
+
void setConfig(Config config)
Set the client configuration options.
Definition NimBLEClient.cpp:395
+
const std::vector< NimBLERemoteService * > & getServices(bool refresh=false)
Get a pointer to the vector of found services.
Definition NimBLEClient.cpp:685
+
NimBLERemoteService * getService(const char *uuid)
Get the service BLE Remote Service instance corresponding to the uuid.
Definition NimBLEClient.cpp:623
+
int getLastError() const
Get the last error code reported by the NimBLE host.
Definition NimBLEClient.cpp:1258
+
void setConnectTimeout(uint32_t timeout)
Set the timeout to wait for connection attempt to complete.
Definition NimBLEClient.cpp:546
+
void setClientCallbacks(NimBLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true)
Set the callbacks that will be invoked when events are received.
Definition NimBLEClient.cpp:1227
+
bool cancelConnect() const
Cancel an ongoing connection attempt.
Definition NimBLEClient.cpp:362
+
Connection information.
Definition NimBLEConnInfo.h:32
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:109
+
A model of a remote BLE characteristic.
Definition NimBLERemoteCharacteristic.h:34
+
A model of a remote BLE service.
Definition NimBLERemoteService.h:34
+
The model of a BLE server.
Definition NimBLEServer.h:60
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
+
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:32
diff --git a/_nim_b_l_e_conn_info_8h_source.html b/_nim_b_l_e_conn_info_8h_source.html index 4521664..5bfa415 100644 --- a/_nim_b_l_e_conn_info_8h_source.html +++ b/_nim_b_l_e_conn_info_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEConnInfo.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,79 +81,117 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_conn_info_8h_source.html','
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEConnInfo.h
+
NimBLEConnInfo.h
-
1 #ifndef NIMBLECONNINFO_H_
-
2 #define NIMBLECONNINFO_H_
-
3 
-
4 #include "NimBLEAddress.h"
-
5 
- -
10 friend class NimBLEServer;
-
11 friend class NimBLEClient;
-
12  ble_gap_conn_desc m_desc;
-
13  NimBLEConnInfo() { m_desc = {}; }
-
14  NimBLEConnInfo(ble_gap_conn_desc desc) { m_desc = desc; }
-
15 public:
-
17  NimBLEAddress getAddress() { return NimBLEAddress(m_desc.peer_ota_addr); }
-
18 
-
20  NimBLEAddress getIdAddress() { return NimBLEAddress(m_desc.peer_id_addr); }
-
21 
-
23  uint16_t getConnHandle() { return m_desc.conn_handle; }
-
24 
-
26  uint16_t getConnInterval() { return m_desc.conn_itvl; }
-
27 
-
29  uint16_t getConnTimeout() { return m_desc.supervision_timeout; }
-
30 
-
32  uint16_t getConnLatency() { return m_desc.conn_latency; }
-
33 
-
35  uint16_t getMTU() { return ble_att_mtu(m_desc.conn_handle); }
-
36 
-
38  bool isMaster() { return (m_desc.role == BLE_GAP_ROLE_MASTER); }
-
39 
-
41  bool isSlave() { return (m_desc.role == BLE_GAP_ROLE_SLAVE); }
-
42 
-
44  bool isBonded() { return (m_desc.sec_state.bonded == 1); }
-
45 
-
47  bool isEncrypted() { return (m_desc.sec_state.encrypted == 1); }
-
48 
-
50  bool isAuthenticated() { return (m_desc.sec_state.authenticated == 1); }
-
51 
-
53  uint8_t getSecKeySize() { return m_desc.sec_state.key_size; }
-
54 };
-
55 #endif
-
A BLE device address.
Definition: NimBLEAddress.h:39
-
A model of a BLE client.
Definition: NimBLEClient.h:39
-
Connection information.
Definition: NimBLEConnInfo.h:9
-
uint16_t getConnLatency()
Gets the allowable latency for this connection (unit = number of intervals)
Definition: NimBLEConnInfo.h:32
-
uint8_t getSecKeySize()
Gets the key size used to encrypt the connection.
Definition: NimBLEConnInfo.h:53
-
bool isMaster()
Check if we are in the master role in this connection.
Definition: NimBLEConnInfo.h:38
-
bool isAuthenticated()
Check if the the connection has been authenticated.
Definition: NimBLEConnInfo.h:50
-
uint16_t getConnHandle()
Gets the connection handle of the connected peer.
Definition: NimBLEConnInfo.h:23
-
NimBLEAddress getIdAddress()
Gets the ID address of the connected peer.
Definition: NimBLEConnInfo.h:20
-
uint16_t getConnTimeout()
Gets the supervision timeout for this connection (in 10ms units)
Definition: NimBLEConnInfo.h:29
-
bool isEncrypted()
Check if the connection in encrypted.
Definition: NimBLEConnInfo.h:47
-
uint16_t getMTU()
Gets the maximum transmission unit size for this connection (in bytes)
Definition: NimBLEConnInfo.h:35
-
uint16_t getConnInterval()
Gets the connection interval for this connection (in 1.25ms units)
Definition: NimBLEConnInfo.h:26
-
bool isSlave()
Check if we are in the slave role in this connection.
Definition: NimBLEConnInfo.h:41
-
NimBLEAddress getAddress()
Gets the over-the-air address of the connected peer.
Definition: NimBLEConnInfo.h:17
-
bool isBonded()
Check if we are connected to a bonded peer.
Definition: NimBLEConnInfo.h:44
-
The model of a BLE server.
Definition: NimBLEServer.h:46
+
1/*
+
2 * Copyright 2020-2024 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 NIMBLECONNINFO_H_
+
19#define NIMBLECONNINFO_H_
+
20
+
21#if defined(CONFIG_NIMBLE_CPP_IDF)
+
22# include "host/ble_gap.h"
+
23#else
+
24# include "nimble/nimble/host/include/host/ble_gap.h"
+
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};
+
+
83#endif
+
A BLE device address.
Definition NimBLEAddress.h:41
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
A model of a BLE client.
Definition NimBLEClient.h:49
+
Connection information.
Definition NimBLEConnInfo.h:32
+
uint16_t getConnLatency() const
Gets the allowable latency for this connection (unit = number of intervals)
Definition NimBLEConnInfo.h:50
+
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
+
A model of a BLE descriptor.
Definition NimBLEDescriptor.h:38
+
The model of a BLE server.
Definition NimBLEServer.h:60
diff --git a/_nim_b_l_e_descriptor_8h_source.html b/_nim_b_l_e_descriptor_8h_source.html index 98766c9..9f1bc76 100644 --- a/_nim_b_l_e_descriptor_8h_source.html +++ b/_nim_b_l_e_descriptor_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEDescriptor.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,137 +81,108 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_descriptor_8h_source.html',
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEDescriptor.h
+
NimBLEDescriptor.h
-
1 /*
-
2  * NimBLEDescriptor.h
-
3  *
-
4  * Created: on March 10, 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEDescriptor.h
-
10  *
-
11  * Created on: Jun 22, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef MAIN_NIMBLEDESCRIPTOR_H_
-
16 #define MAIN_NIMBLEDESCRIPTOR_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
20 
-
21 #include "NimBLECharacteristic.h"
-
22 #include "NimBLEUUID.h"
-
23 #include "NimBLEAttValue.h"
-
24 
-
25 #include <string>
-
26 
-
27 class NimBLEService;
- - -
30 
-
31 
- -
36 public:
-
37  NimBLEDescriptor(const char* uuid, uint16_t properties,
-
38  uint16_t max_len,
-
39  NimBLECharacteristic* pCharacteristic = nullptr);
-
40 
-
41  NimBLEDescriptor(NimBLEUUID uuid, uint16_t properties,
-
42  uint16_t max_len,
-
43  NimBLECharacteristic* pCharacteristic = nullptr);
-
44 
- -
46 
-
47  uint16_t getHandle();
- -
49  std::string toString();
-
50  void setCallbacks(NimBLEDescriptorCallbacks* pCallbacks);
- -
52 
-
53  size_t getLength();
-
54  NimBLEAttValue getValue(time_t *timestamp = nullptr);
-
55  std::string getStringValue();
-
56 
-
57  void setValue(const uint8_t* data, size_t size);
-
58  void setValue(const std::vector<uint8_t>& vec);
-
59 
-
60  /*********************** Template Functions ************************/
-
61 
-
66  template<typename T>
-
67  void setValue(const T &s) { m_value.setValue<T>(s); }
-
68 
-
77  template<typename T>
-
78  T getValue(time_t *timestamp = nullptr, bool skipSizeCheck = false) {
-
79  return m_value.getValue<T>(timestamp, skipSizeCheck);
-
80  }
-
81 
-
82 private:
-
83  friend class NimBLECharacteristic;
-
84  friend class NimBLEService;
-
85  friend class NimBLE2904;
-
86 
-
87  static int handleGapEvent(uint16_t conn_handle, uint16_t attr_handle,
-
88  struct ble_gatt_access_ctxt *ctxt, void *arg);
-
89  void setHandle(uint16_t handle);
-
90  void setCharacteristic(NimBLECharacteristic* pChar);
-
91 
-
92  NimBLEUUID m_uuid;
-
93  uint16_t m_handle;
-
94  NimBLEDescriptorCallbacks* m_pCallbacks;
-
95  NimBLECharacteristic* m_pCharacteristic;
-
96  uint8_t m_properties;
-
97  NimBLEAttValue m_value;
-
98  uint8_t m_removed;
-
99 }; // NimBLEDescriptor
-
100 
-
101 
- -
110 public:
-
111  virtual ~NimBLEDescriptorCallbacks();
-
112  virtual void onRead(NimBLEDescriptor* pDescriptor);
-
113  virtual void onWrite(NimBLEDescriptor* pDescriptor);
-
114 };
-
115 
-
116 #include "NimBLE2904.h"
-
117 
-
118 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
-
119 #endif /* MAIN_NIMBLEDESCRIPTOR_H_ */
-
Descriptor for Characteristic Presentation Format.
Definition: NimBLE2904.h:40
-
A specialized container class to hold BLE attribute values.
Definition: NimBLEAttValue.h:61
-
bool setValue(const uint8_t *value, uint16_t len)
Set the value from a buffer.
Definition: NimBLEAttValue.h:380
-
const uint8_t * getValue(time_t *timestamp)
Get a pointer to the value buffer with timestamp.
Definition: NimBLEAttValue.h:369
-
The model of a BLE Characteristic.
Definition: NimBLECharacteristic.h:63
-
Callbacks that can be associated with a BLE descriptors to inform of events.
Definition: NimBLEDescriptor.h:109
-
virtual void onRead(NimBLEDescriptor *pDescriptor)
Callback function to support a read request.
Definition: NimBLEDescriptor.cpp:289
-
virtual void onWrite(NimBLEDescriptor *pDescriptor)
Callback function to support a write request.
Definition: NimBLEDescriptor.cpp:299
-
A model of a BLE descriptor.
Definition: NimBLEDescriptor.h:35
-
size_t getLength()
Get the length of the value of this descriptor.
Definition: NimBLEDescriptor.cpp:107
-
NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)
Construct a descriptor.
Definition: NimBLEDescriptor.cpp:37
-
NimBLECharacteristic * getCharacteristic()
Get the characteristic this descriptor belongs to.
Definition: NimBLEDescriptor.cpp:146
-
uint16_t getHandle()
Get the BLE handle for this descriptor.
Definition: NimBLEDescriptor.cpp:98
-
T getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)
Template to convert the descriptor data to <type>.
Definition: NimBLEDescriptor.h:78
-
std::string getStringValue()
Get the value of this descriptor as a string.
Definition: NimBLEDescriptor.cpp:137
-
NimBLEAttValue getValue(time_t *timestamp=nullptr)
Get the value of this descriptor.
Definition: NimBLEDescriptor.cpp:124
-
void setValue(const T &s)
Template to set the characteristic value to <type>val.
Definition: NimBLEDescriptor.h:67
-
void setValue(const uint8_t *data, size_t size)
Set the value of the descriptor.
Definition: NimBLEDescriptor.cpp:248
-
void setCallbacks(NimBLEDescriptorCallbacks *pCallbacks)
Set the callback handlers for this descriptor.
Definition: NimBLEDescriptor.cpp:221
-
NimBLEUUID getUUID()
Get the UUID of the descriptor.
Definition: NimBLEDescriptor.cpp:115
-
std::string toString()
Return a string representation of the descriptor.
Definition: NimBLEDescriptor.cpp:275
-
~NimBLEDescriptor()
NimBLEDescriptor destructor.
Definition: NimBLEDescriptor.cpp:91
-
The model of a BLE service.
Definition: NimBLEService.h:34
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_DESCRIPTOR_H_
+
19#define NIMBLE_CPP_DESCRIPTOR_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
23
+ + +
26
+
27# include "NimBLELocalValueAttribute.h"
+
28# include "NimBLECharacteristic.h"
+
29# include "NimBLEUUID.h"
+
30# include "NimBLEAttValue.h"
+
31# include "NimBLEConnInfo.h"
+
32
+
33# include <string>
+
34
+
+
38class NimBLEDescriptor : public NimBLELocalValueAttribute {
+
39 public:
+
40 NimBLEDescriptor(const char* uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic* pCharacteristic = nullptr);
+
41
+
42 NimBLEDescriptor(const NimBLEUUID& uuid,
+
43 uint16_t properties,
+
44 uint16_t maxLen,
+
45 NimBLECharacteristic* pCharacteristic = nullptr);
+
46 ~NimBLEDescriptor() = default;
+
47
+
48 std::string toString() const;
+ + +
51
+
52 private:
+
53 friend class NimBLECharacteristic;
+
54 friend class NimBLEService;
+
55
+
56 void setCharacteristic(NimBLECharacteristic* pChar);
+
57 void readEvent(NimBLEConnInfo& connInfo) override;
+
58 void writeEvent(const uint8_t* val, uint16_t len, NimBLEConnInfo& connInfo) override;
+
59
+
60 NimBLEDescriptorCallbacks* m_pCallbacks{nullptr};
+
61 NimBLECharacteristic* m_pCharacteristic{nullptr};
+
62}; // NimBLEDescriptor
+
+
63
+
+ +
72 public:
+
73 virtual ~NimBLEDescriptorCallbacks() = default;
+
74 virtual void onRead(NimBLEDescriptor* pDescriptor, NimBLEConnInfo& connInfo);
+
75 virtual void onWrite(NimBLEDescriptor* pDescriptor, NimBLEConnInfo& connInfo);
+
76};
+
+
77
+
78# include "NimBLE2904.h"
+
79
+
80#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
+
81#endif /* NIMBLE_CPP_DESCRIPTOR_H_ */
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
Connection information.
Definition NimBLEConnInfo.h:32
+
Callbacks that can be associated with a BLE descriptors to inform of events.
Definition NimBLEDescriptor.h:71
+
virtual void onRead(NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)
Callback function to support a read request.
Definition NimBLEDescriptor.cpp:138
+
virtual void onWrite(NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)
Callback function to support a write request.
Definition NimBLEDescriptor.cpp:147
+
A model of a BLE descriptor.
Definition NimBLEDescriptor.h:38
+
std::string toString() const
Return a string representation of the descriptor.
Definition NimBLEDescriptor.cpp:117
+
NimBLECharacteristic * getCharacteristic() const
Get the characteristic this descriptor belongs to.
Definition NimBLEDescriptor.cpp:89
+
void setCallbacks(NimBLEDescriptorCallbacks *pCallbacks)
Set the callback handlers for this descriptor.
Definition NimBLEDescriptor.cpp:97
+
The model of a BLE service.
Definition NimBLEService.h:34
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
@@ -214,7 +190,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_descriptor_8h_source.html', diff --git a/_nim_b_l_e_device_8h_source.html b/_nim_b_l_e_device_8h_source.html index a5b162c..4a192ef 100644 --- a/_nim_b_l_e_device_8h_source.html +++ b/_nim_b_l_e_device_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEDevice.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,307 +81,366 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html','');
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEDevice.h
+
NimBLEDevice.h
-
1 /*
-
2  * NimBLEDevice.h
-
3  *
-
4  * Created: on Jan 24 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEDevice.h
-
10  *
-
11  * Created on: Mar 16, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef MAIN_NIMBLEDEVICE_H_
-
16 #define MAIN_NIMBLEDEVICE_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED)
-
20 
-
21 #if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
-
22 #include "NimBLEScan.h"
-
23 #endif
-
24 
-
25 #if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
-
26 # if CONFIG_BT_NIMBLE_EXT_ADV
-
27 # include "NimBLEExtAdvertising.h"
-
28 # else
-
29 # include "NimBLEAdvertising.h"
-
30 # endif
-
31 #endif
-
32 
-
33 #if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
34 #include "NimBLEClient.h"
-
35 #endif
-
36 
-
37 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
38 #include "NimBLEServer.h"
-
39 #endif
-
40 
-
41 #include "NimBLEUtils.h"
-
42 #include "NimBLESecurity.h"
-
43 #include "NimBLEAddress.h"
-
44 
-
45 #ifdef ESP_PLATFORM
-
46 # include "esp_bt.h"
-
47 #endif
-
48 
-
49 #include <map>
-
50 #include <string>
-
51 #include <list>
-
52 
-
53 #define BLEDevice NimBLEDevice
-
54 #define BLEClient NimBLEClient
-
55 #define BLERemoteService NimBLERemoteService
-
56 #define BLERemoteCharacteristic NimBLERemoteCharacteristic
-
57 #define BLERemoteDescriptor NimBLERemoteDescriptor
-
58 #define BLEAdvertisedDevice NimBLEAdvertisedDevice
-
59 #define BLEScan NimBLEScan
-
60 #define BLEUUID NimBLEUUID
-
61 #define BLESecurity NimBLESecurity
-
62 #define BLESecurityCallbacks NimBLESecurityCallbacks
-
63 #define BLEAddress NimBLEAddress
-
64 #define BLEUtils NimBLEUtils
-
65 #define BLEClientCallbacks NimBLEClientCallbacks
-
66 #define BLEAdvertisedDeviceCallbacks NimBLEAdvertisedDeviceCallbacks
-
67 #define BLEScanResults NimBLEScanResults
-
68 #define BLEServer NimBLEServer
-
69 #define BLEService NimBLEService
-
70 #define BLECharacteristic NimBLECharacteristic
-
71 #define BLEAdvertising NimBLEAdvertising
-
72 #define BLEServerCallbacks NimBLEServerCallbacks
-
73 #define BLECharacteristicCallbacks NimBLECharacteristicCallbacks
-
74 #define BLEAdvertisementData NimBLEAdvertisementData
-
75 #define BLEDescriptor NimBLEDescriptor
-
76 #define BLE2902 NimBLE2902
-
77 #define BLE2904 NimBLE2904
-
78 #define BLEDescriptorCallbacks NimBLEDescriptorCallbacks
-
79 #define BLEBeacon NimBLEBeacon
-
80 #define BLEEddystoneTLM NimBLEEddystoneTLM
-
81 #define BLEEddystoneURL NimBLEEddystoneURL
-
82 
-
83 #ifdef CONFIG_BT_NIMBLE_MAX_CONNECTIONS
-
84 #define NIMBLE_MAX_CONNECTIONS CONFIG_BT_NIMBLE_MAX_CONNECTIONS
-
85 #else
-
86 #define NIMBLE_MAX_CONNECTIONS CONFIG_NIMBLE_MAX_CONNECTIONS
-
87 #endif
-
88 
-
89 typedef int (*gap_event_handler)(ble_gap_event *event, void *arg);
-
90 
-
91 extern "C" void ble_store_config_init(void);
-
92 
-
96 class NimBLEDevice {
-
97 public:
-
98  static void init(const std::string &deviceName);
-
99  static void deinit(bool clearAll = false);
-
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
- -
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_)
- -
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);
- -
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: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: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: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: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: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: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: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: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 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 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
-
Extended advertising class.
Definition: NimBLEExtAdvertising.h:92
-
Perform and manage BLE scans.
Definition: NimBLEScan.h:63
-
Callbacks to handle GAP events related to authorization. Deprecated - provided for backward compatibi...
Definition: NimBLESecurity.h:94
-
The model of a BLE server.
Definition: NimBLEServer.h:46
+
1/*
+
2 * Copyright 2020-2024 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_DEVICE_H_
+
19#define NIMBLE_CPP_DEVICE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_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>
+
42
+
43# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
44# include <array>
+
45class NimBLEClient;
+
46# endif
+
47
+
48# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
49class NimBLEScan;
+
50# endif
+
51
+
52# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
53# if CONFIG_BT_NIMBLE_EXT_ADV
+ +
55# else
+ +
57# endif
+
58# endif
+
59
+
60# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
61class NimBLEServer;
+
62# endif
+
63
+
64# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) || defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
65class NimBLEConnInfo;
+
66# endif
+
67
+
68class NimBLEAddress;
+
69
+
70# define BLEDevice NimBLEDevice
+
71# define BLEClient NimBLEClient
+
72# define BLERemoteService NimBLERemoteService
+
73# define BLERemoteCharacteristic NimBLERemoteCharacteristic
+
74# define BLERemoteDescriptor NimBLERemoteDescriptor
+
75# define BLEAdvertisedDevice NimBLEAdvertisedDevice
+
76# define BLEScan NimBLEScan
+
77# define BLEUUID NimBLEUUID
+
78# define BLEAddress NimBLEAddress
+
79# define BLEUtils NimBLEUtils
+
80# define BLEClientCallbacks NimBLEClientCallbacks
+
81# define BLEAdvertisedDeviceCallbacks NimBLEScanCallbacks
+
82# define BLEScanResults NimBLEScanResults
+
83# define BLEServer NimBLEServer
+
84# define BLEService NimBLEService
+
85# define BLECharacteristic NimBLECharacteristic
+
86# define BLEAdvertising NimBLEAdvertising
+
87# define BLEServerCallbacks NimBLEServerCallbacks
+
88# define BLECharacteristicCallbacks NimBLECharacteristicCallbacks
+
89# define BLEAdvertisementData NimBLEAdvertisementData
+
90# define BLEDescriptor NimBLEDescriptor
+
91# define BLE2904 NimBLE2904
+
92# define BLEDescriptorCallbacks NimBLEDescriptorCallbacks
+
93# define BLEBeacon NimBLEBeacon
+
94# define BLEEddystoneTLM NimBLEEddystoneTLM
+
95# define BLEEddystoneURL NimBLEEddystoneURL
+
96# define BLEConnInfo NimBLEConnInfo
+
97
+
98# ifdef CONFIG_BT_NIMBLE_MAX_CONNECTIONS
+
99# define NIMBLE_MAX_CONNECTIONS CONFIG_BT_NIMBLE_MAX_CONNECTIONS
+
100# else
+
101# define NIMBLE_MAX_CONNECTIONS CONFIG_NIMBLE_MAX_CONNECTIONS
+
102# endif
+
103
+
104typedef int (*gap_event_handler)(ble_gap_event* event, void* arg);
+
105
+
+ +
110 public:
+
111 static bool init(const std::string& deviceName);
+
112 static bool deinit(bool clearAll = false);
+
113 static bool setDeviceName(const std::string& deviceName);
+
114 static bool isInitialized();
+
115 static NimBLEAddress getAddress();
+
116 static std::string toString();
+
117 static bool whiteListAdd(const NimBLEAddress& address);
+
118 static bool whiteListRemove(const NimBLEAddress& address);
+
119 static bool onWhiteList(const NimBLEAddress& address);
+
120 static size_t getWhiteListCount();
+
121 static NimBLEAddress getWhiteListAddress(size_t index);
+
122 static bool setOwnAddrType(uint8_t type);
+
123 static bool setOwnAddr(const NimBLEAddress& addr);
+
124 static bool setOwnAddr(const uint8_t* addr);
+
125 static void setScanDuplicateCacheSize(uint16_t cacheSize);
+
126 static void setScanFilterMode(uint8_t type);
+
127 static bool setCustomGapHandler(gap_event_handler handler);
+
128 static void setSecurityAuth(bool bonding, bool mitm, bool sc);
+
129 static void setSecurityAuth(uint8_t auth);
+
130 static void setSecurityIOCap(uint8_t iocap);
+
131 static void setSecurityInitKey(uint8_t initKey);
+
132 static void setSecurityRespKey(uint8_t respKey);
+
133 static void setSecurityPasskey(uint32_t passKey);
+
134 static uint32_t getSecurityPasskey();
+
135 static bool startSecurity(uint16_t connHandle, int* rcPtr = nullptr);
+
136 static bool setMTU(uint16_t mtu);
+
137 static uint16_t getMTU();
+
138 static void onReset(int reason);
+
139 static void onSync(void);
+
140 static void host_task(void* param);
+
141 static int getPower();
+
142 static bool setPower(int8_t dbm);
+
143
+
144# ifdef ESP_PLATFORM
+
145# ifndef CONFIG_IDF_TARGET_ESP32P4
+
146 static esp_power_level_t getPowerLevel(esp_ble_power_type_t powerType = ESP_BLE_PWR_TYPE_DEFAULT);
+
147 static bool setPowerLevel(esp_power_level_t powerLevel, esp_ble_power_type_t powerType = ESP_BLE_PWR_TYPE_DEFAULT);
+
148# endif
+
149# endif
+
150
+
151# if CONFIG_BT_NIMBLE_EXT_ADV
+
152 static bool setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask);
+
153# endif
+
154
+
155# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
156 static NimBLEScan* getScan();
+
157# endif
+
158
+
159# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
160 static NimBLEServer* createServer();
+
161 static NimBLEServer* getServer();
+
162# endif
+
163
+
164# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) || defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
165 static bool injectConfirmPasskey(const NimBLEConnInfo& peerInfo, bool accept);
+
166 static bool injectPassKey(const NimBLEConnInfo& peerInfo, uint32_t pin);
+
167# endif
+
168
+
169# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
170# if CONFIG_BT_NIMBLE_EXT_ADV
+ +
172 static bool startAdvertising(uint8_t instId, int duration = 0, int maxEvents = 0);
+
173 static bool stopAdvertising(uint8_t instId);
+
174 static bool stopAdvertising();
+
175# endif
+
176# if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
+ +
178 static bool startAdvertising(uint32_t duration = 0);
+
179 static bool stopAdvertising();
+
180# endif
+
181# endif
+
182
+
183# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
184 static NimBLEClient* createClient();
+
185 static NimBLEClient* createClient(const NimBLEAddress& peerAddress);
+
186 static bool deleteClient(NimBLEClient* pClient);
+
187 static NimBLEClient* getClientByHandle(uint16_t connHandle);
+
188 static NimBLEClient* getClientByPeerAddress(const NimBLEAddress& peerAddress);
+ +
190 static size_t getCreatedClientCount();
+
191 static std::vector<NimBLEClient*> getConnectedClients();
+
192# endif
+
193
+
194# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) || defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
195 static bool deleteBond(const NimBLEAddress& address);
+
196 static int getNumBonds();
+
197 static bool isBonded(const NimBLEAddress& address);
+
198 static bool deleteAllBonds();
+
199 static NimBLEAddress getBondedAddress(int index);
+
200# endif
+
201
+
202 private:
+
203 static bool m_synced;
+
204 static bool m_initialized;
+
205 static uint32_t m_passkey;
+
206 static ble_gap_event_listener m_listener;
+
207 static uint8_t m_ownAddrType;
+
208 static std::vector<NimBLEAddress> m_whiteList;
+
209
+
210# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
211 static NimBLEScan* m_pScan;
+
212# endif
+
213
+
214# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
215 static NimBLEServer* m_pServer;
+
216# endif
+
217
+
218# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
219# if CONFIG_BT_NIMBLE_EXT_ADV
+
220 static NimBLEExtAdvertising* m_bleAdvertising;
+
221# else
+
222 static NimBLEAdvertising* m_bleAdvertising;
+
223# endif
+
224# endif
+
225
+
226# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
227 static std::array<NimBLEClient*, NIMBLE_MAX_CONNECTIONS> m_pClients;
+
228# endif
+
229
+
230# ifdef ESP_PLATFORM
+
231# ifdef CONFIG_BTDM_BLE_SCAN_DUPL
+
232 static uint16_t m_scanDuplicateSize;
+
233 static uint8_t m_scanFilterMode;
+
234# endif
+
235# endif
+
236
+
237# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
238 friend class NimBLEClient;
+
239# endif
+
240
+
241# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
242 friend class NimBLEScan;
+
243# endif
+
244
+
245# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
246 friend class NimBLEServer;
+
247 friend class NimBLECharacteristic;
+
248# endif
+
249
+
250# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
251 friend class NimBLEAdvertising;
+
252# if CONFIG_BT_NIMBLE_EXT_ADV
+
253 friend class NimBLEExtAdvertising;
+
254 friend class NimBLEExtAdvertisement;
+
255# endif
+
256# endif
+
257};
+
+
258
+
259# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
260# include "NimBLEClient.h"
+
261# include "NimBLERemoteService.h"
+
262# include "NimBLERemoteCharacteristic.h"
+
263# include "NimBLERemoteDescriptor.h"
+
264# endif
+
265
+
266# if defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
267# include "NimBLEScan.h"
+
268# endif
+
269
+
270# if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
271# include "NimBLEServer.h"
+
272# include "NimBLEService.h"
+
273# include "NimBLECharacteristic.h"
+
274# include "NimBLEDescriptor.h"
+
275# endif
+
276
+
277# if defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
278# if CONFIG_BT_NIMBLE_EXT_ADV
+
279# include "NimBLEExtAdvertising.h"
+
280# else
+
281# include "NimBLEAdvertising.h"
+
282# endif
+
283# endif
+
284
+
285#endif // CONFIG_BT_ENABLED
+
286#endif // NIMBLE_CPP_DEVICE_H_
+
A BLE device address.
Definition NimBLEAddress.h:41
+
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:52
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
A model of a BLE client.
Definition NimBLEClient.h:49
+
Connection information.
Definition NimBLEConnInfo.h:32
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:109
+
static NimBLEClient * createClient()
Creates a new client object, each client can connect to 1 peripheral device.
Definition NimBLEDevice.cpp:291
+
static void onSync(void)
Host synced with controller, all clear to make calls to the stack.
Definition NimBLEDevice.cpp:760
+
static size_t getCreatedClientCount()
Get the number of created client objects.
Definition NimBLEDevice.cpp:351
+
static bool setDefaultPhy(uint8_t txPhyMask, uint8_t rxPhyMask)
Set the preferred default phy to use for connections.
Definition NimBLEDevice.cpp:733
+
static bool setOwnAddr(const NimBLEAddress &addr)
Set the device address to use.
Definition NimBLEDevice.cpp:1033
+
static NimBLEClient * getDisconnectedClient()
Finds the first disconnected client available.
Definition NimBLEDevice.cpp:396
+
static bool isBonded(const NimBLEAddress &address)
Checks if a peer device is bonded.
Definition NimBLEDevice.cpp:595
+
static bool setCustomGapHandler(gap_event_handler handler)
Set a custom callback for gap events.
Definition NimBLEDevice.cpp:1205
+
static bool deleteAllBonds()
Deletes all bonding information.
Definition NimBLEDevice.cpp:572
+
static bool startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)
Convenience function to begin advertising.
Definition NimBLEDevice.cpp:167
+
static void onReset(int reason)
Host reset, we pass the message so we don't make calls until re-synced.
Definition NimBLEDevice.cpp:747
+
static bool deleteBond(const NimBLEAddress &address)
Deletes a peer bond.
Definition NimBLEDevice.cpp:586
+
static bool setPower(int8_t dbm)
Set the transmission power.
Definition NimBLEDevice.cpp:467
+
static bool init(const std::string &deviceName)
Initialize the BLE environment.
Definition NimBLEDevice.cpp:819
+
static bool setOwnAddrType(uint8_t type)
Sets the address type to use.
Definition NimBLEDevice.cpp:1002
+
static bool stopAdvertising()
Convenience function to stop all advertising.
Definition NimBLEDevice.cpp:207
+
static NimBLEServer * getServer()
Get the instance of the server.
Definition NimBLEDevice.cpp:137
+
static bool isInitialized()
Check if the initialization is complete.
Definition NimBLEDevice.cpp:968
+
static bool setMTU(uint16_t mtu)
Setup local mtu that will be used to negotiate mtu during request from client peer.
Definition NimBLEDevice.cpp:532
+
static NimBLEAddress getWhiteListAddress(size_t index)
Gets the address at the vector index.
Definition NimBLEDevice.cpp:705
+
static NimBLEServer * createServer()
Create an instance of a server.
Definition NimBLEDevice.cpp:122
+
static bool injectPassKey(const NimBLEConnInfo &peerInfo, uint32_t pin)
Inject the provided passkey into the Security Manager.
Definition NimBLEDevice.cpp:1163
+
static uint16_t getMTU()
Get local MTU value set.
Definition NimBLEDevice.cpp:545
+
static bool deinit(bool clearAll=false)
Shutdown the NimBLE stack/controller.
Definition NimBLEDevice.cpp:913
+
static NimBLEAddress getAddress()
Get our device address.
Definition NimBLEDevice.cpp:980
+
static int getNumBonds()
Gets the number of bonded peers stored.
Definition NimBLEDevice.cpp:557
+
static bool whiteListRemove(const NimBLEAddress &address)
Remove a peer address from the whitelist.
Definition NimBLEDevice.cpp:674
+
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:318
+
static bool startSecurity(uint16_t connHandle, int *rcPtr=nullptr)
Start the connection securing and authorization for this connection.
Definition NimBLEDevice.cpp:1146
+
static NimBLEClient * getClientByHandle(uint16_t connHandle)
Get a reference to a client by connection handle.
Definition NimBLEDevice.cpp:367
+
static uint32_t getSecurityPasskey()
Get the current passkey used for pairing.
Definition NimBLEDevice.cpp:1136
+
static void setSecurityAuth(bool bonding, bool mitm, bool sc)
Set the authorization mode for this device.
Definition NimBLEDevice.cpp:1063
+
static NimBLEExtAdvertising * getAdvertising()
Get the instance of the extended advertising object.
Definition NimBLEDevice.cpp:152
+
static bool setDeviceName(const std::string &deviceName)
Set the BLEDevice name.
Definition NimBLEDevice.cpp:1190
+
static bool whiteListAdd(const NimBLEAddress &address)
Add a peer address to the whitelist.
Definition NimBLEDevice.cpp:655
+
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:1107
+
static size_t getWhiteListCount()
Gets the count of addresses in the whitelist.
Definition NimBLEDevice.cpp:696
+
static void host_task(void *param)
The main host task.
Definition NimBLEDevice.cpp:809
+
static void setSecurityPasskey(uint32_t passKey)
Set the passkey the server will ask for when pairing.
Definition NimBLEDevice.cpp:1128
+
static void setSecurityRespKey(uint8_t respKey)
Set the keys we are willing to accept during pairing.
Definition NimBLEDevice.cpp:1120
+
static void setSecurityIOCap(uint8_t iocap)
Set the Input/Output capabilities of this device.
Definition NimBLEDevice.cpp:1094
+
static std::string toString()
Return a string representation of the address of this device.
Definition NimBLEDevice.cpp:1221
+
static NimBLEAddress getBondedAddress(int index)
Get the address of a bonded peer device by index.
Definition NimBLEDevice.cpp:619
+
static std::vector< NimBLEClient * > getConnectedClients()
Get a list of connected clients.
Definition NimBLEDevice.cpp:410
+
static bool onWhiteList(const NimBLEAddress &address)
Checks if a peer device is whitelisted.
Definition NimBLEDevice.cpp:640
+
static int getPower()
Get the transmission power.
Definition NimBLEDevice.cpp:496
+
static NimBLEScan * getScan()
Retrieve the Scan object that we use for scanning.
Definition NimBLEDevice.cpp:222
+
static NimBLEClient * getClientByPeerAddress(const NimBLEAddress &peerAddress)
Get a reference to a client by peer address.
Definition NimBLEDevice.cpp:382
+
static bool injectConfirmPasskey(const NimBLEConnInfo &peerInfo, bool accept)
Inject the provided numeric comparison response into the Security Manager.
Definition NimBLEDevice.cpp:1175
+
Extended advertisement data.
Definition NimBLEExtAdvertising.h:46
+
Extended advertising class.
Definition NimBLEExtAdvertising.h:111
+
Perform and manage BLE scans.
Definition NimBLEScan.h:67
+
The model of a BLE server.
Definition NimBLEServer.h:60
@@ -384,7 +448,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_device_8h_source.html',''); 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 75d1259..304a30c 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 @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEEddystoneTLM.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,97 +81,114 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_eddystone_t_l_m_8h_source.h
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEEddystoneTLM.h
+
NimBLEEddystoneTLM.h
-
1 /*
-
2  * NimBLEEddystoneTLM.h
-
3  *
-
4  * Created: on March 15 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEEddystoneTLM.h
-
10  *
-
11  * Created on: Mar 12, 2018
-
12  * Author: pcbreflux
-
13  */
-
14 
-
15 #ifndef _NimBLEEddystoneTLM_H_
-
16 #define _NimBLEEddystoneTLM_H_
-
17 
-
18 #include "NimBLEUUID.h"
-
19 
-
20 #include <string>
-
21 
-
22 #define EDDYSTONE_TLM_FRAME_TYPE 0x20
-
23 
- -
30 public:
- -
32  std::string getData();
- -
34  uint8_t getVersion();
-
35  uint16_t getVolt();
-
36  float getTemp();
-
37  uint32_t getCount();
-
38  uint32_t getTime();
-
39  std::string toString();
-
40  void setData(const std::string &data);
-
41  void setUUID(const NimBLEUUID &l_uuid);
-
42  void setVersion(uint8_t version);
-
43  void setVolt(uint16_t volt);
-
44  void setTemp(float temp);
-
45  void setCount(uint32_t advCount);
-
46  void setTime(uint32_t tmil);
-
47 
-
48 private:
-
49  uint16_t beaconUUID;
-
50  struct {
-
51  uint8_t frameType;
-
52  uint8_t version;
-
53  uint16_t volt;
-
54  uint16_t temp;
-
55  uint32_t advCount;
-
56  uint32_t tmil;
-
57  } __attribute__((packed)) m_eddystoneData;
-
58 
-
59 }; // NimBLEEddystoneTLM
-
60 
-
61 #endif /* _NimBLEEddystoneTLM_H_ */
-
Representation of a beacon. See:
Definition: NimBLEEddystoneTLM.h:29
-
void setData(const std::string &data)
Set the raw data for the beacon advertisement.
Definition: NimBLEEddystoneTLM.cpp:164
-
void setVersion(uint8_t version)
Set the version to advertise.
Definition: NimBLEEddystoneTLM.cpp:187
-
void setUUID(const NimBLEUUID &l_uuid)
Set the UUID to advertise.
Definition: NimBLEEddystoneTLM.cpp:178
-
NimBLEEddystoneTLM()
Construct a default EddystoneTLM beacon object.
Definition: NimBLEEddystoneTLM.cpp:32
-
uint32_t getCount()
Get the count of advertisements sent.
Definition: NimBLEEddystoneTLM.cpp:91
-
void setCount(uint32_t advCount)
Set the advertisement count.
Definition: NimBLEEddystoneTLM.cpp:214
-
void setTemp(float temp)
Set the temperature to advertise.
Definition: NimBLEEddystoneTLM.cpp:205
-
std::string toString()
Get a string representation of the beacon.
Definition: NimBLEEddystoneTLM.cpp:109
-
void setTime(uint32_t tmil)
Set the advertisement time.
Definition: NimBLEEddystoneTLM.cpp:223
-
NimBLEUUID getUUID()
Get the UUID being advertised.
Definition: NimBLEEddystoneTLM.cpp:56
-
uint32_t getTime()
Get the advertisement time.
Definition: NimBLEEddystoneTLM.cpp:100
-
float getTemp()
Get the temperature being advertised.
Definition: NimBLEEddystoneTLM.cpp:83
-
void setVolt(uint16_t volt)
Set the battery voltage to advertise.
Definition: NimBLEEddystoneTLM.cpp:196
-
std::string getData()
Retrieve the data that is being advertised.
Definition: NimBLEEddystoneTLM.cpp:47
-
uint8_t getVersion()
Get the version being advertised.
Definition: NimBLEEddystoneTLM.cpp:65
-
uint16_t getVolt()
Get the battery voltage.
Definition: NimBLEEddystoneTLM.cpp:74
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_EDDYSTONETLM_H_
+
19#define NIMBLE_CPP_EDDYSTONETLM_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
+
23
+
24class NimBLEUUID;
+
25
+
26# include <string>
+
27
+
28# define EDDYSTONE_TLM_FRAME_TYPE 0x20
+
29
+
+ +
36 public:
+
37 struct BeaconData {
+
38 uint8_t frameType{EDDYSTONE_TLM_FRAME_TYPE};
+
39 uint8_t version{0};
+
40 uint16_t volt{3300};
+
41 uint16_t temp{23 * 256};
+
42 uint32_t advCount{0};
+
43 uint32_t tmil{0};
+
44 } __attribute__((packed));
+
45
+
46 const BeaconData getData();
+ +
48 uint8_t getVersion();
+
49 uint16_t getVolt();
+
50 int16_t getTemp();
+
51 uint32_t getCount();
+
52 uint32_t getTime();
+
53 std::string toString();
+
54 void setData(const uint8_t* data, uint8_t length);
+
55 void setData(const BeaconData& data);
+
56 void setUUID(const NimBLEUUID& l_uuid);
+
57 void setVersion(uint8_t version);
+
58 void setVolt(uint16_t volt);
+
59 void setTemp(int16_t temp);
+
60 void setCount(uint32_t advCount);
+
61 void setTime(uint32_t tmil);
+
62
+
63 private:
+
64 uint16_t beaconUUID{0xFEAA};
+
65 BeaconData m_eddystoneData;
+
66
+
67}; // NimBLEEddystoneTLM
+
+
68
+
69#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER
+
70#endif // NIMBLE_CPP_EDDYSTONETLM_H_
+
Representation of a beacon. See:
Definition NimBLEEddystoneTLM.h:35
+
void setData(const uint8_t *data, uint8_t length)
Set the raw data for the beacon advertisement.
Definition NimBLEEddystoneTLM.cpp:148
+
void setVersion(uint8_t version)
Set the version to advertise.
Definition NimBLEEddystoneTLM.cpp:183
+
const BeaconData getData()
Retrieve the data that is being advertised.
Definition NimBLEEddystoneTLM.cpp:35
+
void setUUID(const NimBLEUUID &l_uuid)
Set the UUID to advertise.
Definition NimBLEEddystoneTLM.cpp:171
+
uint32_t getCount()
Get the count of advertisements sent.
Definition NimBLEEddystoneTLM.cpp:75
+
void setCount(uint32_t advCount)
Set the advertisement count.
Definition NimBLEEddystoneTLM.cpp:207
+
int16_t getTemp()
Get the temperature being advertised.
Definition NimBLEEddystoneTLM.cpp:67
+
std::string toString()
Get a string representation of the beacon.
Definition NimBLEEddystoneTLM.cpp:91
+
void setTime(uint32_t tmil)
Set the advertisement time.
Definition NimBLEEddystoneTLM.cpp:215
+
NimBLEUUID getUUID()
Get the UUID being advertised.
Definition NimBLEEddystoneTLM.cpp:43
+
uint32_t getTime()
Get the advertisement time.
Definition NimBLEEddystoneTLM.cpp:83
+
void setVolt(uint16_t volt)
Set the battery voltage to advertise.
Definition NimBLEEddystoneTLM.cpp:191
+
uint8_t getVersion()
Get the version being advertised.
Definition NimBLEEddystoneTLM.cpp:51
+
void setTemp(int16_t temp)
Set the temperature to advertise.
Definition NimBLEEddystoneTLM.cpp:199
+
uint16_t getVolt()
Get the battery voltage.
Definition NimBLEEddystoneTLM.cpp:59
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
+
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 deleted file mode 100644 index 8cf7a57..0000000 --- a/_nim_b_l_e_eddystone_u_r_l_8h_source.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - -esp-nimble-cpp: /github/workspace/src/NimBLEEddystoneURL.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp -  1.4.1 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
NimBLEEddystoneURL.h
-
-
-
1 /*
-
2  * NimBLEEddystoneURL.h
-
3  *
-
4  * Created: on March 15 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEEddystoneURL.h
-
10  *
-
11  * Created on: Mar 12, 2018
-
12  * Author: pcbreflux
-
13  */
-
14 
-
15 #ifndef _NIMBLEEddystoneURL_H_
-
16 #define _NIMBLEEddystoneURL_H_
-
17 #include "NimBLEUUID.h"
-
18 
-
19 #include <string>
-
20 
-
21 #define EDDYSTONE_URL_FRAME_TYPE 0x10
-
22 
- -
29 public:
- -
31  std::string getData();
- -
33  int8_t getPower();
-
34  std::string getURL();
-
35  std::string getDecodedURL();
-
36  void setData(const std::string &data);
-
37  void setUUID(const NimBLEUUID &l_uuid);
-
38  void setPower(int8_t advertisedTxPower);
-
39  void setURL(const std::string &url);
-
40 
-
41 private:
-
42  uint16_t beaconUUID;
-
43  uint8_t lengthURL;
-
44  struct {
-
45  uint8_t frameType;
-
46  int8_t advertisedTxPower;
-
47  uint8_t url[16];
-
48  } __attribute__((packed)) m_eddystoneData;
-
49 
-
50 }; // NIMBLEEddystoneURL
-
51 
-
52 #endif /* _NIMBLEEddystoneURL_H_ */
-
Representation of a beacon. See:
Definition: NimBLEEddystoneURL.h:28
-
std::string getURL()
Get the raw URL being advertised.
Definition: NimBLEEddystoneURL.cpp:68
-
NimBLEUUID getUUID()
Get the UUID being advertised.
Definition: NimBLEEddystoneURL.cpp:50
-
int8_t getPower()
Get the transmit power being advertised.
Definition: NimBLEEddystoneURL.cpp:59
-
void setPower(int8_t advertisedTxPower)
Set the transmit power to advertise.
Definition: NimBLEEddystoneURL.cpp:183
-
void setURL(const std::string &url)
Set the URL to advertise.
Definition: NimBLEEddystoneURL.cpp:192
-
std::string getDecodedURL()
Get the full URL being advertised.
Definition: NimBLEEddystoneURL.cpp:77
-
std::string getData()
Retrieve the data that is being advertised.
Definition: NimBLEEddystoneURL.cpp:41
-
void setData(const std::string &data)
Set the raw data for the beacon advertisement.
Definition: NimBLEEddystoneURL.cpp:158
-
NimBLEEddystoneURL()
Construct a default EddystoneURL beacon object.
Definition: NimBLEEddystoneURL.cpp:28
-
void setUUID(const NimBLEUUID &l_uuid)
Set the UUID to advertise.
Definition: NimBLEEddystoneURL.cpp:174
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
-
-
- - - - diff --git a/_nim_b_l_e_ext_advertising_8h_source.html b/_nim_b_l_e_ext_advertising_8h_source.html index 514aa39..5fc5958 100644 --- a/_nim_b_l_e_ext_advertising_8h_source.html +++ b/_nim_b_l_e_ext_advertising_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEExtAdvertising.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,198 +81,230 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_ext_advertising_8h_source.h
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEExtAdvertising.h
+
NimBLEExtAdvertising.h
-
1 /*
-
2  * NimBLEExtAdvertising.h
-
3  *
-
4  * Created: on February 6, 2022
-
5  * Author H2zero
-
6  */
-
7 
-
8 #ifndef MAIN_BLEEXTADVERTISING_H_
-
9 #define MAIN_BLEEXTADVERTISING_H_
-
10 #include "nimconfig.h"
-
11 #if defined(CONFIG_BT_ENABLED) && \
-
12  defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && \
-
13  CONFIG_BT_NIMBLE_EXT_ADV
-
14 
-
15 # if defined(CONFIG_NIMBLE_CPP_IDF)
-
16 # include "host/ble_gap.h"
-
17 # else
-
18 # include "nimble/nimble/host/include/host/ble_gap.h"
-
19 # endif
-
20 
-
21 /**** FIX COMPILATION ****/
-
22 #undef min
-
23 #undef max
-
24 /**************************/
-
25 
-
26 #include "NimBLEAddress.h"
-
27 #include "NimBLEUUID.h"
-
28 
-
29 #include <vector>
-
30 
- -
32 
-
33 
- -
38 public:
-
39  NimBLEExtAdvertisement(uint8_t priPhy = BLE_HCI_LE_PHY_1M,
-
40  uint8_t secPhy = BLE_HCI_LE_PHY_1M);
-
41  void setAppearance(uint16_t appearance);
-
42  void setCompleteServices(const NimBLEUUID &uuid);
-
43  void setCompleteServices16(const std::vector<NimBLEUUID> &v_uuid);
-
44  void setCompleteServices32(const std::vector<NimBLEUUID> &v_uuid);
-
45  void setFlags(uint8_t flag);
-
46  void setManufacturerData(const std::string &data);
-
47  void setURI(const std::string &uri);
-
48  void setName(const std::string &name);
-
49  void setPartialServices(const NimBLEUUID &uuid);
-
50  void setPartialServices16(const std::vector<NimBLEUUID> &v_uuid);
-
51  void setPartialServices32(const std::vector<NimBLEUUID> &v_uuid);
-
52  void setServiceData(const NimBLEUUID &uuid, const std::string &data);
-
53  void setShortName(const std::string &name);
-
54  void setData(const uint8_t * data, size_t length);
-
55  void addData(const std::string &data);
-
56  void addData(const uint8_t * data, size_t length);
-
57  void addTxPower();
-
58  void setPreferredParams(uint16_t min, uint16_t max);
-
59  void setLegacyAdvertising(bool val);
-
60  void setConnectable(bool val);
-
61  void setScannable(bool val);
-
62  void setMinInterval(uint32_t mininterval);
-
63  void setMaxInterval(uint32_t maxinterval);
-
64  void setPrimaryPhy(uint8_t phy);
-
65  void setSecondaryPhy(uint8_t phy);
-
66  void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly);
-
67  void setDirectedPeer(const NimBLEAddress & addr);
-
68  void setDirected(bool val, bool high_duty = true);
-
69  void setAnonymous(bool val);
-
70  void setPrimaryChannels(bool ch37, bool ch38, bool ch39);
-
71  void setTxPower(int8_t dbm);
-
72  void setAddress(const NimBLEAddress & addr);
-
73  void enableScanRequestCallback(bool enable);
-
74  void clearData();
-
75  size_t getDataSize();
-
76 
-
77 private:
-
78  friend class NimBLEExtAdvertising;
-
79 
-
80  void setServices(const bool complete, const uint8_t size,
-
81  const std::vector<NimBLEUUID> &v_uuid);
-
82 
-
83  std::vector<uint8_t> m_payload;
-
84  ble_gap_ext_adv_params m_params;
-
85  NimBLEAddress m_advAddress;
-
86 }; // NimBLEExtAdvertisement
-
87 
-
88 
- -
93 public:
-
97  NimBLEExtAdvertising() :m_advStatus(CONFIG_BT_NIMBLE_MAX_EXT_ADV_INSTANCES + 1, false) {}
- -
99  bool start(uint8_t inst_id, int duration = 0, int max_events = 0);
-
100  bool setInstanceData(uint8_t inst_id, NimBLEExtAdvertisement& adv);
-
101  bool setScanResponseData(uint8_t inst_id, NimBLEExtAdvertisement & data);
-
102  bool removeInstance(uint8_t inst_id);
-
103  bool removeAll();
-
104  bool stop(uint8_t inst_id);
-
105  bool stop();
-
106  bool isActive(uint8_t inst_id);
-
107  bool isAdvertising();
- -
109  bool deleteCallbacks = true);
-
110 
-
111 private:
-
112  friend class NimBLEDevice;
-
113  friend class NimBLEServer;
-
114 
-
115  void onHostSync();
-
116  static int handleGapEvent(struct ble_gap_event *event, void *arg);
-
117 
-
118  bool m_scanResp;
-
119  bool m_deleteCallbacks;
-
120  NimBLEExtAdvertisingCallbacks* m_pCallbacks;
-
121  ble_gap_ext_adv_params m_advParams;
-
122  std::vector<bool> m_advStatus;
-
123 };
-
124 
-
125 
- -
130 public:
-
131  virtual ~NimBLEExtAdvertisingCallbacks() {};
-
132 
-
139  virtual void onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t inst_id);
-
140 
-
148  virtual void onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t inst_id, NimBLEAddress addr);
-
149 }; // NimBLEExtAdvertisingCallbacks
-
150 
-
151 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && CONFIG_BT_NIMBLE_EXT_ADV */
-
152 #endif /* MAIN_BLEADVERTISING_H_ */
-
A BLE device address.
Definition: NimBLEAddress.h:39
-
A model of a BLE Device from which all the BLE roles are created.
Definition: NimBLEDevice.h:96
-
Extended advertisement data.
Definition: NimBLEExtAdvertising.h:37
-
void setCompleteServices(const NimBLEUUID &uuid)
Set a single service to advertise as a complete list of services.
Definition: NimBLEExtAdvertising.cpp:694
-
void setAddress(const NimBLEAddress &addr)
Set the address to use for this advertisement.
Definition: NimBLEExtAdvertising.cpp:446
-
void setScannable(bool val)
Sets wether the advertisement has scan response data available.
Definition: NimBLEExtAdvertising.cpp:414
-
void setData(const uint8_t *data, size_t length)
Set the advertisement data.
Definition: NimBLEExtAdvertising.cpp:599
-
void setCompleteServices16(const std::vector< NimBLEUUID > &v_uuid)
Set the complete list of 16 bit services to advertise.
Definition: NimBLEExtAdvertising.cpp:703
-
void clearData()
Clears the data stored in this instance, does not change settings.
Definition: NimBLEExtAdvertising.cpp:579
-
void setServiceData(const NimBLEUUID &uuid, const std::string &data)
Set the service data (UUID + data)
Definition: NimBLEExtAdvertising.cpp:801
-
void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
Set the filtering for the scan filter.
Definition: NimBLEExtAdvertising.cpp:471
-
void setDirected(bool val, bool high_duty=true)
Enable or disable direct advertisements to the peer set with NimBLEExtAdvertisement::setDirectedPeer
Definition: NimBLEExtAdvertising.cpp:508
-
void setCompleteServices32(const std::vector< NimBLEUUID > &v_uuid)
Set the complete list of 32 bit services to advertise.
Definition: NimBLEExtAdvertising.cpp:712
-
void setAnonymous(bool val)
Sets whether the advertisement should be anonymous.
Definition: NimBLEExtAdvertising.cpp:561
-
void setMaxInterval(uint32_t maxinterval)
Set the maximum advertising interval.
Definition: NimBLEExtAdvertising.cpp:527
-
void setDirectedPeer(const NimBLEAddress &addr)
Sets the peer to directly advertise to.
Definition: NimBLEExtAdvertising.cpp:495
-
void setFlags(uint8_t flag)
Set the advertisement flags.
Definition: NimBLEExtAdvertising.cpp:645
-
void setManufacturerData(const std::string &data)
Set manufacturer specific data.
Definition: NimBLEExtAdvertising.cpp:658
-
void setConnectable(bool val)
Sets wether this advertisement should advertise as a connectable device.
Definition: NimBLEExtAdvertising.cpp:435
-
void setShortName(const std::string &name)
Set the short name.
Definition: NimBLEExtAdvertising.cpp:838
-
void setTxPower(int8_t dbm)
Sets the transmission power level for this advertisement.
Definition: NimBLEExtAdvertising.cpp:426
-
void setLegacyAdvertising(bool val)
Sets wether the advertisement should use legacy (BLE 4.0, 31 bytes max) advertising.
Definition: NimBLEExtAdvertising.cpp:405
-
void setPartialServices16(const std::vector< NimBLEUUID > &v_uuid)
Set the partial list of services to advertise.
Definition: NimBLEExtAdvertising.cpp:730
-
void addData(const std::string &data)
Add data to the payload to be advertised.
Definition: NimBLEExtAdvertising.cpp:608
-
void setName(const std::string &name)
Set the complete name of this device.
Definition: NimBLEExtAdvertising.cpp:682
-
void setAppearance(uint16_t appearance)
Set the appearance.
Definition: NimBLEExtAdvertising.cpp:630
-
NimBLEExtAdvertisement(uint8_t priPhy=BLE_HCI_LE_PHY_1M, uint8_t secPhy=BLE_HCI_LE_PHY_1M)
Construct a BLE extended advertisement.
Definition: NimBLEExtAdvertising.cpp:390
-
void setSecondaryPhy(uint8_t phy)
Set the secondary advertising PHY to use.
Definition: NimBLEExtAdvertising.cpp:550
-
void enableScanRequestCallback(bool enable)
Sets whether the scan response request callback should be called.
Definition: NimBLEExtAdvertising.cpp:570
-
void setPrimaryChannels(bool ch37, bool ch38, bool ch39)
Sets The primary channels to advertise on.
Definition: NimBLEExtAdvertising.cpp:461
-
void setPartialServices(const NimBLEUUID &uuid)
Set a single service to advertise as a partial list of services.
Definition: NimBLEExtAdvertising.cpp:721
-
void setPreferredParams(uint16_t min, uint16_t max)
Set the preferred connection interval parameters.
Definition: NimBLEExtAdvertising.cpp:859
-
void addTxPower()
Adds Tx power level to the advertisement data.
Definition: NimBLEExtAdvertising.cpp:849
-
void setPartialServices32(const std::vector< NimBLEUUID > &v_uuid)
Set the partial list of services to advertise.
Definition: NimBLEExtAdvertising.cpp:739
-
void setPrimaryPhy(uint8_t phy)
Set the primary advertising PHY to use.
Definition: NimBLEExtAdvertising.cpp:538
-
void setMinInterval(uint32_t mininterval)
Set the minimum advertising interval.
Definition: NimBLEExtAdvertising.cpp:518
-
size_t getDataSize()
Get the size of the current data.
Definition: NimBLEExtAdvertising.cpp:588
-
void setURI(const std::string &uri)
Set the URI to advertise.
Definition: NimBLEExtAdvertising.cpp:670
-
Callbacks associated with NimBLEExtAdvertising class.
Definition: NimBLEExtAdvertising.h:129
-
virtual void onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t inst_id)
Handle an advertising stop event.
Definition: NimBLEExtAdvertising.cpp:368
-
virtual void onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t inst_id, NimBLEAddress addr)
Handle a scan response request. This is called when a scanning device requests a scan response.
Definition: NimBLEExtAdvertising.cpp:374
-
Extended advertising class.
Definition: NimBLEExtAdvertising.h:92
-
bool setInstanceData(uint8_t inst_id, NimBLEExtAdvertisement &adv)
Register the extended advertisement data.
Definition: NimBLEExtAdvertising.cpp:44
-
bool stop()
Stop all advertisements.
Definition: NimBLEExtAdvertising.cpp:257
-
~NimBLEExtAdvertising()
Destructor: deletes callback instances if requested.
Definition: NimBLEExtAdvertising.cpp:31
-
bool start(uint8_t inst_id, int duration=0, int max_events=0)
Start extended advertising.
Definition: NimBLEExtAdvertising.cpp:154
-
bool isActive(uint8_t inst_id)
Check if currently advertising.
Definition: NimBLEExtAdvertising.cpp:294
-
bool removeAll()
Stop and remove all advertising instance data.
Definition: NimBLEExtAdvertising.cpp:220
-
bool setScanResponseData(uint8_t inst_id, NimBLEExtAdvertisement &data)
Set the scan response data for a legacy advertisement.
Definition: NimBLEExtAdvertising.cpp:128
-
bool isAdvertising()
Check if any instances are currently advertising.
Definition: NimBLEExtAdvertising.cpp:303
-
void setCallbacks(NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)
Set a callback to call when the advertisement stops.
Definition: NimBLEExtAdvertising.cpp:278
-
bool removeInstance(uint8_t inst_id)
Stop and remove this instance data from the advertisement set.
Definition: NimBLEExtAdvertising.cpp:201
-
NimBLEExtAdvertising()
Construct an extended advertising object.
Definition: NimBLEExtAdvertising.h:97
-
The model of a BLE server.
Definition: NimBLEServer.h:46
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_EXTADVERTISING_H_
+
19#define NIMBLE_CPP_EXTADVERTISING_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && CONFIG_BT_NIMBLE_EXT_ADV
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "host/ble_gap.h"
+
26# else
+
27# include "nimble/nimble/host/include/host/ble_gap.h"
+
28# endif
+
29
+
30/**** FIX COMPILATION ****/
+
31# undef min
+
32# undef max
+
33/**************************/
+
34
+
35# include "NimBLEAddress.h"
+
36
+
37# include <string>
+
38# include <vector>
+
39
+ +
41class NimBLEUUID;
+
42
+
+ +
47 public:
+
48 NimBLEExtAdvertisement(uint8_t priPhy = BLE_HCI_LE_PHY_1M, uint8_t secPhy = BLE_HCI_LE_PHY_1M);
+
49 bool setAppearance(uint16_t appearance);
+
50 bool addServiceUUID(const NimBLEUUID& serviceUUID);
+
51 bool addServiceUUID(const char* serviceUUID);
+
52 bool removeServiceUUID(const NimBLEUUID& serviceUUID);
+
53 bool removeServiceUUID(const char* serviceUUID);
+
54 bool removeServices();
+
55 bool setCompleteServices(const NimBLEUUID& uuid);
+
56 bool setCompleteServices16(const std::vector<NimBLEUUID>& uuids);
+
57 bool setCompleteServices32(const std::vector<NimBLEUUID>& uuids);
+
58 bool setFlags(uint8_t flag);
+
59 bool setManufacturerData(const uint8_t* data, size_t length);
+
60 bool setManufacturerData(const std::string& data);
+
61 bool setManufacturerData(const std::vector<uint8_t>& data);
+
62 bool setURI(const std::string& uri);
+
63 bool setName(const std::string& name, bool isComplete = true);
+
64 bool setPartialServices(const NimBLEUUID& uuid);
+
65 bool setPartialServices16(const std::vector<NimBLEUUID>& uuids);
+
66 bool setPartialServices32(const std::vector<NimBLEUUID>& uuids);
+
67 bool setServiceData(const NimBLEUUID& uuid, const uint8_t* data, size_t length);
+
68 bool setServiceData(const NimBLEUUID& uuid, const std::string& data);
+
69 bool setServiceData(const NimBLEUUID& uuid, const std::vector<uint8_t>& data);
+
70 bool setShortName(const std::string& name);
+
71 bool setData(const uint8_t* data, size_t length);
+
72 bool addData(const uint8_t* data, size_t length);
+
73 bool addData(const std::string& data);
+
74 bool setPreferredParams(uint16_t min, uint16_t max);
+
75
+
76 void addTxPower();
+
77 void setLegacyAdvertising(bool enable);
+
78 void setConnectable(bool enable);
+
79 void setScannable(bool enable);
+
80 void setMinInterval(uint32_t mininterval);
+
81 void setMaxInterval(uint32_t maxinterval);
+
82 void setPrimaryPhy(uint8_t phy);
+
83 void setSecondaryPhy(uint8_t phy);
+
84 void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly);
+
85 void setDirectedPeer(const NimBLEAddress& addr);
+
86 void setDirected(bool enable, bool high_duty = true);
+
87 void setAnonymous(bool enable);
+
88 void setPrimaryChannels(bool ch37, bool ch38, bool ch39);
+
89 void setTxPower(int8_t dbm);
+
90 void setAddress(const NimBLEAddress& addr);
+
91 void enableScanRequestCallback(bool enable);
+
92 void clearData();
+
93 int getDataLocation(uint8_t type) const;
+
94 bool removeData(uint8_t type);
+
95 size_t getDataSize() const;
+
96 std::string toString() const;
+
97
+
98 private:
+
99 friend class NimBLEExtAdvertising;
+
100
+
101 bool setServices(bool complete, uint8_t size, const std::vector<NimBLEUUID>& uuids);
+
102
+
103 std::vector<uint8_t> m_payload{};
+
104 ble_gap_ext_adv_params m_params{};
+
105 NimBLEAddress m_advAddress{};
+
106}; // NimBLEExtAdvertisement
+
+
107
+
+ +
112 public:
+ + +
115 bool start(uint8_t instId, int duration = 0, int maxEvents = 0);
+
116 bool setInstanceData(uint8_t instId, NimBLEExtAdvertisement& adv);
+
117 bool setScanResponseData(uint8_t instId, NimBLEExtAdvertisement& data);
+
118 bool removeInstance(uint8_t instId);
+
119 bool removeAll();
+
120 bool stop(uint8_t instId);
+
121 bool stop();
+
122 bool isActive(uint8_t instId);
+
123 bool isAdvertising();
+
124 void setCallbacks(NimBLEExtAdvertisingCallbacks* callbacks, bool deleteCallbacks = true);
+
125
+
126 private:
+
127 friend class NimBLEDevice;
+
128 friend class NimBLEServer;
+
129
+
130 void onHostSync();
+
131 static int handleGapEvent(struct ble_gap_event* event, void* arg);
+
132
+
133 bool m_deleteCallbacks;
+
134 NimBLEExtAdvertisingCallbacks* m_pCallbacks;
+
135 std::vector<bool> m_advStatus;
+
136};
+
+
137
+
+ +
142 public:
+ +
144
+
151 virtual void onStopped(NimBLEExtAdvertising* pAdv, int reason, uint8_t instId);
+
152
+
160 virtual void onScanRequest(NimBLEExtAdvertising* pAdv, uint8_t instId, NimBLEAddress addr);
+
161}; // NimBLEExtAdvertisingCallbacks
+
+
162
+
163#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && CONFIG_BT_NIMBLE_EXT_ADV
+
164#endif // NIMBLE_CPP_EXTADVERTISING_H_
+
A BLE device address.
Definition NimBLEAddress.h:41
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:109
+
Extended advertisement data.
Definition NimBLEExtAdvertising.h:46
+
void setAddress(const NimBLEAddress &addr)
Set the address to use for this advertisement.
Definition NimBLEExtAdvertising.cpp:404
+
bool setAppearance(uint16_t appearance)
Set the appearance.
Definition NimBLEExtAdvertising.cpp:578
+
bool setFlags(uint8_t flag)
Set the advertisement flags.
Definition NimBLEExtAdvertising.cpp:600
+
bool addServiceUUID(const NimBLEUUID &serviceUUID)
Add a service uuid to exposed list of services.
Definition NimBLEExtAdvertising.cpp:690
+
void clearData()
Clears the data stored in this instance, does not change settings.
Definition NimBLEExtAdvertising.cpp:523
+
void setAnonymous(bool enable)
Sets whether the advertisement should be anonymous.
Definition NimBLEExtAdvertising.cpp:507
+
bool setPartialServices32(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEExtAdvertising.cpp:854
+
bool addData(const uint8_t *data, size_t length)
Add data to the payload to be advertised.
Definition NimBLEExtAdvertising.cpp:549
+
bool setCompleteServices16(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 16 bit services to advertise.
Definition NimBLEExtAdvertising.cpp:818
+
void setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
Set the filtering for the scan filter.
Definition NimBLEExtAdvertising.cpp:427
+
bool removeData(uint8_t type)
Remove data from the advertisement data.
Definition NimBLEExtAdvertising.cpp:1037
+
bool setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)
Set the service data advertised for the UUID.
Definition NimBLEExtAdvertising.cpp:915
+
bool setPreferredParams(uint16_t min, uint16_t max)
Set the preferred min and max connection intervals to advertise.
Definition NimBLEExtAdvertising.cpp:992
+
void setLegacyAdvertising(bool enable)
Sets wether the advertisement should use legacy (BLE 4.0, 31 bytes max) advertising.
Definition NimBLEExtAdvertising.cpp:369
+
bool setPartialServices(const NimBLEUUID &uuid)
Set a single service to advertise as a partial list of services.
Definition NimBLEExtAdvertising.cpp:836
+
void setMaxInterval(uint32_t maxinterval)
Set the maximum advertising interval.
Definition NimBLEExtAdvertising.cpp:476
+
bool setManufacturerData(const uint8_t *data, size_t length)
Set manufacturer specific data.
Definition NimBLEExtAdvertising.cpp:619
+
bool setShortName(const std::string &name)
Set the short name.
Definition NimBLEExtAdvertising.cpp:981
+
void setDirectedPeer(const NimBLEAddress &addr)
Sets the peer to directly advertise to.
Definition NimBLEExtAdvertising.cpp:450
+
std::string toString() const
Get the string representation of the advertisement data.
Definition NimBLEExtAdvertising.cpp:1061
+
bool removeServiceUUID(const NimBLEUUID &serviceUUID)
Remove a service UUID from the advertisement.
Definition NimBLEExtAdvertising.cpp:745
+
void setTxPower(int8_t dbm)
Sets the transmission power level for this advertisement.
Definition NimBLEExtAdvertising.cpp:386
+
bool setURI(const std::string &uri)
Set the URI to advertise.
Definition NimBLEExtAdvertising.cpp:655
+
int getDataLocation(uint8_t type) const
Get the location of the data in the payload.
Definition NimBLEExtAdvertising.cpp:1021
+
bool setName(const std::string &name, bool isComplete=true)
Set the complete name of this device.
Definition NimBLEExtAdvertising.cpp:673
+
void setSecondaryPhy(uint8_t phy)
Set the secondary advertising PHY to use.
Definition NimBLEExtAdvertising.cpp:497
+
bool setCompleteServices32(const std::vector< NimBLEUUID > &uuids)
Set the complete list of 32 bit services to advertise.
Definition NimBLEExtAdvertising.cpp:827
+
void enableScanRequestCallback(bool enable)
Sets whether the scan response request callback should be called.
Definition NimBLEExtAdvertising.cpp:515
+
void setPrimaryChannels(bool ch37, bool ch38, bool ch39)
Sets The primary channels to advertise on.
Definition NimBLEExtAdvertising.cpp:418
+
bool removeServices()
Remove all service UUIDs from the advertisement.
Definition NimBLEExtAdvertising.cpp:800
+
void setConnectable(bool enable)
Sets wether this advertisement should advertise as a connectable device.
Definition NimBLEExtAdvertising.cpp:394
+
void addTxPower()
Adds Tx power level to the advertisement data.
Definition NimBLEExtAdvertising.cpp:1012
+
void setPrimaryPhy(uint8_t phy)
Set the primary advertising PHY to use.
Definition NimBLEExtAdvertising.cpp:486
+
bool setPartialServices16(const std::vector< NimBLEUUID > &uuids)
Set the partial list of services to advertise.
Definition NimBLEExtAdvertising.cpp:845
+
void setScannable(bool enable)
Sets wether the advertisement has scan response data available.
Definition NimBLEExtAdvertising.cpp:377
+
size_t getDataSize() const
Get the size of the current data.
Definition NimBLEExtAdvertising.cpp:1053
+
void setMinInterval(uint32_t mininterval)
Set the minimum advertising interval.
Definition NimBLEExtAdvertising.cpp:468
+
bool setCompleteServices(const NimBLEUUID &uuid)
Set a single service to advertise as a complete list of services.
Definition NimBLEExtAdvertising.cpp:809
+
void setDirected(bool enable, bool high_duty=true)
Enable or disable direct advertisements to the peer set with NimBLEExtAdvertisement::setDirectedPeer
Definition NimBLEExtAdvertising.cpp:459
+
bool setData(const uint8_t *data, size_t length)
Set the advertisement data.
Definition NimBLEExtAdvertising.cpp:534
+
Callbacks associated with NimBLEExtAdvertising class.
Definition NimBLEExtAdvertising.h:141
+
virtual void onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t instId)
Handle an advertising stop event.
Definition NimBLEExtAdvertising.cpp:336
+
virtual void onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t instId, NimBLEAddress addr)
Handle a scan response request. This is called when a scanning device requests a scan response.
Definition NimBLEExtAdvertising.cpp:340
+
Extended advertising class.
Definition NimBLEExtAdvertising.h:111
+
bool stop()
Stop all advertisements.
Definition NimBLEExtAdvertising.cpp:230
+
~NimBLEExtAdvertising()
Destructor: deletes callback instances if requested.
Definition NimBLEExtAdvertising.cpp:47
+
bool start(uint8_t instId, int duration=0, int maxEvents=0)
Start extended advertising.
Definition NimBLEExtAdvertising.cpp:158
+
bool isActive(uint8_t instId)
Check if currently advertising.
Definition NimBLEExtAdvertising.cpp:263
+
bool removeAll()
Stop and remove all advertising instance data.
Definition NimBLEExtAdvertising.cpp:197
+
bool isAdvertising()
Check if any instances are currently advertising.
Definition NimBLEExtAdvertising.cpp:271
+
bool setScanResponseData(uint8_t instId, NimBLEExtAdvertisement &data)
Set the scan response data for a legacy advertisement.
Definition NimBLEExtAdvertising.cpp:134
+
bool removeInstance(uint8_t instId)
Stop and remove this instance data from the advertisement set.
Definition NimBLEExtAdvertising.cpp:180
+
void setCallbacks(NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)
Set a callback to call when the advertisement stops.
Definition NimBLEExtAdvertising.cpp:248
+
bool setInstanceData(uint8_t instId, NimBLEExtAdvertisement &adv)
Register the extended advertisement data.
Definition NimBLEExtAdvertising.cpp:59
+
NimBLEExtAdvertising()
Constructor.
Definition NimBLEExtAdvertising.cpp:39
+
The model of a BLE server.
Definition NimBLEServer.h:60
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
@@ -275,7 +312,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_ext_advertising_8h_source.h 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 fe0424c..b862b14 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 @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEHIDDevice.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,120 +81,132 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_h_i_d_device_8h_source.html
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEHIDDevice.h
+
NimBLEHIDDevice.h
-
1 /*
-
2  * NimBLEHIDDevice.h
-
3  *
-
4  * Created: on Oct 06 2020
-
5  * Author wakwak-koba
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEHIDDevice.h
-
10  *
-
11  * Created on: Jan 03, 2018
-
12  * Author: chegewara
-
13  */
-
14 
-
15 #ifndef _BLEHIDDEVICE_H_
-
16 #define _BLEHIDDEVICE_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
-
20 
-
21 #include "NimBLECharacteristic.h"
-
22 #include "NimBLEService.h"
-
23 #include "NimBLEDescriptor.h"
-
24 #include "HIDTypes.h"
-
25 
-
26 #define GENERIC_HID 0x03C0
-
27 #define HID_KEYBOARD 0x03C1
-
28 #define HID_MOUSE 0x03C2
-
29 #define HID_JOYSTICK 0x03C3
-
30 #define HID_GAMEPAD 0x03C4
-
31 #define HID_TABLET 0x03C5
-
32 #define HID_CARD_READER 0x03C6
-
33 #define HID_DIGITAL_PEN 0x03C7
-
34 #define HID_BARCODE 0x03C8
-
35 
-
36 
- -
41 public:
- -
43  virtual ~NimBLEHIDDevice();
-
44 
-
45  void reportMap(uint8_t* map, uint16_t);
-
46  void startServices();
-
47 
- - - -
51 
- -
53  void manufacturer(std::string name);
-
54  //NimBLECharacteristic* pnp();
-
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();
-
59  void setBatteryLevel(uint8_t level);
-
60 
-
61 
-
62  //NimBLECharacteristic* reportMap();
- -
64  NimBLECharacteristic* inputReport(uint8_t reportID);
-
65  NimBLECharacteristic* outputReport(uint8_t reportID);
-
66  NimBLECharacteristic* featureReport(uint8_t reportID);
- - - -
70 
-
71 private:
-
72  NimBLEService* m_deviceInfoService; //0x180a
-
73  NimBLEService* m_hidService; //0x1812
-
74  NimBLEService* m_batteryService = 0; //0x180f
-
75 
-
76  NimBLECharacteristic* m_manufacturerCharacteristic; //0x2a29
-
77  NimBLECharacteristic* m_pnpCharacteristic; //0x2a50
-
78  NimBLECharacteristic* m_hidInfoCharacteristic; //0x2a4a
-
79  NimBLECharacteristic* m_reportMapCharacteristic; //0x2a4b
-
80  NimBLECharacteristic* m_hidControlCharacteristic; //0x2a4c
-
81  NimBLECharacteristic* m_protocolModeCharacteristic; //0x2a4e
-
82  NimBLECharacteristic* m_batteryLevelCharacteristic; //0x2a19
-
83 };
-
84 
-
85 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER */
-
86 #endif /* _BLEHIDDEVICE_H_ */
-
The model of a BLE Characteristic.
Definition: NimBLECharacteristic.h:63
-
A model of a BLE Human Interface Device.
Definition: NimBLEHIDDevice.h:40
-
NimBLEService * deviceInfo()
Returns a pointer to the device information service.
Definition: NimBLEHIDDevice.cpp:230
-
NimBLECharacteristic * protocolMode()
Returns a pointer to the protocol mode characteristic.
Definition: NimBLEHIDDevice.cpp:192
-
NimBLEService * batteryService()
Returns a pointer to the battery service.
Definition: NimBLEHIDDevice.cpp:244
-
void hidInfo(uint8_t country, uint8_t flags)
Sets the HID Information characteristic value.
Definition: NimBLEHIDDevice.cpp:118
-
NimBLECharacteristic * manufacturer()
Create a manufacturer characteristic (this characteristic is optional).
Definition: NimBLEHIDDevice.cpp:88
-
NimBLECharacteristic * bootInput()
Creates a keyboard boot input report characteristic.
Definition: NimBLEHIDDevice.cpp:171
-
NimBLECharacteristic * featureReport(uint8_t reportID)
Create feature report characteristic.
Definition: NimBLEHIDDevice.cpp:158
-
void pnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)
Sets the Plug n Play characteristic value.
Definition: NimBLEHIDDevice.cpp:108
-
void startServices()
Start the HID device services. This function called when all the services have been created.
Definition: NimBLEHIDDevice.cpp:79
-
NimBLECharacteristic * hidControl()
Returns a pointer to the HID control point characteristic.
Definition: NimBLEHIDDevice.cpp:185
-
void reportMap(uint8_t *map, uint16_t)
Set the report map data formatting information.
Definition: NimBLEHIDDevice.cpp:71
-
void setBatteryLevel(uint8_t level)
Set the battery level characteristic value.
Definition: NimBLEHIDDevice.cpp:200
-
NimBLECharacteristic * inputReport(uint8_t reportID)
Create input report characteristic.
Definition: NimBLEHIDDevice.cpp:128
-
NimBLEHIDDevice(NimBLEServer *)
Construct a default NimBLEHIDDevice object.
Definition: NimBLEHIDDevice.cpp:25
-
NimBLECharacteristic * outputReport(uint8_t reportID)
Create output report characteristic.
Definition: NimBLEHIDDevice.cpp:143
-
NimBLECharacteristic * bootOutput()
Create a keyboard boot output report characteristic.
Definition: NimBLEHIDDevice.cpp:178
-
NimBLEService * hidService()
Returns a pointer to the HID service.
Definition: NimBLEHIDDevice.cpp:237
-
The model of a BLE server.
Definition: NimBLEServer.h:46
-
The model of a BLE service.
Definition: NimBLEService.h:34
+
1/*
+
2 * Copyright 2020-2024 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_HIDDEVICE_H_
+
19#define NIMBLE_CPP_HIDDEVICE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
23
+
24# include <stdint.h>
+
25# include <string>
+
26
+
27# define GENERIC_HID 0x03C0
+
28# define HID_KEYBOARD 0x03C1
+
29# define HID_MOUSE 0x03C2
+
30# define HID_JOYSTICK 0x03C3
+
31# define HID_GAMEPAD 0x03C4
+
32# define HID_TABLET 0x03C5
+
33# define HID_CARD_READER 0x03C6
+
34# define HID_DIGITAL_PEN 0x03C7
+
35# define HID_BARCODE 0x03C8
+
36
+
37# define PNPVersionField(MajorVersion, MinorVersion, PatchVersion) \
+
38 ((MajorVersion << 16) & 0xFF00) | ((MinorVersion << 8) & 0x00F0) | (PatchVersion & 0x000F)
+
39
+
40class NimBLEServer;
+
41class NimBLEService;
+ +
43
+
+ +
48 public:
+ +
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);
+ + + +
60 NimBLECharacteristic* getInputReport(uint8_t reportId);
+
61 NimBLECharacteristic* getOutputReport(uint8_t reportId);
+
62 NimBLECharacteristic* getFeatureReport(uint8_t reportId);
+ + + + + + + + +
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
+
86#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_BROADCASTER && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
87#endif // NIMBLE_CPP_HIDDEVICE_H_
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
A model of a BLE Human Interface Device.
Definition NimBLEHIDDevice.h:47
+
NimBLECharacteristic * getProtocolMode()
Get the HID protocol mode characteristic.
Definition NimBLEHIDDevice.cpp:262
+
NimBLECharacteristic * getHidInfo()
Get the HID information characteristic.
Definition NimBLEHIDDevice.cpp:294
+
NimBLEService * getHidService()
Get the HID service.
Definition NimBLEHIDDevice.cpp:310
+
NimBLECharacteristic * getBatteryLevel()
Get the battery level characteristic.
Definition NimBLEHIDDevice.cpp:270
+
bool setManufacturer(const std::string &name)
Get the manufacturer characteristic (this characteristic is optional).
Definition NimBLEHIDDevice.cpp:98
+
void startServices()
Start the HID device services. This function called when all the services have been created.
Definition NimBLEHIDDevice.cpp:87
+
NimBLEService * getDeviceInfoService()
Get the manufacturer characteristic.
Definition NimBLEHIDDevice.cpp:302
+
NimBLECharacteristic * getBootInput()
Get a keyboard boot input report characteristic.
Definition NimBLEHIDDevice.cpp:226
+
void setPnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)
Sets the Plug n Play characteristic value.
Definition NimBLEHIDDevice.cpp:118
+
void setBatteryLevel(uint8_t level, bool notify=false)
Set the battery level characteristic value.
Definition NimBLEHIDDevice.cpp:145
+
NimBLECharacteristic * getHidControl()
Get the HID control point characteristic.
Definition NimBLEHIDDevice.cpp:254
+
NimBLECharacteristic * getPnp()
Get the PnP characteristic.
Definition NimBLEHIDDevice.cpp:286
+
void setReportMap(uint8_t *map, uint16_t)
Set the report map data formatting information.
Definition NimBLEHIDDevice.cpp:79
+
NimBLECharacteristic * getFeatureReport(uint8_t reportId)
Get the feature report characteristic.
Definition NimBLEHIDDevice.cpp:204
+
NimBLECharacteristic * getOutputReport(uint8_t reportId)
Get the output report characteristic.
Definition NimBLEHIDDevice.cpp:180
+
NimBLECharacteristic * getBootOutput()
Create a keyboard boot output report characteristic.
Definition NimBLEHIDDevice.cpp:240
+
NimBLEService * getBatteryService()
Get the battery service.
Definition NimBLEHIDDevice.cpp:318
+
void setHidInfo(uint8_t country, uint8_t flags)
Sets the HID Information characteristic value.
Definition NimBLEHIDDevice.cpp:135
+
NimBLECharacteristic * getInputReport(uint8_t reportId)
Get the input report characteristic.
Definition NimBLEHIDDevice.cpp:158
+
NimBLECharacteristic * getReportMap()
Get the report map characteristic.
Definition NimBLEHIDDevice.cpp:278
+
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE service.
Definition NimBLEService.h:34
@@ -197,7 +214,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_h_i_d_device_8h_source.html diff --git a/_nim_b_l_e_local_attribute_8h_source.html b/_nim_b_l_e_local_attribute_8h_source.html new file mode 100644 index 0000000..479bb85 --- /dev/null +++ b/_nim_b_l_e_local_attribute_8h_source.html @@ -0,0 +1,161 @@ + + + + + + + +esp-nimble-cpp: /github/workspace/src/NimBLELocalAttribute.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
esp-nimble-cpp 2.0.0 +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NimBLELocalAttribute.h
+
+
+
1/*
+
2 * Copyright 2020-2024 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_LOCAL_ATTRIBUTE_H_
+
19#define NIMBLE_CPP_LOCAL_ATTRIBUTE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
23
+
24# include "NimBLEAttribute.h"
+
25
+
+ +
30 public:
+
35 uint8_t getRemoved() const { return m_removed; }
+
36
+
37 protected:
+
41 NimBLELocalAttribute(const NimBLEUUID& uuid, uint16_t handle) : NimBLEAttribute{uuid, handle}, m_removed{0} {}
+
42
+ +
47
+
52 void setRemoved(uint8_t removed) { m_removed = removed; }
+
53
+
54 uint8_t m_removed{0};
+
55};
+
+
56
+
57#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
58#endif // NIMBLE_CPP_LOCAL_ATTRIBUTE_H_
+
A base class for BLE attributes.
Definition NimBLEAttribute.h:29
+
A base class for local BLE attributes.
Definition NimBLELocalAttribute.h:29
+
void setRemoved(uint8_t removed)
Set the removed flag.
Definition NimBLELocalAttribute.h:52
+
uint8_t getRemoved() const
Get the removed flag.
Definition NimBLELocalAttribute.h:35
+
NimBLELocalAttribute(const NimBLEUUID &uuid, uint16_t handle)
Construct a local attribute.
Definition NimBLELocalAttribute.h:41
+
~NimBLELocalAttribute()=default
Destroy the local attribute.
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
+ +
+
+ + + + diff --git a/_nim_b_l_e_local_value_attribute_8h_source.html b/_nim_b_l_e_local_value_attribute_8h_source.html new file mode 100644 index 0000000..c0a398b --- /dev/null +++ b/_nim_b_l_e_local_value_attribute_8h_source.html @@ -0,0 +1,221 @@ + + + + + + + +esp-nimble-cpp: /github/workspace/src/NimBLELocalValueAttribute.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
esp-nimble-cpp 2.0.0 +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NimBLELocalValueAttribute.h
+
+
+
1/*
+
2 * Copyright 2020-2024 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_LOCAL_VALUE_ATTRIBUTE_H_
+
19#define NIMBLE_LOCAL_VALUE_ATTRIBUTE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "host/ble_hs.h"
+
26# else
+
27# include "nimble/nimble/host/include/host/ble_hs.h"
+
28# endif
+
29
+
30/**** FIX COMPILATION ****/
+
31# undef min
+
32# undef max
+
33/**************************/
+
34
+
35typedef enum {
+
36 READ = BLE_GATT_CHR_F_READ,
+
37 READ_ENC = BLE_GATT_CHR_F_READ_ENC,
+
38 READ_AUTHEN = BLE_GATT_CHR_F_READ_AUTHEN,
+
39 READ_AUTHOR = BLE_GATT_CHR_F_READ_AUTHOR,
+
40 WRITE = BLE_GATT_CHR_F_WRITE,
+
41 WRITE_NR = BLE_GATT_CHR_F_WRITE_NO_RSP,
+
42 WRITE_ENC = BLE_GATT_CHR_F_WRITE_ENC,
+
43 WRITE_AUTHEN = BLE_GATT_CHR_F_WRITE_AUTHEN,
+
44 WRITE_AUTHOR = BLE_GATT_CHR_F_WRITE_AUTHOR,
+
45 BROADCAST = BLE_GATT_CHR_F_BROADCAST,
+
46 NOTIFY = BLE_GATT_CHR_F_NOTIFY,
+
47 INDICATE = BLE_GATT_CHR_F_INDICATE
+
48} NIMBLE_PROPERTY;
+
49
+
50# include "NimBLELocalAttribute.h"
+
51# include "NimBLEAttValue.h"
+
52# include <vector>
+
53class NimBLEConnInfo;
+
54
+
55class NimBLELocalValueAttribute : public NimBLELocalAttribute {
+
56 public:
+
60 uint16_t getProperties() const { return m_properties; }
+
61
+
66 size_t getLength() const { return m_value.size(); }
+
67
+
73 NimBLEAttValue getValue(time_t* timestamp = nullptr) const { return m_value; }
+
74
+
80 void setValue(const uint8_t* data, size_t size) { m_value.setValue(data, size); }
+
81
+
86 void setValue(const char* str) { m_value.setValue(str); }
+
87
+
92 void setValue(const std::vector<uint8_t>& vec) { m_value.setValue(vec); }
+
93
+
98 template <typename T>
+
99 void setValue(const T& val) {
+
100 m_value.setValue<T>(val);
+
101 }
+
102
+
111 template <typename T>
+
112 T getValue(time_t* timestamp = nullptr, bool skipSizeCheck = false) const {
+
113 return m_value.getValue<T>(timestamp, skipSizeCheck);
+
114 }
+
115
+
116 protected:
+
117 friend class NimBLEServer;
+
118
+
126 NimBLELocalValueAttribute(const NimBLEUUID& uuid,
+
127 uint16_t handle,
+
128 uint16_t maxLen,
+ +
130 : NimBLELocalAttribute(uuid, handle), m_value(initLen, maxLen) {}
+
131
+
135 virtual ~NimBLELocalValueAttribute() = default;
+
136
+
142 virtual void readEvent(NimBLEConnInfo& connInfo) = 0;
+
143
+
151 virtual void writeEvent(const uint8_t* val, uint16_t len, NimBLEConnInfo& connInfo) = 0;
+
152
+
158 const NimBLEAttValue& getAttVal() const { return m_value; }
+
159
+
164 void setProperties(uint16_t properties) { m_properties = properties; }
+
165
+
166 NimBLEAttValue m_value{};
+
167 uint16_t m_properties{0};
+
168};
+
169
+
170#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
171#endif // NIMBLE_LOCAL_VALUE_ATTRIBUTE_H_
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
+
bool setValue(const uint8_t *value, uint16_t len)
Set the value from a buffer.
Definition NimBLEAttValue.cpp:96
+
Connection information.
Definition NimBLEConnInfo.h:32
+
A base class for local BLE attributes.
Definition NimBLELocalAttribute.h:29
+
The model of a BLE server.
Definition NimBLEServer.h:60
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
+ +
#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH
Uncomment to set the default allocation size (bytes) for each attribute if not specified when the con...
Definition nimconfig.h:68
+
+
+ + + + diff --git a/_nim_b_l_e_log_8h_source.html b/_nim_b_l_e_log_8h_source.html index 203e826..d98d7c0 100644 --- a/_nim_b_l_e_log_8h_source.html +++ b/_nim_b_l_e_log_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLELog.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,96 +81,100 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_log_8h_source.html',''); in
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLELog.h
+
NimBLELog.h
-
1 /*
-
2  * NimBLELog.h
-
3  *
-
4  * Created: on Feb 24 2020
-
5  * Author H2zero
-
6  *
-
7  */
-
8 #ifndef MAIN_NIMBLELOG_H_
-
9 #define MAIN_NIMBLELOG_H_
-
10 
-
11 #include "nimconfig.h"
-
12 
-
13 #if defined(CONFIG_BT_ENABLED)
-
14 
-
15 #if defined(CONFIG_NIMBLE_CPP_IDF) // using esp-idf
-
16 # include "esp_log.h"
-
17 # ifndef CONFIG_NIMBLE_CPP_LOG_LEVEL
-
18 # define CONFIG_NIMBLE_CPP_LOG_LEVEL 0
-
19 # endif
-
20 
-
21 # define NIMBLE_CPP_LOG_PRINT(level, tag, format, ...) do { \
-
22  if (CONFIG_NIMBLE_CPP_LOG_LEVEL >= level) \
-
23  ESP_LOG_LEVEL_LOCAL(level, tag, format, ##__VA_ARGS__); \
-
24  } while(0)
-
25 
-
26 # define NIMBLE_LOGD(tag, format, ...) \
-
27  NIMBLE_CPP_LOG_PRINT(ESP_LOG_DEBUG, tag, format, ##__VA_ARGS__)
-
28 
-
29 # define NIMBLE_LOGI(tag, format, ...) \
-
30  NIMBLE_CPP_LOG_PRINT(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
-
31 
-
32 # define NIMBLE_LOGW(tag, format, ...) \
-
33  NIMBLE_CPP_LOG_PRINT(ESP_LOG_WARN, tag, format, ##__VA_ARGS__)
-
34 
-
35 # define NIMBLE_LOGE(tag, format, ...) \
-
36  NIMBLE_CPP_LOG_PRINT(ESP_LOG_ERROR, tag, format, ##__VA_ARGS__)
-
37 
-
38 # define NIMBLE_LOGC(tag, format, ...) \
-
39  NIMBLE_CPP_LOG_PRINT(ESP_LOG_ERROR, tag, format, ##__VA_ARGS__)
-
40 
-
41 #else // using Arduino
-
42 # include "nimble/porting/nimble/include/syscfg/syscfg.h"
-
43 # include "nimble/console/console.h"
-
44 # ifndef CONFIG_NIMBLE_CPP_LOG_LEVEL
-
45 # if defined(ARDUINO_ARCH_ESP32) && defined(CORE_DEBUG_LEVEL)
-
46 # define CONFIG_NIMBLE_CPP_LOG_LEVEL CORE_DEBUG_LEVEL
-
47 # else
-
48 # define CONFIG_NIMBLE_CPP_LOG_LEVEL 0
-
49 # endif
-
50 # endif
-
51 
-
52 # if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 4
-
53 # define NIMBLE_LOGD( tag, format, ... ) console_printf("D %s: " format "\n", tag, ##__VA_ARGS__)
-
54 # else
-
55 # define NIMBLE_LOGD( tag, format, ... ) (void)tag
-
56 # endif
-
57 
-
58 # if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 3
-
59 # define NIMBLE_LOGI( tag, format, ... ) console_printf("I %s: " format "\n", tag, ##__VA_ARGS__)
-
60 # else
-
61 # define NIMBLE_LOGI( tag, format, ... ) (void)tag
-
62 # endif
-
63 
-
64 # if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 2
-
65 # define NIMBLE_LOGW( tag, format, ... ) console_printf("W %s: " format "\n", tag, ##__VA_ARGS__)
-
66 # else
-
67 # define NIMBLE_LOGW( tag, format, ... ) (void)tag
-
68 # endif
-
69 
-
70 # if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 1
-
71 # define NIMBLE_LOGE( tag, format, ... ) console_printf("E %s: " format "\n", tag, ##__VA_ARGS__)
-
72 # define NIMBLE_LOGC( tag, format, ... ) console_printf("CRIT %s: " format "\n", tag, ##__VA_ARGS__)
-
73 # else
-
74 # define NIMBLE_LOGE( tag, format, ... ) (void)tag
-
75 # define NIMBLE_LOGC( tag, format, ... ) (void)tag
-
76 # endif
-
77 
-
78 #endif /* CONFIG_NIMBLE_CPP_IDF */
-
79 #endif /* CONFIG_BT_ENABLED */
-
80 #endif /* MAIN_NIMBLELOG_H_ */
+
1/*
+
2 * Copyright 2020-2024 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_LOG_H_
+
19#define NIMBLE_CPP_LOG_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED)
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "esp_log.h"
+
26# include "console/console.h"
+
27# ifndef CONFIG_NIMBLE_CPP_LOG_LEVEL
+
28# define CONFIG_NIMBLE_CPP_LOG_LEVEL 0
+
29# endif
+
30
+
31# define NIMBLE_CPP_LOG_PRINT(level, tag, format, ...) \
+
32 do { \
+
33 if (CONFIG_NIMBLE_CPP_LOG_LEVEL >= level) ESP_LOG_LEVEL_LOCAL(level, tag, format, ##__VA_ARGS__); \
+
34 } while (0)
+
35
+
36# define NIMBLE_LOGD(tag, format, ...) NIMBLE_CPP_LOG_PRINT(ESP_LOG_DEBUG, tag, format, ##__VA_ARGS__)
+
37# define NIMBLE_LOGI(tag, format, ...) NIMBLE_CPP_LOG_PRINT(ESP_LOG_INFO, tag, format, ##__VA_ARGS__)
+
38# define NIMBLE_LOGW(tag, format, ...) NIMBLE_CPP_LOG_PRINT(ESP_LOG_WARN, tag, format, ##__VA_ARGS__)
+
39# define NIMBLE_LOGE(tag, format, ...) NIMBLE_CPP_LOG_PRINT(ESP_LOG_ERROR, tag, format, ##__VA_ARGS__)
+
40
+
41# else
+
42# include "nimble/porting/nimble/include/syscfg/syscfg.h"
+
43# include "nimble/console/console.h"
+
44# ifndef CONFIG_NIMBLE_CPP_LOG_LEVEL
+
45# if defined(ARDUINO_ARCH_ESP32) && defined(CORE_DEBUG_LEVEL)
+
46# define CONFIG_NIMBLE_CPP_LOG_LEVEL CORE_DEBUG_LEVEL
+
47# else
+
48# define CONFIG_NIMBLE_CPP_LOG_LEVEL 0
+
49# endif
+
50# endif
+
51
+
52# if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 4
+
53# define NIMBLE_LOGD(tag, format, ...) console_printf("D %s: " format "\n", tag, ##__VA_ARGS__)
+
54# else
+
55# define NIMBLE_LOGD(tag, format, ...) (void)tag
+
56# endif
+
57
+
58# if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 3
+
59# define NIMBLE_LOGI(tag, format, ...) console_printf("I %s: " format "\n", tag, ##__VA_ARGS__)
+
60# else
+
61# define NIMBLE_LOGI(tag, format, ...) (void)tag
+
62# endif
+
63
+
64# if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 2
+
65# define NIMBLE_LOGW(tag, format, ...) console_printf("W %s: " format "\n", tag, ##__VA_ARGS__)
+
66# else
+
67# define NIMBLE_LOGW(tag, format, ...) (void)tag
+
68# endif
+
69
+
70# if CONFIG_NIMBLE_CPP_LOG_LEVEL >= 1
+
71# define NIMBLE_LOGE(tag, format, ...) console_printf("E %s: " format "\n", tag, ##__VA_ARGS__)
+
72# else
+
73# define NIMBLE_LOGE(tag, format, ...) (void)tag
+
74# endif
+
75
+
76# endif /* CONFIG_NIMBLE_CPP_IDF */
+
77#endif /* CONFIG_BT_ENABLED */
+
78#endif /* NIMBLE_CPP_LOG_H_ */
@@ -173,7 +182,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_log_8h_source.html',''); in diff --git a/_nim_b_l_e_remote_characteristic_8h_source.html b/_nim_b_l_e_remote_characteristic_8h_source.html index efcfdd9..26798de 100644 --- a/_nim_b_l_e_remote_characteristic_8h_source.html +++ b/_nim_b_l_e_remote_characteristic_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLERemoteCharacteristic.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,212 +81,125 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_characteristic_8h_so
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLERemoteCharacteristic.h
+
NimBLERemoteCharacteristic.h
-
1 /*
-
2  * NimBLERemoteCharacteristic.h
-
3  *
-
4  * Created: on Jan 27 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLERemoteCharacteristic.h
-
10  *
-
11  * Created on: Jul 8, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef COMPONENTS_NIMBLEREMOTECHARACTERISTIC_H_
-
16 #define COMPONENTS_NIMBLEREMOTECHARACTERISTIC_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
20 
-
21 #include "NimBLERemoteService.h"
-
22 #include "NimBLERemoteDescriptor.h"
-
23 
-
24 #include <vector>
-
25 #include <functional>
-
26 #include "NimBLELog.h"
-
27 
- - -
30 
-
31 
-
32 typedef std::function<void (NimBLERemoteCharacteristic* pBLERemoteCharacteristic,
-
33  uint8_t* pData, size_t length, bool isNotify)> notify_callback;
-
34 
-
35 typedef struct {
-
36  const NimBLEUUID *uuid;
-
37  void *task_data;
-
38 } desc_filter_t;
-
39 
-
40 
- -
45 public:
- -
47 
-
48  // Public member functions
-
49  bool canBroadcast();
-
50  bool canIndicate();
-
51  bool canNotify();
-
52  bool canRead();
-
53  bool canWrite();
-
54  bool canWriteNoResponse();
-
55  std::vector<NimBLERemoteDescriptor*>::iterator begin();
-
56  std::vector<NimBLERemoteDescriptor*>::iterator end();
- -
58  std::vector<NimBLERemoteDescriptor*>* getDescriptors(bool refresh = false);
-
59  void deleteDescriptors();
-
60  size_t deleteDescriptor(const NimBLEUUID &uuid);
-
61  uint16_t getHandle();
-
62  uint16_t getDefHandle();
- -
64  NimBLEAttValue readValue(time_t *timestamp = nullptr);
-
65  std::string toString();
- -
67 
-
68  uint8_t readUInt8() __attribute__ ((deprecated("Use template readValue<uint8_t>()")));
-
69  uint16_t readUInt16() __attribute__ ((deprecated("Use template readValue<uint16_t>()")));
-
70  uint32_t readUInt32() __attribute__ ((deprecated("Use template readValue<uint32_t>()")));
-
71  float readFloat() __attribute__ ((deprecated("Use template readValue<float>()")));
-
72  NimBLEAttValue getValue(time_t *timestamp = nullptr);
-
73 
-
74  bool subscribe(bool notifications = true,
-
75  notify_callback notifyCallback = nullptr,
-
76  bool response = false);
-
77  bool unsubscribe(bool response = false);
-
78  bool registerForNotify(notify_callback notifyCallback,
-
79  bool notifications = true,
-
80  bool response = true)
-
81  __attribute__ ((deprecated("Use subscribe()/unsubscribe()")));
-
82  bool writeValue(const uint8_t* data,
-
83  size_t length,
-
84  bool response = false);
-
85  bool writeValue(const std::vector<uint8_t>& v, bool response = false);
-
86  bool writeValue(const char* s, bool response = false);
-
87 
-
88 
-
89  /*********************** Template Functions ************************/
-
90 
-
97  template<typename T>
-
98 #ifdef _DOXYGEN_
-
99  bool
-
100 #else
-
101  typename std::enable_if<!std::is_array<T>::value && !Has_c_str_len<T>::value, bool>::type
-
102 #endif
-
103  writeValue(const T& s, bool response = false) {
-
104  return writeValue((uint8_t*)&s, sizeof(T), response);
-
105  }
-
106 
-
113  template<typename T>
-
114 #ifdef _DOXYGEN_
-
115  bool
-
116 #else
-
117  typename std::enable_if<Has_c_str_len<T>::value, bool>::type
-
118 #endif
-
119  writeValue(const T& s, bool response = false) {
-
120  return writeValue((uint8_t*)s.c_str(), s.length(), response);
-
121  }
-
122 
-
132  template<typename T>
-
133  T getValue(time_t *timestamp = nullptr, bool skipSizeCheck = false) {
-
134  if(!skipSizeCheck && m_value.size() < sizeof(T)) return T();
-
135  return *((T *)m_value.getValue(timestamp));
-
136  }
-
137 
-
147  template<typename T>
-
148  T readValue(time_t *timestamp = nullptr, bool skipSizeCheck = false) {
-
149  NimBLEAttValue value = readValue();
-
150  if(!skipSizeCheck && value.size() < sizeof(T)) return T();
-
151  return *((T *)value.getValue(timestamp));
-
152  }
-
153 
-
154 private:
-
155 
-
156  NimBLERemoteCharacteristic(NimBLERemoteService *pRemoteservice, const struct ble_gatt_chr *chr);
-
157 
-
158  friend class NimBLEClient;
-
159  friend class NimBLERemoteService;
-
160  friend class NimBLERemoteDescriptor;
-
161 
-
162  // Private member functions
-
163  bool setNotify(uint16_t val, notify_callback notifyCallback = nullptr, bool response = true);
-
164  bool retrieveDescriptors(const NimBLEUUID *uuid_filter = nullptr);
-
165  static int onReadCB(uint16_t conn_handle, const struct ble_gatt_error *error,
-
166  struct ble_gatt_attr *attr, void *arg);
-
167  static int onWriteCB(uint16_t conn_handle, const struct ble_gatt_error *error,
-
168  struct ble_gatt_attr *attr, void *arg);
-
169  static int descriptorDiscCB(uint16_t conn_handle, const struct ble_gatt_error *error,
-
170  uint16_t chr_val_handle, const struct ble_gatt_dsc *dsc,
-
171  void *arg);
-
172  static int nextCharCB(uint16_t conn_handle, const struct ble_gatt_error *error,
-
173  const struct ble_gatt_chr *chr, void *arg);
-
174 
-
175  // Private properties
-
176  NimBLEUUID m_uuid;
-
177  uint8_t m_charProp;
-
178  uint16_t m_handle;
-
179  uint16_t m_defHandle;
-
180  uint16_t m_endHandle;
-
181  NimBLERemoteService* m_pRemoteService;
-
182  NimBLEAttValue m_value;
-
183  notify_callback m_notifyCallback;
-
184 
-
185  // We maintain a vector of descriptors owned by this characteristic.
-
186  std::vector<NimBLERemoteDescriptor*> m_descriptorVector;
-
187 }; // NimBLERemoteCharacteristic
-
188 
-
189 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
-
190 #endif /* COMPONENTS_NIMBLEREMOTECHARACTERISTIC_H_ */
-
A specialized container class to hold BLE attribute values.
Definition: NimBLEAttValue.h:61
-
const uint8_t * getValue(time_t *timestamp)
Get a pointer to the value buffer with timestamp.
Definition: NimBLEAttValue.h:369
-
uint16_t size() const
Returns the current size of the value in bytes.
Definition: NimBLEAttValue.h:151
-
A model of a BLE client.
Definition: NimBLEClient.h:39
-
A model of a remote BLE characteristic.
Definition: NimBLERemoteCharacteristic.h:44
-
bool canRead()
Does the characteristic support reading?
Definition: NimBLERemoteCharacteristic.cpp:115
-
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: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:713
-
bool canIndicate()
Does the characteristic support indications?
Definition: NimBLERemoteCharacteristic.cpp:97
-
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
-
std::vector< NimBLERemoteDescriptor * >::iterator begin()
Get iterator to the beginning of the vector of remote descriptor pointers.
Definition: NimBLERemoteCharacteristic.cpp:383
-
float readFloat() __attribute__((deprecated("Use template readValue<float>()")))
Read a float value.
Definition: NimBLERemoteCharacteristic.cpp:480
-
~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
-
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: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
-
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
-
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
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_REMOTE_CHARACTERISTIC_H_
+
19#define NIMBLE_CPP_REMOTE_CHARACTERISTIC_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
23
+
24# include "NimBLERemoteValueAttribute.h"
+
25# include <vector>
+
26# include <functional>
+
27
+ + +
30
+
+
34class NimBLERemoteCharacteristic : public NimBLERemoteValueAttribute {
+
35 public:
+
36 std::string toString() const;
+ +
38 void deleteDescriptors() const;
+
39 size_t deleteDescriptor(const NimBLEUUID& uuid) const;
+
40 bool canBroadcast() const;
+
41 bool canRead() const;
+
42 bool canWriteNoResponse() const;
+
43 bool canWrite() const;
+
44 bool canNotify() const;
+
45 bool canIndicate() const;
+
46 bool canWriteSigned() const;
+
47 bool hasExtendedProps() const;
+
48 NimBLEClient* getClient() const override;
+
49
+
50 typedef std::function<void(NimBLERemoteCharacteristic* pBLERemoteCharacteristic, uint8_t* pData, size_t length, bool isNotify)> notify_callback;
+
51
+
52 bool subscribe(bool notifications = true, const notify_callback notifyCallback = nullptr, bool response = true) const;
+
53 bool unsubscribe(bool response = true) const;
+
54
+
55 std::vector<NimBLERemoteDescriptor*>::iterator begin() const;
+
56 std::vector<NimBLERemoteDescriptor*>::iterator end() const;
+ +
58 const std::vector<NimBLERemoteDescriptor*>& getDescriptors(bool refresh = false) const;
+
59
+
60 private:
+
61 friend class NimBLEClient;
+
62 friend class NimBLERemoteService;
+
63
+
64 NimBLERemoteCharacteristic(const NimBLERemoteService* pRemoteService, const ble_gatt_chr* chr);
+ +
66
+
67 bool setNotify(uint16_t val, notify_callback notifyCallback = nullptr, bool response = true) const;
+
68 bool retrieveDescriptors(const NimBLEUUID* uuidFilter = nullptr) const;
+
69
+
70 static int descriptorDiscCB(
+
71 uint16_t conn_handle, const ble_gatt_error* error, uint16_t chr_val_handle, const ble_gatt_dsc* dsc, void* arg);
+
72
+
73 const NimBLERemoteService* m_pRemoteService{nullptr};
+
74 uint8_t m_properties{0};
+
75 mutable notify_callback m_notifyCallback{nullptr};
+
76 mutable std::vector<NimBLERemoteDescriptor*> m_vDescriptors{};
+
77
+
78}; // NimBLERemoteCharacteristic
+
+
79
+
80#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
+
81#endif /* NIMBLE_CPP_REMOTE_CHARACTERISTIC_H_ */
+
A model of a BLE client.
Definition NimBLEClient.h:49
+
A model of a remote BLE characteristic.
Definition NimBLERemoteCharacteristic.h:34
+
size_t deleteDescriptor(const NimBLEUUID &uuid) const
Delete descriptor by UUID.
Definition NimBLERemoteCharacteristic.cpp:293
+
bool canWriteNoResponse() const
Does the characteristic support writing without a response?
Definition NimBLERemoteCharacteristic.cpp:328
+
bool canBroadcast() const
Does the characteristic support value broadcasting?
Definition NimBLERemoteCharacteristic.cpp:312
+
std::vector< NimBLERemoteDescriptor * >::iterator begin() const
Get iterator to the beginning of the vector of remote descriptor pointers.
Definition NimBLERemoteCharacteristic.cpp:208
+
std::vector< NimBLERemoteDescriptor * >::iterator end() const
Get iterator to the end of the vector of remote descriptor pointers.
Definition NimBLERemoteCharacteristic.cpp:216
+
void deleteDescriptors() const
Delete the descriptors in the descriptor vector.
Definition NimBLERemoteCharacteristic.cpp:277
+
const NimBLERemoteService * getRemoteService() const
Get the remote service associated with this characteristic.
Definition NimBLERemoteCharacteristic.cpp:224
+
const std::vector< NimBLERemoteDescriptor * > & getDescriptors(bool refresh=false) const
Get a pointer to the vector of found descriptors.
Definition NimBLERemoteCharacteristic.cpp:195
+
bool canWrite() const
Does the characteristic support writing?
Definition NimBLERemoteCharacteristic.cpp:336
+
bool canRead() const
Does the characteristic support reading?
Definition NimBLERemoteCharacteristic.cpp:320
+
bool unsubscribe(bool response=true) const
Unsubscribe for notifications or indications.
Definition NimBLERemoteCharacteristic.cpp:267
+
bool canIndicate() const
Does the characteristic support indication?
Definition NimBLERemoteCharacteristic.cpp:352
+
NimBLERemoteDescriptor * getDescriptor(const NimBLEUUID &uuid) const
Get the descriptor instance with the given UUID that belongs to this characteristic.
Definition NimBLERemoteCharacteristic.cpp:138
+
std::string toString() const
Convert a NimBLERemoteCharacteristic to a string representation;.
Definition NimBLERemoteCharacteristic.cpp:376
+
bool subscribe(bool notifications=true, const notify_callback notifyCallback=nullptr, bool response=true) const
Subscribe for notifications or indications.
Definition NimBLERemoteCharacteristic.cpp:258
+
bool canNotify() const
Does the characteristic support reading with encryption?
Definition NimBLERemoteCharacteristic.cpp:344
+
bool canWriteSigned() const
Does the characteristic support signed writing?
Definition NimBLERemoteCharacteristic.cpp:360
+
bool hasExtendedProps() const
Does the characteristic support extended properties?
Definition NimBLERemoteCharacteristic.cpp:368
+
A model of remote BLE descriptor.
Definition NimBLERemoteDescriptor.h:32
+
A model of a remote BLE service.
Definition NimBLERemoteService.h:34
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
@@ -289,7 +207,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_characteristic_8h_so diff --git a/_nim_b_l_e_remote_descriptor_8h_source.html b/_nim_b_l_e_remote_descriptor_8h_source.html index b271291..4786f4f 100644 --- a/_nim_b_l_e_remote_descriptor_8h_source.html +++ b/_nim_b_l_e_remote_descriptor_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLERemoteDescriptor.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,118 +81,74 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_descriptor_8h_source
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLERemoteDescriptor.h
+
NimBLERemoteDescriptor.h
-
1 /*
-
2  * NimBLERemoteDescriptor.h
-
3  *
-
4  * Created: on Jan 27 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLERemoteDescriptor.h
-
10  *
-
11  * Created on: Jul 8, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef COMPONENTS_NIMBLEREMOTEDESCRIPTOR_H_
-
16 #define COMPONENTS_NIMBLEREMOTEDESCRIPTOR_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
20 
-
21 #include "NimBLERemoteCharacteristic.h"
-
22 
- - -
28 public:
-
29  uint16_t getHandle();
- - - -
33 
-
34  uint8_t readUInt8() __attribute__ ((deprecated("Use template readValue<uint8_t>()")));
-
35  uint16_t readUInt16() __attribute__ ((deprecated("Use template readValue<uint16_t>()")));
-
36  uint32_t readUInt32() __attribute__ ((deprecated("Use template readValue<uint32_t>()")));
-
37  std::string toString(void);
-
38  bool writeValue(const uint8_t* data, size_t length, bool response = false);
-
39  bool writeValue(const std::vector<uint8_t>& v, bool response = false);
-
40  bool writeValue(const char* s, bool response = false);
-
41 
-
42 
-
43  /*********************** Template Functions ************************/
-
44 
-
51  template<typename T>
-
52 #ifdef _DOXYGEN_
-
53  bool
-
54 #else
-
55  typename std::enable_if<!std::is_array<T>::value && !Has_c_str_len<T>::value, bool>::type
-
56 #endif
-
57  writeValue(const T& s, bool response = false) {
-
58  return writeValue((uint8_t*)&s, sizeof(T), response);
-
59  }
-
60 
-
67  template<typename T>
-
68 #ifdef _DOXYGEN_
-
69  bool
-
70 #else
-
71  typename std::enable_if<Has_c_str_len<T>::value, bool>::type
-
72 #endif
-
73  writeValue(const T& s, bool response = false) {
-
74  return writeValue((uint8_t*)s.c_str(), s.length(), response);
-
75  }
-
76 
-
85  template<typename T>
-
86  T readValue(bool skipSizeCheck = false) {
-
87  NimBLEAttValue value = readValue();
-
88  if(!skipSizeCheck && value.size() < sizeof(T)) return T();
-
89  return *((T *)value.data());
-
90  }
-
91 
-
92 private:
-
93  friend class NimBLERemoteCharacteristic;
-
94 
-
95  NimBLERemoteDescriptor (NimBLERemoteCharacteristic* pRemoteCharacteristic,
-
96  const struct ble_gatt_dsc *dsc);
-
97  static int onWriteCB(uint16_t conn_handle, const struct ble_gatt_error *error,
-
98  struct ble_gatt_attr *attr, void *arg);
-
99  static int onReadCB(uint16_t conn_handle, const struct ble_gatt_error *error,
-
100  struct ble_gatt_attr *attr, void *arg);
-
101 
-
102  uint16_t m_handle;
-
103  NimBLEUUID m_uuid;
-
104  NimBLERemoteCharacteristic* m_pRemoteCharacteristic;
-
105 };
-
106 
-
107 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
-
108 #endif /* COMPONENTS_NIMBLEREMOTEDESCRIPTOR_H_ */
-
A specialized container class to hold BLE attribute values.
Definition: NimBLEAttValue.h:61
-
const uint8_t * data() const
Returns a pointer to the internal buffer of the value.
Definition: NimBLEAttValue.h:154
-
uint16_t size() const
Returns the current size of the value in bytes.
Definition: NimBLEAttValue.h:151
-
A model of a remote BLE characteristic.
Definition: NimBLERemoteCharacteristic.h:44
-
A model of remote BLE descriptor.
Definition: NimBLERemoteDescriptor.h:27
-
std::string toString(void)
Return a string representation of this Remote Descriptor.
Definition: NimBLERemoteDescriptor.cpp:222
-
bool writeValue(const uint8_t *data, size_t length, bool response=false)
Write a new value to a remote descriptor.
Definition: NimBLERemoteDescriptor.cpp:286
-
uint16_t readUInt16() __attribute__((deprecated("Use template readValue<uint16_t>()")))
Read an unsigned 16 bit value.
Definition: NimBLERemoteDescriptor.cpp:98
-
bool writeValue(const T &s, bool response=false)
Template to set the remote descriptor value to <type>val.
Definition: NimBLERemoteDescriptor.h:57
-
uint32_t readUInt32() __attribute__((deprecated("Use template readValue<uint32_t>()")))
Read an unsigned 32 bit value.
Definition: NimBLERemoteDescriptor.cpp:108
-
NimBLERemoteCharacteristic * getRemoteCharacteristic()
Get the characteristic that owns this descriptor.
Definition: NimBLERemoteDescriptor.cpp:69
-
NimBLEAttValue readValue()
Read the value of the remote descriptor.
Definition: NimBLERemoteDescriptor.cpp:117
-
uint8_t readUInt8() __attribute__((deprecated("Use template readValue<uint8_t>()")))
Read a byte value.
Definition: NimBLERemoteDescriptor.cpp:88
-
uint16_t getHandle()
Retrieve the handle associated with this remote descriptor.
Definition: NimBLERemoteDescriptor.cpp:60
-
T readValue(bool skipSizeCheck=false)
Template to convert the remote descriptor data to <type>.
Definition: NimBLERemoteDescriptor.h:86
-
NimBLEUUID getUUID()
Retrieve the UUID associated this remote descriptor.
Definition: NimBLERemoteDescriptor.cpp:78
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_REMOTE_DESCRIPTOR_H_
+
19#define NIMBLE_CPP_REMOTE_DESCRIPTOR_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
23
+
24# include "NimBLERemoteValueAttribute.h"
+
25
+ +
27class NimBLEClient;
+
28
+
+
32class NimBLERemoteDescriptor : public NimBLERemoteValueAttribute {
+
33 public:
+ +
35 std::string toString(void) const;
+
36 NimBLEClient* getClient() const override;
+
37
+
38 private:
+
39 friend class NimBLERemoteCharacteristic;
+
40
+
41 NimBLERemoteDescriptor(const NimBLERemoteCharacteristic* pRemoteCharacteristic, const ble_gatt_dsc* dsc);
+
42 ~NimBLERemoteDescriptor() = default;
+
43
+
44 const NimBLERemoteCharacteristic* m_pRemoteCharacteristic;
+
45};
+
+
46
+
47#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
+
48#endif /* NIMBLE_CPP_REMOTE_DESCRIPTOR_H_ */
+
A model of a BLE client.
Definition NimBLEClient.h:49
+
A model of a remote BLE characteristic.
Definition NimBLERemoteCharacteristic.h:34
+
A model of remote BLE descriptor.
Definition NimBLERemoteDescriptor.h:32
+
NimBLERemoteCharacteristic * getRemoteCharacteristic() const
Get the characteristic that owns this descriptor.
Definition NimBLERemoteDescriptor.cpp:38
+
std::string toString(void) const
Return a string representation of this Remote Descriptor.
Definition NimBLERemoteDescriptor.cpp:46
@@ -195,7 +156,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_descriptor_8h_source diff --git a/_nim_b_l_e_remote_service_8h_source.html b/_nim_b_l_e_remote_service_8h_source.html index 7cfdba7..69a3729 100644 --- a/_nim_b_l_e_remote_service_8h_source.html +++ b/_nim_b_l_e_remote_service_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLERemoteService.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,114 +81,106 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_service_8h_source.ht
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLERemoteService.h
+
NimBLERemoteService.h
-
1 /*
-
2  * NimBLERemoteService.h
-
3  *
-
4  * Created: on Jan 27 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLERemoteService.h
-
10  *
-
11  * Created on: Jul 8, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef COMPONENTS_NIMBLEREMOTESERVICE_H_
-
16 #define COMPONENTS_NIMBLEREMOTESERVICE_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
-
20 
-
21 #include "NimBLEClient.h"
-
22 #include "NimBLEUUID.h"
-
23 #include "NimBLERemoteCharacteristic.h"
-
24 
-
25 #include <vector>
-
26 
-
27 class NimBLEClient;
- -
29 
-
30 
- -
35 public:
-
36  virtual ~NimBLERemoteService();
-
37 
-
38  // Public methods
-
39  std::vector<NimBLERemoteCharacteristic*>::iterator begin();
-
40  std::vector<NimBLERemoteCharacteristic*>::iterator end();
- - -
43  void deleteCharacteristics();
-
44  size_t deleteCharacteristic(const NimBLEUUID &uuid);
-
45  NimBLEClient* getClient(void);
-
46  //uint16_t getHandle();
-
47  NimBLEUUID getUUID(void);
-
48  std::string getValue(const NimBLEUUID &characteristicUuid);
-
49  bool setValue(const NimBLEUUID &characteristicUuid,
-
50  const std::string &value);
-
51  std::string toString(void);
-
52  std::vector<NimBLERemoteCharacteristic*>* getCharacteristics(bool refresh = false);
-
53 
-
54 private:
-
55  // Private constructor ... never meant to be created by a user application.
-
56  NimBLERemoteService(NimBLEClient* pClient, const struct ble_gatt_svc *service);
-
57 
-
58  // Friends
-
59  friend class NimBLEClient;
-
60  friend class NimBLERemoteCharacteristic;
-
61 
-
62  // Private methods
-
63  bool retrieveCharacteristics(const NimBLEUUID *uuid_filter = nullptr);
-
64  static int characteristicDiscCB(uint16_t conn_handle,
-
65  const struct ble_gatt_error *error,
-
66  const struct ble_gatt_chr *chr,
-
67  void *arg);
-
68 
-
69  uint16_t getStartHandle();
-
70  uint16_t getEndHandle();
-
71  void releaseSemaphores();
-
72 
-
73  // Properties
-
74 
-
75  // We maintain a vector of characteristics owned by this service.
-
76  std::vector<NimBLERemoteCharacteristic*> m_characteristicVector;
-
77 
-
78  NimBLEClient* m_pClient;
-
79  NimBLEUUID m_uuid;
-
80  uint16_t m_startHandle;
-
81  uint16_t m_endHandle;
-
82 }; // NimBLERemoteService
-
83 
-
84 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
-
85 #endif /* COMPONENTS_NIMBLEREMOTESERVICE_H_ */
-
A model of a BLE client.
Definition: NimBLEClient.h:39
-
A model of a remote BLE characteristic.
Definition: NimBLERemoteCharacteristic.h:44
-
A model of a remote BLE service.
Definition: NimBLERemoteService.h:34
-
std::vector< NimBLERemoteCharacteristic * >::iterator end()
Get iterator to the end of the vector of remote characteristic pointers.
Definition: NimBLERemoteService.cpp:76
-
size_t deleteCharacteristic(const NimBLEUUID &uuid)
Delete characteristic by UUID.
Definition: NimBLERemoteService.cpp:369
-
void deleteCharacteristics()
Delete the characteristics in the characteristics vector.
Definition: NimBLERemoteService.cpp:354
-
virtual ~NimBLERemoteService()
When deleting the service make sure we delete all characteristics and descriptors.
Definition: NimBLERemoteService.cpp:58
-
std::vector< NimBLERemoteCharacteristic * > * getCharacteristics(bool refresh=false)
Get a pointer to the vector of found characteristics.
Definition: NimBLERemoteService.cpp:152
-
NimBLEClient * getClient(void)
Get the client associated with this service.
Definition: NimBLERemoteService.cpp:278
-
std::vector< NimBLERemoteCharacteristic * >::iterator begin()
Get iterator to the beginning of the vector of remote characteristic pointers.
Definition: NimBLERemoteService.cpp:67
-
std::string getValue(const NimBLEUUID &characteristicUuid)
Read the value of a characteristic associated with this service.
Definition: NimBLERemoteService.cpp:312
-
bool setValue(const NimBLEUUID &characteristicUuid, const std::string &value)
Set the value of a characteristic.
Definition: NimBLERemoteService.cpp:333
-
NimBLEUUID getUUID(void)
Get the service UUID.
Definition: NimBLERemoteService.cpp:302
-
std::string toString(void)
Create a string representation of this remote service.
Definition: NimBLERemoteService.cpp:390
-
NimBLERemoteCharacteristic * getCharacteristic(const char *uuid)
Get the remote characteristic object for the characteristic UUID.
Definition: NimBLERemoteService.cpp:86
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_REMOTE_SERVICE_H_
+
19#define NIMBLE_CPP_REMOTE_SERVICE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
23
+
24# include "NimBLEAttribute.h"
+
25# include <vector>
+
26
+ +
28class NimBLEClient;
+
29class NimBLEAttValue;
+
30
+
+ +
35 public:
+
36 NimBLERemoteCharacteristic* getCharacteristic(const char* uuid) const;
+ +
38 void deleteCharacteristics() const;
+
39 size_t deleteCharacteristic(const NimBLEUUID& uuid) const;
+
40 NimBLEClient* getClient(void) const;
+
41 NimBLEAttValue getValue(const NimBLEUUID& characteristicUuid) const;
+
42 bool setValue(const NimBLEUUID& characteristicUuid, const NimBLEAttValue& value) const;
+
43 std::string toString(void) const;
+
44 uint16_t getStartHandle() const { return getHandle(); }
+
45 uint16_t getEndHandle() const { return m_endHandle; }
+
46
+
47 const std::vector<NimBLERemoteCharacteristic*>& getCharacteristics(bool refresh = false) const;
+
48 std::vector<NimBLERemoteCharacteristic*>::iterator begin() const;
+
49 std::vector<NimBLERemoteCharacteristic*>::iterator end() const;
+
50
+
51 private:
+
52 friend class NimBLEClient;
+
53
+
54 NimBLERemoteService(NimBLEClient* pClient, const struct ble_gatt_svc* service);
+ +
56 bool retrieveCharacteristics(const NimBLEUUID* uuidFilter = nullptr) const;
+
57 static int characteristicDiscCB(uint16_t conn_handle,
+
58 const struct ble_gatt_error* error,
+
59 const struct ble_gatt_chr* chr,
+
60 void* arg);
+
61
+
62 mutable std::vector<NimBLERemoteCharacteristic*> m_vChars{};
+
63 NimBLEClient* m_pClient{nullptr};
+
64 uint16_t m_endHandle{0};
+
65}; // NimBLERemoteService
+
+
66
+
67#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
+
68#endif /* NIMBLE_CPP_REMOTE_SERVICE_H_*/
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
+
A base class for BLE attributes.
Definition NimBLEAttribute.h:29
+
uint16_t getHandle() const
Get the handle of the attribute.
Definition NimBLEAttribute.h:40
+
A model of a BLE client.
Definition NimBLEClient.h:49
+
A model of a remote BLE characteristic.
Definition NimBLERemoteCharacteristic.h:34
+
A model of a remote BLE service.
Definition NimBLERemoteService.h:34
+
bool setValue(const NimBLEUUID &characteristicUuid, const NimBLEAttValue &value) const
Set the value of a characteristic.
Definition NimBLERemoteService.cpp:244
+
NimBLEClient * getClient(void) const
Get the client associated with this service.
Definition NimBLERemoteService.cpp:220
+
std::string toString(void) const
Create a string representation of this remote service.
Definition NimBLERemoteService.cpp:287
+
std::vector< NimBLERemoteCharacteristic * >::iterator end() const
Get iterator to the end of the vector of remote characteristic pointers.
Definition NimBLERemoteService.cpp:59
+
const std::vector< NimBLERemoteCharacteristic * > & getCharacteristics(bool refresh=false) const
Get a pointer to the vector of found characteristics.
Definition NimBLERemoteService.cpp:133
+
void deleteCharacteristics() const
Delete the characteristics in the characteristics vector.
Definition NimBLERemoteService.cpp:259
+
size_t deleteCharacteristic(const NimBLEUUID &uuid) const
Delete characteristic by UUID.
Definition NimBLERemoteService.cpp:271
+
std::vector< NimBLERemoteCharacteristic * >::iterator begin() const
Get iterator to the beginning of the vector of remote characteristic pointers.
Definition NimBLERemoteService.cpp:51
+
NimBLEAttValue getValue(const NimBLEUUID &characteristicUuid) const
Read the value of a characteristic associated with this service.
Definition NimBLERemoteService.cpp:229
+
NimBLERemoteCharacteristic * getCharacteristic(const char *uuid) const
Get the remote characteristic object for the characteristic UUID.
Definition NimBLERemoteService.cpp:68
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
@@ -191,7 +188,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_remote_service_8h_source.ht diff --git a/_nim_b_l_e_remote_value_attribute_8h_source.html b/_nim_b_l_e_remote_value_attribute_8h_source.html new file mode 100644 index 0000000..58c1662 --- /dev/null +++ b/_nim_b_l_e_remote_value_attribute_8h_source.html @@ -0,0 +1,237 @@ + + + + + + + +esp-nimble-cpp: /github/workspace/src/NimBLERemoteValueAttribute.h Source File + + + + + + + + + + + + + +
+
+ + + + + + +
+
esp-nimble-cpp 2.0.0 +
+
+
+ + + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+
NimBLERemoteValueAttribute.h
+
+
+
1/*
+
2 * Copyright 2020-2024 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_REMOTE_VALUE_ATTRIBUTE_H_
+
19#define NIMBLE_CPP_REMOTE_VALUE_ATTRIBUTE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include <host/ble_gatt.h>
+
26# else
+
27# include <nimble/nimble/host/include/host/ble_gatt.h>
+
28# endif
+
29
+
30/**** FIX COMPILATION ****/
+
31# undef min
+
32# undef max
+
33/**************************/
+
34
+
35# include "NimBLEAttribute.h"
+
36# include "NimBLEAttValue.h"
+
37
+
38class NimBLEClient;
+
39
+
40class NimBLERemoteValueAttribute : public NimBLEAttribute {
+
41 public:
+
47 NimBLEAttValue readValue(time_t* timestamp = nullptr) const;
+
48
+
53 size_t getLength() const { return m_value.size(); }
+
54
+
60 NimBLEAttValue getValue() const { return m_value; }
+
61
+
65 virtual NimBLEClient* getClient() const = 0;
+
66
+
74 bool writeValue(const uint8_t* data, size_t length, bool response = false) const;
+
75
+
83 bool writeValue(const char* str, size_t length = 0, bool response = false) const {
+
84 return writeValue(reinterpret_cast<const uint8_t*>(str), length ? length : strlen(str), response);
+
85 }
+
86
+
87# if __cplusplus < 201703L
+
95 template <typename T>
+
96# ifdef _DOXYGEN_
+
97 bool
+
98# else
+
99 typename std::enable_if<!std::is_pointer<T>::value && !Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
100# endif
+
101 writeValue(const T& v, bool response = false) const {
+
102 return writeValue(reinterpret_cast<const uint8_t*>(&v), sizeof(T), response);
+
103 }
+
104
+
111 template <typename T>
+
112# ifdef _DOXYGEN_
+
113 bool
+
114# else
+
115 typename std::enable_if<Has_c_str_length<T>::value && !Has_data_size<T>::value, bool>::type
+
116# endif
+
117 writeValue(const T& s, bool response = false) const {
+
118 return writeValue(reinterpret_cast<const uint8_t*>(s.c_str()), s.length(), response);
+
119 }
+
120
+
127 template <typename T>
+
128# ifdef _DOXYGEN_
+
129 bool
+
130# else
+
131 typename std::enable_if<Has_data_size<T>::value, bool>::type
+
132# endif
+
133 writeValue(const T& v, bool response = false) const {
+
134 return writeValue(reinterpret_cast<const uint8_t*>(v.data()), v.size(), response);
+
135 }
+
136
+
137# else
+
144 template <typename T>
+
145 typename std::enable_if<!std::is_pointer<T>::value, bool>::type writeValue(const T& v, bool response = false) const {
+
146 if constexpr (Has_data_size<T>::value) {
+
147 return writeValue(reinterpret_cast<const uint8_t*>(v.data()), v.size(), response);
+
148 } else if constexpr (Has_c_str_length<T>::value) {
+
149 return writeValue(reinterpret_cast<const uint8_t*>(v.c_str()), v.length(), response);
+
150 } else {
+
151 return writeValue(reinterpret_cast<const uint8_t*>(&v), sizeof(v), response);
+
152 }
+
153 }
+
154# endif
+
155
+
165 template <typename T>
+
166 T getValue(time_t* timestamp = nullptr, bool skipSizeCheck = false) const {
+
167 return m_value.getValue<T>(timestamp, skipSizeCheck);
+
168 }
+
169
+
179 template <typename T>
+
180 T readValue(time_t* timestamp = nullptr, bool skipSizeCheck = false) const {
+
181 readValue();
+
182 return m_value.getValue<T>(timestamp, skipSizeCheck);
+
183 }
+
184
+
185 protected:
+
189 NimBLERemoteValueAttribute(const ble_uuid_any_t& uuid, uint16_t handle) : NimBLEAttribute(uuid, handle) {}
+
190
+
194 virtual ~NimBLERemoteValueAttribute() = default;
+
195
+
196 static int onReadCB(uint16_t conn_handle, const ble_gatt_error* error, ble_gatt_attr* attr, void* arg);
+
197 static int onWriteCB(uint16_t conn_handle, const ble_gatt_error* error, ble_gatt_attr* attr, void* arg);
+
198
+
199 mutable NimBLEAttValue m_value{};
+
200};
+
201
+
202#endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_CENTRAL */
+
203#endif // NIMBLE_CPP_REMOTE_VALUE_ATTRIBUTE_H_
+
A specialized container class to hold BLE attribute values.
Definition NimBLEAttValue.h:72
+
A base class for BLE attributes.
Definition NimBLEAttribute.h:29
+
A model of a BLE client.
Definition NimBLEClient.h:49
+ +
+
+ + + + diff --git a/_nim_b_l_e_scan_8h_source.html b/_nim_b_l_e_scan_8h_source.html index 98b49f9..bb8401c 100644 --- a/_nim_b_l_e_scan_8h_source.html +++ b/_nim_b_l_e_scan_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEScan.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,141 +81,179 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_scan_8h_source.html',''); i
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEScan.h
+
NimBLEScan.h
-
1 /*
-
2  * NimBLEScan.h
-
3  *
-
4  * Created: on Jan 24 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEScan.h
-
10  *
-
11  * Created on: Jul 1, 2017
-
12  * Author: kolban
-
13  */
-
14 #ifndef COMPONENTS_NIMBLE_SCAN_H_
-
15 #define COMPONENTS_NIMBLE_SCAN_H_
-
16 
-
17 #include "nimconfig.h"
-
18 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
-
19 
-
20 #include "NimBLEAdvertisedDevice.h"
-
21 #include "NimBLEUtils.h"
-
22 
-
23 #if defined(CONFIG_NIMBLE_CPP_IDF)
-
24 #include "host/ble_gap.h"
-
25 #else
-
26 #include "nimble/nimble/host/include/host/ble_gap.h"
-
27 #endif
-
28 
-
29 #include <vector>
-
30 
-
31 class NimBLEDevice;
-
32 class NimBLEScan;
- - -
35 class NimBLEAddress;
-
36 
- -
45 public:
-
46  void dump();
-
47  int getCount();
- -
49  std::vector<NimBLEAdvertisedDevice*>::iterator begin();
-
50  std::vector<NimBLEAdvertisedDevice*>::iterator end();
- -
52 
-
53 private:
-
54  friend NimBLEScan;
-
55  std::vector<NimBLEAdvertisedDevice*> m_advertisedDevicesVector;
-
56 };
-
57 
-
63 class NimBLEScan {
-
64 public:
-
65  bool start(uint32_t duration, void (*scanCompleteCB)(NimBLEScanResults), bool is_continue = false);
-
66  NimBLEScanResults start(uint32_t duration, bool is_continue = false);
-
67  bool isScanning();
-
68  void setAdvertisedDeviceCallbacks(NimBLEAdvertisedDeviceCallbacks* pAdvertisedDeviceCallbacks, bool wantDuplicates = false);
-
69  void setActiveScan(bool active);
-
70  void setInterval(uint16_t intervalMSecs);
-
71  void setWindow(uint16_t windowMSecs);
-
72  void setDuplicateFilter(bool enabled);
-
73  void setLimitedOnly(bool enabled);
-
74  void setFilterPolicy(uint8_t filter);
-
75  void clearDuplicateCache();
-
76  bool stop();
-
77  void clearResults();
- -
79  void setMaxResults(uint8_t maxResults);
-
80  void erase(const NimBLEAddress &address);
-
81 
-
82 
-
83 private:
-
84  friend class NimBLEDevice;
-
85 
-
86  NimBLEScan();
-
87  ~NimBLEScan();
-
88  static int handleGapEvent(ble_gap_event* event, void* arg);
-
89  void onHostReset();
-
90  void onHostSync();
-
91 
-
92  NimBLEAdvertisedDeviceCallbacks* m_pAdvertisedDeviceCallbacks = nullptr;
-
93  void (*m_scanCompleteCB)(NimBLEScanResults scanResults);
-
94  ble_gap_disc_params m_scan_params;
-
95  bool m_ignoreResults;
-
96  NimBLEScanResults m_scanResults;
-
97  uint32_t m_duration;
-
98  ble_task_data_t *m_pTaskData;
-
99  uint8_t m_maxResults;
-
100 };
-
101 
-
102 #endif /* CONFIG_BT_ENABLED CONFIG_BT_NIMBLE_ROLE_OBSERVER */
-
103 #endif /* COMPONENTS_NIMBLE_SCAN_H_ */
-
A BLE device address.
Definition: NimBLEAddress.h:39
-
A callback handler for callbacks associated device scanning.
Definition: NimBLEAdvertisedDevice.h:185
-
A representation of a BLE advertised device found by a scan.
Definition: NimBLEAdvertisedDevice.h:42
-
A model of a BLE Device from which all the BLE roles are created.
Definition: NimBLEDevice.h:96
-
Perform and manage BLE scans.
Definition: NimBLEScan.h:63
-
bool start(uint32_t duration, void(*scanCompleteCB)(NimBLEScanResults), bool is_continue=false)
Start scanning.
Definition: NimBLEScan.cpp:310
-
NimBLEScanResults getResults()
Get the results of the scan.
Definition: NimBLEScan.cpp:503
-
void setInterval(uint16_t intervalMSecs)
Set the interval to scan.
Definition: NimBLEScan.cpp:280
-
void setFilterPolicy(uint8_t filter)
Sets the scan filter policy.
Definition: NimBLEScan.cpp:249
-
void erase(const NimBLEAddress &address)
Delete peer device from the scan results vector.
Definition: NimBLEScan.cpp:466
-
bool stop()
Stop an in progress scan.
Definition: NimBLEScan.cpp:425
-
void clearDuplicateCache()
Clears the duplicate scan filter cache.
Definition: NimBLEScan.cpp:454
-
void setLimitedOnly(bool enabled)
Set whether or not the BLE controller only report scan results from devices advertising in limited di...
Definition: NimBLEScan.cpp:226
-
void setActiveScan(bool active)
Should we perform an active or passive scan? The default is a passive scan. An active scan means that...
Definition: NimBLEScan.cpp:204
-
void setMaxResults(uint8_t maxResults)
Sets the max number of results to store.
Definition: NimBLEScan.cpp:259
-
void setAdvertisedDeviceCallbacks(NimBLEAdvertisedDeviceCallbacks *pAdvertisedDeviceCallbacks, bool wantDuplicates=false)
Set the call backs to be invoked.
Definition: NimBLEScan.cpp:269
-
bool isScanning()
Get the status of the scanner.
Definition: NimBLEScan.cpp:298
-
void setWindow(uint16_t windowMSecs)
Set the window to actively scan.
Definition: NimBLEScan.cpp:289
-
void setDuplicateFilter(bool enabled)
Set whether or not the BLE controller should only report results from devices it has not already seen...
Definition: NimBLEScan.cpp:216
-
void clearResults()
Clear the results of the scan.
Definition: NimBLEScan.cpp:511
-
A class that contains and operates on the results of a BLE scan.
Definition: NimBLEScan.h:44
-
void dump()
Dump the scan results to the log.
Definition: NimBLEScan.cpp:523
-
std::vector< NimBLEAdvertisedDevice * >::iterator end()
Get iterator to the end of the vector of advertised device pointers.
Definition: NimBLEScan.cpp:564
-
NimBLEAdvertisedDevice getDevice(uint32_t i)
Return the specified device at the given index. The index should be between 0 and getCount()-1.
Definition: NimBLEScan.cpp:546
-
std::vector< NimBLEAdvertisedDevice * >::iterator begin()
Get iterator to the beginning of the vector of advertised device pointers.
Definition: NimBLEScan.cpp:555
-
int getCount()
Get the count of devices found in the last scan.
Definition: NimBLEScan.cpp:535
+
1/*
+
2 * Copyright 2020-2024 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_SCAN_H_
+
19#define NIMBLE_CPP_SCAN_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
+
23
+
24# include "NimBLEAdvertisedDevice.h"
+
25# include "NimBLEUtils.h"
+
26
+
27# if defined(CONFIG_NIMBLE_CPP_IDF)
+
28# include "host/ble_gap.h"
+
29# else
+
30# include "nimble/nimble/host/include/host/ble_gap.h"
+
31# endif
+
32
+
33# include <vector>
+
34
+
35class NimBLEDevice;
+
36class NimBLEScan;
+ + +
39class NimBLEAddress;
+
40
+
+ +
49 public:
+
50 void dump() const;
+
51 int getCount() const;
+
52 const NimBLEAdvertisedDevice* getDevice(uint32_t idx) const;
+
53 const NimBLEAdvertisedDevice* getDevice(const NimBLEAddress& address) const;
+
54 std::vector<NimBLEAdvertisedDevice*>::const_iterator begin() const;
+
55 std::vector<NimBLEAdvertisedDevice*>::const_iterator end() const;
+
56
+
57 private:
+
58 friend NimBLEScan;
+
59 std::vector<NimBLEAdvertisedDevice*> m_deviceVec;
+
60};
+
+
61
+
+ +
68 public:
+
69 bool start(uint32_t duration, bool isContinue = false, bool restart = true);
+
70 bool isScanning();
+
71 void setScanCallbacks(NimBLEScanCallbacks* pScanCallbacks, bool wantDuplicates = false);
+
72 void setActiveScan(bool active);
+
73 void setInterval(uint16_t intervalMs);
+
74 void setWindow(uint16_t windowMs);
+
75 void setDuplicateFilter(uint8_t enabled);
+
76 void setLimitedOnly(bool enabled);
+
77 void setFilterPolicy(uint8_t filter);
+
78 bool stop();
+
79 void clearResults();
+ +
81 NimBLEScanResults getResults(uint32_t duration, bool is_continue = false);
+
82 void setMaxResults(uint8_t maxResults);
+
83 void erase(const NimBLEAddress& address);
+
84 void erase(const NimBLEAdvertisedDevice* device);
+
85
+
86# if CONFIG_BT_NIMBLE_EXT_ADV
+
87 enum Phy { SCAN_1M = 0x01, SCAN_CODED = 0x02, SCAN_ALL = 0x03 };
+
88 void setPhy(Phy phyMask);
+
89 void setPeriod(uint32_t periodMs);
+
90# endif
+
91
+
92 private:
+
93 friend class NimBLEDevice;
+
94
+
95 NimBLEScan();
+ +
97 static int handleGapEvent(ble_gap_event* event, void* arg);
+
98 void onHostSync();
+
99
+
100 NimBLEScanCallbacks* m_pScanCallbacks;
+
101 ble_gap_disc_params m_scanParams;
+
102 NimBLEScanResults m_scanResults;
+
103 NimBLETaskData* m_pTaskData;
+
104 uint8_t m_maxResults;
+
105
+
106# if CONFIG_BT_NIMBLE_EXT_ADV
+
107 uint8_t m_phy{SCAN_ALL};
+
108 uint16_t m_period{0};
+
109# endif
+
110};
+
+
111
+
+ +
116 public:
+
117 virtual ~NimBLEScanCallbacks() {}
+
118
+
123 virtual void onDiscovered(const NimBLEAdvertisedDevice* advertisedDevice);
+
124
+
129 virtual void onResult(const NimBLEAdvertisedDevice* advertisedDevice);
+
130
+
136 virtual void onScanEnd(const NimBLEScanResults& scanResults, int reason);
+
137};
+
+
138
+
139#endif // CONFIG_BT_ENABLED CONFIG_BT_NIMBLE_ROLE_OBSERVER
+
140#endif // NIMBLE_CPP_SCAN_H_
+
A BLE device address.
Definition NimBLEAddress.h:41
+
A representation of a BLE advertised device found by a scan.
Definition NimBLEAdvertisedDevice.h:45
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:109
+
A callback handler for callbacks associated device scanning.
Definition NimBLEScan.h:115
+
virtual void onDiscovered(const NimBLEAdvertisedDevice *advertisedDevice)
Called when a new device is discovered, before the scan result is received (if applicable).
Definition NimBLEScan.cpp:538
+
virtual void onScanEnd(const NimBLEScanResults &scanResults, int reason)
Called when a scan operation ends.
Definition NimBLEScan.cpp:546
+
virtual void onResult(const NimBLEAdvertisedDevice *advertisedDevice)
Called when a new scan result is complete, including scan response data (if applicable).
Definition NimBLEScan.cpp:542
+
Perform and manage BLE scans.
Definition NimBLEScan.h:67
+
void setWindow(uint16_t windowMs)
Set the window to actively scan.
Definition NimBLEScan.cpp:257
+
void setPhy(Phy phyMask)
Set the PHYs to scan.
Definition NimBLEScan.cpp:276
+
NimBLEScanResults getResults()
Get the results of the scan.
Definition NimBLEScan.cpp:463
+
void setScanCallbacks(NimBLEScanCallbacks *pScanCallbacks, bool wantDuplicates=false)
Set the call backs to be invoked.
Definition NimBLEScan.cpp:234
+
void setFilterPolicy(uint8_t filter)
Sets the scan filter policy.
Definition NimBLEScan.cpp:216
+
void setInterval(uint16_t intervalMs)
Set the interval to scan.
Definition NimBLEScan.cpp:249
+
void erase(const NimBLEAddress &address)
Delete peer device from the scan results vector.
Definition NimBLEScan.cpp:398
+
bool stop()
Stop an in progress scan.
Definition NimBLEScan.cpp:373
+
void setLimitedOnly(bool enabled)
Set whether or not the BLE controller only reports scan results from devices advertising in limited d...
Definition NimBLEScan.cpp:194
+
void setActiveScan(bool active)
Should we perform an active or passive scan? The default is a passive scan. An active scan means that...
Definition NimBLEScan.cpp:171
+
void setPeriod(uint32_t periodMs)
Set the extended scanning period.
Definition NimBLEScan.cpp:287
+
void setDuplicateFilter(uint8_t enabled)
Set whether or not the BLE controller should only report results from devices it has not already seen...
Definition NimBLEScan.cpp:185
+
void setMaxResults(uint8_t maxResults)
Sets the max number of results to store.
Definition NimBLEScan.cpp:225
+
bool isScanning()
Get the status of the scanner.
Definition NimBLEScan.cpp:265
+
bool start(uint32_t duration, bool isContinue=false, bool restart=true)
Start scanning.
Definition NimBLEScan.cpp:300
+
void clearResults()
Clear the stored results of the scan.
Definition NimBLEScan.cpp:470
+
A class that contains and operates on the results of a BLE scan.
Definition NimBLEScan.h:48
+
std::vector< NimBLEAdvertisedDevice * >::const_iterator end() const
Get iterator to the end of the vector of advertised device pointers.
Definition NimBLEScan.cpp:516
+
int getCount() const
Get the count of devices found in the last scan.
Definition NimBLEScan.cpp:490
+
std::vector< NimBLEAdvertisedDevice * >::const_iterator begin() const
Get iterator to the beginning of the vector of advertised device pointers.
Definition NimBLEScan.cpp:508
+
const NimBLEAdvertisedDevice * getDevice(uint32_t idx) const
Return the specified device at the given index. The index should be between 0 and getCount()-1.
Definition NimBLEScan.cpp:500
+
void dump() const
Dump the scan results to the log.
Definition NimBLEScan.cpp:480
+
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:32
diff --git a/_nim_b_l_e_security_8h_source.html b/_nim_b_l_e_security_8h_source.html deleted file mode 100644 index 5a8fe40..0000000 --- a/_nim_b_l_e_security_8h_source.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - -esp-nimble-cpp: /github/workspace/src/NimBLESecurity.h Source File - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp -  1.4.1 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
-
-
NimBLESecurity.h
-
-
-
1 /*
-
2  * NimBLESecurity.h
-
3  *
-
4  * Created: on Feb 22 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLESecurity.h
-
10  *
-
11  * Created on: Dec 17, 2017
-
12  * Author: chegewara
-
13  */
-
14 
-
15 #ifndef COMPONENTS_NIMBLESECURITY_H_
-
16 #define COMPONENTS_NIMBLESECURITY_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED)
-
20 
-
21 #if defined(CONFIG_NIMBLE_CPP_IDF)
-
22 #include "host/ble_gap.h"
-
23 #else
-
24 #include "nimble/nimble/host/include/host/ble_gap.h"
-
25 #endif
-
26 
-
27 /**** FIX COMPILATION ****/
-
28 #undef min
-
29 #undef max
-
30 /**************************/
-
31 
-
32 #include <stdint.h>
-
33 
-
34 #define ESP_LE_AUTH_NO_BOND 0x00 /* relate to BTM_LE_AUTH_NO_BOND in stack/btm_api.h */
-
35 #define ESP_LE_AUTH_BOND 0x01 /* relate to BTM_LE_AUTH_BOND in stack/btm_api.h */
-
36 #define ESP_LE_AUTH_REQ_MITM (1 << 2) /* relate to BTM_LE_AUTH_REQ_MITM in stack/btm_api.h */
-
37 #define ESP_LE_AUTH_REQ_BOND_MITM (ESP_LE_AUTH_BOND | ESP_LE_AUTH_REQ_MITM)
-
38 #define ESP_LE_AUTH_REQ_SC_ONLY (1 << 3) /* relate to BTM_LE_AUTH_REQ_SC_ONLY in stack/btm_api.h */
-
39 #define ESP_LE_AUTH_REQ_SC_BOND (ESP_LE_AUTH_BOND | ESP_LE_AUTH_REQ_SC_ONLY) /* relate to BTM_LE_AUTH_REQ_SC_BOND in stack/btm_api.h */
-
40 #define ESP_LE_AUTH_REQ_SC_MITM (ESP_LE_AUTH_REQ_MITM | ESP_LE_AUTH_REQ_SC_ONLY) /* relate to BTM_LE_AUTH_REQ_SC_MITM in stack/btm_api.h */
-
41 #define ESP_LE_AUTH_REQ_SC_MITM_BOND (ESP_LE_AUTH_REQ_MITM | ESP_LE_AUTH_REQ_SC_ONLY | ESP_LE_AUTH_BOND) /* relate to BTM_LE_AUTH_REQ_SC_MITM_BOND in stack/btm_api.h */
-
42 
-
43 #define ESP_IO_CAP_OUT 0 /* relate to BTM_IO_CAP_OUT in stack/btm_api.h */
-
44 #define ESP_IO_CAP_IO 1 /* relate to BTM_IO_CAP_IO in stack/btm_api.h */
-
45 #define ESP_IO_CAP_IN 2 /* relate to BTM_IO_CAP_IN in stack/btm_api.h */
-
46 #define ESP_IO_CAP_NONE 3 /* relate to BTM_IO_CAP_NONE in stack/btm_api.h */
-
47 #define ESP_IO_CAP_KBDISP 4 /* relate to BTM_IO_CAP_KBDISP in stack/btm_api.h */
-
48 
-
50 #define ESP_BLE_ENC_KEY_MASK (1 << 0) /* relate to BTM_BLE_ENC_KEY_MASK in stack/btm_api.h */
-
52 #define ESP_BLE_ID_KEY_MASK (1 << 1) /* relate to BTM_BLE_ID_KEY_MASK in stack/btm_api.h */
-
54 #define ESP_BLE_CSR_KEY_MASK (1 << 2) /* relate to BTM_BLE_CSR_KEY_MASK in stack/btm_api.h */
-
56 #define ESP_BLE_LINK_KEY_MASK (1 << 3) /* relate to BTM_BLE_LINK_KEY_MASK in stack/btm_api.h */
-
57 
-
58 typedef uint8_t esp_ble_auth_req_t;
-
59 typedef uint8_t esp_ble_io_cap_t;
- -
68 public:
- -
70  virtual ~NimBLESecurity();
-
71  void setAuthenticationMode(esp_ble_auth_req_t auth_req);
-
72  void setCapability(esp_ble_io_cap_t iocap);
-
73  void setInitEncryptionKey(uint8_t init_key);
-
74  void setRespEncryptionKey(uint8_t resp_key);
-
75  void setKeySize(uint8_t key_size = 16);
-
76  void setStaticPIN(uint32_t pin);
-
77  //static char* esp_key_type_to_str(esp_ble_key_type_t key_type);
-
78 /*
-
79 private:
-
80  esp_ble_auth_req_t m_authReq;
-
81  esp_ble_io_cap_t m_iocap;
-
82  uint8_t m_initKey;
-
83  uint8_t m_respKey;
-
84  uint8_t m_keySize;
-
85 */
-
86 }; // BLESecurity
-
87 
-
88 
- -
95 public:
-
96  virtual ~NimBLESecurityCallbacks() {};
-
97 
-
103  virtual uint32_t onPassKeyRequest() = 0;
-
104 
-
110  virtual void onPassKeyNotify(uint32_t pass_key) = 0;
-
111 
-
116  virtual bool onSecurityRequest() = 0 ;
-
120  virtual void onAuthenticationComplete(ble_gap_conn_desc*) = 0;
-
121 
-
127  virtual bool onConfirmPIN(uint32_t pin) = 0;
-
128 }; // BLESecurityCallbacks
-
129 
-
130 #endif // CONFIG_BT_ENABLED
-
131 #endif // COMPONENTS_NIMBLESECURITY_H_
-
Callbacks to handle GAP events related to authorization. Deprecated - provided for backward compatibi...
Definition: NimBLESecurity.h:94
-
virtual uint32_t onPassKeyRequest()=0
Its request from peer device to input authentication pin code displayed on peer device....
-
virtual void onAuthenticationComplete(ble_gap_conn_desc *)=0
Provides us information when authentication process is completed.
-
virtual bool onConfirmPIN(uint32_t pin)=0
Called when using numeric comparison for authentication.
-
virtual bool onSecurityRequest()=0
Here we can make decision if we want to let negotiate authorization with peer device or not.
-
virtual void onPassKeyNotify(uint32_t pass_key)=0
Provide us 6-digits code to perform authentication. It requires that our device is capable to display...
-
A class to handle BLE security operations. Deprecated - provided for backward compatibility only.
Definition: NimBLESecurity.h:67
-
void setStaticPIN(uint32_t pin)
Sets a static PIN used to authenticate/encrypt the connection.
Definition: NimBLESecurity.cpp:105
-
void setCapability(esp_ble_io_cap_t iocap)
Set our device IO capability to let end user perform authorization either by displaying or entering g...
Definition: NimBLESecurity.cpp:58
-
void setAuthenticationMode(esp_ble_auth_req_t auth_req)
Set requested authentication mode.
Definition: NimBLESecurity.cpp:40
-
void setRespEncryptionKey(uint8_t resp_key)
Sets the keys we will accept during encryption.
Definition: NimBLESecurity.cpp:86
-
void setKeySize(uint8_t key_size=16)
Definition: NimBLESecurity.cpp:94
-
void setInitEncryptionKey(uint8_t init_key)
Sets the keys we will distribute during encryption.
Definition: NimBLESecurity.cpp:72
- -
-
- - - - diff --git a/_nim_b_l_e_server_8h_source.html b/_nim_b_l_e_server_8h_source.html index 231f55b..64b9532 100644 --- a/_nim_b_l_e_server_8h_source.html +++ b/_nim_b_l_e_server_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEServer.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,203 +81,237 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_server_8h_source.html','');
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEServer.h
+
NimBLEServer.h
-
1 /*
-
2  * NimBLEServer.h
-
3  *
-
4  * Created: on March 2, 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEServer.h
-
10  *
-
11  * Created on: Apr 16, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef MAIN_NIMBLESERVER_H_
-
16 #define MAIN_NIMBLESERVER_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
20 
-
21 #define NIMBLE_ATT_REMOVE_HIDE 1
-
22 #define NIMBLE_ATT_REMOVE_DELETE 2
-
23 
-
24 #define onMtuChanged onMTUChange
-
25 
-
26 #include "NimBLEUtils.h"
-
27 #include "NimBLEAddress.h"
-
28 #if CONFIG_BT_NIMBLE_EXT_ADV
-
29 #include "NimBLEExtAdvertising.h"
-
30 #else
-
31 #include "NimBLEAdvertising.h"
-
32 #endif
-
33 #include "NimBLEService.h"
-
34 #include "NimBLESecurity.h"
-
35 #include "NimBLEConnInfo.h"
-
36 
-
37 
-
38 class NimBLEService;
- - -
41 
-
42 
-
46 class NimBLEServer {
-
47 public:
-
48  size_t getConnectedCount();
-
49  NimBLEService* createService(const char* uuid);
- -
51  void removeService(NimBLEService* service, bool deleteSvc = false);
-
52  void addService(NimBLEService* service);
-
53  void setCallbacks(NimBLEServerCallbacks* pCallbacks,
-
54  bool deleteCallbacks = true);
-
55 #if CONFIG_BT_NIMBLE_EXT_ADV
- -
57  bool startAdvertising(uint8_t inst_id,
-
58  int duration = 0,
-
59  int max_events = 0);
-
60  bool stopAdvertising(uint8_t inst_id);
-
61 #endif
-
62 # if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
- -
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);
- -
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 
-
120 
- -
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: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
-
virtual void onConnect(NimBLEServer *pServer)
Handle a client connection. This is called when a client connects.
Definition: NimBLEServer.cpp:877
-
virtual void onMTUChange(uint16_t MTU, ble_gap_conn_desc *desc)
Called when the connection MTU changes.
Definition: NimBLEServer.cpp:895
-
virtual uint32_t onPassKeyRequest()
Called when a client requests a passkey for pairing.
Definition: NimBLEServer.cpp:899
-
The model of a BLE server.
Definition: NimBLEServer.h:46
-
void removeService(NimBLEService *service, bool deleteSvc=false)
Remove a service from the server.
Definition: NimBLEServer.cpp:653
-
void setDataLen(uint16_t conn_handle, uint16_t tx_octets)
Request an update of the data packet length.
Definition: NimBLEServer.cpp:839
-
NimBLEService * getServiceByHandle(uint16_t handle)
Get a BLE Service by its handle.
Definition: NimBLEServer.cpp:135
-
NimBLEConnInfo getPeerInfo(size_t index)
Get the connection information of a connected peer by vector index.
Definition: NimBLEServer.cpp:287
-
void setCallbacks(NimBLEServerCallbacks *pCallbacks, bool deleteCallbacks=true)
Set the server callbacks.
Definition: NimBLEServer.cpp:625
-
int disconnect(uint16_t connID, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
Disconnect the specified client with optional reason.
Definition: NimBLEServer.cpp:242
-
void advertiseOnDisconnect(bool)
Set the server to automatically start advertising when a client disconnects.
Definition: NimBLEServer.cpp:261
-
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
-
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
-
NimBLEService * createService(const char *uuid)
Create a BLE Service.
Definition: NimBLEServer.cpp:72
-
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
+
1/*
+
2 * Copyright 2020-2024 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_SERVER_H_
+
19#define NIMBLE_CPP_SERVER_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "host/ble_gap.h"
+
26# else
+
27# include "nimble/nimble/host/include/host/ble_gap.h"
+
28# endif
+
29
+
30/**** FIX COMPILATION ****/
+
31# undef min
+
32# undef max
+
33/**************************/
+
34
+
35# include <vector>
+
36# include <array>
+
37
+
38# define NIMBLE_ATT_REMOVE_HIDE 1
+
39# define NIMBLE_ATT_REMOVE_DELETE 2
+
40
+
41class NimBLEService;
+ +
43class NimBLEUUID;
+
44class NimBLEConnInfo;
+
45class NimBLEAddress;
+
46class NimBLEService;
+ +
48# if CONFIG_BT_NIMBLE_EXT_ADV
+ +
50# else
+ +
52# endif
+
53# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
54class NimBLEClient;
+
55# endif
+
56
+
+ +
61 public:
+
62 void start();
+
63 uint8_t getConnectedCount() const;
+
64 bool disconnect(uint16_t connHandle, uint8_t reason = BLE_ERR_REM_USER_CONN_TERM) const;
+
65 bool disconnect(const NimBLEConnInfo& connInfo, uint8_t reason = BLE_ERR_REM_USER_CONN_TERM) const;
+
66 void setCallbacks(NimBLEServerCallbacks* pCallbacks, bool deleteCallbacks = true);
+
67 void updateConnParams(uint16_t connHandle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout) const;
+
68 NimBLEService* createService(const char* uuid);
+ +
70 NimBLEService* getServiceByUUID(const char* uuid, uint16_t instanceId = 0) const;
+
71 NimBLEService* getServiceByUUID(const NimBLEUUID& uuid, uint16_t instanceId = 0) const;
+
72 NimBLEService* getServiceByHandle(uint16_t handle) const;
+
73 void removeService(NimBLEService* service, bool deleteSvc = false);
+
74 void addService(NimBLEService* service);
+
75 uint16_t getPeerMTU(uint16_t connHandle) const;
+
76 std::vector<uint16_t> getPeerDevices() const;
+
77 NimBLEConnInfo getPeerInfo(uint8_t index) const;
+
78 NimBLEConnInfo getPeerInfo(const NimBLEAddress& address) const;
+
79 NimBLEConnInfo getPeerInfoByHandle(uint16_t connHandle) const;
+
80 void advertiseOnDisconnect(bool enable);
+
81 void setDataLen(uint16_t connHandle, uint16_t tx_octets) const;
+
82
+
83# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
84 NimBLEClient* getClient(uint16_t connHandle);
+
85 NimBLEClient* getClient(const NimBLEConnInfo& connInfo);
+
86 void deleteClient();
+
87# endif
+
88
+
89# if CONFIG_BT_NIMBLE_EXT_ADV
+ +
91 bool startAdvertising(uint8_t instanceId, int duration = 0, int maxEvents = 0) const;
+
92 bool stopAdvertising(uint8_t instanceId) const;
+
93 bool updatePhy(uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions);
+
94 bool getPhy(uint16_t connHandle, uint8_t* txPhy, uint8_t* rxPhy);
+
95# endif
+
96
+
97# if !CONFIG_BT_NIMBLE_EXT_ADV || defined(_DOXYGEN_)
+ +
99 bool startAdvertising(uint32_t duration = 0) const;
+
100 bool stopAdvertising() const;
+
101# endif
+
102
+
103 private:
+
104 friend class NimBLEDevice;
+
105 friend class NimBLEService;
+
106 friend class NimBLECharacteristic;
+
107# if CONFIG_BT_NIMBLE_EXT_ADV
+
108 friend class NimBLEExtAdvertising;
+
109# else
+
110 friend class NimBLEAdvertising;
+
111# endif
+
112
+
113 NimBLEServer();
+ +
115
+
116 bool m_gattsStarted : 1;
+
117 bool m_svcChanged : 1;
+
118 bool m_deleteCallbacks : 1;
+
119# if !CONFIG_BT_NIMBLE_EXT_ADV
+
120 bool m_advertiseOnDisconnect : 1;
+
121# endif
+
122 NimBLEServerCallbacks* m_pServerCallbacks;
+
123 std::vector<NimBLEService*> m_svcVec;
+
124 std::array<uint16_t, CONFIG_BT_NIMBLE_MAX_CONNECTIONS> m_connectedPeers;
+
125
+
126# if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL)
+
127 NimBLEClient* m_pClient{nullptr};
+
128# endif
+
129
+
130 static int handleGapEvent(struct ble_gap_event* event, void* arg);
+
131 static int handleGattEvent(uint16_t connHandle, uint16_t attrHandle, ble_gatt_access_ctxt* ctxt, void* arg);
+
132 void serviceChanged();
+
133 void resetGATT();
+
134
+
135}; // NimBLEServer
+
+
136
+
+ +
141 public:
+
142 virtual ~NimBLEServerCallbacks() {};
+
143
+
151 virtual void onConnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo);
+
152
+
161 virtual void onDisconnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo, int reason);
+
162
+
169 virtual void onMTUChange(uint16_t MTU, NimBLEConnInfo& connInfo);
+
170
+
175 virtual uint32_t onPassKeyDisplay();
+
176
+
183 virtual void onConfirmPassKey(NimBLEConnInfo& connInfo, uint32_t pin);
+
184
+
190 virtual void onAuthenticationComplete(NimBLEConnInfo& connInfo);
+
191
+
196 virtual void onIdentity(NimBLEConnInfo& connInfo);
+
197
+
204 virtual void onConnParamsUpdate(NimBLEConnInfo& connInfo);
+
205
+
206# if CONFIG_BT_NIMBLE_EXT_ADV
+
218 virtual void onPhyUpdate(NimBLEConnInfo& connInfo, uint8_t txPhy, uint8_t rxPhy);
+
219# endif
+
220}; // NimBLEServerCallbacks
+
+
221
+
222#endif // CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL
+
223#endif // NIMBLE_CPP_SERVER_H_
+
A BLE device address.
Definition NimBLEAddress.h:41
+
Perform and manage BLE advertising.
Definition NimBLEAdvertising.h:52
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
A model of a BLE client.
Definition NimBLEClient.h:49
+
Connection information.
Definition NimBLEConnInfo.h:32
+
A model of a BLE Device from which all the BLE roles are created.
Definition NimBLEDevice.h:109
+
Extended advertising class.
Definition NimBLEExtAdvertising.h:111
+
Callbacks associated with the operation of a BLE server.
Definition NimBLEServer.h:140
+
virtual void onConnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo)
Handle a client connection. This is called when a client connects.
Definition NimBLEServer.cpp:983
+
virtual uint32_t onPassKeyDisplay()
Called when a client requests a passkey for pairing (display).
Definition NimBLEServer.cpp:995
+
virtual void onDisconnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo, int reason)
Handle a client disconnection. This is called when a client disconnects.
Definition NimBLEServer.cpp:987
+
virtual void onConfirmPassKey(NimBLEConnInfo &connInfo, uint32_t pin)
Called when using numeric comparision for pairing.
Definition NimBLEServer.cpp:1000
+
virtual void onPhyUpdate(NimBLEConnInfo &connInfo, uint8_t txPhy, uint8_t rxPhy)
Called when the PHY update procedure is complete.
Definition NimBLEServer.cpp:1018
+
virtual void onAuthenticationComplete(NimBLEConnInfo &connInfo)
Called when the pairing procedure is complete.
Definition NimBLEServer.cpp:1009
+
virtual void onConnParamsUpdate(NimBLEConnInfo &connInfo)
Called when connection parameters are updated following a request to update via NimBLEServer::updateC...
Definition NimBLEServer.cpp:1013
+
virtual void onMTUChange(uint16_t MTU, NimBLEConnInfo &connInfo)
Called when the connection MTU changes.
Definition NimBLEServer.cpp:991
+
virtual void onIdentity(NimBLEConnInfo &connInfo)
Called when the peer identity address is resolved.
Definition NimBLEServer.cpp:1005
+
The model of a BLE server.
Definition NimBLEServer.h:60
+
void removeService(NimBLEService *service, bool deleteSvc=false)
Remove a service from the server.
Definition NimBLEServer.cpp:704
+
NimBLEConnInfo getPeerInfoByHandle(uint16_t connHandle) const
Get the connection information of a connected peer by connection handle.
Definition NimBLEServer.cpp:335
+
NimBLEService * getServiceByHandle(uint16_t handle) const
Get a BLE Service by its handle.
Definition NimBLEServer.cpp:135
+
NimBLEConnInfo getPeerInfo(uint8_t index) const
Get the connection information of a connected peer by vector index.
Definition NimBLEServer.cpp:297
+
std::vector< uint16_t > getPeerDevices() const
Get a vector of the connected client handles.
Definition NimBLEServer.cpp:281
+
bool stopAdvertising() const
Stop advertising.
Definition NimBLEServer.cpp:873
+
NimBLEService * getServiceByUUID(const char *uuid, uint16_t instanceId=0) const
Get a BLE Service by its UUID.
Definition NimBLEServer.cpp:106
+
NimBLEClient * getClient(uint16_t connHandle)
Create a client instance from the connection handle.
Definition NimBLEServer.cpp:942
+
uint16_t getPeerMTU(uint16_t connHandle) const
Get the MTU value of a client connection.
Definition NimBLEServer.cpp:883
+
uint8_t getConnectedCount() const
Return the number of connected clients.
Definition NimBLEServer.cpp:266
+
void setCallbacks(NimBLEServerCallbacks *pCallbacks, bool deleteCallbacks=true)
Set the server callbacks.
Definition NimBLEServer.cpp:676
+
void updateConnParams(uint16_t connHandle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout) const
Request an Update the connection parameters:
Definition NimBLEServer.cpp:896
+
void addService(NimBLEService *service)
Adds a service which was either already created but removed from availability, or created and later a...
Definition NimBLEServer.cpp:741
+
bool getPhy(uint16_t connHandle, uint8_t *txPhy, uint8_t *rxPhy)
Get the PHY used for a peer connection.
Definition NimBLEServer.cpp:847
+
NimBLEExtAdvertising * getAdvertising() const
Retrieve the advertising object that can be used to advertise the existence of the server.
Definition NimBLEServer.cpp:150
+
void deleteClient()
Delete the NimBLEClient instance that was created with getClient()
Definition NimBLEServer.cpp:974
+
NimBLEService * createService(const char *uuid)
Create a BLE Service.
Definition NimBLEServer.cpp:83
+
bool startAdvertising(uint8_t instanceId, int duration=0, int maxEvents=0) const
Start advertising.
Definition NimBLEServer.cpp:799
+
bool updatePhy(uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions)
Request an update to the PHY used for a peer connection.
Definition NimBLEServer.cpp:831
+
bool disconnect(uint16_t connHandle, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const
Disconnect the specified client with optional reason.
Definition NimBLEServer.cpp:232
+
void start()
Start the GATT server.
Definition NimBLEServer.cpp:180
+
void advertiseOnDisconnect(bool enable)
Set the server to automatically start advertising when a client disconnects.
Definition NimBLEServer.cpp:257
+
void setDataLen(uint16_t connHandle, uint16_t tx_octets) const
Request an update of the data packet length.
Definition NimBLEServer.cpp:920
+
The model of a BLE service.
Definition NimBLEService.h:34
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
-
#define CONFIG_BT_NIMBLE_MAX_CONNECTIONS
Un-comment to change the number of simultaneous connections (esp controller max is 9)
Definition: nimconfig.h:40
diff --git a/_nim_b_l_e_service_8h_source.html b/_nim_b_l_e_service_8h_source.html index aaa349c..c33f9e8 100644 --- a/_nim_b_l_e_service_8h_source.html +++ b/_nim_b_l_e_service_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEService.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,117 +81,110 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_service_8h_source.html','')
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEService.h
+
NimBLEService.h
-
1 /*
-
2  * NimBLEService.h
-
3  *
-
4  * Created: on March 2, 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEService.h
-
10  *
-
11  * Created on: Mar 25, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef MAIN_NIMBLESERVICE_H_
-
16 #define MAIN_NIMBLESERVICE_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
-
20 
-
21 #include "NimBLEServer.h"
-
22 #include "NimBLECharacteristic.h"
-
23 #include "NimBLEUUID.h"
-
24 
-
25 
-
26 class NimBLEServer;
- -
28 
-
29 
- -
35 public:
-
36 
-
37  NimBLEService(const char* uuid);
-
38  NimBLEService(const NimBLEUUID &uuid);
-
39  ~NimBLEService();
-
40 
- -
42 
- -
44  uint16_t getHandle();
-
45  std::string toString();
-
46  void dump();
-
47 
-
48  bool start();
-
49 
- -
51  uint32_t properties =
-
52  NIMBLE_PROPERTY::READ |
-
53  NIMBLE_PROPERTY::WRITE,
-
54  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
55 
- -
57  uint32_t properties =
-
58  NIMBLE_PROPERTY::READ |
-
59  NIMBLE_PROPERTY::WRITE,
-
60  uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
-
61 
-
62  void addCharacteristic(NimBLECharacteristic* pCharacteristic);
-
63  void removeCharacteristic(NimBLECharacteristic* pCharacteristic, bool deleteChr = false);
-
64  NimBLECharacteristic* getCharacteristic(const char* uuid, uint16_t instanceId = 0);
-
65  NimBLECharacteristic* getCharacteristic(const NimBLEUUID &uuid, uint16_t instanceId = 0);
- -
67 
-
68  std::vector<NimBLECharacteristic*> getCharacteristics();
-
69  std::vector<NimBLECharacteristic*> getCharacteristics(const char* uuid);
-
70  std::vector<NimBLECharacteristic*> getCharacteristics(const NimBLEUUID &uuid);
-
71 
-
72 
-
73 private:
-
74 
-
75  friend class NimBLEServer;
-
76  friend class NimBLEDevice;
-
77 
-
78  uint16_t m_handle;
-
79  NimBLEUUID m_uuid;
-
80  ble_gatt_svc_def* m_pSvcDef;
-
81  uint8_t m_removed;
-
82  std::vector<NimBLECharacteristic*> m_chrVec;
-
83 
-
84 }; // NimBLEService
-
85 
-
86 #endif /* CONFIG_BT_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
-
87 #endif /* MAIN_NIMBLESERVICE_H_ */
-
The model of a BLE Characteristic.
Definition: NimBLECharacteristic.h:63
-
A model of a BLE Device from which all the BLE roles are created.
Definition: NimBLEDevice.h:96
-
The model of a BLE server.
Definition: NimBLEServer.h:46
-
The model of a BLE service.
Definition: NimBLEService.h:34
-
std::string toString()
Return a string representation of this service. A service is defined by:
Definition: NimBLEService.cpp:417
-
NimBLECharacteristic * getCharacteristic(const char *uuid, uint16_t instanceId=0)
Get a pointer to the characteristic object with the specified UUID.
Definition: NimBLEService.cpp:346
-
NimBLECharacteristic * getCharacteristicByHandle(uint16_t handle)
Get a pointer to the characteristic object with the specified handle.
Definition: NimBLEService.cpp:374
-
NimBLECharacteristic * createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Create a new BLE Characteristic associated with this service.
Definition: NimBLEService.cpp:262
-
NimBLEService(const char *uuid)
Construct an instance of the NimBLEService.
Definition: NimBLEService.cpp:36
-
void dump()
Dump details of this BLE GATT service.
Definition: NimBLEService.cpp:77
-
uint16_t getHandle()
Get the handle associated with this service.
Definition: NimBLEService.cpp:250
-
std::vector< NimBLECharacteristic * > getCharacteristics()
Definition: NimBLEService.cpp:386
-
NimBLEUUID getUUID()
Get the UUID of the service.
Definition: NimBLEService.cpp:101
-
bool start()
Builds the database of characteristics/descriptors for the service and registers it with the NimBLE s...
Definition: NimBLEService.cpp:111
-
NimBLEServer * getServer()
Get the BLE server associated with this service.
Definition: NimBLEService.cpp:431
-
void addCharacteristic(NimBLECharacteristic *pCharacteristic)
Add a characteristic to the service.
Definition: NimBLEService.cpp:291
-
void removeCharacteristic(NimBLECharacteristic *pCharacteristic, bool deleteChr=false)
Remove a characteristic from the service.
Definition: NimBLEService.cpp:317
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
+
1/*
+
2 * Copyright 2020-2024 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_SERVICE_H_
+
19#define NIMBLE_CPP_SERVICE_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED) && defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL)
+
23
+
24class NimBLEService;
+
25
+
26# include "NimBLEAttribute.h"
+
27# include "NimBLEServer.h"
+
28# include "NimBLECharacteristic.h"
+
29
+
+ +
35 public:
+
36 NimBLEService(const char* uuid);
+
37 NimBLEService(const NimBLEUUID& uuid);
+ +
39
+
40 NimBLEServer* getServer() const;
+
41 std::string toString() const;
+
42 void dump() const;
+
43 bool isStarted() const;
+
44 bool start();
+ +
46 uint32_t properties = NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE,
+
47 uint16_t max_len = BLE_ATT_ATTR_MAX_LEN);
+
48
+ +
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_ENABLED && CONFIG_BT_NIMBLE_ROLE_PERIPHERAL */
+
73#endif /* NIMBLE_CPP_SERVICE_H_ */
+
The model of a BLE Characteristic.
Definition NimBLECharacteristic.h:40
+
A base class for local BLE attributes.
Definition NimBLELocalAttribute.h:29
+
The model of a BLE server.
Definition NimBLEServer.h:60
+
The model of a BLE service.
Definition NimBLEService.h:34
+
NimBLECharacteristic * createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
Create a new BLE Characteristic associated with this service.
Definition NimBLEService.cpp:188
+
NimBLECharacteristic * getCharacteristicByHandle(uint16_t handle) const
Get a pointer to the characteristic object with the specified handle.
Definition NimBLEService.cpp:302
+
std::string toString() const
Return a string representation of this service. A service is defined by:
Definition NimBLEService.cpp:347
+
const std::vector< NimBLECharacteristic * > & getCharacteristics() const
Definition NimBLEService.cpp:315
+
~NimBLEService()
Destructor, make sure we release the resources allocated for the service.
Definition NimBLEService.cpp:51
+
void dump() const
Dump details of this BLE GATT service.
Definition NimBLEService.cpp:67
+
bool isStarted() const
Checks if the service has been started.
Definition NimBLEService.cpp:368
+
NimBLEServer * getServer() const
Get the BLE server associated with this service.
Definition NimBLEService.cpp:360
+
bool start()
Builds the database of characteristics/descriptors for the service and registers it with the NimBLE s...
Definition NimBLEService.cpp:92
+
NimBLECharacteristic * getCharacteristic(const char *uuid, uint16_t instanceId=0) const
Get a pointer to the characteristic object with the specified UUID.
Definition NimBLEService.cpp:273
+
void addCharacteristic(NimBLECharacteristic *pCharacteristic)
Add a characteristic to the service.
Definition NimBLEService.cpp:213
+
void removeCharacteristic(NimBLECharacteristic *pCharacteristic, bool deleteChr=false)
Remove a characteristic from the service.
Definition NimBLEService.cpp:245
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
@@ -194,7 +192,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_service_8h_source.html','') 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 bab5541..445adbf 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 @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEUUID.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,88 +81,105 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_u_u_i_d_8h_source.html','')
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEUUID.h
+
NimBLEUUID.h
-
1 /*
-
2  * NimBLEUUID.h
-
3  *
-
4  * Created: on Jan 24 2020
-
5  * Author H2zero
-
6  *
-
7  * Originally:
-
8  *
-
9  * BLEUUID.h
-
10  *
-
11  * Created on: Jun 21, 2017
-
12  * Author: kolban
-
13  */
-
14 
-
15 #ifndef COMPONENTS_NIMBLEUUID_H_
-
16 #define COMPONENTS_NIMBLEUUID_H_
-
17 
-
18 #include "nimconfig.h"
-
19 #if defined(CONFIG_BT_ENABLED)
-
20 
-
21 #if defined(CONFIG_NIMBLE_CPP_IDF)
-
22 #include "host/ble_uuid.h"
-
23 #else
-
24 #include "nimble/nimble/host/include/host/ble_uuid.h"
-
25 #endif
-
26 
-
27 /**** FIX COMPILATION ****/
-
28 #undef min
-
29 #undef max
-
30 /**************************/
-
31 
-
32 #include <string>
-
33 
-
37 class NimBLEUUID {
-
38 public:
-
39  NimBLEUUID(const std::string &uuid);
-
40  NimBLEUUID(uint16_t uuid);
-
41  NimBLEUUID(uint32_t uuid);
-
42  NimBLEUUID(const ble_uuid128_t* uuid);
-
43  NimBLEUUID(const uint8_t* pData, size_t size, bool msbFirst);
-
44  NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth);
-
45  NimBLEUUID();
-
46 
-
47  uint8_t bitSize() const;
-
48  bool equals(const NimBLEUUID &uuid) const;
-
49  const ble_uuid_any_t* getNative() const;
-
50  const NimBLEUUID & to128();
-
51  const NimBLEUUID& to16();
-
52  std::string toString() const;
-
53  static NimBLEUUID fromString(const std::string &uuid);
-
54 
-
55  bool operator ==(const NimBLEUUID & rhs) const;
-
56  bool operator !=(const NimBLEUUID & rhs) const;
-
57  operator std::string() const;
-
58 
-
59 private:
-
60  ble_uuid_any_t m_uuid;
-
61  bool m_valueSet = false;
-
62 }; // NimBLEUUID
-
63 #endif /* CONFIG_BT_ENABLED */
-
64 #endif /* COMPONENTS_NIMBLEUUID_H_ */
-
A model of a BLE UUID.
Definition: NimBLEUUID.h:37
-
bool equals(const NimBLEUUID &uuid) const
Compare a UUID against this UUID.
Definition: NimBLEUUID.cpp:187
-
bool operator==(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is equal to another.
Definition: NimBLEUUID.cpp:302
-
const NimBLEUUID & to16()
Convert 128 bit UUID to its 16 bit representation.
Definition: NimBLEUUID.cpp:266
-
const ble_uuid_any_t * getNative() const
Get the native UUID value.
Definition: NimBLEUUID.cpp:227
-
const NimBLEUUID & to128()
Convert a UUID to its 128 bit representation.
Definition: NimBLEUUID.cpp:242
-
std::string toString() const
Get a string representation of the UUID.
Definition: NimBLEUUID.cpp:294
-
NimBLEUUID()
Creates an empty UUID.
Definition: NimBLEUUID.cpp:166
-
bool operator!=(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is not equal to another.
Definition: NimBLEUUID.cpp:341
-
static NimBLEUUID fromString(const std::string &uuid)
Definition: NimBLEUUID.cpp:203
-
uint8_t bitSize() const
Get the number of bits in this uuid.
Definition: NimBLEUUID.cpp:175
+
1/*
+
2 * Copyright 2020-2024 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_UUID_H_
+
19#define NIMBLE_CPP_UUID_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED)
+
23
+
24# if defined(CONFIG_NIMBLE_CPP_IDF)
+
25# include "host/ble_uuid.h"
+
26# else
+
27# include "nimble/nimble/host/include/host/ble_uuid.h"
+
28# endif
+
29
+
30/**** FIX COMPILATION ****/
+
31# undef min
+
32# undef max
+
33/**************************/
+
34
+
35# include <string>
+
36# include <cstring>
+
37
+
+ +
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();
+ +
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
+
+
72
+
73#endif /* CONFIG_BT_ENABLED */
+
74#endif /* NIMBLE_CPP_UUID_H_ */
+
A model of a BLE UUID.
Definition NimBLEUUID.h:41
+
bool equals(const NimBLEUUID &uuid) const
Compare a UUID against this UUID.
Definition NimBLEUUID.cpp:181
+
bool operator==(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is equal to another.
Definition NimBLEUUID.cpp:288
+
const NimBLEUUID & to16()
Convert 128 bit UUID to its 16 bit representation.
Definition NimBLEUUID.cpp:241
+
const ble_uuid_t * getBase() const
Get a pointer to the NimBLE UUID base structure.
Definition NimBLEUUID.cpp:171
+
const NimBLEUUID & to128()
Convert a UUID to its 128 bit representation.
Definition NimBLEUUID.cpp:222
+
NimBLEUUID()=default
Created a blank UUID.
+
std::string toString() const
Get a string representation of the UUID.
Definition NimBLEUUID.cpp:264
+
const NimBLEUUID & reverseByteOrder()
Reverse the byte order of the UUID.
Definition NimBLEUUID.cpp:273
+
bool operator!=(const NimBLEUUID &rhs) const
Convenience operator to check if this UUID is not equal to another.
Definition NimBLEUUID.cpp:326
+
const uint8_t * getValue() const
Get the uuid value.
Definition NimBLEUUID.cpp:153
+
static NimBLEUUID fromString(const std::string &uuid)
Definition NimBLEUUID.cpp:196
+
uint8_t bitSize() const
Get the bit size of the UUID, 16, 32 or 128.
Definition NimBLEUUID.cpp:144
@@ -165,7 +187,7 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_u_u_i_d_8h_source.html','') diff --git a/_nim_b_l_e_utils_8h_source.html b/_nim_b_l_e_utils_8h_source.html index bfd0837..96d6688 100644 --- a/_nim_b_l_e_utils_8h_source.html +++ b/_nim_b_l_e_utils_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/NimBLEUtils.h Source File @@ -23,10 +23,9 @@
- - + @@ -34,22 +33,28 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ + +
@@ -76,79 +81,96 @@ $(document).ready(function(){initNavTree('_nim_b_l_e_utils_8h_source.html','');
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEUtils.h
+
NimBLEUtils.h
-
1 /*
-
2  * NimBLEUtils.h
-
3  *
-
4  * Created: on Jan 25 2020
-
5  * Author H2zero
-
6  *
-
7  */
-
8 
-
9 #ifndef COMPONENTS_NIMBLEUTILS_H_
-
10 #define COMPONENTS_NIMBLEUTILS_H_
-
11 
-
12 #include "nimconfig.h"
-
13 #if defined(CONFIG_BT_ENABLED)
-
14 
-
15 #if defined(CONFIG_NIMBLE_CPP_IDF)
-
16 #include "host/ble_gap.h"
-
17 #else
-
18 #include "nimble/nimble/host/include/host/ble_gap.h"
-
19 #endif
-
20 
-
21 /**** FIX COMPILATION ****/
-
22 #undef min
-
23 #undef max
-
24 /**************************/
-
25 
-
26 #include <string>
-
27 
-
28 typedef struct {
-
29  void *pATT;
-
30  TaskHandle_t task;
-
31  int rc;
-
32  void *buf;
-
33 } ble_task_data_t;
-
34 
-
35 
-
39 class NimBLEUtils {
-
40 public:
-
41  static void dumpGapEvent(ble_gap_event *event, void *arg);
-
42  static const char* gapEventToString(uint8_t eventType);
-
43  static char* buildHexData(uint8_t* target, const uint8_t* source, uint8_t length);
-
44  static const char* advTypeToString(uint8_t advType);
-
45  static const char* returnCodeToString(int rc);
-
46  static int checkConnParams(ble_gap_conn_params* params);
-
47 };
-
48 
-
49 
-
50 #endif // CONFIG_BT_ENABLED
-
51 #endif // COMPONENTS_NIMBLEUTILS_H_
-
A BLE Utility class with methods for debugging and general purpose use.
Definition: NimBLEUtils.h:39
-
static void dumpGapEvent(ble_gap_event *event, void *arg)
Utility function to log the gap event info.
Definition: NimBLEUtils.cpp:421
-
static char * buildHexData(uint8_t *target, const uint8_t *source, uint8_t length)
Create a hex representation of data.
Definition: NimBLEUtils.cpp:388
-
static const char * advTypeToString(uint8_t advType)
Convert the advertising type flag to a string.
Definition: NimBLEUtils.cpp:357
-
static const char * returnCodeToString(int rc)
Converts a return code from the NimBLE stack to a text string.
Definition: NimBLEUtils.cpp:63
-
static int checkConnParams(ble_gap_conn_params *params)
A function for checking validity of connection parameters.
Definition: NimBLEUtils.cpp:25
-
static const char * gapEventToString(uint8_t eventType)
Convert a GAP event type to a string representation.
Definition: NimBLEUtils.cpp:436
+
1/*
+
2 * Copyright 2020-2024 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_UTILS_H_
+
19#define NIMBLE_CPP_UTILS_H_
+
20
+
21#include "nimconfig.h"
+
22#if defined(CONFIG_BT_ENABLED)
+
23# include <string>
+
24
+
25class NimBLEAddress;
+
26
+
+ +
33 NimBLETaskData(void* pInstance = nullptr, int flags = 0, void* buf = nullptr);
+ +
35 void* m_pInstance{nullptr};
+
36 mutable int m_flags{0};
+
37 void* m_pBuf{nullptr};
+
38
+
39 private:
+
40 mutable void* m_pHandle{nullptr}; // semaphore or task handle
+
41 friend class NimBLEUtils;
+
42};
+
+
43
+
+ +
48 public:
+
49 static const char* gapEventToString(uint8_t eventType);
+
50 static std::string dataToHexString(const uint8_t* source, uint8_t length);
+
51 static const char* advTypeToString(uint8_t advType);
+
52 static const char* returnCodeToString(int rc);
+
53 static NimBLEAddress generateAddr(bool nrpa);
+
54 static bool taskWait(const NimBLETaskData& taskData, uint32_t timeout);
+
55 static void taskRelease(const NimBLETaskData& taskData, int rc = 0);
+
56};
+
+
57
+
58#endif // CONFIG_BT_ENABLED
+
59#endif // NIMBLE_CPP_UTILS_H_
+
A BLE device address.
Definition NimBLEAddress.h:41
+
A BLE Utility class with methods for debugging and general purpose use.
Definition NimBLEUtils.h:47
+
static std::string dataToHexString(const uint8_t *source, uint8_t length)
Create a hexadecimal string representation of the input data.
Definition NimBLEUtils.cpp:546
+
static bool taskWait(const NimBLETaskData &taskData, uint32_t timeout)
Blocks the calling task until released or timeout.
Definition NimBLEUtils.cpp:90
+
static NimBLEAddress generateAddr(bool nrpa)
Generate a random BLE address.
Definition NimBLEUtils.cpp:565
+
static const char * advTypeToString(uint8_t advType)
Convert the advertising type flag to a string.
Definition NimBLEUtils.cpp:428
+
static void taskRelease(const NimBLETaskData &taskData, int rc=0)
Release a task.
Definition NimBLEUtils.cpp:117
+
static const char * returnCodeToString(int rc)
Converts a return code from the NimBLE stack to a text string.
Definition NimBLEUtils.cpp:133
+
static const char * gapEventToString(uint8_t eventType)
Convert a GAP event type to a string representation.
Definition NimBLEUtils.cpp:455
+
A structure to hold data for a task that is waiting for a response.
Definition NimBLEUtils.h:32
+
~NimBLETaskData()
Destructor.
Definition NimBLEUtils.cpp:75
diff --git a/annotated.html b/annotated.html index 50a0c35..67ddbbe 100644 --- a/annotated.html +++ b/annotated.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class List @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,52 +76,58 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable();
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
Class List
+
Class List
Here are the classes, structs, unions and interfaces with brief descriptions:
- + - - - + + + - + - + - + - + - + - - - - - + + + + + - + - - - - - - - + + + + + + + - +
 CNimBLE2904Descriptor for Characteristic Presentation Format
 CNimBLEAddressA BLE device address
 CNimBLEAddressA BLE device address
 CNimBLEAdvertisedDeviceA representation of a BLE advertised device found by a scan
 CNimBLEAdvertisedDeviceCallbacksA callback handler for callbacks associated device scanning
 CNimBLEAdvertisementDataAdvertisement data set by the programmer to be published by the BLE server
 CNimBLEAdvertisingPerform and manage BLE advertising
 CNimBLEAdvertisementDataAdvertisement data set by the programmer to be published by the BLE server
 CNimBLEAdvertisingPerform and manage BLE advertising
 CNimBLEAttributeA base class for BLE attributes
 CNimBLEAttValueA specialized container class to hold BLE attribute values
 CNimBLEBeaconRepresentation of a beacon. See:
 CNimBLEBeaconRepresentation of a beacon. See:
 CNimBLECharacteristicThe model of a BLE Characteristic
 CNimBLECharacteristicCallbacksCallbacks that can be associated with a BLE characteristic to inform of events
 CNimBLECharacteristicCallbacksCallbacks that can be associated with a BLE characteristic to inform of events
 CNimBLEClientA model of a BLE client
 CNimBLEClientCallbacksCallbacks associated with a BLE client
 CNimBLEClientCallbacksCallbacks associated with a BLE client
 CNimBLEConnInfoConnection information
 CNimBLEDescriptorA model of a BLE descriptor
 CNimBLEDescriptorA model of a BLE descriptor
 CNimBLEDescriptorCallbacksCallbacks that can be associated with a BLE descriptors to inform of events
 CNimBLEDeviceA model of a BLE Device from which all the BLE roles are created
 CNimBLEDeviceA model of a BLE Device from which all the BLE roles are created
 CNimBLEEddystoneTLMRepresentation of a beacon. See:
 CNimBLEEddystoneURLRepresentation of a beacon. See:
 CNimBLEExtAdvertisementExtended advertisement data
 CNimBLEExtAdvertisingExtended advertising class
 CNimBLEExtAdvertisingCallbacksCallbacks associated with NimBLEExtAdvertising class
 CNimBLEHIDDeviceA model of a BLE Human Interface Device
 CNimBLEExtAdvertisementExtended advertisement data
 CNimBLEExtAdvertisingExtended advertising class
 CNimBLEExtAdvertisingCallbacksCallbacks associated with NimBLEExtAdvertising class
 CNimBLEHIDDeviceA model of a BLE Human Interface Device
 CNimBLELocalAttributeA base class for local BLE attributes
 CNimBLERemoteCharacteristicA model of a remote BLE characteristic
 CNimBLERemoteDescriptorA model of remote BLE descriptor
 CNimBLERemoteDescriptorA model of remote BLE descriptor
 CNimBLERemoteServiceA model of a remote BLE service
 CNimBLEScanPerform and manage BLE scans
 CNimBLEScanResultsA class that contains and operates on the results of a BLE scan
 CNimBLESecurityA class to handle BLE security operations. Deprecated - provided for backward compatibility only.
 CNimBLESecurityCallbacksCallbacks to handle GAP events related to authorization. Deprecated - provided for backward compatibility only.
 CNimBLEServerThe model of a BLE server
 CNimBLEServerCallbacksCallbacks associated with the operation of a BLE server
 CNimBLEServiceThe model of a BLE service
 CNimBLEScanPerform and manage BLE scans
 CNimBLEScanCallbacksA callback handler for callbacks associated device scanning
 CNimBLEScanResultsA class that contains and operates on the results of a BLE scan
 CNimBLEServerThe model of a BLE server
 CNimBLEServerCallbacksCallbacks associated with the operation of a BLE server
 CNimBLEServiceThe model of a BLE service
 CNimBLETaskDataA structure to hold data for a task that is waiting for a response
 CNimBLEUtilsA BLE Utility class with methods for debugging and general purpose use
 CNimBLEUUIDA model of a BLE UUID
 CNimBLEUUIDA model of a BLE UUID
@@ -129,7 +135,7 @@ $(document).ready(function(){initNavTree('annotated.html',''); initResizable(); diff --git a/annotated_dup.js b/annotated_dup.js index 55222ee..efc38b2 100644 --- a/annotated_dup.js +++ b/annotated_dup.js @@ -3,9 +3,9 @@ var annotated_dup = [ "NimBLE2904", "class_nim_b_l_e2904.html", "class_nim_b_l_e2904" ], [ "NimBLEAddress", "class_nim_b_l_e_address.html", "class_nim_b_l_e_address" ], [ "NimBLEAdvertisedDevice", "class_nim_b_l_e_advertised_device.html", "class_nim_b_l_e_advertised_device" ], - [ "NimBLEAdvertisedDeviceCallbacks", "class_nim_b_l_e_advertised_device_callbacks.html", "class_nim_b_l_e_advertised_device_callbacks" ], [ "NimBLEAdvertisementData", "class_nim_b_l_e_advertisement_data.html", "class_nim_b_l_e_advertisement_data" ], [ "NimBLEAdvertising", "class_nim_b_l_e_advertising.html", "class_nim_b_l_e_advertising" ], + [ "NimBLEAttribute", "class_nim_b_l_e_attribute.html", "class_nim_b_l_e_attribute" ], [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html", "class_nim_b_l_e_att_value" ], [ "NimBLEBeacon", "class_nim_b_l_e_beacon.html", "class_nim_b_l_e_beacon" ], [ "NimBLECharacteristic", "class_nim_b_l_e_characteristic.html", "class_nim_b_l_e_characteristic" ], @@ -17,21 +17,21 @@ var annotated_dup = [ "NimBLEDescriptorCallbacks", "class_nim_b_l_e_descriptor_callbacks.html", "class_nim_b_l_e_descriptor_callbacks" ], [ "NimBLEDevice", "class_nim_b_l_e_device.html", null ], [ "NimBLEEddystoneTLM", "class_nim_b_l_e_eddystone_t_l_m.html", "class_nim_b_l_e_eddystone_t_l_m" ], - [ "NimBLEEddystoneURL", "class_nim_b_l_e_eddystone_u_r_l.html", "class_nim_b_l_e_eddystone_u_r_l" ], [ "NimBLEExtAdvertisement", "class_nim_b_l_e_ext_advertisement.html", "class_nim_b_l_e_ext_advertisement" ], [ "NimBLEExtAdvertising", "class_nim_b_l_e_ext_advertising.html", "class_nim_b_l_e_ext_advertising" ], [ "NimBLEExtAdvertisingCallbacks", "class_nim_b_l_e_ext_advertising_callbacks.html", "class_nim_b_l_e_ext_advertising_callbacks" ], [ "NimBLEHIDDevice", "class_nim_b_l_e_h_i_d_device.html", "class_nim_b_l_e_h_i_d_device" ], + [ "NimBLELocalAttribute", "class_nim_b_l_e_local_attribute.html", "class_nim_b_l_e_local_attribute" ], [ "NimBLERemoteCharacteristic", "class_nim_b_l_e_remote_characteristic.html", "class_nim_b_l_e_remote_characteristic" ], [ "NimBLERemoteDescriptor", "class_nim_b_l_e_remote_descriptor.html", "class_nim_b_l_e_remote_descriptor" ], [ "NimBLERemoteService", "class_nim_b_l_e_remote_service.html", "class_nim_b_l_e_remote_service" ], [ "NimBLEScan", "class_nim_b_l_e_scan.html", "class_nim_b_l_e_scan" ], + [ "NimBLEScanCallbacks", "class_nim_b_l_e_scan_callbacks.html", "class_nim_b_l_e_scan_callbacks" ], [ "NimBLEScanResults", "class_nim_b_l_e_scan_results.html", "class_nim_b_l_e_scan_results" ], - [ "NimBLESecurity", "class_nim_b_l_e_security.html", "class_nim_b_l_e_security" ], - [ "NimBLESecurityCallbacks", "class_nim_b_l_e_security_callbacks.html", "class_nim_b_l_e_security_callbacks" ], [ "NimBLEServer", "class_nim_b_l_e_server.html", "class_nim_b_l_e_server" ], [ "NimBLEServerCallbacks", "class_nim_b_l_e_server_callbacks.html", "class_nim_b_l_e_server_callbacks" ], [ "NimBLEService", "class_nim_b_l_e_service.html", "class_nim_b_l_e_service" ], + [ "NimBLETaskData", "struct_nim_b_l_e_task_data.html", "struct_nim_b_l_e_task_data" ], [ "NimBLEUtils", "class_nim_b_l_e_utils.html", null ], [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html", "class_nim_b_l_e_u_u_i_d" ] ]; \ No newline at end of file diff --git a/bc_sd.png b/bc_sd.png new file mode 100644 index 0000000000000000000000000000000000000000..31ca888dc71049713b35c351933a8d0f36180bf1 GIT binary patch literal 635 zcmeAS@N?(olHy`uVBq!ia0y~yVBlb2V36ZrV_;wqY>4M&U|@3cba4!+V0=6GbhdDy z$g%y_#wS%?nq0O?Q&Y?QTp)C7$@?X`SM9bWX?y8Lv^WI_9Bk$1Vk}kORk-wrxd>Nl zQ(no_un7_y7wwqfaJfl$);g|2<&LK3UBbqn?RlP?KetZjD}T4MfA5UB5sr1ww1k+` zAAI{I*!48`fR3KI`nmi0e(P;6o_S<6XT#!F?$>%dmDiW@=Q36NSsTar;eJF_O6HtD z#kPjOf{Q9Ig?zXjd7$>_aw*18@B6t|?(f+kx};5f=l&xz3XXe-O8W>rU%6s!!V8)2 zc}f0PeJ?)0o-Y0M)blXMq7Q49%5yEscJvopwIpBmO@X_=|NlL%JwNPr1?2hZ*aob% z*;Ty!*3Bi`?)U58+nxDTqJFFG<|Axd|2PZWo!NX>D`L%e7KYiiF9MY7>Mbf4Zw#(I zxoD;)gW2w5E-!aYl=$nUtG`kCnIVJOXQBArJi#Bd9x53JB{MvDGSQv$EL+bT?Lf{W z3@14AK z{LYuD%Wd4kRkEAa{;qug<7w=rVjH*VdE1O#Z}0b4&WX0XkP{t{G?(wASm3sz7d&4h zSTZm287GVLduE5t`+23q^!KKTI#XWwT*=_~T03p;++XpE)ql4-Y&q|}_GAD0Xy4Pa zjOS!>Z^_MFcWeI+*1Kw=a;keA&9l2Bo)%gcoa_?o`f6VNY5D9W%`E4)HfWsOp82Ev x|R3C4m3{ literal 0 HcmV?d00001 diff --git a/bdwn.png b/bdwn.png deleted file mode 100644 index 940a0b950443a0bb1b216ac03c45b8a16c955452..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmeAS@N?(olHy`uVBq!ia0y~yU|?rpVBp|jV_;w~WqAssqC8z3Ln;{G&OOcBpdjEf zKVX{S#~kT-xd*t5HZo>y(o5xe(dH6;i_@% diff --git a/class_nim_b_l_e2904-members.html b/class_nim_b_l_e2904-members.html index 41f6cff..27e6979 100644 --- a/class_nim_b_l_e2904-members.html +++ b/class_nim_b_l_e2904-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,45 +76,49 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e2904.html',''); initRes
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLE2904 Member List
+
NimBLE2904 Member List

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

- - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + + +
getCharacteristic()NimBLEDescriptor
getHandle()NimBLEDescriptor
getLength()NimBLEDescriptor
getStringValue()NimBLEDescriptor
getUUID()NimBLEDescriptor
getValue(time_t *timestamp=nullptr)NimBLEDescriptor
getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)NimBLEDescriptorinline
NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)NimBLEDescriptor
NimBLEDescriptor(NimBLEUUID uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)NimBLEDescriptor
setCallbacks(NimBLEDescriptorCallbacks *pCallbacks)NimBLEDescriptor
setDescription(uint16_t)NimBLE2904
setExponent(int8_t exponent)NimBLE2904
setFormat(uint8_t format)NimBLE2904
setNamespace(uint8_t namespace_value)NimBLE2904
getCharacteristic() constNimBLEDescriptor
getHandle() constNimBLEAttributeinline
getRemoved() constNimBLELocalAttributeinline
getUUID() constNimBLEAttributeinline
NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)NimBLEDescriptor
NimBLEDescriptor(const NimBLEUUID &uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)NimBLEDescriptor
NimBLELocalAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLELocalAttributeinlineprotected
setCallbacks(NimBLEDescriptorCallbacks *pCallbacks)NimBLEDescriptor
setDescription(uint16_t)NimBLE2904
setExponent(int8_t exponent)NimBLE2904
setFormat(uint8_t format)NimBLE2904
setNamespace(uint8_t namespace_value)NimBLE2904
setRemoved(uint8_t removed)NimBLELocalAttributeinlineprotected
setUnit(uint16_t unit)NimBLE2904
setValue(const uint8_t *data, size_t size)NimBLEDescriptor
setValue(const std::vector< uint8_t > &vec)NimBLEDescriptor
setValue(const T &s)NimBLEDescriptorinline
toString()NimBLEDescriptor
~NimBLEDescriptor()NimBLEDescriptor
toString() constNimBLEDescriptor
~NimBLEAttribute()=defaultNimBLEAttributeprotected
~NimBLELocalAttribute()=defaultNimBLELocalAttributeprotected
diff --git a/class_nim_b_l_e2904.html b/class_nim_b_l_e2904.html index e68e9c6..ad51fa7 100644 --- a/class_nim_b_l_e2904.html +++ b/class_nim_b_l_e2904.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLE2904 Class Reference @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,105 +76,177 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e2904.html',''); initRes
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLE2904 Class Reference
+
NimBLE2904 Class Reference

Descriptor for Characteristic Presentation Format. More...

+

#include <NimBLE2904.h>

+

Inherits NimBLEDescriptor.

- - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + +

+

Public Member Functions

-void setDescription (uint16_t)
 Set the description.
void setDescription (uint16_t)
 Set the description.
 
-void setExponent (int8_t exponent)
 Set the exponent.
void setExponent (int8_t exponent)
 Set the exponent.
 
-void setFormat (uint8_t format)
 Set the format.
void setFormat (uint8_t format)
 Set the format.
 
-void setNamespace (uint8_t namespace_value)
 Set the namespace.
void setNamespace (uint8_t namespace_value)
 Set the namespace.
 
void setUnit (uint16_t unit)
 Set the units for this value. It should be one of the encoded values defined here: https://www.bluetooth.com/specifications/assigned-numbers/units. More...
void setUnit (uint16_t unit)
 Set the units for this value.
 
- Public Member Functions inherited from NimBLEDescriptor
 NimBLEDescriptor (const char *uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)
 Construct a descriptor. More...
 
 NimBLEDescriptor (NimBLEUUID uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)
 Construct a descriptor. More...
 
~NimBLEDescriptor ()
 NimBLEDescriptor destructor.
 
uint16_t getHandle ()
 Get the BLE handle for this descriptor. More...
 
-NimBLEUUID getUUID ()
 Get the UUID of the descriptor.
 
std::string toString ()
 Return a string representation of the descriptor. More...
 
void setCallbacks (NimBLEDescriptorCallbacks *pCallbacks)
 Set the callback handlers for this descriptor. More...
 NimBLEDescriptor (const char *uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)
 Construct a descriptor.
 
 NimBLEDescriptor (const NimBLEUUID &uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)
 Construct a descriptor.
 
std::string toString () const
 Return a string representation of the descriptor.
 
void setCallbacks (NimBLEDescriptorCallbacks *pCallbacks)
 Set the callback handlers for this descriptor.
 
NimBLECharacteristicgetCharacteristic ()
 Get the characteristic this descriptor belongs to. More...
 
size_t getLength ()
 Get the length of the value of this descriptor. More...
 
NimBLEAttValue getValue (time_t *timestamp=nullptr)
 Get the value of this descriptor. More...
 
std::string getStringValue ()
 Get the value of this descriptor as a string. More...
 
void setValue (const uint8_t *data, size_t size)
 Set the value of the descriptor. More...
 
void setValue (const std::vector< uint8_t > &vec)
 Set the value of the descriptor from a std::vector<uint8_t>.
-. More...
 
template<typename T >
void setValue (const T &s)
 Template to set the characteristic value to <type>val. More...
 
template<typename T >
getValue (time_t *timestamp=nullptr, bool skipSizeCheck=false)
 Template to convert the descriptor data to <type>. More...
 
NimBLECharacteristicgetCharacteristic () const
 Get the characteristic this descriptor belongs to.
 

Detailed Description

Descriptor for Characteristic Presentation Format.

-

This is a convenience descriptor for the Characteristic Presentation Format which has a UUID of 0x2904.

-

See also: https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.descriptor.gatt.characteristic_presentation_format.xml

+

This is a convenience descriptor for the Characteristic Presentation Format which has a UUID of 0x2904.

Member Function Documentation

- -

◆ setUnit()

+ +

◆ setDescription()

+ +
+
+ + + + + + + + +
void NimBLE2904::setDescription (uint16_t description)
+
+ +

Set the description.

+
Parameters
+ + +
[in]descriptionThe description value to set.
+
+
+ +
+
+ +

◆ setExponent()

+ +
+
+ + + + + + + + +
void NimBLE2904::setExponent (int8_t exponent)
+
+ +

Set the exponent.

+
Parameters
+ + +
[in]exponentThe exponent value to set.
+
+
+ +
+
+ +

◆ setFormat()

+ +
+
+ + + + + + + + +
void NimBLE2904::setFormat (uint8_t format)
+
+ +

Set the format.

+
Parameters
+ + +
[in]formatThe format value to set.
+
+
+ +
+
+ +

◆ setNamespace()

+ +
+
+ + + + + + + + +
void NimBLE2904::setNamespace (uint8_t namespace_value)
+
+ +

Set the namespace.

+
Parameters
+ + +
[in]namespace_valueThe namespace value toset.
+
+
+ +
+
+ +

◆ setUnit()

@@ -189,13 +261,14 @@ void  -

Set the units for this value. It should be one of the encoded values defined here: https://www.bluetooth.com/specifications/assigned-numbers/units.

+

Set the units for this value.

Parameters
- +
[in]unitThe type of units of this characteristic as defined by assigned numbers.
[in]unitThe type of units of this characteristic as defined by assigned numbers.
+

See https://www.bluetooth.com/specifications/assigned-numbers/units

@@ -205,7 +278,7 @@ void 
diff --git a/class_nim_b_l_e_address-members.html b/class_nim_b_l_e_address-members.html index 6ddec94..61214b0 100644 --- a/class_nim_b_l_e_address-members.html +++ b/class_nim_b_l_e_address-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,38 +76,51 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_address.html',''); ini
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAddress Member List
+
NimBLEAddress Member List

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

- + - - - - - + + + + + + + + + + + - + - - + + +
equals(const NimBLEAddress &otherAddress) constNimBLEAddress
getNative() constNimBLEAddress
getBase() constNimBLEAddress
getType() constNimBLEAddress
NimBLEAddress()NimBLEAddress
NimBLEAddress(ble_addr_t address)NimBLEAddress
NimBLEAddress(uint8_t address[6], uint8_t type=BLE_ADDR_PUBLIC)NimBLEAddress
NimBLEAddress(const std::string &stringAddress, uint8_t type=BLE_ADDR_PUBLIC)NimBLEAddress
NimBLEAddress(const uint64_t &address, uint8_t type=BLE_ADDR_PUBLIC)NimBLEAddress
getVal() constNimBLEAddress
isNrpa() constNimBLEAddress
isNull() constNimBLEAddress
isPublic() constNimBLEAddress
isRpa() constNimBLEAddress
isStatic() constNimBLEAddress
NimBLEAddress()=defaultNimBLEAddress
NimBLEAddress(const ble_addr_t address)NimBLEAddress
NimBLEAddress(const uint8_t address[BLE_DEV_ADDR_LEN], uint8_t type)NimBLEAddress
NimBLEAddress(const std::string &stringAddress, uint8_t type)NimBLEAddress
NimBLEAddress(const uint64_t &address, uint8_t type)NimBLEAddress
operator std::string() constNimBLEAddress
operator uint64_t() constNimBLEAddress
operator uint64_t() constNimBLEAddress
operator!=(const NimBLEAddress &rhs) constNimBLEAddress
operator==(const NimBLEAddress &rhs) constNimBLEAddress
toString() constNimBLEAddress
operator==(const NimBLEAddress &rhs) constNimBLEAddress
reverseByteOrder()NimBLEAddress
toString() constNimBLEAddress
diff --git a/class_nim_b_l_e_address.html b/class_nim_b_l_e_address.html index 238c464..3123c03 100644 --- a/class_nim_b_l_e_address.html +++ b/class_nim_b_l_e_address.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEAddress Class Reference @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,67 +76,98 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_address.html',''); ini
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAddress Class Reference
+
NimBLEAddress Class Reference

A BLE device address. More...

+ +

#include <NimBLEAddress.h>

+ +

Inherits ble_addr_t.

- - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - + + - + + + + + + + - + - - + + - +

+

Public Member Functions

NimBLEAddress ()
 Create a blank address, i.e. 00:00:00:00:00:00, type 0.
 
 NimBLEAddress (ble_addr_t address)
 Create an address from the native NimBLE representation. More...
 
 NimBLEAddress (uint8_t address[6], uint8_t type=BLE_ADDR_PUBLIC)
 Constructor for compatibility with bluedroid esp library using native ESP representation. More...
 
 NimBLEAddress (const std::string &stringAddress, uint8_t type=BLE_ADDR_PUBLIC)
 Create an address from a hex string. More...
 
 NimBLEAddress (const uint64_t &address, uint8_t type=BLE_ADDR_PUBLIC)
 Constructor for address using a hex value.
-Use the same byte order, so use 0xa4c1385def16 for "a4:c1:38:5d:ef:16". More...
 
bool equals (const NimBLEAddress &otherAddress) const
 Determine if this address equals another. More...
NimBLEAddress ()=default
 Create a blank address, i.e. 00:00:00:00:00:00, type 0.
 
 NimBLEAddress (const ble_addr_t address)
 Create an address from the native NimBLE representation.
 
 NimBLEAddress (const uint8_t address[BLE_DEV_ADDR_LEN], uint8_t type)
 Constructor for compatibility with bluedroid esp library using native ESP representation.
 
 NimBLEAddress (const std::string &stringAddress, uint8_t type)
 Create an address from a hex string.
 
 NimBLEAddress (const uint64_t &address, uint8_t type)
 Constructor for address using a hex value.
+Use the same byte order, so use 0xa4c1385def16 for "a4:c1:38:5d:ef:16".
 
bool isRpa () const
 Determine if this address is a Resolvable Private Address.
 
bool isNrpa () const
 Determine if this address is a Non-Resolvable Private Address.
 
bool isStatic () const
 Determine if this address is a Static Address.
 
bool isPublic () const
 Determine if this address is a Public Address.
 
bool isNull () const
 Determine if this address is a NULL Address.
 
bool equals (const NimBLEAddress &otherAddress) const
 Determine if this address equals another.
 
const uint8_t * getNative () const
 Get the native representation of the address. More...
 
std::string toString () const
 Convert a BLE address to a string. More...
const ble_addr_t * getBase () const
 Get the NimBLE base struct of the address.
 
std::string toString () const
 Convert a BLE address to a string.
 
uint8_t getType () const
 Get the address type. More...
uint8_t getType () const
 Get the address type.
 
-bool operator== (const NimBLEAddress &rhs) const
const uint8_t * getVal () const
 Get the address value.
 
const NimBLEAddressreverseByteOrder ()
 Reverse the byte order of the address.
 
+bool operator== (const NimBLEAddress &rhs) const
 Convenience operator to check if this address is equal to another.
 
-bool operator!= (const NimBLEAddress &rhs) const
+bool operator!= (const NimBLEAddress &rhs) const
 Convenience operator to check if this address is not equal to another.
 
 operator std::string () const
 Convienience operator to convert this address to string representation. More...
 operator std::string () const
 Convenience operator to convert this address to string representation.
 
operator uint64_t () const
operator uint64_t () const
 Convenience operator to convert the native address representation to uint_64.
 
@@ -144,8 +175,8 @@ bool 

A BLE device address.

Every BLE device has a unique address which can be used to identify it and form connections.

Constructor & Destructor Documentation

- -

◆ NimBLEAddress() [1/4]

+ +

◆ NimBLEAddress() [1/4]

- -

◆ NimBLEAddress() [4/4]

+ +

◆ NimBLEAddress() [4/4]

Member Function Documentation

-
-

◆ equals()

+ +

◆ equals()

@@ -312,14 +354,14 @@ Use the same byte order, so use 0xa4c1385def16 for "a4:c1:38:5d:ef:16".

- -

◆ getNative()

+ +

◆ getBase()

- + @@ -327,13 +369,13 @@ Use the same byte order, so use 0xa4c1385def16 for "a4:c1:38:5d:ef:16".

const uint8_t * NimBLEAddress::getNative const ble_addr_t * NimBLEAddress::getBase ( ) const
-

Get the native representation of the address.

-
Returns
a pointer to the uint8_t[6] array of the address.
+

Get the NimBLE base struct of the address.

+
Returns
A read only reference to the NimBLE base struct of the address.
- -

◆ getType()

+ +

◆ getType()

@@ -352,8 +394,128 @@ Use the same byte order, so use 0xa4c1385def16 for "a4:c1:38:5d:ef:16".

- -

◆ operator std::string()

+ +

◆ getVal()

+ +
+
+ + + + + + + +
const uint8_t * NimBLEAddress::getVal () const
+
+ +

Get the address value.

+
Returns
A read only reference to the address value.
+ +
+
+ +

◆ isNrpa()

+ +
+
+ + + + + + + +
bool NimBLEAddress::isNrpa () const
+
+ +

Determine if this address is a Non-Resolvable Private Address.

+
Returns
True if the address is a NRPA.
+ +
+
+ +

◆ isNull()

+ +
+
+ + + + + + + +
bool NimBLEAddress::isNull () const
+
+ +

Determine if this address is a NULL Address.

+
Returns
True if the address is a NULL Address.
+ +
+
+ +

◆ isPublic()

+ +
+
+ + + + + + + +
bool NimBLEAddress::isPublic () const
+
+ +

Determine if this address is a Public Address.

+
Returns
True if the address is a Public Address.
+ +
+
+ +

◆ isRpa()

+ +
+
+ + + + + + + +
bool NimBLEAddress::isRpa () const
+
+ +

Determine if this address is a Resolvable Private Address.

+
Returns
True if the address is a RPA.
+ +
+
+ +

◆ isStatic()

+ +
+
+ + + + + + + +
bool NimBLEAddress::isStatic () const
+
+ +

Determine if this address is a Static Address.

+
Returns
True if the address is a Static Address.
+ +
+
+ +

◆ operator std::string()

@@ -367,13 +529,33 @@ Use the same byte order, so use 0xa4c1385def16 for "a4:c1:38:5d:ef:16".

-

Convienience operator to convert this address to string representation.

-

This allows passing NimBLEAddress to functions that accept std::string and/or or it's methods as a parameter.

+

Convenience operator to convert this address to string representation.

+

This allows passing NimBLEAddress to functions that accept std::string and/or it's methods as a parameter.

- -

◆ toString()

+ +

◆ reverseByteOrder()

+ +
+
+ + + + + + + +
const NimBLEAddress & NimBLEAddress::reverseByteOrder ()
+
+ +

Reverse the byte order of the address.

+
Returns
A reference to this address.
+ +
+
+ +

◆ toString()

@@ -388,9 +570,7 @@ Use the same byte order, so use 0xa4c1385def16 for "a4:c1:38:5d:ef:16".

Convert a BLE address to a string.

-

A string representation of an address is in the format:

-
xx:xx:xx:xx:xx:xx
-
Returns
The string representation of the address.
+
Returns
The string representation of the address.
Deprecated:
Use std::string() operator instead.
@@ -401,7 +581,7 @@ Use the same byte order, so use 0xa4c1385def16 for "a4:c1:38:5d:ef:16".

diff --git a/class_nim_b_l_e_address.js b/class_nim_b_l_e_address.js index 3d57365..68ab15f 100644 --- a/class_nim_b_l_e_address.js +++ b/class_nim_b_l_e_address.js @@ -1,16 +1,23 @@ var class_nim_b_l_e_address = [ - [ "NimBLEAddress", "class_nim_b_l_e_address.html#a19058addb94417e2921cade37a79d04c", null ], - [ "NimBLEAddress", "class_nim_b_l_e_address.html#ab8c9105b825ed0be5d1bbab966f2a0cf", null ], - [ "NimBLEAddress", "class_nim_b_l_e_address.html#a92637adc75c8010bcf34e2dd8f16cd94", null ], - [ "NimBLEAddress", "class_nim_b_l_e_address.html#aeb6dafff197dc01e2713bbf43e21f1f3", null ], - [ "NimBLEAddress", "class_nim_b_l_e_address.html#a139790cf03d8297e253e5353a0213bff", null ], + [ "NimBLEAddress", "class_nim_b_l_e_address.html#adc38af9709f212868a89e52ea700a417", null ], + [ "NimBLEAddress", "class_nim_b_l_e_address.html#ac1bad3b929b3a694402cc7354635775e", null ], + [ "NimBLEAddress", "class_nim_b_l_e_address.html#a567542a3cf8324810751cdd4d92703ab", null ], + [ "NimBLEAddress", "class_nim_b_l_e_address.html#a4339a4ba2a68932000b2168547a37b35", null ], + [ "NimBLEAddress", "class_nim_b_l_e_address.html#adde06cf0cd99fed05b199fcd8df665a9", null ], [ "equals", "class_nim_b_l_e_address.html#a826fe8850cbc7d54f0696b8af4637169", null ], - [ "getNative", "class_nim_b_l_e_address.html#adef69a03a08303957d7e40eef07b4d80", null ], + [ "getBase", "class_nim_b_l_e_address.html#a31b466293f6cb752d5aba6b6ffb95351", null ], [ "getType", "class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb", null ], + [ "getVal", "class_nim_b_l_e_address.html#a196801fb1ad972085e748c90159e858e", null ], + [ "isNrpa", "class_nim_b_l_e_address.html#a9af65abe3c02a16307b8cffa3b1bcac1", null ], + [ "isNull", "class_nim_b_l_e_address.html#aa05f35ab6724a00c65dd096006dba2bb", null ], + [ "isPublic", "class_nim_b_l_e_address.html#a7154780415ae201a1fcdf86298b6116c", null ], + [ "isRpa", "class_nim_b_l_e_address.html#a96fba1524ed8ab43f59f5f650e8fd3c8", null ], + [ "isStatic", "class_nim_b_l_e_address.html#a409e3ef141526c8f5c5fad99bd95b660", null ], [ "operator std::string", "class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a", null ], [ "operator uint64_t", "class_nim_b_l_e_address.html#aa7d5d8d323d2846bf2082b83381bd7c8", null ], [ "operator!=", "class_nim_b_l_e_address.html#ae243127c78af69b26dfa225effd806ce", null ], [ "operator==", "class_nim_b_l_e_address.html#a87e8ccc81c2d83bf0503166939319164", null ], + [ "reverseByteOrder", "class_nim_b_l_e_address.html#a0f390fb5f422db8ced1938bd40f87c4d", null ], [ "toString", "class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_advertised_device-members.html b/class_nim_b_l_e_advertised_device-members.html index 56b1b11..f361901 100644 --- a/class_nim_b_l_e_advertised_device-members.html +++ b/class_nim_b_l_e_advertised_device-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,73 +76,82 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_advertised_device.html
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAdvertisedDevice Member List
+
NimBLEAdvertisedDevice Member List

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

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
getAddress()NimBLEAdvertisedDevice
getAddressType()NimBLEAdvertisedDevice
getAdvInterval()NimBLEAdvertisedDevice
getAdvLength()NimBLEAdvertisedDevice
getAdvType()NimBLEAdvertisedDevice
getAppearance()NimBLEAdvertisedDevice
getManufacturerData()NimBLEAdvertisedDevice
getManufacturerData(bool skipSizeCheck=false)NimBLEAdvertisedDeviceinline
getMaxInterval()NimBLEAdvertisedDevice
getMinInterval()NimBLEAdvertisedDevice
getName()NimBLEAdvertisedDevice
getPayload()NimBLEAdvertisedDevice
getPayloadLength()NimBLEAdvertisedDevice
getPeriodicInterval()NimBLEAdvertisedDevice
getPrimaryPhy()NimBLEAdvertisedDevice
getRSSI()NimBLEAdvertisedDevice
getScan()NimBLEAdvertisedDevice
getSecondaryPhy()NimBLEAdvertisedDevice
getServiceData(uint8_t index=0)NimBLEAdvertisedDevice
getServiceData(const NimBLEUUID &uuid)NimBLEAdvertisedDevice
getServiceData(uint8_t index=0, bool skipSizeCheck=false)NimBLEAdvertisedDeviceinline
getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false)NimBLEAdvertisedDeviceinline
getServiceDataCount()NimBLEAdvertisedDevice
getServiceDataUUID(uint8_t index=0)NimBLEAdvertisedDevice
getServiceUUID(uint8_t index=0)NimBLEAdvertisedDevice
getServiceUUIDCount()NimBLEAdvertisedDevice
getSetId()NimBLEAdvertisedDevice
getTargetAddress(uint8_t index=0)NimBLEAdvertisedDevice
getTargetAddressCount()NimBLEAdvertisedDevice
getTimestamp()NimBLEAdvertisedDevice
getTXPower()NimBLEAdvertisedDevice
getURI()NimBLEAdvertisedDevice
haveAdvInterval()NimBLEAdvertisedDevice
haveAppearance()NimBLEAdvertisedDevice
haveConnParams()NimBLEAdvertisedDevice
haveManufacturerData()NimBLEAdvertisedDevice
haveName()NimBLEAdvertisedDevice
haveRSSI()NimBLEAdvertisedDevice
haveServiceData()NimBLEAdvertisedDevice
haveServiceUUID()NimBLEAdvertisedDevice
haveTargetAddress()NimBLEAdvertisedDevice
haveTXPower()NimBLEAdvertisedDevice
haveURI()NimBLEAdvertisedDevice
isAdvertisingService(const NimBLEUUID &uuid)NimBLEAdvertisedDevice
isConnectable()NimBLEAdvertisedDevice
isLegacyAdvertisement()NimBLEAdvertisedDevice
NimBLEAdvertisedDevice()NimBLEAdvertisedDevice
toString()NimBLEAdvertisedDevice
begin() constNimBLEAdvertisedDevice
end() constNimBLEAdvertisedDevice
getAddress() constNimBLEAdvertisedDevice
getAddressType() constNimBLEAdvertisedDevice
getAdvFlags() constNimBLEAdvertisedDevice
getAdvInterval() constNimBLEAdvertisedDevice
getAdvLength() constNimBLEAdvertisedDevice
getAdvType() constNimBLEAdvertisedDevice
getAppearance() constNimBLEAdvertisedDevice
getManufacturerData(uint8_t index=0) constNimBLEAdvertisedDevice
getManufacturerData(bool skipSizeCheck=false) constNimBLEAdvertisedDeviceinline
getManufacturerDataCount() constNimBLEAdvertisedDevice
getMaxInterval() constNimBLEAdvertisedDevice
getMinInterval() constNimBLEAdvertisedDevice
getName() constNimBLEAdvertisedDevice
getPayload() constNimBLEAdvertisedDevice
getPayloadByType(uint16_t type, uint8_t index=0) constNimBLEAdvertisedDevice
getPeriodicInterval() constNimBLEAdvertisedDevice
getPrimaryPhy() constNimBLEAdvertisedDevice
getRSSI() constNimBLEAdvertisedDevice
getScan() constNimBLEAdvertisedDevice
getSecondaryPhy() constNimBLEAdvertisedDevice
getServiceData(uint8_t index=0) constNimBLEAdvertisedDevice
getServiceData(const NimBLEUUID &uuid) constNimBLEAdvertisedDevice
getServiceData(uint8_t index=0, bool skipSizeCheck=false) constNimBLEAdvertisedDeviceinline
getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false) constNimBLEAdvertisedDeviceinline
getServiceDataCount() constNimBLEAdvertisedDevice
getServiceDataUUID(uint8_t index=0) constNimBLEAdvertisedDevice
getServiceUUID(uint8_t index=0) constNimBLEAdvertisedDevice
getServiceUUIDCount() constNimBLEAdvertisedDevice
getSetId() constNimBLEAdvertisedDevice
getTargetAddress(uint8_t index=0) constNimBLEAdvertisedDevice
getTargetAddressCount() constNimBLEAdvertisedDevice
getTXPower() constNimBLEAdvertisedDevice
getURI() constNimBLEAdvertisedDevice
haveAdvInterval() constNimBLEAdvertisedDevice
haveAppearance() constNimBLEAdvertisedDevice
haveConnParams() constNimBLEAdvertisedDevice
haveManufacturerData() constNimBLEAdvertisedDevice
haveName() constNimBLEAdvertisedDevice
haveServiceData() constNimBLEAdvertisedDevice
haveServiceUUID() constNimBLEAdvertisedDevice
haveTargetAddress() constNimBLEAdvertisedDevice
haveTXPower() constNimBLEAdvertisedDevice
haveType(uint16_t type) constNimBLEAdvertisedDevice
haveURI() constNimBLEAdvertisedDevice
isAdvertisingService(const NimBLEUUID &uuid) constNimBLEAdvertisedDevice
isConnectable() constNimBLEAdvertisedDevice
isLegacyAdvertisement() constNimBLEAdvertisedDevice
isScannable() constNimBLEAdvertisedDevice
toString() constNimBLEAdvertisedDevice
diff --git a/class_nim_b_l_e_advertised_device.html b/class_nim_b_l_e_advertised_device.html index 303b6f4..e4480de 100644 --- a/class_nim_b_l_e_advertised_device.html +++ b/class_nim_b_l_e_advertised_device.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEAdvertisedDevice Class Reference @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,189 +76,245 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_advertised_device.html
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAdvertisedDevice Class Reference
+
NimBLEAdvertisedDevice Class Reference

A representation of a BLE advertised device found by a scan. More...

+ +

#include <NimBLEAdvertisedDevice.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+

Public Member Functions

NimBLEAdvertisedDevice ()
 Constructor.
 
NimBLEAddress getAddress ()
 Get the address of the advertising device. More...
 
uint8_t getAdvType ()
 Get the advertisement type. More...
 
uint16_t getAppearance ()
 Get the appearance. More...
 
uint16_t getAdvInterval ()
 Get the advertisement interval. More...
 
uint16_t getMinInterval ()
 Get the preferred min connection interval. More...
 
uint16_t getMaxInterval ()
 Get the preferred max connection interval. More...
 
std::string getManufacturerData ()
 Get the manufacturer data. More...
 
std::string getURI ()
 Get the URI from the advertisement. More...
 
template<typename T >
getManufacturerData (bool skipSizeCheck=false)
 A template to convert the service data to <type>. More...
 
std::string getName ()
 Get the advertised name. More...
 
int getRSSI ()
 Get the RSSI. More...
 
NimBLEScangetScan ()
 Get the scan object that created this advertised device. More...
 
uint8_t getServiceDataCount ()
 Get the count of advertised service data UUIDS. More...
 
std::string getServiceData (uint8_t index=0)
 Get the service data. More...
 
std::string getServiceData (const NimBLEUUID &uuid)
 Get the service data. More...
 
template<typename T >
getServiceData (uint8_t index=0, bool skipSizeCheck=false)
 A template to convert the service data to <type>. More...
 
template<typename T >
getServiceData (const NimBLEUUID &uuid, bool skipSizeCheck=false)
 A template to convert the service data to <type>. More...
 
NimBLEUUID getServiceDataUUID (uint8_t index=0)
 Get the UUID of the service data at the index. More...
 
NimBLEUUID getServiceUUID (uint8_t index=0)
 Get the Service UUID. More...
 
uint8_t getServiceUUIDCount ()
 Get the number of services advertised. More...
 
NimBLEAddress getTargetAddress (uint8_t index=0)
 Get the target address at the index. More...
 
uint8_t getTargetAddressCount ()
 Get the number of target addresses. More...
 
int8_t getTXPower ()
 Get the TX Power. More...
 
uint8_t * getPayload ()
 Get the payload advertised by the device. More...
 
uint8_t getAdvLength ()
 Get the length of the advertisement data in the payload. More...
 
size_t getPayloadLength ()
 Get the length of the payload advertised by the device. More...
 
uint8_t getAddressType ()
 Get the advertised device address type. More...
 
time_t getTimestamp ()
 Get the timeStamp of when the device last advertised. More...
 
bool isAdvertisingService (const NimBLEUUID &uuid)
 Check advertised services for existence of the required UUID. More...
 
bool haveAppearance ()
 Does this advertisement have an appearance value? More...
 
bool haveManufacturerData ()
 Does this advertisement have manufacturer data? More...
 
bool haveName ()
 Does this advertisement have a name value? More...
 
bool haveRSSI ()
 Does this advertisement have a signal strength value? More...
 
bool haveServiceData ()
 Does this advertisement have a service data value? More...
 
bool haveServiceUUID ()
 Does this advertisement have a service UUID value? More...
 
bool haveTXPower ()
 Does this advertisement have a transmission power value? More...
 
bool haveConnParams ()
 Does this advertisement have preferred connection parameters? More...
 
bool haveAdvInterval ()
 Does this advertisement have have the advertising interval? More...
 
bool haveTargetAddress ()
 Does the advertisement contain a target address? More...
 
bool haveURI ()
 Does this advertisement have a URI? More...
 
std::string toString ()
 Create a string representation of this device. More...
 
bool isConnectable ()
 Check if this device is advertising as connectable. More...
 
bool isLegacyAdvertisement ()
 Check if this advertisement is a legacy or extended type. More...
 
uint8_t getSetId ()
 Get the set ID of the extended advertisement. More...
 
uint8_t getPrimaryPhy ()
 Get the primary PHY used by this advertisement. More...
 
uint8_t getSecondaryPhy ()
 Get the primary PHY used by this advertisement. More...
 
uint16_t getPeriodicInterval ()
 Get the periodic interval of the advertisement. More...
 
uint8_t getAdvType () const
 Get the advertisement type.
 
uint8_t getAdvFlags () const
 Get the advertisement flags.
 
uint16_t getAppearance () const
 Get the appearance.
 
uint16_t getAdvInterval () const
 Get the advertisement interval.
 
uint16_t getMinInterval () const
 Get the preferred min connection interval.
 
uint16_t getMaxInterval () const
 Get the preferred max connection interval.
 
uint8_t getManufacturerDataCount () const
 Get the count of manufacturer data sets.
 
const NimBLEAddressgetAddress () const
 Get the address of the advertising device.
 
std::string getManufacturerData (uint8_t index=0) const
 Get the manufacturer data.
 
std::string getURI () const
 Get the URI from the advertisement.
 
std::string getPayloadByType (uint16_t type, uint8_t index=0) const
 Get the data from any type available in the advertisement.
 
std::string getName () const
 Get the advertised name.
 
int8_t getRSSI () const
 Get the RSSI.
 
NimBLEScangetScan () const
 Get the scan object that created this advertised device.
 
uint8_t getServiceDataCount () const
 Get the count of advertised service data UUIDS.
 
std::string getServiceData (uint8_t index=0) const
 Get the service data.
 
std::string getServiceData (const NimBLEUUID &uuid) const
 Get the service data.
 
NimBLEUUID getServiceDataUUID (uint8_t index=0) const
 Get the UUID of the service data at the index.
 
NimBLEUUID getServiceUUID (uint8_t index=0) const
 Get the Service UUID.
 
uint8_t getServiceUUIDCount () const
 Get the number of services advertised.
 
NimBLEAddress getTargetAddress (uint8_t index=0) const
 Get the target address at the index.
 
uint8_t getTargetAddressCount () const
 Get the number of target addresses.
 
int8_t getTXPower () const
 Get the TX Power.
 
uint8_t getAdvLength () const
 Get the length of the advertisement data in the payload.
 
uint8_t getAddressType () const
 Get the advertised device address type.
 
bool isAdvertisingService (const NimBLEUUID &uuid) const
 Check advertised services for existence of the required UUID.
 
bool haveAppearance () const
 Does this advertisement have an appearance value?
 
bool haveManufacturerData () const
 Does this advertisement have manufacturer data?
 
bool haveName () const
 Does this advertisement have a name value?
 
bool haveServiceData () const
 Does this advertisement have a service data value?
 
bool haveServiceUUID () const
 Does this advertisement have a service UUID value?
 
bool haveTXPower () const
 Does this advertisement have a transmission power value?
 
bool haveConnParams () const
 Does this advertisement have preferred connection parameters?
 
bool haveAdvInterval () const
 Does this advertisement have have the advertising interval?
 
bool haveTargetAddress () const
 Does the advertisement contain a target address?
 
bool haveURI () const
 Does this advertisement have a URI?
 
bool haveType (uint16_t type) const
 Does this advertisement have a adv type type?
 
std::string toString () const
 Create a string representation of this device.
 
bool isConnectable () const
 Check if this device is advertising as connectable.
 
bool isScannable () const
 Check if this device is advertising as scannable.
 
bool isLegacyAdvertisement () const
 Check if this advertisement is a legacy or extended type.
 
uint8_t getSetId () const
 Get the set ID of the extended advertisement.
 
uint8_t getPrimaryPhy () const
 Get the primary PHY used by this advertisement.
 
uint8_t getSecondaryPhy () const
 Get the primary PHY used by this advertisement.
 
uint16_t getPeriodicInterval () const
 Get the periodic interval of the advertisement.
 
const std::vector< uint8_t > & getPayload () const
 Get the payload advertised by the device.
 
const std::vector< uint8_t >::const_iterator begin () const
 Get the begin iterator for the payload.
 
const std::vector< uint8_t >::const_iterator end () const
 Get the end iterator for the payload.
 
template<typename T >
getManufacturerData (bool skipSizeCheck=false) const
 A template to convert the service data to <type>.
 
template<typename T >
getServiceData (uint8_t index=0, bool skipSizeCheck=false) const
 A template to convert the service data to <type>.
 
template<typename T >
getServiceData (const NimBLEUUID &uuid, bool skipSizeCheck=false) const
 A template to convert the service data to <type>.
 

Detailed Description

A representation of a BLE advertised device found by a scan.

When we perform a BLE scan, the result will be a set of devices that are advertising. This class provides a model of a detected device.

Member Function Documentation

- -

◆ getAddress()

+ +

◆ begin()

- + - + + +
NimBLEAddress NimBLEAdvertisedDevice::getAddress const std::vector< uint8_t >::const_iterator NimBLEAdvertisedDevice::begin ( ) const
+
+ +

Get the begin iterator for the payload.

+
Returns
A read only iterator pointing to the first byte in the payload.
+ +
+
+ +

◆ end()

+ +
+
+ + + + + + + +
const std::vector< uint8_t >::const_iterator NimBLEAdvertisedDevice::end () const
+
+ +

Get the end iterator for the payload.

+
Returns
A read only iterator pointing to one past the last byte of the payload.
+ +
+
+ +

◆ getAddress()

+ +
+
+ + + + + +
const NimBLEAddress & NimBLEAdvertisedDevice::getAddress () const
@@ -268,8 +324,8 @@ Public Member Functions
- -

◆ getAddressType()

+ +

◆ getAddressType()

@@ -278,7 +334,7 @@ Public Member Functions uint8_t NimBLEAdvertisedDevice::getAddressType ( ) - + const
@@ -294,8 +350,28 @@ Public Member Functions
- -

◆ getAdvInterval()

+ +

◆ getAdvFlags()

+ +
+
+ + + + + + + +
uint8_t NimBLEAdvertisedDevice::getAdvFlags () const
+
+ +

Get the advertisement flags.

+
Returns
The advertisement flags, a bitmask of: BLE_HS_ADV_F_DISC_LTD (0x01) - limited discoverability BLE_HS_ADV_F_DISC_GEN (0x02) - general discoverability BLE_HS_ADV_F_BREDR_UNSUP - BR/EDR not supported
+ +
+
+ +

◆ getAdvInterval()

@@ -304,7 +380,7 @@ Public Member Functions uint16_t NimBLEAdvertisedDevice::getAdvInterval ( ) - + const
@@ -314,8 +390,8 @@ Public Member Functions
- -

◆ getAdvLength()

+ +

◆ getAdvLength()

@@ -324,7 +400,7 @@ Public Member Functions uint8_t NimBLEAdvertisedDevice::getAdvLength ( ) - + const
@@ -334,8 +410,8 @@ Public Member Functions
- -

◆ getAdvType()

+ +

◆ getAdvType()

@@ -344,7 +420,7 @@ Public Member Functions uint8_t NimBLEAdvertisedDevice::getAdvType ( ) - + const
@@ -361,8 +437,8 @@ Public Member Functions
- -

◆ getAppearance()

+ +

◆ getAppearance()

@@ -371,7 +447,7 @@ Public Member Functions uint16_t NimBLEAdvertisedDevice::getAppearance ( ) - + const
@@ -382,28 +458,8 @@ Public Member Functions
- -

◆ getManufacturerData() [1/2]

- -
-
- - - - - - - -
std::string NimBLEAdvertisedDevice::getManufacturerData ()
-
- -

Get the manufacturer data.

-
Returns
The manufacturer data of the advertised device.
- -
-
- -

◆ getManufacturerData() [2/2]

+ +

◆ getManufacturerData() [1/2]

@@ -418,7 +474,7 @@ template<typename T >
( bool  skipSizeCheck = false) - + const @@ -446,8 +502,55 @@ template<typename T >
- -

◆ getMaxInterval()

+ +

◆ getManufacturerData() [2/2]

+ +
+
+ + + + + + + + +
std::string NimBLEAdvertisedDevice::getManufacturerData (uint8_t index = 0) const
+
+ +

Get the manufacturer data.

+
Parameters
+ + +
[in]indexThe index of the of the manufacturer data set to get.
+
+
+
Returns
The manufacturer data.
+ +
+
+ +

◆ getManufacturerDataCount()

+ +
+
+ + + + + + + +
uint8_t NimBLEAdvertisedDevice::getManufacturerDataCount () const
+
+ +

Get the count of manufacturer data sets.

+
Returns
The number of manufacturer data sets.
+ +
+
+ +

◆ getMaxInterval()

@@ -456,7 +559,7 @@ template<typename T >
uint16_t NimBLEAdvertisedDevice::getMaxInterval ( ) - + const
@@ -466,8 +569,8 @@ template<typename T >
- -

◆ getMinInterval()

+ +

◆ getMinInterval()

@@ -476,7 +579,7 @@ template<typename T >
uint16_t NimBLEAdvertisedDevice::getMinInterval ( ) - + const
@@ -486,8 +589,8 @@ template<typename T >
- -

◆ getName()

+ +

◆ getName()

@@ -496,7 +599,7 @@ template<typename T >
std::string NimBLEAdvertisedDevice::getName ( ) - + const
@@ -506,17 +609,17 @@ template<typename T >
- -

◆ getPayload()

+ +

◆ getPayload()

- + - +
uint8_t * NimBLEAdvertisedDevice::getPayload const std::vector< uint8_t > & NimBLEAdvertisedDevice::getPayload ( ) const
@@ -526,28 +629,46 @@ template<typename T >
- -

◆ getPayloadLength()

+ +

◆ getPayloadByType()

- + - + + + + + + + + + + + +
size_t NimBLEAdvertisedDevice::getPayloadLength std::string NimBLEAdvertisedDevice::getPayloadByType ()uint16_t type,
uint8_t index = 0 
) const
-

Get the length of the payload advertised by the device.

-
Returns
The size of the payload in bytes.
+

Get the data from any type available in the advertisement.

+
Parameters
+ + + +
[in]typeThe advertised data type BLE_HS_ADV_TYPE.
[in]indexThe index of the data type.
+
+
+
Returns
The data available under the type type.
- -

◆ getPeriodicInterval()

+ +

◆ getPeriodicInterval()

@@ -556,7 +677,7 @@ template<typename T >
uint16_t NimBLEAdvertisedDevice::getPeriodicInterval ( ) - + const
@@ -566,8 +687,8 @@ template<typename T >
- -

◆ getPrimaryPhy()

+ +

◆ getPrimaryPhy()

@@ -576,7 +697,7 @@ template<typename T >
uint8_t NimBLEAdvertisedDevice::getPrimaryPhy ( ) - + const
@@ -590,17 +711,17 @@ template<typename T >
- -

◆ getRSSI()

+ +

◆ getRSSI()

- + - +
int NimBLEAdvertisedDevice::getRSSI int8_t NimBLEAdvertisedDevice::getRSSI ( ) const
@@ -610,8 +731,8 @@ template<typename T >
- -

◆ getScan()

+ +

◆ getScan()

@@ -620,7 +741,7 @@ template<typename T >
NimBLEScan * NimBLEAdvertisedDevice::getScan ( ) - + const
@@ -630,8 +751,8 @@ template<typename T >
- -

◆ getSecondaryPhy()

+ +

◆ getSecondaryPhy()

@@ -640,7 +761,7 @@ template<typename T >
uint8_t NimBLEAdvertisedDevice::getSecondaryPhy ( ) - + const
@@ -655,8 +776,8 @@ template<typename T >
- -

◆ getServiceData() [1/4]

+ +

◆ getServiceData() [1/4]

@@ -666,7 +787,7 @@ template<typename T >
( const NimBLEUUIDuuid) - + const
@@ -682,8 +803,8 @@ template<typename T >
- -

◆ getServiceData() [2/4]

+ +

◆ getServiceData() [2/4]

@@ -708,7 +829,7 @@ template<typename T >
) - + const @@ -737,8 +858,8 @@ template<typename T >
- -

◆ getServiceData() [3/4]

+ +

◆ getServiceData() [3/4]

@@ -748,7 +869,7 @@ template<typename T >
( uint8_t  index = 0) - + const
@@ -764,8 +885,8 @@ template<typename T >
- -

◆ getServiceData() [4/4]

+ +

◆ getServiceData() [4/4]

@@ -790,7 +911,7 @@ template<typename T >
) - + const @@ -819,8 +940,8 @@ template<typename T >
- -

◆ getServiceDataCount()

+ +

◆ getServiceDataCount()

@@ -829,7 +950,7 @@ template<typename T >
uint8_t NimBLEAdvertisedDevice::getServiceDataCount ( ) - + const
@@ -839,8 +960,8 @@ template<typename T >
- -

◆ getServiceDataUUID()

+ +

◆ getServiceDataUUID()

@@ -850,7 +971,7 @@ template<typename T >
( uint8_t  index = 0) - + const
@@ -866,8 +987,8 @@ template<typename T >
- -

◆ getServiceUUID()

+ +

◆ getServiceUUID()

@@ -877,7 +998,7 @@ template<typename T >
( uint8_t  index = 0) - + const
@@ -893,8 +1014,8 @@ template<typename T >
- -

◆ getServiceUUIDCount()

+ +

◆ getServiceUUIDCount()

@@ -903,7 +1024,7 @@ template<typename T >
uint8_t NimBLEAdvertisedDevice::getServiceUUIDCount ( ) - + const
@@ -913,8 +1034,8 @@ template<typename T >
- -

◆ getSetId()

+ +

◆ getSetId()

@@ -923,7 +1044,7 @@ template<typename T >
uint8_t NimBLEAdvertisedDevice::getSetId ( ) - + const
@@ -933,8 +1054,8 @@ template<typename T >
- -

◆ getTargetAddress()

+ +

◆ getTargetAddress()

@@ -944,7 +1065,7 @@ template<typename T >
( uint8_t  index = 0) - + const
@@ -960,8 +1081,8 @@ template<typename T >
- -

◆ getTargetAddressCount()

+ +

◆ getTargetAddressCount()

@@ -970,7 +1091,7 @@ template<typename T >
uint8_t NimBLEAdvertisedDevice::getTargetAddressCount ( ) - + const
@@ -980,28 +1101,8 @@ template<typename T >
- -

◆ getTimestamp()

- -
-
- - - - - - - -
time_t NimBLEAdvertisedDevice::getTimestamp ()
-
- -

Get the timeStamp of when the device last advertised.

-
Returns
The timeStamp of when the device was last seen.
- -
-
- -

◆ getTXPower()

+ +

◆ getTXPower()

@@ -1010,7 +1111,7 @@ template<typename T >
int8_t NimBLEAdvertisedDevice::getTXPower ( ) - + const
@@ -1020,8 +1121,8 @@ template<typename T >
- -

◆ getURI()

+ +

◆ getURI()

@@ -1030,7 +1131,7 @@ template<typename T >
std::string NimBLEAdvertisedDevice::getURI ( ) - + const
@@ -1040,8 +1141,8 @@ template<typename T >
- -

◆ haveAdvInterval()

+ +

◆ haveAdvInterval()

@@ -1050,7 +1151,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveAdvInterval ( ) - + const
@@ -1060,8 +1161,8 @@ template<typename T >
- -

◆ haveAppearance()

+ +

◆ haveAppearance()

@@ -1070,7 +1171,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveAppearance ( ) - + const
@@ -1080,8 +1181,8 @@ template<typename T >
- -

◆ haveConnParams()

+ +

◆ haveConnParams()

@@ -1090,7 +1191,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveConnParams ( ) - + const
@@ -1100,8 +1201,8 @@ template<typename T >
- -

◆ haveManufacturerData()

+ +

◆ haveManufacturerData()

@@ -1110,7 +1211,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveManufacturerData ( ) - + const
@@ -1120,8 +1221,8 @@ template<typename T >
- -

◆ haveName()

+ +

◆ haveName()

@@ -1130,7 +1231,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveName ( ) - + const
@@ -1140,28 +1241,8 @@ template<typename T >
- -

◆ haveRSSI()

- -
-
- - - - - - - -
bool NimBLEAdvertisedDevice::haveRSSI ()
-
- -

Does this advertisement have a signal strength value?

-
Returns
True if there is a signal strength value present.
- -
-
- -

◆ haveServiceData()

+ +

◆ haveServiceData()

@@ -1170,7 +1251,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveServiceData ( ) - + const
@@ -1180,8 +1261,8 @@ template<typename T >
- -

◆ haveServiceUUID()

+ +

◆ haveServiceUUID()

@@ -1190,7 +1271,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveServiceUUID ( ) - + const
@@ -1200,8 +1281,8 @@ template<typename T >
- -

◆ haveTargetAddress()

+ +

◆ haveTargetAddress()

@@ -1210,7 +1291,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveTargetAddress ( ) - + const
@@ -1220,8 +1301,8 @@ template<typename T >
- -

◆ haveTXPower()

+ +

◆ haveTXPower()

@@ -1230,7 +1311,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveTXPower ( ) - + const
@@ -1240,8 +1321,29 @@ template<typename T >
- -

◆ haveURI()

+ +

◆ haveType()

+ +
+
+ + + + + + + + +
bool NimBLEAdvertisedDevice::haveType (uint16_t type) const
+
+ +

Does this advertisement have a adv type type?

+
Returns
True if there is a type present.
+ +
+
+ +

◆ haveURI()

@@ -1250,7 +1352,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::haveURI ( ) - + const
@@ -1260,8 +1362,8 @@ template<typename T >
- -

◆ isAdvertisingService()

+ +

◆ isAdvertisingService()

@@ -1271,7 +1373,7 @@ template<typename T >
( const NimBLEUUIDuuid) - + const
@@ -1287,8 +1389,8 @@ template<typename T >
- -

◆ isConnectable()

+ +

◆ isConnectable()

@@ -1297,7 +1399,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::isConnectable ( ) - + const
@@ -1307,8 +1409,8 @@ template<typename T >
- -

◆ isLegacyAdvertisement()

+ +

◆ isLegacyAdvertisement()

@@ -1317,7 +1419,7 @@ template<typename T >
bool NimBLEAdvertisedDevice::isLegacyAdvertisement ( ) - + const
@@ -1327,8 +1429,28 @@ template<typename T >
- -

◆ toString()

+ +

◆ isScannable()

+ +
+
+ + + + + + + +
bool NimBLEAdvertisedDevice::isScannable () const
+
+ +

Check if this device is advertising as scannable.

+
Returns
True if the device is scannable.
+ +
+
+ +

◆ toString()

@@ -1337,7 +1459,7 @@ template<typename T >
std::string NimBLEAdvertisedDevice::toString ( ) - + const
@@ -1353,7 +1475,7 @@ template<typename T >
diff --git a/class_nim_b_l_e_advertised_device.js b/class_nim_b_l_e_advertised_device.js index 116ebae..44ea219 100644 --- a/class_nim_b_l_e_advertised_device.js +++ b/class_nim_b_l_e_advertised_device.js @@ -1,51 +1,54 @@ var class_nim_b_l_e_advertised_device = [ - [ "NimBLEAdvertisedDevice", "class_nim_b_l_e_advertised_device.html#ab8972714ecd578fca51fb63d9834a34e", null ], - [ "getAddress", "class_nim_b_l_e_advertised_device.html#aa60721a7b5b44a3bb66980f003517579", null ], - [ "getAddressType", "class_nim_b_l_e_advertised_device.html#afc79cdc087c81b34643d70c8259eb9a3", null ], - [ "getAdvInterval", "class_nim_b_l_e_advertised_device.html#a9a7a36e9937e16ffab4f1543ea54073f", null ], - [ "getAdvLength", "class_nim_b_l_e_advertised_device.html#ae960e43434bf62ec83e9230d7bf7046c", null ], - [ "getAdvType", "class_nim_b_l_e_advertised_device.html#a9d07ee4c38de4170db24a5e01663ee6d", null ], - [ "getAppearance", "class_nim_b_l_e_advertised_device.html#a228afa5e43421b4d96d9c08241718309", null ], - [ "getManufacturerData", "class_nim_b_l_e_advertised_device.html#afa334006230601cc5c6429b18819a2e2", null ], - [ "getManufacturerData", "class_nim_b_l_e_advertised_device.html#ae9a586e46a555cf5fc817c9fe301b295", null ], - [ "getMaxInterval", "class_nim_b_l_e_advertised_device.html#a450eca96c605f199d2786a044612db17", null ], - [ "getMinInterval", "class_nim_b_l_e_advertised_device.html#a33fcdc3bf5107c157b10ad4519938c9f", null ], - [ "getName", "class_nim_b_l_e_advertised_device.html#ae6c6b48369d71a5998c1393c0d6a0179", null ], - [ "getPayload", "class_nim_b_l_e_advertised_device.html#afacf7717a15b36af184cd957d397e384", null ], - [ "getPayloadLength", "class_nim_b_l_e_advertised_device.html#ac7879f4aa0f2b069b1d3aff4809ae62c", null ], - [ "getPeriodicInterval", "class_nim_b_l_e_advertised_device.html#ad9c5b9ffda267ddbcaef6b0f236846f9", null ], - [ "getPrimaryPhy", "class_nim_b_l_e_advertised_device.html#a9b4ad695a4f035512d4d17313d8c5d3b", null ], - [ "getRSSI", "class_nim_b_l_e_advertised_device.html#acd42dfbc92a43fc90e933df975c029f3", null ], - [ "getScan", "class_nim_b_l_e_advertised_device.html#ad3931c72aaded3b594896c29b3691562", null ], - [ "getSecondaryPhy", "class_nim_b_l_e_advertised_device.html#a1efd77b20e3198ef148282bf75ff3e22", null ], - [ "getServiceData", "class_nim_b_l_e_advertised_device.html#acf4398ca81f800445092ccc77deaf00b", null ], - [ "getServiceData", "class_nim_b_l_e_advertised_device.html#a9ca1c022e10764ec72850ff3a011b009", null ], - [ "getServiceData", "class_nim_b_l_e_advertised_device.html#aecb3e30a94abd59401cafb70a5903abb", null ], - [ "getServiceData", "class_nim_b_l_e_advertised_device.html#a9017ce5b59bdae3cebf33c54f28cee70", null ], - [ "getServiceDataCount", "class_nim_b_l_e_advertised_device.html#a1602b70c37fb9a5f2f7ca4eacbf01091", null ], - [ "getServiceDataUUID", "class_nim_b_l_e_advertised_device.html#a4f89e99dffdfde45c1cafff74a20a95f", null ], - [ "getServiceUUID", "class_nim_b_l_e_advertised_device.html#ab53f862df15953d19ba7a45d4cf51b46", null ], - [ "getServiceUUIDCount", "class_nim_b_l_e_advertised_device.html#a5ca6792d1ee559470ae8edccc1aea20d", null ], - [ "getSetId", "class_nim_b_l_e_advertised_device.html#a6361e2b275cc45578f1000b5fd1b3c29", null ], - [ "getTargetAddress", "class_nim_b_l_e_advertised_device.html#a599cad9a3f3d535049c87a911bc1b14d", null ], - [ "getTargetAddressCount", "class_nim_b_l_e_advertised_device.html#ae2256f6b4da4c11cf75cb773a6b7f223", null ], - [ "getTimestamp", "class_nim_b_l_e_advertised_device.html#a1855415f3c60bc88d62e9206fe6ed75a", null ], - [ "getTXPower", "class_nim_b_l_e_advertised_device.html#afee346437447173eed1b9edf1de70f34", null ], - [ "getURI", "class_nim_b_l_e_advertised_device.html#ad65f8040a142f8d6d0763d4876f0d22e", null ], - [ "haveAdvInterval", "class_nim_b_l_e_advertised_device.html#aa8b4660e5d123f16a07e0fefa3bcf4bc", null ], - [ "haveAppearance", "class_nim_b_l_e_advertised_device.html#accc6713f85db6174cfe8436059aa8bf1", null ], - [ "haveConnParams", "class_nim_b_l_e_advertised_device.html#a3274624943c942f357c6f8d489481bc8", null ], - [ "haveManufacturerData", "class_nim_b_l_e_advertised_device.html#abe58f5fde119d8c0a8fb85ba1e8cc5c9", null ], - [ "haveName", "class_nim_b_l_e_advertised_device.html#a86805fecd4432335feecf77bb6a0f12e", null ], - [ "haveRSSI", "class_nim_b_l_e_advertised_device.html#a611802e8898e422842d60486b60b8c42", null ], - [ "haveServiceData", "class_nim_b_l_e_advertised_device.html#afba3425cfcfc12eca219a1abe5f6732c", null ], - [ "haveServiceUUID", "class_nim_b_l_e_advertised_device.html#a5c4aae7e27c27201846ba4e15448e557", null ], - [ "haveTargetAddress", "class_nim_b_l_e_advertised_device.html#a1172d33a77bc018e314be78664b222b9", null ], - [ "haveTXPower", "class_nim_b_l_e_advertised_device.html#af5293030ef439856c195caa3aba86543", null ], - [ "haveURI", "class_nim_b_l_e_advertised_device.html#a83ebd08b512dc936b1059db7a69b9ead", null ], - [ "isAdvertisingService", "class_nim_b_l_e_advertised_device.html#a37ad095c066aa231a52a7259734c9bce", null ], - [ "isConnectable", "class_nim_b_l_e_advertised_device.html#a54917b2644c433977e24a10a63d7431a", null ], - [ "isLegacyAdvertisement", "class_nim_b_l_e_advertised_device.html#a3684969e3e10cd0af9ecaf342847ea71", null ], - [ "toString", "class_nim_b_l_e_advertised_device.html#ac1b8ff0f2897abda335743d55668fcd9", null ] + [ "begin", "class_nim_b_l_e_advertised_device.html#aabb14f9df146ebe6fb50d74a4ec8a878", null ], + [ "end", "class_nim_b_l_e_advertised_device.html#a8530d1dfdb57cb2f9fc9a917f12797e6", null ], + [ "getAddress", "class_nim_b_l_e_advertised_device.html#acb3c376962b317b91628fb96ad215923", null ], + [ "getAddressType", "class_nim_b_l_e_advertised_device.html#a455ebaf550d1e7e025ada171cb611503", null ], + [ "getAdvFlags", "class_nim_b_l_e_advertised_device.html#acbdfac3f9febbe11d1a1317bc7524810", null ], + [ "getAdvInterval", "class_nim_b_l_e_advertised_device.html#ad06e4e81a8d568199d1145f437175749", null ], + [ "getAdvLength", "class_nim_b_l_e_advertised_device.html#afb7a089c220e4987852ea1d7a0b5dca4", null ], + [ "getAdvType", "class_nim_b_l_e_advertised_device.html#ab348469f8d9325e6bb619dce9bbd4e24", null ], + [ "getAppearance", "class_nim_b_l_e_advertised_device.html#a778d8b099f7e006d8e213cf638276a81", null ], + [ "getManufacturerData", "class_nim_b_l_e_advertised_device.html#a3ce52d33ea39b9c8b6b96cc19a2a3170", null ], + [ "getManufacturerData", "class_nim_b_l_e_advertised_device.html#aaf936703902681e7af785d7b751e68e0", null ], + [ "getManufacturerDataCount", "class_nim_b_l_e_advertised_device.html#a08c0fb778eedde4c4004410d124799f1", null ], + [ "getMaxInterval", "class_nim_b_l_e_advertised_device.html#aeef5bef4ba2e1afb5f0a6838ab9762d3", null ], + [ "getMinInterval", "class_nim_b_l_e_advertised_device.html#accf2225a99742fdeb86a1b4738eac164", null ], + [ "getName", "class_nim_b_l_e_advertised_device.html#acf7ec676680fd4eb800b85779a220b67", null ], + [ "getPayload", "class_nim_b_l_e_advertised_device.html#a12971984cf749647c659b659bdfeda5d", null ], + [ "getPayloadByType", "class_nim_b_l_e_advertised_device.html#a74be6cf94bbc2e69d04de25a37d28153", null ], + [ "getPeriodicInterval", "class_nim_b_l_e_advertised_device.html#a899abd2a02e0c9bf941a998f4184a9ee", null ], + [ "getPrimaryPhy", "class_nim_b_l_e_advertised_device.html#a927a8418e4078107e5bf457c0bb56cbc", null ], + [ "getRSSI", "class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392", null ], + [ "getScan", "class_nim_b_l_e_advertised_device.html#a29f6e671bffb6d431d183a63074709b3", null ], + [ "getSecondaryPhy", "class_nim_b_l_e_advertised_device.html#a4738e8e37b3509f62b63afb592c9b73e", null ], + [ "getServiceData", "class_nim_b_l_e_advertised_device.html#adc0e859c8403906c12196906b3c514c8", null ], + [ "getServiceData", "class_nim_b_l_e_advertised_device.html#ae1c188511703f101eaa3995c7b4a5aac", null ], + [ "getServiceData", "class_nim_b_l_e_advertised_device.html#a94ac18b573bace31613339e573076a70", null ], + [ "getServiceData", "class_nim_b_l_e_advertised_device.html#a2c0a851fe464217ae7ace84148d8849a", null ], + [ "getServiceDataCount", "class_nim_b_l_e_advertised_device.html#a99d902853af4e0d5d3b7c7222f11eba0", null ], + [ "getServiceDataUUID", "class_nim_b_l_e_advertised_device.html#a52fff852e23293d807a6719527eceff2", null ], + [ "getServiceUUID", "class_nim_b_l_e_advertised_device.html#ae44d13d47f80ed0499be7d84239f7ecb", null ], + [ "getServiceUUIDCount", "class_nim_b_l_e_advertised_device.html#adbdb381a86c556344e676a1e4e654d9f", null ], + [ "getSetId", "class_nim_b_l_e_advertised_device.html#ad7313053fa990a9aa8f4bc832f35ee13", null ], + [ "getTargetAddress", "class_nim_b_l_e_advertised_device.html#af51c0ff723dcb7bb1bc03460a9f0a25b", null ], + [ "getTargetAddressCount", "class_nim_b_l_e_advertised_device.html#a16738b3a745d29edff39bb4bbf4dfb28", null ], + [ "getTXPower", "class_nim_b_l_e_advertised_device.html#a47b8224e031fd6ab5db93b457ec35b33", null ], + [ "getURI", "class_nim_b_l_e_advertised_device.html#a56d07a328ebdea4112087dc02dac4fc2", null ], + [ "haveAdvInterval", "class_nim_b_l_e_advertised_device.html#a9b6ff6bd4e530dc9b5c76f9333d4420f", null ], + [ "haveAppearance", "class_nim_b_l_e_advertised_device.html#a89e65eba150a40326fe1c12f2be9fbea", null ], + [ "haveConnParams", "class_nim_b_l_e_advertised_device.html#a6bb91e0c3b66a54ef9f53496fba1d748", null ], + [ "haveManufacturerData", "class_nim_b_l_e_advertised_device.html#ad68b1b03f59266f4aac9070e5e33d15f", null ], + [ "haveName", "class_nim_b_l_e_advertised_device.html#aefa0142915204ace20ecb56a539396a2", null ], + [ "haveServiceData", "class_nim_b_l_e_advertised_device.html#ab91aaf87b4bd03a6599f466b1a6c3299", null ], + [ "haveServiceUUID", "class_nim_b_l_e_advertised_device.html#a1e61faae3ba0bdbb1bc197d1ca113f61", null ], + [ "haveTargetAddress", "class_nim_b_l_e_advertised_device.html#a6e7a4b9be93386e393addaa4a732e516", null ], + [ "haveTXPower", "class_nim_b_l_e_advertised_device.html#afde2edb305d4d78804b4750d1bc7aa38", null ], + [ "haveType", "class_nim_b_l_e_advertised_device.html#a8f4fc5c352487f816598796fb5430865", null ], + [ "haveURI", "class_nim_b_l_e_advertised_device.html#a2e127b14ea79ebe88d291d7c8cc91b5a", null ], + [ "isAdvertisingService", "class_nim_b_l_e_advertised_device.html#ad006b08552281a3e6c9d9444e7942709", null ], + [ "isConnectable", "class_nim_b_l_e_advertised_device.html#ab9710a6c3a141b6413d5159dfe4a4040", null ], + [ "isLegacyAdvertisement", "class_nim_b_l_e_advertised_device.html#a49b445130f028b49175d01cd3f6db050", null ], + [ "isScannable", "class_nim_b_l_e_advertised_device.html#a6f55263d4a86d3e2f6b23b71eb68ef98", null ], + [ "toString", "class_nim_b_l_e_advertised_device.html#ad46b9300d435e3d20997fbafa5305148", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_advertised_device_callbacks.html b/class_nim_b_l_e_advertised_device_callbacks.html deleted file mode 100644 index 8dd63bd..0000000 --- a/class_nim_b_l_e_advertised_device_callbacks.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - - -esp-nimble-cpp: NimBLEAdvertisedDeviceCallbacks Class Reference - - - - - - - - - - - - - -
-
- - - - - - -
-
esp-nimble-cpp -  1.4.1 -
-
-
- - - - - - - -
-
- -
-
-
- -
- -
-
- - -
- -
- -
- -
-
NimBLEAdvertisedDeviceCallbacks Class Referenceabstract
-
-
- -

A callback handler for callbacks associated device scanning. - More...

- - - - - -

-Public Member Functions

virtual void onResult (NimBLEAdvertisedDevice *advertisedDevice)=0
 Called when a new scan result is detected. More...
 
-

Detailed Description

-

A callback handler for callbacks associated device scanning.

-

When we are performing a scan as a BLE client, we may wish to know when a new device that is advertising has been found. This class can be sub-classed and registered such that when a scan is performed and a new advertised device has been found, we will be called back to be notified.

-

Member Function Documentation

- -

◆ onResult()

- -
-
- - - - - -
- - - - - - - - -
virtual void NimBLEAdvertisedDeviceCallbacks::onResult (NimBLEAdvertisedDeviceadvertisedDevice)
-
-pure virtual
-
- -

Called when a new scan result is detected.

-

As we are scanning, we will find new devices. When found, this call back is invoked with a reference to the device that was found. During any individual scan, a device will only be detected one time.

- -
-
-
-
- - - - diff --git a/class_nim_b_l_e_advertised_device_callbacks.js b/class_nim_b_l_e_advertised_device_callbacks.js deleted file mode 100644 index 7711e44..0000000 --- a/class_nim_b_l_e_advertised_device_callbacks.js +++ /dev/null @@ -1,4 +0,0 @@ -var class_nim_b_l_e_advertised_device_callbacks = -[ - [ "onResult", "class_nim_b_l_e_advertised_device_callbacks.html#af6a25e1bb773a147536b1785b2aae606", null ] -]; \ No newline at end of file diff --git a/class_nim_b_l_e_advertisement_data-members.html b/class_nim_b_l_e_advertisement_data-members.html index b8a06d0..b868de1 100644 --- a/class_nim_b_l_e_advertisement_data-members.html +++ b/class_nim_b_l_e_advertisement_data-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,43 +76,62 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_advertisement_data.htm
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAdvertisementData Member List
+
NimBLEAdvertisementData Member List

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

- - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
addData(const std::string &data)NimBLEAdvertisementData
addData(char *data, size_t length)NimBLEAdvertisementData
addTxPower()NimBLEAdvertisementData
getPayload()NimBLEAdvertisementData
setAppearance(uint16_t appearance)NimBLEAdvertisementData
setCompleteServices(const NimBLEUUID &uuid)NimBLEAdvertisementData
setCompleteServices16(const std::vector< NimBLEUUID > &v_uuid)NimBLEAdvertisementData
setCompleteServices32(const std::vector< NimBLEUUID > &v_uuid)NimBLEAdvertisementData
setFlags(uint8_t)NimBLEAdvertisementData
setManufacturerData(const std::string &data)NimBLEAdvertisementData
setName(const std::string &name)NimBLEAdvertisementData
setPartialServices(const NimBLEUUID &uuid)NimBLEAdvertisementData
setPartialServices16(const std::vector< NimBLEUUID > &v_uuid)NimBLEAdvertisementData
setPartialServices32(const std::vector< NimBLEUUID > &v_uuid)NimBLEAdvertisementData
setPreferredParams(uint16_t min, uint16_t max)NimBLEAdvertisementData
setServiceData(const NimBLEUUID &uuid, const std::string &data)NimBLEAdvertisementData
setShortName(const std::string &name)NimBLEAdvertisementData
setURI(const std::string &uri)NimBLEAdvertisementData
addData(const uint8_t *data, size_t length)NimBLEAdvertisementData
addData(const std::vector< uint8_t > &data)NimBLEAdvertisementData
addServiceUUID(const NimBLEUUID &serviceUUID)NimBLEAdvertisementData
addServiceUUID(const char *serviceUUID)NimBLEAdvertisementData
addTxPower()NimBLEAdvertisementData
clearData()NimBLEAdvertisementData
getDataLocation(uint8_t type) constNimBLEAdvertisementData
getPayload() constNimBLEAdvertisementData
removeData(uint8_t type)NimBLEAdvertisementData
removeServices()NimBLEAdvertisementData
removeServiceUUID(const NimBLEUUID &serviceUUID)NimBLEAdvertisementData
removeServiceUUID(const char *serviceUUID)NimBLEAdvertisementData
setAppearance(uint16_t appearance)NimBLEAdvertisementData
setCompleteServices(const NimBLEUUID &uuid)NimBLEAdvertisementData
setCompleteServices16(const std::vector< NimBLEUUID > &uuids)NimBLEAdvertisementData
setCompleteServices32(const std::vector< NimBLEUUID > &uuids)NimBLEAdvertisementData
setFlags(uint8_t)NimBLEAdvertisementData
setManufacturerData(const uint8_t *data, size_t length)NimBLEAdvertisementData
setManufacturerData(const std::string &data)NimBLEAdvertisementData
setManufacturerData(const std::vector< uint8_t > &data)NimBLEAdvertisementData
setName(const std::string &name, bool isComplete=true)NimBLEAdvertisementData
setPartialServices(const NimBLEUUID &uuid)NimBLEAdvertisementData
setPartialServices16(const std::vector< NimBLEUUID > &uuids)NimBLEAdvertisementData
setPartialServices32(const std::vector< NimBLEUUID > &uuids)NimBLEAdvertisementData
setPreferredParams(uint16_t minInterval, uint16_t maxInterval)NimBLEAdvertisementData
setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)NimBLEAdvertisementData
setServiceData(const NimBLEUUID &uuid, const std::string &data)NimBLEAdvertisementData
setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)NimBLEAdvertisementData
setShortName(const std::string &name)NimBLEAdvertisementData
setURI(const std::string &uri)NimBLEAdvertisementData
toString() constNimBLEAdvertisementData
diff --git a/class_nim_b_l_e_advertisement_data.html b/class_nim_b_l_e_advertisement_data.html index c8527c6..e41e344 100644 --- a/class_nim_b_l_e_advertisement_data.html +++ b/class_nim_b_l_e_advertisement_data.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEAdvertisementData Class Reference @@ -23,10 +23,9 @@
- - + @@ -34,21 +33,22 @@
-
esp-nimble-cpp -  1.4.1 +
+
esp-nimble-cpp 2.0.0
- + +/* @license-end */ +
@@ -62,7 +62,7 @@ $(function() {
@@ -76,94 +76,168 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_advertisement_data.htm
- +
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
-
-
NimBLEAdvertisementData Class Reference
+
NimBLEAdvertisementData Class Reference

Advertisement data set by the programmer to be published by the BLE server. More...

+ +

#include <NimBLEAdvertisementData.h>

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+

Public Member Functions

void setAppearance (uint16_t appearance)
 Set the appearance. More...
 
void setCompleteServices (const NimBLEUUID &uuid)
 Set a single service to advertise as a complete list of services. More...
 
void setCompleteServices16 (const std::vector< NimBLEUUID > &v_uuid)
 Set the complete list of 16 bit services to advertise. More...
 
void setCompleteServices32 (const std::vector< NimBLEUUID > &v_uuid)
 Set the complete list of 32 bit services to advertise. More...
 
void setFlags (uint8_t)
 Set the advertisement flags. More...
 
void setManufacturerData (const std::string &data)
 Set manufacturer specific data. More...
 
void setURI (const std::string &uri)
 Set the URI to advertise. More...
 
void setName (const std::string &name)
 Set the complete name of this device. More...
 
void setPartialServices (const NimBLEUUID &uuid)
 Set a single service to advertise as a partial list of services. More...
 
void setPartialServices16 (const std::vector< NimBLEUUID > &v_uuid)
 Set the partial list of services to advertise. More...
 
void setPartialServices32 (const std::vector< NimBLEUUID > &v_uuid)
 Set the partial list of services to advertise. More...
 
void setServiceData (const NimBLEUUID &uuid, const std::string &data)
 Set the service data (UUID + data) More...
 
void setShortName (const std::string &name)
 Set the short name. More...
 
void addData (const std::string &data)
 Add data to the payload to be advertised. More...
 
void addData (char *data, size_t length)
 Add data to the payload to be advertised. More...
 
-void addTxPower ()
 Adds Tx power level to the advertisement data.
 
void setPreferredParams (uint16_t min, uint16_t max)
 Set the preferred connection interval parameters. More...
 
std::string getPayload ()
 Retrieve the payload that is to be advertised. More...
 
bool addData (const uint8_t *data, size_t length)
 Add data to the payload to be advertised.
 
bool addData (const std::vector< uint8_t > &data)
 Add data to the payload to be advertised.
 
bool setAppearance (uint16_t appearance)
 Set the appearance.
 
bool setFlags (uint8_t)
 Set the advertisement flags.
 
bool addTxPower ()
 Adds Tx power level to the advertisement data.
 
bool setPreferredParams (uint16_t minInterval, uint16_t maxInterval)
 Set the preferred min and max connection intervals to advertise.
 
bool addServiceUUID (const NimBLEUUID &serviceUUID)
 Add a service uuid to exposed list of services.
 
bool addServiceUUID (const char *serviceUUID)
 Add a service uuid to exposed list of services.
 
bool removeServiceUUID (const NimBLEUUID &serviceUUID)
 Remove a service UUID from the advertisement.
 
bool removeServiceUUID (const char *serviceUUID)
 Remove a service UUID from the advertisement.
 
+bool removeServices ()
 Remove all service UUIDs from the advertisement.
 
bool setManufacturerData (const uint8_t *data, size_t length)
 Set manufacturer specific data.
 
bool setManufacturerData (const std::string &data)
 Set manufacturer specific data.
 
bool setManufacturerData (const std::vector< uint8_t > &data)
 Set manufacturer specific data.
 
bool setURI (const std::string &uri)
 Set the URI to advertise.
 
bool setName (const std::string &name, bool isComplete=true)
 Set the complete name of this device.
 
bool setShortName (const std::string &name)
 Set the short name.
 
bool setCompleteServices (const NimBLEUUID &uuid)
 Set a single service to advertise as a complete list of services.
 
bool setCompleteServices16 (const std::vector< NimBLEUUID > &uuids)
 Set the complete list of 16 bit services to advertise.
 
bool setCompleteServices32 (const std::vector< NimBLEUUID > &uuids)
 Set the complete list of 32 bit services to advertise.
 
bool setPartialServices (const NimBLEUUID &uuid)
 Set a single service to advertise as a partial list of services.
 
bool setPartialServices16 (const std::vector< NimBLEUUID > &uuids)
 Set the partial list of services to advertise.
 
bool setPartialServices32 (const std::vector< NimBLEUUID > &uuids)
 Set the partial list of services to advertise.
 
bool setServiceData (const NimBLEUUID &uuid, const uint8_t *data, size_t length)
 Set the service data advertised for the UUID.
 
bool setServiceData (const NimBLEUUID &uuid, const std::string &data)
 Set the service data (UUID + data)
 
bool setServiceData (const NimBLEUUID &uuid, const std::vector< uint8_t > &data)
 Set the service data advertised for the UUID.
 
bool removeData (uint8_t type)
 Remove data from the advertisement data.
 
+void clearData ()
 Clear the advertisement data for reuse.
 
int getDataLocation (uint8_t type) const
 Get the location of the data in the payload.
 
std::string toString () const
 Get the string representation of the advertisement data.
 
std::vector< uint8_t > getPayload () const
 Retrieve the payload that is to be advertised.
 

Detailed Description

Advertisement data set by the programmer to be published by the BLE server.

Member Function Documentation

- -

◆ addData() [1/2]

+ +

◆ addData() [1/2]

- + - + + + + +
void NimBLEAdvertisementData::addData bool NimBLEAdvertisementData::addData (char * const std::vector< uint8_t > & data)
+
+ +

Add data to the payload to be advertised.

+
Parameters
+ + +
[in]dataThe data to be added to the payload.
+
+
+ +
+
+ +

◆ addData() [2/2]

+ +
+
+ + + + + @@ -191,40 +265,67 @@ void  - + @@ -299,7 +291,7 @@ void  - +
bool NimBLEAdvertisementData::addData (const uint8_t *  data,
-

◆ addData() [2/2]

+ +

◆ addServiceUUID() [1/2]

- + - - + +
void NimBLEAdvertisementData::addData bool NimBLEAdvertisementData::addServiceUUID (const std::string & data)const char * serviceUUID)
-

Add data to the payload to be advertised.

+

Add a service uuid to exposed list of services.

Parameters
- + +
[in]dataThe data to be added to the payload.
[in]serviceUUIDThe string representation of the service to expose.
+
+
+
Returns
True if successful.
+ +
+
+ +

◆ addServiceUUID() [2/2]

+ +
+
+ + + + + + + + +
bool NimBLEAdvertisementData::addServiceUUID (const NimBLEUUIDserviceUUID)
+
+ +

Add a service uuid to exposed list of services.

+
Parameters
+ +
[in]serviceUUIDThe UUID of the service to expose.
- -

◆ getPayload()

+ +

◆ addTxPower()

- + @@ -232,19 +333,147 @@ void  - + @@ -248,7 +240,7 @@ void  - +
std::string NimBLEAdvertisementData::getPayload bool NimBLEAdvertisementData::addTxPower ( ) -

Retrieve the payload that is to be advertised.

-
Returns
The payload that is to be advertised.
+

Adds Tx power level to the advertisement data.

+
Returns
True if successful.
-
-

◆ setAppearance()

+ +

◆ getDataLocation()

- + + + + + + +
void NimBLEAdvertisementData::setAppearance int NimBLEAdvertisementData::getDataLocation (uint8_t type) const
+
+ +

Get the location of the data in the payload.

+
Parameters
+ + +
[in]typeThe type of data to search for.
+
+
+
Returns
-1 if the data is not found, otherwise the index of the data in the payload.
+ +
+
+ +

◆ getPayload()

+ +
+
+ + + + + + + +
std::vector< uint8_t > NimBLEAdvertisementData::getPayload () const
+
+ +

Retrieve the payload that is to be advertised.

+
Returns
The payload of the advertisement data.
+ +
+
+ +

◆ removeData()

+ +
+
+ + + + + + + + +
bool NimBLEAdvertisementData::removeData (uint8_t type)
+
+ +

Remove data from the advertisement data.

+
Parameters
+ + +
[in]typeThe type of data to remove.
+
+
+
Returns
True if successful, false if the data was not found.
+ +
+
+ +

◆ removeServiceUUID() [1/2]

+ +
+
+ + + + + + + + +
bool NimBLEAdvertisementData::removeServiceUUID (const char * serviceUUID)
+
+ +

Remove a service UUID from the advertisement.

+
Parameters
+ + +
[in]serviceUUIDThe UUID of the service to remove.
+
+
+
Returns
True if successful or uuid not found, false if uuid error or data could not be reset.
+ +
+
+ +

◆ removeServiceUUID() [2/2]

+ +
+
+ + + + + + + + +
bool NimBLEAdvertisementData::removeServiceUUID (const NimBLEUUIDserviceUUID)
+
+ +

Remove a service UUID from the advertisement.

+
Parameters
+ + +
[in]serviceUUIDThe UUID of the service to remove.
+
+
+
Returns
True if successful or uuid not found, false if uuid error or data could not be reset.
+ +
+
+ +

◆ setAppearance()

+ +
+
+ + + @@ -256,22 +485,23 @@ void  - -

◆ setManufacturerId()

+ +

◆ setManufacturerId()

@@ -340,8 +384,8 @@ Public Member Functions
- -

◆ setMinor()

+ +

◆ setMinor()

@@ -366,8 +410,8 @@ Public Member Functions
- -

◆ setProximityUUID()

+ +

◆ setProximityUUID()

@@ -392,8 +436,8 @@ Public Member Functions
- -

◆ setSignalPower()

+ +

◆ setSignalPower()

@@ -424,7 +468,7 @@ Public Member Functions diff --git a/class_nim_b_l_e_beacon.js b/class_nim_b_l_e_beacon.js index 2d83499..5178e9a 100644 --- a/class_nim_b_l_e_beacon.js +++ b/class_nim_b_l_e_beacon.js @@ -1,13 +1,13 @@ var class_nim_b_l_e_beacon = [ - [ "NimBLEBeacon", "class_nim_b_l_e_beacon.html#ac99e1fb4ef4795785a655b117dabdd37", null ], - [ "getData", "class_nim_b_l_e_beacon.html#ae2458f7db169b696e6368802d5ece0d9", null ], + [ "getData", "class_nim_b_l_e_beacon.html#a8ac2cd99dd5a8a996f3556f9e5d20bbb", null ], [ "getMajor", "class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c", null ], [ "getManufacturerId", "class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40", null ], [ "getMinor", "class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788", null ], [ "getProximityUUID", "class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad", null ], [ "getSignalPower", "class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668", null ], - [ "setData", "class_nim_b_l_e_beacon.html#a92292c8b1f5ba0097f063ff6e60934ff", null ], + [ "setData", "class_nim_b_l_e_beacon.html#ab204f2a919c5da7308e74bd3590a29c3", null ], + [ "setData", "class_nim_b_l_e_beacon.html#ab6475aaa5d8a93e24401da3b4b272496", null ], [ "setMajor", "class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea", null ], [ "setManufacturerId", "class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9", null ], [ "setMinor", "class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e", null ], diff --git a/class_nim_b_l_e_characteristic-members.html b/class_nim_b_l_e_characteristic-members.html index 4c881fc..39687c0 100644 --- a/class_nim_b_l_e_characteristic-members.html +++ b/class_nim_b_l_e_characteristic-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
bool NimBLEAdvertisementData::setAppearance ( uint16_t  appearance)
Parameters
- +
[in]appearanceThe appearance code value.
[in]appearanceThe appearance code value.
-

See also: https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml

+
Returns
True if successful.
+

If the appearance value is 0 then it will be removed from the advertisement if set previously.

- -

◆ setCompleteServices()

+ +

◆ setCompleteServices()

- + @@ -287,20 +517,21 @@ void 
  • https://en.wikipedia.org/wiki/IBeacon
  • Member Function Documentation

    - -

    ◆ getData()

    + +

    ◆ getData()

    void NimBLEAdvertisementData::setCompleteServices bool NimBLEAdvertisementData::setCompleteServices ( const NimBLEUUID uuid)
    Returns
    True if successful.
    -
    -

    ◆ setCompleteServices16()

    + +

    ◆ setCompleteServices16()

    - + - +
    void NimBLEAdvertisementData::setCompleteServices16 bool NimBLEAdvertisementData::setCompleteServices16 ( const std::vector< NimBLEUUID > & v_uuid)uuids)
    @@ -309,24 +540,25 @@ void 
    Parameters
    - +
    [in]v_uuidA vector of 16 bit UUID's to advertise.
    [in]uuidsA vector of 16 bit UUID's to advertise.
    +
    Returns
    True if successful.
    -
    -

    ◆ setCompleteServices32()

    + +

    ◆ setCompleteServices32()

    - + - +
    void NimBLEAdvertisementData::setCompleteServices32 bool NimBLEAdvertisementData::setCompleteServices32 ( const std::vector< NimBLEUUID > & v_uuid)uuids)
    @@ -335,21 +567,22 @@ void 
    Parameters
    - +
    [in]v_uuidA vector of 32 bit UUID's to advertise.
    [in]uuidsA vector of 32 bit UUID's to advertise.
    +
    Returns
    True if successful.
    -
    -

    ◆ setFlags()

    + +

    ◆ setFlags()

    - + @@ -364,7 +597,7 @@ void 
    void NimBLEAdvertisementData::setFlags bool NimBLEAdvertisementData::setFlags ( uint8_t  flag)[in]flagThe flags to be set in the advertisement.
    • BLE_HS_ADV_F_DISC_LTD
    • BLE_HS_ADV_F_DISC_GEN
    • -
    • BLE_HS_ADV_F_BREDR_UNSUP - must always use with NimBLE
    • +
    • BLE_HS_ADV_F_BREDR_UNSUP - must always use with NimBLE A flag value of 0 will remove the flags from the advertisement.
    @@ -373,14 +606,14 @@ void 
    -

    ◆ setManufacturerData()

    + +

    ◆ setManufacturerData() [1/3]

    - + @@ -396,21 +629,97 @@ void  - - -
    void NimBLEAdvertisementData::setManufacturerData bool NimBLEAdvertisementData::setManufacturerData ( const std::string &  data)
    Returns
    True if successful.
    -
    -

    ◆ setName()

    + +

    ◆ setManufacturerData() [2/3]

    - + + + + + + +
    void NimBLEAdvertisementData::setName bool NimBLEAdvertisementData::setManufacturerData (const std::vector< uint8_t > & data)
    +
    + +

    Set manufacturer specific data.

    +
    Parameters
    + + +
    [in]dataThe manufacturer data to advertise.
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ setManufacturerData() [3/3]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEAdvertisementData::setManufacturerData (const uint8_t * data,
    size_t length 
    )
    +
    + +

    Set manufacturer specific data.

    +
    Parameters
    + + + +
    [in]dataThe manufacturer data to advertise.
    [in]lengthThe length of the data.
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ setName()

    + +
    +
    + + + - + + + + + + + + + + +
    bool NimBLEAdvertisementData::setName ( const std::string & name)name,
    bool isComplete = true 
    )
    @@ -419,20 +728,22 @@ void 
    Parameters
    +
    [in]nameThe name to advertise.
    [in]isCompleteIf true the name is complete, which will set the data type accordingly.
    +

    If the name is longer than 29 characters it will be truncated. and the data type will be set to incomplete name.

    Returns
    True if successful.
    -
    -

    ◆ setPartialServices()

    + +

    ◆ setPartialServices()

    - + @@ -448,20 +759,21 @@ void  - +
    void NimBLEAdvertisementData::setPartialServices bool NimBLEAdvertisementData::setPartialServices ( const NimBLEUUID uuid)
    Returns
    True if successful.
    -
    -

    ◆ setPartialServices16()

    + +

    ◆ setPartialServices16()

    - + - +
    void NimBLEAdvertisementData::setPartialServices16 bool NimBLEAdvertisementData::setPartialServices16 ( const std::vector< NimBLEUUID > & v_uuid)uuids)
    @@ -470,24 +782,25 @@ void 
    Parameters
    - +
    [in]v_uuidA vector of 16 bit UUID's to advertise.
    [in]uuidsA vector of 16 bit UUID's to advertise.
    +
    Returns
    True if successful.
    -
    -

    ◆ setPartialServices32()

    + +

    ◆ setPartialServices32()

    - + - +
    void NimBLEAdvertisementData::setPartialServices32 bool NimBLEAdvertisementData::setPartialServices32 ( const std::vector< NimBLEUUID > & v_uuid)uuids)
    @@ -496,30 +809,31 @@ void 
    Parameters
    - +
    [in]v_uuidA vector of 32 bit UUID's to advertise.
    [in]uuidsA vector of 32 bit UUID's to advertise.
    +
    Returns
    True if successful.
    -
    -

    ◆ setPreferredParams()

    + +

    ◆ setPreferredParams()

    - + - + - + @@ -529,25 +843,26 @@ void 
    void NimBLEAdvertisementData::setPreferredParams bool NimBLEAdvertisementData::setPreferredParams ( uint16_t min, minInterval,
    uint16_t max maxInterval 
    -

    Set the preferred connection interval parameters.

    +

    Set the preferred min and max connection intervals to advertise.

    Parameters
    - - + +
    [in]minThe minimum interval desired.
    [in]maxThe maximum interval desired.
    [in]minIntervalThe minimum preferred connection interval.
    [in]maxIntervalThe Maximum preferred connection interval.
    +

    Range = 0x0006(7.5ms) to 0x0C80(4000ms), values not within the range will be limited to this range.

    Returns
    True if successful.
    -
    -

    ◆ setServiceData()

    + +

    ◆ setServiceData() [1/3]

    - + @@ -574,17 +889,104 @@ void  @@ -671,15 +631,16 @@ less than sizeof(<type>).

    Set value to the value of const char*.

    Parameters
    void NimBLEAdvertisementData::setServiceData bool NimBLEAdvertisementData::setServiceData ( const NimBLEUUID uuid,
    Returns
    True if the service data was set successfully.
    +
    Note
    If data length is 0 the service data will not be advertised.
    -
    -

    ◆ setShortName()

    + +

    ◆ setServiceData() [2/3]

    - + + + + + + + + + + + + + + + + +
    void NimBLEAdvertisementData::setShortName bool NimBLEAdvertisementData::setServiceData (const NimBLEUUIDuuid,
    const std::vector< uint8_t > & data 
    )
    +
    + +

    Set the service data advertised for the UUID.

    +
    Parameters
    + + + +
    [in]uuidThe UUID the service data belongs to.
    [in]dataThe data to advertise.
    +
    +
    +
    Returns
    True if the service data was set successfully.
    +
    Note
    If data length is 0 the service data will not be advertised.
    + +
    +
    + +

    ◆ setServiceData() [3/3]

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool NimBLEAdvertisementData::setServiceData (const NimBLEUUIDuuid,
    const uint8_t * data,
    size_t length 
    )
    +
    + +

    Set the service data advertised for the UUID.

    +
    Parameters
    + + + + +
    [in]uuidThe UUID the service data belongs to.
    [in]dataThe data to advertise.
    [in]lengthThe length of the data.
    +
    +
    +
    Note
    If data length is 0 the service data will not be advertised.
    +
    Returns
    True if successful, false if data length is too long or could not be set.
    + +
    +
    + +

    ◆ setShortName()

    + +
    +
    + + + @@ -600,17 +1002,18 @@ void  @@ -644,8 +594,8 @@ less than sizeof(<type>). - -

    ◆ setValue() [1/4]

    + +

    ◆ setValue() [1/5]

    @@ -657,8 +607,18 @@ less than sizeof(<type>).
    - + + + + + + + + + + +
    bool NimBLEAdvertisementData::setShortName ( const std::string &  name)
    Returns
    True if successful.
    -
    -

    ◆ setURI()

    + +

    ◆ setURI()

    - + @@ -626,6 +1029,27 @@ void  - +
    void NimBLEAdvertisementData::setURI bool NimBLEAdvertisementData::setURI ( const std::string &  uri)
    Returns
    True if successful.
    + + + +
    +

    ◆ toString()

    + +
    +
    + + + + + + + +
    std::string NimBLEAdvertisementData::toString () const
    +
    + +

    Get the string representation of the advertisement data.

    +
    Returns
    The string representation of the advertisement data.
    @@ -635,7 +1059,7 @@ void 
    diff --git a/class_nim_b_l_e_advertisement_data.js b/class_nim_b_l_e_advertisement_data.js index 053fd44..656252f 100644 --- a/class_nim_b_l_e_advertisement_data.js +++ b/class_nim_b_l_e_advertisement_data.js @@ -1,21 +1,34 @@ var class_nim_b_l_e_advertisement_data = [ - [ "addData", "class_nim_b_l_e_advertisement_data.html#a2328f7df89a11d58818e98a6c889c8d4", null ], - [ "addData", "class_nim_b_l_e_advertisement_data.html#aec5f567059c4b4fd0f6b5fc74a0ce870", null ], - [ "addTxPower", "class_nim_b_l_e_advertisement_data.html#a480ffc91f212e877ae31ab47190006c3", null ], - [ "getPayload", "class_nim_b_l_e_advertisement_data.html#acbd638708c8b8b4663c09107bc38feb1", null ], - [ "setAppearance", "class_nim_b_l_e_advertisement_data.html#a0f209913ef9f3dfb5be8db39567b4f32", null ], - [ "setCompleteServices", "class_nim_b_l_e_advertisement_data.html#a67fd95e586559b73964d5739051f3822", null ], - [ "setCompleteServices16", "class_nim_b_l_e_advertisement_data.html#a50a2584346208ef28274eeecc5befffb", null ], - [ "setCompleteServices32", "class_nim_b_l_e_advertisement_data.html#a712aa09a4d7f2b3cae9b2f1f1be6372f", null ], - [ "setFlags", "class_nim_b_l_e_advertisement_data.html#a73766a872477512bd750c773d96ca4e2", null ], - [ "setManufacturerData", "class_nim_b_l_e_advertisement_data.html#aa4df88b578782cda2bd77368b50f2d27", null ], - [ "setName", "class_nim_b_l_e_advertisement_data.html#a885b4ed75dd71c4c19b86048c16350bf", null ], - [ "setPartialServices", "class_nim_b_l_e_advertisement_data.html#af52546d7c3b733a831f6232a845bef85", null ], - [ "setPartialServices16", "class_nim_b_l_e_advertisement_data.html#a50063c7ffa24f0f0407366a450e23ae4", null ], - [ "setPartialServices32", "class_nim_b_l_e_advertisement_data.html#a0ff5a72bccd349e551270ceadf528306", null ], - [ "setPreferredParams", "class_nim_b_l_e_advertisement_data.html#a58ba06eb062a47cc58ba2829af8aafa5", null ], - [ "setServiceData", "class_nim_b_l_e_advertisement_data.html#aee4fdb5af06fcda9cab9fad3f5bf80d5", null ], - [ "setShortName", "class_nim_b_l_e_advertisement_data.html#ae5b514ad9be6552727f1c7a744a29ae5", null ], - [ "setURI", "class_nim_b_l_e_advertisement_data.html#aa003bc4cf9bff2b2bcac9b742ec97a36", null ] + [ "addData", "class_nim_b_l_e_advertisement_data.html#a051d8f4ae66d2caa39351af8277bf0ed", null ], + [ "addData", "class_nim_b_l_e_advertisement_data.html#a67f4d6869eb2797bc78389adf20cb59e", null ], + [ "addServiceUUID", "class_nim_b_l_e_advertisement_data.html#a4119cfc1dafeee9c32f9a08dbb213139", null ], + [ "addServiceUUID", "class_nim_b_l_e_advertisement_data.html#acbea9f95711b329a427919ecd9cbeb23", null ], + [ "addTxPower", "class_nim_b_l_e_advertisement_data.html#a3f227c597ec00f639e4bd26b80ce404b", null ], + [ "clearData", "class_nim_b_l_e_advertisement_data.html#ac0f2238cf17bf3e8bbef8b0ef0d61dcf", null ], + [ "getDataLocation", "class_nim_b_l_e_advertisement_data.html#a57d4ece891cc23b2079ccc4e06d477b2", null ], + [ "getPayload", "class_nim_b_l_e_advertisement_data.html#a2f6960683e8b98d1c3ecf88bb5ec56eb", null ], + [ "removeData", "class_nim_b_l_e_advertisement_data.html#acf839da2c36a9ac5ef53e86b57d73874", null ], + [ "removeServices", "class_nim_b_l_e_advertisement_data.html#aff30e0d0dc95e1dc8bb1cb6858a4e813", null ], + [ "removeServiceUUID", "class_nim_b_l_e_advertisement_data.html#a62963648edf361ed7d3f24027dd41a9d", null ], + [ "removeServiceUUID", "class_nim_b_l_e_advertisement_data.html#ad22fa3253134dd5bfd3e76f8c31bef2e", null ], + [ "setAppearance", "class_nim_b_l_e_advertisement_data.html#a63dca8c3219f682569db26eddbc8880c", null ], + [ "setCompleteServices", "class_nim_b_l_e_advertisement_data.html#aafa437cd95751da68d6b8691ce3eea46", null ], + [ "setCompleteServices16", "class_nim_b_l_e_advertisement_data.html#a89c45ddb804600bd6b6175687f6c1bb0", null ], + [ "setCompleteServices32", "class_nim_b_l_e_advertisement_data.html#aef5e7a5b2d3dd9c09b6a55582d7d22d6", null ], + [ "setFlags", "class_nim_b_l_e_advertisement_data.html#a00c9c605b9a1054ad056fc0f0f7ebf0d", null ], + [ "setManufacturerData", "class_nim_b_l_e_advertisement_data.html#a043d49566c5d7a3e0808554587ad051b", null ], + [ "setManufacturerData", "class_nim_b_l_e_advertisement_data.html#a9eb01ecb3973fa592effe6fdce39f602", null ], + [ "setManufacturerData", "class_nim_b_l_e_advertisement_data.html#a0b076298058755149b4351727d70b198", null ], + [ "setName", "class_nim_b_l_e_advertisement_data.html#adf8f35c7735f8a29130482b302f04006", null ], + [ "setPartialServices", "class_nim_b_l_e_advertisement_data.html#a0a4102da7495d39e8a0033e1661b76a6", null ], + [ "setPartialServices16", "class_nim_b_l_e_advertisement_data.html#a91671d595cfed4547df670884633a7a4", null ], + [ "setPartialServices32", "class_nim_b_l_e_advertisement_data.html#a736480e1e778ed93890d2071f558f186", null ], + [ "setPreferredParams", "class_nim_b_l_e_advertisement_data.html#acee3a78f4c8d69a1dc3df1f9af16632f", null ], + [ "setServiceData", "class_nim_b_l_e_advertisement_data.html#ae179e55a5a133a66858047b29343bd75", null ], + [ "setServiceData", "class_nim_b_l_e_advertisement_data.html#a2efe483f50ee2013d1eea015c90ba4f5", null ], + [ "setServiceData", "class_nim_b_l_e_advertisement_data.html#a0399149f6359d33ca4781c8282844394", null ], + [ "setShortName", "class_nim_b_l_e_advertisement_data.html#a32922b53631443b92463c8942b8d0839", null ], + [ "setURI", "class_nim_b_l_e_advertisement_data.html#a852969e05a7884faf6cfcd2001f80ec9", null ], + [ "toString", "class_nim_b_l_e_advertisement_data.html#a6ff7fc36a9f5966792f354d2586714a6", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_advertising-members.html b/class_nim_b_l_e_advertising-members.html index 61f267d..a7d9ef3 100644 --- a/class_nim_b_l_e_advertising-members.html +++ b/class_nim_b_l_e_advertising-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,49 +76,66 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_advertising.html','');
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEAdvertising Member List
    +
    NimBLEAdvertising Member List

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

    - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    addServiceUUID(const NimBLEUUID &serviceUUID)NimBLEAdvertising
    addServiceUUID(const char *serviceUUID)NimBLEAdvertising
    addTxPower()NimBLEAdvertising
    advCompleteCB()NimBLEAdvertising
    isAdvertising()NimBLEAdvertising
    NimBLEAdvertising()NimBLEAdvertising
    removeServiceUUID(const NimBLEUUID &serviceUUID)NimBLEAdvertising
    reset()NimBLEAdvertising
    setAdvertisementData(NimBLEAdvertisementData &advertisementData)NimBLEAdvertising
    setAdvertisementType(uint8_t adv_type)NimBLEAdvertising
    setAppearance(uint16_t appearance)NimBLEAdvertising
    setManufacturerData(const std::string &data)NimBLEAdvertising
    setMaxInterval(uint16_t maxinterval)NimBLEAdvertising
    setMaxPreferred(uint16_t)NimBLEAdvertising
    setMinInterval(uint16_t mininterval)NimBLEAdvertising
    setMinPreferred(uint16_t)NimBLEAdvertising
    setName(const std::string &name)NimBLEAdvertising
    setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)NimBLEAdvertising
    setScanResponse(bool)NimBLEAdvertising
    setScanResponseData(NimBLEAdvertisementData &advertisementData)NimBLEAdvertising
    setServiceData(const NimBLEUUID &uuid, const std::string &data)NimBLEAdvertising
    setURI(const std::string &uri)NimBLEAdvertising
    start(uint32_t duration=0, void(*advCompleteCB)(NimBLEAdvertising *pAdv)=nullptr)NimBLEAdvertising
    stop()NimBLEAdvertising
    addServiceUUID(const NimBLEUUID &serviceUUID)NimBLEAdvertising
    addServiceUUID(const char *serviceUUID)NimBLEAdvertising
    addTxPower()NimBLEAdvertising
    clearData()NimBLEAdvertising
    enableScanResponse(bool enable)NimBLEAdvertising
    getAdvertisementData()NimBLEAdvertising
    getScanData()NimBLEAdvertising
    isAdvertising()NimBLEAdvertising
    NimBLEAdvertising()NimBLEAdvertising
    refreshAdvertisingData()NimBLEAdvertising
    removeServices()NimBLEAdvertising
    removeServiceUUID(const NimBLEUUID &serviceUUID)NimBLEAdvertising
    removeServiceUUID(const char *serviceUUID)NimBLEAdvertising
    reset()NimBLEAdvertising
    setAdvertisementData(const NimBLEAdvertisementData &advertisementData)NimBLEAdvertising
    setAdvertisingCompleteCallback(advCompleteCB_t callback)NimBLEAdvertising
    setAdvertisingInterval(uint16_t interval)NimBLEAdvertising
    setAppearance(uint16_t appearance)NimBLEAdvertising
    setConnectableMode(uint8_t mode)NimBLEAdvertising
    setDiscoverableMode(uint8_t mode)NimBLEAdvertising
    setManufacturerData(const uint8_t *data, size_t length)NimBLEAdvertising
    setManufacturerData(const std::string &data)NimBLEAdvertising
    setManufacturerData(const std::vector< uint8_t > &data)NimBLEAdvertising
    setMaxInterval(uint16_t maxInterval)NimBLEAdvertising
    setMinInterval(uint16_t minInterval)NimBLEAdvertising
    setName(const std::string &name)NimBLEAdvertising
    setPreferredParams(uint16_t minInterval, uint16_t maxInterval)NimBLEAdvertising
    setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)NimBLEAdvertising
    setScanResponseData(const NimBLEAdvertisementData &advertisementData)NimBLEAdvertising
    setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)NimBLEAdvertising
    setServiceData(const NimBLEUUID &uuid, const std::string &data)NimBLEAdvertising
    setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)NimBLEAdvertising
    setURI(const std::string &uri)NimBLEAdvertising
    start(uint32_t duration=0, const NimBLEAddress *dirAddr=nullptr)NimBLEAdvertising
    stop()NimBLEAdvertising
    diff --git a/class_nim_b_l_e_advertising.html b/class_nim_b_l_e_advertising.html index c50231c..b977650 100644 --- a/class_nim_b_l_e_advertising.html +++ b/class_nim_b_l_e_advertising.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEAdvertising Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,115 +76,153 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_advertising.html','');
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEAdvertising Class Reference
    +
    NimBLEAdvertising Class Reference

    Perform and manage BLE advertising. More...

    + +

    #include <NimBLEAdvertising.h>

    - - + - - - - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

    NimBLEAdvertising ()
    NimBLEAdvertising ()
     Construct a default advertising object.
     
    void addServiceUUID (const NimBLEUUID &serviceUUID)
     Add a service uuid to exposed list of services. More...
     
    void addServiceUUID (const char *serviceUUID)
     Add a service uuid to exposed list of services. More...
     
    void removeServiceUUID (const NimBLEUUID &serviceUUID)
     Add a service uuid to exposed list of services. More...
     
    bool start (uint32_t duration=0, void(*advCompleteCB)(NimBLEAdvertising *pAdv)=nullptr)
     Start advertising. More...
     
    bool stop ()
     Stop advertising. More...
    bool start (uint32_t duration=0, const NimBLEAddress *dirAddr=nullptr)
     Start advertising.
     
    void setAdvertisingCompleteCallback (advCompleteCB_t callback)
     Set the callback to be invoked when advertising stops.
     
    bool stop ()
     Stop advertising.
     
    void setAppearance (uint16_t appearance)
     Set the device appearance in the advertising data. The codes for distinct appearances can be found here:
    -https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml. More...
     
    void setName (const std::string &name)
     Set the advertised name of the device. More...
     
    void setManufacturerData (const std::string &data)
     Set the advertised manufacturer data. More...
     
    void setURI (const std::string &uri)
     Set the advertised URI. More...
     
    void setServiceData (const NimBLEUUID &uuid, const std::string &data)
     Set the service data advertised for the UUID. More...
     
    void setAdvertisementType (uint8_t adv_type)
     Set the type of advertisment to use. More...
     
    void setMaxInterval (uint16_t maxinterval)
     Set the maximum advertising interval. More...
     
    void setMinInterval (uint16_t mininterval)
     Set the minimum advertising interval. More...
     
    void setAdvertisementData (NimBLEAdvertisementData &advertisementData)
     Set the advertisement data that is to be published in a regular advertisement. More...
     
    void setScanFilter (bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
     Set the filtering for the scan filter. More...
     
    void setScanResponseData (NimBLEAdvertisementData &advertisementData)
     Set the advertisement data that is to be published in a scan response. More...
     
    void setScanResponse (bool)
     Set if scan response is available. More...
     
    void setMinPreferred (uint16_t)
     Set the advertised min connection interval preferred by this device. More...
     
    void setMaxPreferred (uint16_t)
     Set the advertised max connection interval preferred by this device. More...
     
    -void addTxPower ()
     Add the transmission power level to the advertisement packet.
     
    -void reset ()
     Stops the current advertising and resets the advertising data to the default values.
     
    -void advCompleteCB ()
     Handles the callback when advertising stops.
     
    bool isAdvertising ()
     Check if currently advertising. More...
    bool setConnectableMode (uint8_t mode)
     Set the type of connectable mode to advertise.
     
    bool setDiscoverableMode (uint8_t mode)
     Set the discoverable mode to use.
     
    bool reset ()
     Stops the current advertising and resets the advertising data to the default values.
     
    bool isAdvertising ()
     Check if currently advertising.
     
    void setScanFilter (bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
     Set the filtering for the scan filter.
     
    void enableScanResponse (bool enable)
     Enable scan response data.
     
    void setAdvertisingInterval (uint16_t interval)
     Set the advertising interval.
     
    void setMaxInterval (uint16_t maxInterval)
     Set the maximum advertising interval.
     
    void setMinInterval (uint16_t minInterval)
     Set the minimum advertising interval.
     
    bool setAdvertisementData (const NimBLEAdvertisementData &advertisementData)
     Set the advertisement data that is to be broadcast in a regular advertisement.
     
    bool setScanResponseData (const NimBLEAdvertisementData &advertisementData)
     Set the data that is to be provided in a scan response.
     
    const NimBLEAdvertisementDatagetAdvertisementData ()
     Get the current advertisement data.
     
    const NimBLEAdvertisementDatagetScanData ()
     Get the current scan response data.
     
    +void clearData ()
     Clear the advertisement and scan response data and set the flags to BLE_HS_ADV_F_DISC_GEN.
     
    bool refreshAdvertisingData ()
     Refresh advertsing data dynamically without stop/start cycle. For instance allows refreshing manufacturer data dynamically.
     
    bool addServiceUUID (const NimBLEUUID &serviceUUID)
     Add a service uuid to exposed list of services.
     
    bool addServiceUUID (const char *serviceUUID)
     Add a service uuid to exposed list of services.
     
    bool removeServiceUUID (const NimBLEUUID &serviceUUID)
     Remove a service UUID from the advertisement.
     
    bool removeServiceUUID (const char *serviceUUID)
     Remove a service UUID from the advertisement.
     
    bool removeServices ()
     Remove all service UUIDs from the advertisement.
     
    bool setAppearance (uint16_t appearance)
     Set the device appearance in the advertising data.
     
    bool setPreferredParams (uint16_t minInterval, uint16_t maxInterval)
     Set the preferred min and max connection intervals to advertise.
     
    bool addTxPower ()
     Add the transmission power level to the advertisement packet.
     
    bool setName (const std::string &name)
     Set the advertised name of the device.
     
    bool setManufacturerData (const uint8_t *data, size_t length)
     Set the advertised manufacturer data.
     
    bool setManufacturerData (const std::string &data)
     Set the advertised manufacturer data.
     
    bool setManufacturerData (const std::vector< uint8_t > &data)
     Set the advertised manufacturer data.
     
    bool setURI (const std::string &uri)
     Set the advertised URI.
     
    bool setServiceData (const NimBLEUUID &uuid, const uint8_t *data, size_t length)
     Set the service data advertised for the UUID.
     
    bool setServiceData (const NimBLEUUID &uuid, const std::string &data)
     Set the service data advertised for the UUID.
     
    bool setServiceData (const NimBLEUUID &uuid, const std::vector< uint8_t > &data)
     Set the service data advertised for the UUID.
     

    Detailed Description

    Perform and manage BLE advertising.

    A BLE server will want to perform advertising in order to make itself known to BLE clients.

    Member Function Documentation

    - -

    ◆ addServiceUUID() [1/2]

    + +

    ◆ addServiceUUID() [1/2]

    - + @@ -200,17 +238,18 @@ void  - - + + @@ -706,8 +1118,8 @@ When using custom scan response data you must also use custom advertisement data

    Start advertising.

    Parameters
    void NimBLEAdvertising::addServiceUUID bool NimBLEAdvertising::addServiceUUID ( const char *  serviceUUID)
    Returns
    True if the service was added successfully.
    -
    -

    ◆ addServiceUUID() [2/2]

    + +

    ◆ addServiceUUID() [2/2]

    - + @@ -226,11 +265,99 @@ void  - +
    void NimBLEAdvertising::addServiceUUID bool NimBLEAdvertising::addServiceUUID ( const NimBLEUUID serviceUUID)
    Returns
    True if the service was added successfully.
    -
    -

    ◆ isAdvertising()

    + +

    ◆ addTxPower()

    + +
    +
    + + + + + + + +
    bool NimBLEAdvertising::addTxPower ()
    +
    + +

    Add the transmission power level to the advertisement packet.

    +
    Returns
    True if the transmission power level was added successfully.
    + +
    +
    + +

    ◆ enableScanResponse()

    + +
    +
    + + + + + + + + +
    void NimBLEAdvertising::enableScanResponse (bool enable)
    +
    + +

    Enable scan response data.

    +
    Parameters
    + + +
    [in]enableIf true, scan response data will be available, false disabled, default = disabled.
    +
    +
    +

    The scan response data is sent in response to a scan request from a peer device.

    + +
    +
    + +

    ◆ getAdvertisementData()

    + +
    +
    + + + + + + + +
    const NimBLEAdvertisementData & NimBLEAdvertising::getAdvertisementData ()
    +
    + +

    Get the current advertisement data.

    +
    Returns
    a reference to the current advertisement data.
    + +
    +
    + +

    ◆ getScanData()

    + +
    +
    + + + + + + + +
    const NimBLEAdvertisementData & NimBLEAdvertising::getScanData ()
    +
    + +

    Get the current scan response data.

    +
    Returns
    a reference to the current scan response data.
    + +
    +
    + +

    ◆ isAdvertising()

    @@ -245,18 +372,86 @@ void 

    Check if currently advertising.

    -
    Returns
    true if advertising is active.
    +
    Returns
    True if advertising is active.
    -
    -

    ◆ removeServiceUUID()

    + +

    ◆ refreshAdvertisingData()

    - + + + + + +
    void NimBLEAdvertising::removeServiceUUID bool NimBLEAdvertising::refreshAdvertisingData ()
    +
    + +

    Refresh advertsing data dynamically without stop/start cycle. For instance allows refreshing manufacturer data dynamically.

    +
    Returns
    True if the data was set successfully.
    +

    If scan response is enabled it will be refreshed as well.

    + +
    +
    + +

    ◆ removeServices()

    + +
    +
    + + + + + + + +
    bool NimBLEAdvertising::removeServices ()
    +
    + +

    Remove all service UUIDs from the advertisement.

    +
    Returns
    True if the services were removed successfully.
    + +
    +
    + +

    ◆ removeServiceUUID() [1/2]

    + +
    +
    + + + + + + + + +
    bool NimBLEAdvertising::removeServiceUUID (const char * serviceUUID)
    +
    + +

    Remove a service UUID from the advertisement.

    +
    Parameters
    + + +
    [in]serviceUUIDThe UUID of the service to remove.
    +
    +
    +
    Returns
    True if the service was removed successfully.
    + +
    +
    + +

    ◆ removeServiceUUID() [2/2]

    + +
    +
    + + + @@ -265,84 +460,124 @@ void  - +
    bool NimBLEAdvertising::removeServiceUUID ( const NimBLEUUID serviceUUID) -

    Add a service uuid to exposed list of services.

    +

    Remove a service UUID from the advertisement.

    Parameters
    - +
    [in]serviceUUIDThe UUID of the service to expose.
    [in]serviceUUIDThe UUID of the service to remove.
    +
    Returns
    True if the service was removed successfully.
    -
    -

    ◆ setAdvertisementData()

    + +

    ◆ reset()

    - + - - +
    void NimBLEAdvertising::setAdvertisementData bool NimBLEAdvertising::reset (NimBLEAdvertisementDataadvertisementData))
    -

    Set the advertisement data that is to be published in a regular advertisement.

    -
    Parameters
    - - -
    [in]advertisementDataThe data to be advertised.
    -
    -
    -

    The use of this function will replace any data set with addServiceUUID
    -or setAppearance. If you wish for these to be advertised you must include them
    -in the advertisementData parameter sent.

    +

    Stops the current advertising and resets the advertising data to the default values.

    +
    Returns
    True if successful.
    - -

    ◆ setAdvertisementType()

    + +

    ◆ setAdvertisementData()

    - + - - + +
    void NimBLEAdvertising::setAdvertisementType bool NimBLEAdvertising::setAdvertisementData (uint8_t adv_type)const NimBLEAdvertisementDatadata)
    -

    Set the type of advertisment to use.

    +

    Set the advertisement data that is to be broadcast in a regular advertisement.

    Parameters
    - + +
    [in]adv_type
      -
    • BLE_GAP_CONN_MODE_NON (0) - not connectable advertising
    • -
    • BLE_GAP_CONN_MODE_DIR (1) - directed connectable advertising
    • -
    • BLE_GAP_CONN_MODE_UND (2) - undirected connectable advertising
    • -
    -
    [in]dataThe data to be broadcast.
    +
    +
    +
    Returns
    True if the data was set successfully.
    + +
    +
    + +

    ◆ setAdvertisingCompleteCallback()

    + +
    +
    + + + + + + + + +
    void NimBLEAdvertising::setAdvertisingCompleteCallback (advCompleteCB_t callback)
    +
    + +

    Set the callback to be invoked when advertising stops.

    +
    Parameters
    + +
    [in]callbackThe callback to be invoked when advertising stops.
    - -

    ◆ setAppearance()

    + +

    ◆ setAdvertisingInterval()

    - + + + + + + +
    void NimBLEAdvertising::setAppearance void NimBLEAdvertising::setAdvertisingInterval (uint16_t interval)
    +
    + +

    Set the advertising interval.

    +
    Parameters
    + + +
    [in]intervalThe advertising interval in 0.625ms units, 0 = use default.
    +
    +
    + +
    +
    + +

    ◆ setAppearance()

    + +
    +
    + + + @@ -351,25 +586,89 @@ in the advertisementData parameter sent.

    bool NimBLEAdvertising::setAppearance ( uint16_t  appearance)
    -

    Set the device appearance in the advertising data. The codes for distinct appearances can be found here:
    -https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml.

    +

    Set the device appearance in the advertising data.

    Parameters
    - +
    [in]appearanceThe appearance of the device in the advertising data.
    [in]appearanceThe appearance of the device in the advertising data. If the appearance value is 0 then the appearance will not be in the advertisement.
    +
    Returns
    True if the appearance was set successfully.
    - -

    ◆ setManufacturerData()

    + +

    ◆ setConnectableMode()

    - + + + + + + +
    void NimBLEAdvertising::setManufacturerData bool NimBLEAdvertising::setConnectableMode (uint8_t mode)
    +
    + +

    Set the type of connectable mode to advertise.

    +
    Parameters
    + + +
    [in]modeThe connectable mode:
      +
    • BLE_GAP_CONN_MODE_NON (0) - not connectable advertising
    • +
    • BLE_GAP_CONN_MODE_DIR (1) - directed connectable advertising
    • +
    • BLE_GAP_CONN_MODE_UND (2) - undirected connectable advertising
    • +
    +
    +
    +
    +
    Returns
    True if the connectable mode was set, false if the mode is invalid.
    + +
    +
    + +

    ◆ setDiscoverableMode()

    + +
    +
    + + + + + + + + +
    bool NimBLEAdvertising::setDiscoverableMode (uint8_t mode)
    +
    + +

    Set the discoverable mode to use.

    +
    Parameters
    + + +
    [in]modeThe discoverable mode:
      +
    • BLE_GAP_DISC_MODE_NON (0) - non-discoverable
    • +
    • BLE_GAP_DISC_MODE_LTD (1) - limited discoverable
    • +
    • BLE_GAP_DISC_MODE_GEN (2) - general discoverable
    • +
    +
    +
    +
    +
    Returns
    True if the discoverable mode was set, false if the mode is invalid.
    + +
    +
    + +

    ◆ setManufacturerData() [1/3]

    + +
    +
    + + + @@ -385,11 +684,77 @@ in the advertisementData parameter sent.

    bool NimBLEAdvertising::setManufacturerData ( const std::string &  data)
    +
    Returns
    True if the manufacturer data was set successfully.
    - -

    ◆ setMaxInterval()

    + +

    ◆ setManufacturerData() [2/3]

    + +
    +
    + + + + + + + + +
    bool NimBLEAdvertising::setManufacturerData (const std::vector< uint8_t > & data)
    +
    + +

    Set the advertised manufacturer data.

    +
    Parameters
    + + +
    [in]dataThe data to advertise.
    +
    +
    +
    Returns
    True if the manufacturer data was set successfully.
    + +
    +
    + +

    ◆ setManufacturerData() [3/3]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEAdvertising::setManufacturerData (const uint8_t * data,
    size_t length 
    )
    +
    + +

    Set the advertised manufacturer data.

    +
    Parameters
    + + + +
    [in]dataThe data to advertise.
    [in]lengthThe length of the data.
    +
    +
    +
    Returns
    True if the manufacturer data was set successfully.
    + +
    +
    + +

    ◆ setMaxInterval()

    @@ -398,7 +763,7 @@ in the advertisementData parameter sent.

    void NimBLEAdvertising::setMaxInterval ( uint16_t maxinterval)maxInterval)
    @@ -407,43 +772,15 @@ in the advertisementData parameter sent.

    Set the maximum advertising interval.

    Parameters
    - +
    [in]maxintervalMaximum value for advertising interval in 0.625ms units, 0 = use default.
    [in]maxIntervalMaximum value for advertising interval in 0.625ms units, 0 = use default.
    - -

    ◆ setMaxPreferred()

    - -
    -
    - - - - - - - - -
    void NimBLEAdvertising::setMaxPreferred (uint16_t maxinterval)
    -
    - -

    Set the advertised max connection interval preferred by this device.

    -
    Parameters
    - - -
    [in]maxintervalthe max interval value. Range = 0x0006 to 0x0C80.
    -
    -
    -

    Values not within the range will cancel advertising of this data.
    -Consumes 6 bytes of advertising space (combined with min interval).

    - -
    -
    - -

    ◆ setMinInterval()

    + +

    ◆ setMinInterval()

    @@ -452,7 +789,7 @@ Consumes 6 bytes of advertising space (combined with min interval).

    void NimBLEAdvertising::setMinInterval ( uint16_t mininterval)minInterval)
    @@ -461,49 +798,21 @@ Consumes 6 bytes of advertising space (combined with min interval).

    Set the minimum advertising interval.

    Parameters
    - +
    [in]minintervalMinimum value for advertising interval in 0.625ms units, 0 = use default.
    [in]minIntervalMinimum value for advertising interval in 0.625ms units, 0 = use default.
    - -

    ◆ setMinPreferred()

    + +

    ◆ setName()

    - - - - - - -
    void NimBLEAdvertising::setMinPreferred (uint16_t mininterval)
    -
    - -

    Set the advertised min connection interval preferred by this device.

    -
    Parameters
    - - -
    [in]minintervalthe max interval value. Range = 0x0006 to 0x0C80.
    -
    -
    -

    Values not within the range will cancel advertising of this data.
    -Consumes 6 bytes of advertising space (combined with max interval).

    - -
    -
    - -

    ◆ setName()

    - -
    -
    - - - + @@ -519,11 +828,53 @@ Consumes 6 bytes of advertising space (combined with max interval).

    void NimBLEAdvertising::setName bool NimBLEAdvertising::setName ( const std::string &  name)
    +
    Returns
    True if the name was set successfully.
    +
    Note
    If the name is too long it will be truncated.
    +

    If scan response is enabled the name will be set in the scan response data.

    - -

    ◆ setScanFilter()

    + +

    ◆ setPreferredParams()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEAdvertising::setPreferredParams (uint16_t minInterval,
    uint16_t maxInterval 
    )
    +
    + +

    Set the preferred min and max connection intervals to advertise.

    +
    Parameters
    + + + +
    [in]minIntervalThe minimum preferred connection interval.
    [in]maxIntervalThe Maximum preferred connection interval.
    +
    +
    +
    Returns
    True if the preferred connection interval was set successfully.
    +

    Range = 0x0006(7.5ms) to 0x0C80(4000ms), values not within the range will be limited to this range.

    + +
    +
    + +

    ◆ setScanFilter()

    @@ -559,68 +910,42 @@ Consumes 6 bytes of advertising space (combined with max interval).

    - -

    ◆ setScanResponse()

    + +

    ◆ setScanResponseData()

    - + - - + +
    void NimBLEAdvertising::setScanResponse bool NimBLEAdvertising::setScanResponseData (bool set)const NimBLEAdvertisementDatadata)
    -

    Set if scan response is available.

    +

    Set the data that is to be provided in a scan response.

    Parameters
    - +
    [in]settrue = scan response available.
    [in]dataThe data to be provided in the scan response
    +
    Returns
    True if the data was set successfully.
    +

    The scan response data is sent in response to a scan request from a peer device. If this is set without setting the advertisement data when advertising starts this may be overwritten.

    - -

    ◆ setScanResponseData()

    + +

    ◆ setServiceData() [1/3]

    - - - - - - -
    void NimBLEAdvertising::setScanResponseData (NimBLEAdvertisementDataadvertisementData)
    -
    - -

    Set the advertisement data that is to be published in a scan response.

    -
    Parameters
    - - -
    [in]advertisementDataThe data to be advertised.
    -
    -
    -

    Calling this without also using setAdvertisementData will have no effect.
    -When using custom scan response data you must also use custom advertisement data.

    - -
    -
    - -

    ◆ setServiceData()

    - -
    -
    - - - + @@ -647,18 +972,104 @@ When using custom scan response data you must also use custom advertisement data
    void NimBLEAdvertising::setServiceData bool NimBLEAdvertising::setServiceData ( const NimBLEUUID uuid,
    +
    Returns
    True if the service data was set successfully.
    Note
    If data length is 0 the service data will not be advertised.
    - -

    ◆ setURI()

    + +

    ◆ setServiceData() [2/3]

    - + + + + + + + + + + + + + + + + +
    void NimBLEAdvertising::setURI bool NimBLEAdvertising::setServiceData (const NimBLEUUIDuuid,
    const std::vector< uint8_t > & data 
    )
    +
    + +

    Set the service data advertised for the UUID.

    +
    Parameters
    + + + +
    [in]uuidThe UUID the service data belongs to.
    [in]dataThe data to advertise.
    +
    +
    +
    Returns
    True if the service data was set successfully.
    +
    Note
    If data length is 0 the service data will not be advertised.
    + +
    +
    + +

    ◆ setServiceData() [3/3]

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool NimBLEAdvertising::setServiceData (const NimBLEUUIDuuid,
    const uint8_t * data,
    size_t length 
    )
    +
    + +

    Set the service data advertised for the UUID.

    +
    Parameters
    + + + + +
    [in]uuidThe UUID the service data belongs to.
    [in]dataThe data to advertise.
    [in]lengthThe length of the data.
    +
    +
    +
    Returns
    True if the service data was set successfully.
    +
    Note
    If data length is 0 the service data will not be advertised.
    + +
    +
    + +

    ◆ setURI()

    + +
    +
    + + + @@ -674,11 +1085,12 @@ When using custom scan response data you must also use custom advertisement data
    bool NimBLEAdvertising::setURI ( const std::string &  uri)
    +
    Returns
    True if the URI was set successfully.
    - -

    ◆ start()

    + +

    ◆ start()

    @@ -692,8 +1104,8 @@ When using custom scan response data you must also use custom advertisement data
    void(*)(NimBLEAdvertising *pAdv) advCompleteCB = nullptr const NimBLEAddressdirAddr = nullptr 
    - - + +
    [in]durationThe duration, in seconds, to advertise, 0 == advertise forever.
    [in]advCompleteCBA pointer to a callback to be invoked when advertising ends.
    [in]durationThe duration, in milliseconds, to advertise, 0 == advertise forever.
    [in]dirAddrThe address of a peer to directly advertise to.
    @@ -715,8 +1127,8 @@ When using custom scan response data you must also use custom advertisement data
    - -

    ◆ stop()

    + +

    ◆ stop()

    @@ -741,7 +1153,7 @@ When using custom scan response data you must also use custom advertisement data diff --git a/class_nim_b_l_e_advertising.js b/class_nim_b_l_e_advertising.js index 48f9434..5c311f4 100644 --- a/class_nim_b_l_e_advertising.js +++ b/class_nim_b_l_e_advertising.js @@ -1,27 +1,38 @@ var class_nim_b_l_e_advertising = [ [ "NimBLEAdvertising", "class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd", null ], - [ "addServiceUUID", "class_nim_b_l_e_advertising.html#a5e596e8dfa9268554a5b189380405d5c", null ], - [ "addServiceUUID", "class_nim_b_l_e_advertising.html#a4f334752ea04223185292fe9ab524b69", null ], - [ "addTxPower", "class_nim_b_l_e_advertising.html#ac4ff0af45d1f7ed5bc208612852bc43a", null ], - [ "advCompleteCB", "class_nim_b_l_e_advertising.html#a4de7bf016a086a2d3f6f14ae134678f2", null ], + [ "addServiceUUID", "class_nim_b_l_e_advertising.html#a1bacfa32690f7e0c6f1172ea03c68c0d", null ], + [ "addServiceUUID", "class_nim_b_l_e_advertising.html#a67c9589dff7e0ee3ec24f2c930d56c06", null ], + [ "addTxPower", "class_nim_b_l_e_advertising.html#a0d3c5cb3a93416a4206abb1f8e443ebf", null ], + [ "clearData", "class_nim_b_l_e_advertising.html#af7cee42f24ad38872936a0bbc9e2ac1e", null ], + [ "enableScanResponse", "class_nim_b_l_e_advertising.html#a6badd669ddf4ff8507561d5041d093d6", null ], + [ "getAdvertisementData", "class_nim_b_l_e_advertising.html#a1e23657839038e5219f9c009cf360a32", null ], + [ "getScanData", "class_nim_b_l_e_advertising.html#ae0e7d64d51882830750bcb87e2d9678c", null ], [ "isAdvertising", "class_nim_b_l_e_advertising.html#ac257ab68520a244cb6494d793f9b6c2a", null ], - [ "removeServiceUUID", "class_nim_b_l_e_advertising.html#a725437c00152ff57ef1e21bdf7be980d", null ], - [ "reset", "class_nim_b_l_e_advertising.html#a545b505ea76396c33133d41a78fad5b8", null ], - [ "setAdvertisementData", "class_nim_b_l_e_advertising.html#af7083f58717b7e76d90d367f00a0ef08", null ], - [ "setAdvertisementType", "class_nim_b_l_e_advertising.html#a68d54f11b47b9993322efec1d07c3519", null ], - [ "setAppearance", "class_nim_b_l_e_advertising.html#aa0d30dfb57670cc8180e17dffddad416", null ], - [ "setManufacturerData", "class_nim_b_l_e_advertising.html#a1eff592870a47b0f62b0f0894efadbd4", null ], - [ "setMaxInterval", "class_nim_b_l_e_advertising.html#aab512576d8873fbbb631bac8ada19530", null ], - [ "setMaxPreferred", "class_nim_b_l_e_advertising.html#a3382cdf80f5ae46a52e3b9159f8e1b66", null ], - [ "setMinInterval", "class_nim_b_l_e_advertising.html#a16bd135cab3f06bc0ba81c2aec19cbbc", null ], - [ "setMinPreferred", "class_nim_b_l_e_advertising.html#a3bc158da1f732361df69cf16ca1cfd42", null ], - [ "setName", "class_nim_b_l_e_advertising.html#add2ecd09877d7e4548b11ec7cb8c7a47", null ], + [ "refreshAdvertisingData", "class_nim_b_l_e_advertising.html#ad899be16fa054a01908692a504af9832", null ], + [ "removeServices", "class_nim_b_l_e_advertising.html#ad159c2e2a65d9bc7dcc5babed146936d", null ], + [ "removeServiceUUID", "class_nim_b_l_e_advertising.html#a94452c2f9f7233611246827ce62f6a2b", null ], + [ "removeServiceUUID", "class_nim_b_l_e_advertising.html#aba383012133dd694f56cf86966b2d80a", null ], + [ "reset", "class_nim_b_l_e_advertising.html#a91cde5680de36840fc18f6fd76665af7", null ], + [ "setAdvertisementData", "class_nim_b_l_e_advertising.html#ab8afd94479ebac3996fa3712d3d92325", null ], + [ "setAdvertisingCompleteCallback", "class_nim_b_l_e_advertising.html#a3e81d7d3aa2b72b8db58427d4a42727b", null ], + [ "setAdvertisingInterval", "class_nim_b_l_e_advertising.html#a28c082bb540325ada66b4e203ae6998a", null ], + [ "setAppearance", "class_nim_b_l_e_advertising.html#a1f4e1ae9552400fb2bb3cd73b2a483b0", null ], + [ "setConnectableMode", "class_nim_b_l_e_advertising.html#ae49d2bd91cabca46ec7c4bbd7fc49407", null ], + [ "setDiscoverableMode", "class_nim_b_l_e_advertising.html#a710eacfc97ecea1bf9a9a3569c58d410", null ], + [ "setManufacturerData", "class_nim_b_l_e_advertising.html#ac9f3a7270e1cefedf8547c5188d06120", null ], + [ "setManufacturerData", "class_nim_b_l_e_advertising.html#aac1b5e560aa497a274985a22083bfc97", null ], + [ "setManufacturerData", "class_nim_b_l_e_advertising.html#ac433e3458ac5259ae21c4bdbd1198781", null ], + [ "setMaxInterval", "class_nim_b_l_e_advertising.html#a97bf63603b9aabdf0a5284269dfc5549", null ], + [ "setMinInterval", "class_nim_b_l_e_advertising.html#a6b5be947a5e188d512e3338d36a039cb", null ], + [ "setName", "class_nim_b_l_e_advertising.html#a7fb4b74eb7acb1f46e57ff772baccd88", null ], + [ "setPreferredParams", "class_nim_b_l_e_advertising.html#a9dbb66ca66aa040731fcfd737f881469", null ], [ "setScanFilter", "class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790", null ], - [ "setScanResponse", "class_nim_b_l_e_advertising.html#a6fb4d9ad3949928ac83d3e74857ab91f", null ], - [ "setScanResponseData", "class_nim_b_l_e_advertising.html#a04a51a0c639a70295a9b671f73b34358", null ], - [ "setServiceData", "class_nim_b_l_e_advertising.html#a994e43e9e4ace6ce64c57e57d0575781", null ], - [ "setURI", "class_nim_b_l_e_advertising.html#a6495d7c9ad80a8c2a5edf974705f8103", null ], - [ "start", "class_nim_b_l_e_advertising.html#aeeee5a131b42a4f76010751f4c182e4f", null ], + [ "setScanResponseData", "class_nim_b_l_e_advertising.html#a97798e6d9d7721eb588c5e67d54e97ef", null ], + [ "setServiceData", "class_nim_b_l_e_advertising.html#a708384c4b9af3006893afbdef74362bc", null ], + [ "setServiceData", "class_nim_b_l_e_advertising.html#a65123182c5218758433e4acf0432fc84", null ], + [ "setServiceData", "class_nim_b_l_e_advertising.html#a815faed49fb4f29337fda94bd39c0bbc", null ], + [ "setURI", "class_nim_b_l_e_advertising.html#a9fe23a52ac3f699095d84d2ba8f90c28", null ], + [ "start", "class_nim_b_l_e_advertising.html#a8a5c880ee36fd44e0c72c14c47c8e15e", null ], [ "stop", "class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_att_value-members.html b/class_nim_b_l_e_att_value-members.html index a84da38..744b9ec 100644 --- a/class_nim_b_l_e_att_value-members.html +++ b/class_nim_b_l_e_att_value-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,59 +76,65 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_att_value.html',''); i
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEAttValue Member List
    +
    NimBLEAttValue Member List

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

    - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - + - +
    append(const uint8_t *value, uint16_t len)NimBLEAttValueinline
    begin() constNimBLEAttValueinline
    c_str() constNimBLEAttValueinline
    capacity() constNimBLEAttValueinline
    data() constNimBLEAttValueinline
    end() constNimBLEAttValueinline
    getValue(time_t *timestamp)NimBLEAttValueinline
    getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)NimBLEAttValueinline
    length() constNimBLEAttValueinline
    max_size() constNimBLEAttValueinline
    NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    NimBLEAttValue(const uint8_t *value, uint16_t len, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    append(const uint8_t *value, uint16_t len)NimBLEAttValue
    begin() constNimBLEAttValueinline
    c_str() constNimBLEAttValueinline
    capacity() constNimBLEAttValueinline
    data() constNimBLEAttValueinline
    end() constNimBLEAttValueinline
    getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false) constNimBLEAttValueinline
    length() constNimBLEAttValueinline
    max_size() constNimBLEAttValueinline
    NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValue
    NimBLEAttValue(const uint8_t *value, uint16_t len, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValue
    NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    NimBLEAttValue(const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    NimBLEAttValue(const NimBLEAttValue &source)NimBLEAttValueinline
    NimBLEAttValue(NimBLEAttValue &&source)NimBLEAttValueinline
    operator const uint8_t *() constNimBLEAttValueinline
    operator std::string() constNimBLEAttValueinline
    operator std::vector< uint8_t >() constNimBLEAttValueinline
    operator!=(const NimBLEAttValue &source)NimBLEAttValueinline
    operator+=(const NimBLEAttValue &source)NimBLEAttValueinline
    operator=(const std::string &source)NimBLEAttValueinline
    operator=(NimBLEAttValue &&source)NimBLEAttValueinline
    operator=(const NimBLEAttValue &source)NimBLEAttValueinline
    operator==(const NimBLEAttValue &source)NimBLEAttValueinline
    operator[](int pos) constNimBLEAttValueinline
    setValue(const uint8_t *value, uint16_t len)NimBLEAttValueinline
    setValue(const char *s)NimBLEAttValueinline
    NimBLEAttValue(const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEAttValueinline
    NimBLEAttValue(const NimBLEAttValue &source)NimBLEAttValueinline
    NimBLEAttValue(NimBLEAttValue &&source)NimBLEAttValueinline
    operator const uint8_t *() constNimBLEAttValueinline
    operator std::string() constNimBLEAttValueinline
    operator std::vector< uint8_t >() constNimBLEAttValueinline
    operator!=(const NimBLEAttValue &source) constNimBLEAttValueinline
    operator+=(const NimBLEAttValue &source)NimBLEAttValueinline
    operator=(const std::string &source)NimBLEAttValueinline
    operator=(NimBLEAttValue &&source)NimBLEAttValue
    operator=(const NimBLEAttValue &source)NimBLEAttValue
    operator==(const NimBLEAttValue &source) constNimBLEAttValueinline
    operator[](int pos) constNimBLEAttValueinline
    setValue(const uint8_t *value, uint16_t len)NimBLEAttValue
    setValue(const char *s, uint16_t len=0)NimBLEAttValueinline
    setValue(const T &v)NimBLEAttValueinline
    setValue(const T &s)NimBLEAttValueinline
    setValue(const T &s)NimBLEAttValueinline
    setValue(const T &v)NimBLEAttValueinline
    size() constNimBLEAttValueinline
    ~NimBLEAttValue()NimBLEAttValueinline
    ~NimBLEAttValue()NimBLEAttValue
    diff --git a/class_nim_b_l_e_att_value.html b/class_nim_b_l_e_att_value.html index af7ba0d..859405c 100644 --- a/class_nim_b_l_e_att_value.html +++ b/class_nim_b_l_e_att_value.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEAttValue Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,151 +76,160 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_att_value.html',''); i
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEAttValue Class Reference
    +
    NimBLEAttValue Class Reference

    A specialized container class to hold BLE attribute values. More...

    + +

    #include <NimBLEAttValue.h>

    - - - + + - - + + - - - - - + + - - + + + + + - - + + - + - + - + - + - + - + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - - - - + + + + + - + + + + + - + - - - - - - - - - + + + + + + + + + - + - + - + - - - - - - - + + + + + + + - + - - - - - - + + + + + +

    +

    Public Member Functions

     NimBLEAttValue (uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Default constructor. More...
     NimBLEAttValue (uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Default constructor.
     
     NimBLEAttValue (const uint8_t *value, uint16_t len, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initial value from a buffer. More...
     NimBLEAttValue (const uint8_t *value, uint16_t len, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initial value from a buffer.
     
     NimBLEAttValue (std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initializer list. More...
     
     NimBLEAttValue (const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initial value from a const char string. More...
     NimBLEAttValue (const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initial value from a const char string.
     
     NimBLEAttValue (const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initial value from a std::string. More...
     NimBLEAttValue (std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initializer list.
     
     NimBLEAttValue (const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initial value from a std::string.
     
     NimBLEAttValue (const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initial value from a std::vector<uint8_t>. More...
     NimBLEAttValue (const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Construct with an initial value from a std::vector<uint8_t>.
     
    NimBLEAttValue (const NimBLEAttValue &source)
    NimBLEAttValue (const NimBLEAttValue &source)
     Copy constructor.
     
    NimBLEAttValue (NimBLEAttValue &&source)
    NimBLEAttValue (NimBLEAttValue &&source)
     Move constructor.
     
    ~NimBLEAttValue ()
    ~NimBLEAttValue ()
     Destructor.
     
    -uint16_t max_size () const
    +uint16_t max_size () const
     Returns the max size in bytes.
     
    -uint16_t capacity () const
    +uint16_t capacity () const
     Returns the currently allocated capacity in bytes.
     
    -uint16_t length () const
    +uint16_t length () const
     Returns the current length of the value in bytes.
     
    -uint16_t size () const
    +uint16_t size () const
     Returns the current size of the value in bytes.
     
    -const uint8_t * data () const
     Returns a pointer to the internal buffer of the value.
     
    -const char * c_str () const
     Returns a pointer to the internal buffer of the value as a const char*.
     
    -const uint8_t * begin () const
     Iterator begin.
     
    -const uint8_t * end () const
     Iterator end.
     
    bool setValue (const uint8_t *value, uint16_t len)
     Set the value from a buffer. More...
    +const uint8_t * data () const
     Returns a pointer to the internal buffer of the value.
     
    +const char * c_str () const
     Returns a pointer to the internal buffer of the value as a const char*.
     
    +const uint8_t * begin () const
     Iterator begin.
     
    +const uint8_t * end () const
     Iterator end.
     
    bool setValue (const uint8_t *value, uint16_t len)
     Set the value from a buffer.
     
    bool setValue (const char *s)
     Set value to the value of const char*. More...
     
    const uint8_t * getValue (time_t *timestamp)
     Get a pointer to the value buffer with timestamp. More...
     
    NimBLEAttValueappend (const uint8_t *value, uint16_t len)
     Append data to the value. More...
    bool setValue (const char *s, uint16_t len=0)
     Set value to the value of const char*.
     
    NimBLEAttValueappend (const uint8_t *value, uint16_t len)
     Append data to the value.
     
    template<typename T >
    template<typename T >
    bool setValue (const T &v)
     Template to set value to the value of <type>val.
     
    template<typename T >
    bool setValue (const T &s)
     Template to set value to the value of <type>val. More...
     Template to set value to the value of <type>val.
     
    template<typename T >
    bool setValue (const T &s)
     Template to set value to the value of <type>val. More...
     
    template<typename T >
    getValue (time_t *timestamp=nullptr, bool skipSizeCheck=false)
     Template to return the value as a <type>. More...
     
    -uint8_t operator[] (int pos) const
    template<typename T >
    bool setValue (const T &v)
     Template to set value to the value of <type>val.
     
    template<typename T >
    getValue (time_t *timestamp=nullptr, bool skipSizeCheck=false) const
     Template to return the value as a <type>.
     
    +uint8_t operator[] (int pos) const
     Subscript operator.
     
    operator std::vector< uint8_t > () const
    operator std::vector< uint8_t > () const
     Operator; Get the value as a std::vector<uint8_t>.
     
    operator std::string () const
    operator std::string () const
     Operator; Get the value as a std::string.
     
    operator const uint8_t * () const
    operator const uint8_t * () const
     Operator; Get the value as a const uint8_t*.
     
    -NimBLEAttValueoperator+= (const NimBLEAttValue &source)
     Operator; Append another NimBLEAttValue.
     
    -NimBLEAttValueoperator= (const std::string &source)
     Operator; Set the value from a std::string source.
     
    -NimBLEAttValueoperator= (NimBLEAttValue &&source)
    +NimBLEAttValueoperator+= (const NimBLEAttValue &source)
     Operator; Append another NimBLEAttValue.
     
    +NimBLEAttValueoperator= (const std::string &source)
     Operator; Set the value from a std::string source.
     
    +NimBLEAttValueoperator= (NimBLEAttValue &&source)
     Move assignment operator.
     
    -NimBLEAttValueoperator= (const NimBLEAttValue &source)
    +NimBLEAttValueoperator= (const NimBLEAttValue &source)
     Copy assignment operator.
     
    -bool operator== (const NimBLEAttValue &source)
     Equality operator.
     
    -bool operator!= (const NimBLEAttValue &source)
     Inequality operator.
     
    +bool operator== (const NimBLEAttValue &source) const
     Equality operator.
     
    +bool operator!= (const NimBLEAttValue &source) const
     Inequality operator.
     

    Detailed Description

    A specialized container class to hold BLE attribute values.

    @@ -228,14 +237,11 @@ bool 
    Constructor & Destructor Documentation - -

    ◆ NimBLEAttValue() [1/6]

    + +

    ◆ NimBLEAttValue() [1/6]

    - - - - - -
    @@ -255,11 +261,6 @@ many different container classes.

    NimBLEAttValue::NimBLEAttValue
    -
    -inline

    Default constructor.

    @@ -273,14 +274,11 @@ many different container classes.

    - -

    ◆ NimBLEAttValue() [2/6]

    + +

    ◆ NimBLEAttValue() [2/6]

    - - - - - -
    @@ -306,11 +304,6 @@ many different container classes.

    NimBLEAttValue::NimBLEAttValue
    -
    -inline

    Construct with an initial value from a buffer.

    @@ -325,53 +318,8 @@ many different container classes.

    - -

    ◆ NimBLEAttValue() [3/6]

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    NimBLEAttValue::NimBLEAttValue (std::initializer_list< uint8_t > list,
    uint16_t max_len = BLE_ATT_ATTR_MAX_LEN 
    )
    -
    -inline
    -
    - -

    Construct with an initializer list.

    -
    Parameters
    - - - -
    listAn initializer list containing the initial value to set.
    [in]max_lenThe max size in bytes that the value can be.
    -
    -
    - -
    -
    - -

    ◆ NimBLEAttValue() [4/6]

    + +

    ◆ NimBLEAttValue() [3/6]

    @@ -415,8 +363,53 @@ many different container classes.

    - -

    ◆ NimBLEAttValue() [5/6]

    + +

    ◆ NimBLEAttValue() [4/6]

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    NimBLEAttValue::NimBLEAttValue (std::initializer_list< uint8_t > list,
    uint16_t max_len = BLE_ATT_ATTR_MAX_LEN 
    )
    +
    +inline
    +
    + +

    Construct with an initializer list.

    +
    Parameters
    + + + +
    listAn initializer list containing the initial value to set.
    [in]max_lenThe max size in bytes that the value can be.
    +
    +
    + +
    +
    + +

    ◆ NimBLEAttValue() [5/6]

    @@ -460,8 +453,8 @@ many different container classes.

    - -

    ◆ NimBLEAttValue() [6/6]

    + +

    ◆ NimBLEAttValue() [6/6]

    @@ -506,14 +499,11 @@ many different container classes.

    Member Function Documentation

    - -

    ◆ append()

    + +

    ◆ append()

    - - - - - -
    @@ -533,11 +523,6 @@ many different container classes.

    NimBLEAttValue & NimBLEAttValue::append
    -
    -inline

    Append data to the value.

    @@ -552,43 +537,8 @@ many different container classes.

    - -

    ◆ getValue() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    const uint8_t * NimBLEAttValue::getValue (time_t * timestamp)
    -
    -inline
    -
    - -

    Get a pointer to the value buffer with timestamp.

    -
    Parameters
    - - -
    [in]timestampA ponter to a time_t variable to store the timestamp.
    -
    -
    -
    Returns
    A pointer to the internal value buffer.
    - -
    -
    - -

    ◆ getValue() [2/2]

    + +

    ◆ getValue()

    @@ -613,7 +563,7 @@ template<typename T >
    ) const
    bool NimBLEAttValue::setValue ( const char * s)s,
    uint16_t len = 0 
    )
    - + +
    [in]sA ponter to a const char value to set.
    [in]sA pointer to a const char value to set.
    [in]lenThe length of the value in bytes, defaults to strlen(s).
    - -

    ◆ setValue() [2/4]

    + +

    ◆ setValue() [2/5]

    @@ -711,12 +672,12 @@ template<typename T >
    -

    Only used for types without a c_str() method.

    +

    Only used if the <type> has a c_str() method.

    - -

    ◆ setValue() [3/4]

    + +

    ◆ setValue() [3/5]

    @@ -730,7 +691,7 @@ template<typename T >
    bool NimBLEAttValue::setValue ( const T & s)v)
    @@ -744,22 +705,56 @@ template<typename T >

    Template to set value to the value of <type>val.

    Parameters
    - +
    [in]sThe <type>value to set.
    [in]vThe <type>value to set.
    -

    Only used if the <type> has a c_str() method.

    +

    Only used for types without a c_str() and length() or data() and size() method. <type> size must be evaluatable by sizeof().

    - -

    ◆ setValue() [4/4]

    + +

    ◆ setValue() [4/5]

    +
    +template<typename T >
    + + +
    + + + + + + + + +
    bool NimBLEAttValue::setValue (const T & v)
    +
    +inline
    +
    + +

    Template to set value to the value of <type>val.

    +
    Parameters
    + + +
    [in]vThe <type>value to set.
    +
    +
    +

    Only used if the <type> has a data() and size() method.

    + +
    +
    + +

    ◆ setValue() [5/5]

    + +
    +
    @@ -779,17 +774,12 @@ template<typename T >
    bool NimBLEAttValue::setValue
    -
    -inline

    Set the value from a buffer.

    Parameters
    - +
    [in]valueA ponter to a buffer containing the value.
    [in]valueA pointer to a buffer containing the value.
    [in]lenThe length of the value in bytes.
    @@ -804,7 +794,7 @@ template<typename T >
    diff --git a/class_nim_b_l_e_att_value.js b/class_nim_b_l_e_att_value.js index 0bbe023..67d123b 100644 --- a/class_nim_b_l_e_att_value.js +++ b/class_nim_b_l_e_att_value.js @@ -2,36 +2,36 @@ var class_nim_b_l_e_att_value = [ [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294", null ], [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c", null ], - [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df", null ], [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#a4322572d778438318f5750f6df5fdb35", null ], + [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df", null ], [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#a584cac329cd5d3c0a14aa855e6e6143e", null ], [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#a03347eab1f3df449762902a4256d2b1c", null ], [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#a7473ad95c2240e0d1ce5c2d57f8914c2", null ], [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html#a778d1da5334049292fdfba221bcd5772", null ], [ "~NimBLEAttValue", "class_nim_b_l_e_att_value.html#a08f3b04d05cf0c2b76a24cc37cd1f8ab", null ], [ "append", "class_nim_b_l_e_att_value.html#aa217dfc649daed50eb75c7168442f86e", null ], - [ "begin", "class_nim_b_l_e_att_value.html#a6167f1cbc50a81a4ca0708e273bbb63e", null ], - [ "c_str", "class_nim_b_l_e_att_value.html#aa2c18949ffc2e7d2d2f288c1b2b2f0ed", null ], + [ "begin", "class_nim_b_l_e_att_value.html#aec41d0fe983f8c4ded137d7d5017bcb7", null ], + [ "c_str", "class_nim_b_l_e_att_value.html#a4d18b6e6839afc943f11200e76414c17", null ], [ "capacity", "class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2", null ], - [ "data", "class_nim_b_l_e_att_value.html#a9e595630f7959b4002f6fb64c69ae123", null ], - [ "end", "class_nim_b_l_e_att_value.html#a4f797f89e9c2d55dc7bee7ec8993952e", null ], - [ "getValue", "class_nim_b_l_e_att_value.html#a60fb3dc7057d4ec800c3ef6fd2480a69", null ], - [ "getValue", "class_nim_b_l_e_att_value.html#a1aca76279ea3f0d8cb06ff5540a326e3", null ], + [ "data", "class_nim_b_l_e_att_value.html#a86acbb5ab3a35b3d5692c2e05fdccadd", null ], + [ "end", "class_nim_b_l_e_att_value.html#a91cbe0ba44781943390a80514383ee58", null ], + [ "getValue", "class_nim_b_l_e_att_value.html#ab16b9901e6ff9374c7d2e1afa5aa4671", null ], [ "length", "class_nim_b_l_e_att_value.html#a35df29c514613b1d00841abd6fffa320", null ], [ "max_size", "class_nim_b_l_e_att_value.html#ac7abc6cd08adb0b654e051d62af725d5", null ], [ "operator const uint8_t *", "class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b", null ], [ "operator std::string", "class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371", null ], [ "operator std::vector< uint8_t >", "class_nim_b_l_e_att_value.html#a3af3b6efb528b1063df2de409c64a0d6", null ], - [ "operator!=", "class_nim_b_l_e_att_value.html#a9dc3bc75c3a0cedf76bed59ef2d0d289", null ], - [ "operator+=", "class_nim_b_l_e_att_value.html#a0e6691f9660a2b78e038e87e99914696", null ], + [ "operator!=", "class_nim_b_l_e_att_value.html#afda6ab2bce142146bad453249bd0dc43", null ], + [ "operator+=", "class_nim_b_l_e_att_value.html#a643f989881afd01a25f9d102421c36ec", null ], [ "operator=", "class_nim_b_l_e_att_value.html#aa53ee00be956c25596cf7cce71b502ba", null ], - [ "operator=", "class_nim_b_l_e_att_value.html#aa0545edd766dc4ca6e3ebfac5efa384e", null ], + [ "operator=", "class_nim_b_l_e_att_value.html#add319bc80a9a7569f42c8568879c8be9", null ], [ "operator=", "class_nim_b_l_e_att_value.html#a47d30a61ba65f5d9a21fa593cf15d4b9", null ], - [ "operator==", "class_nim_b_l_e_att_value.html#a9634dd47ea705ec8d10f29482e572bbf", null ], + [ "operator==", "class_nim_b_l_e_att_value.html#ad01c8ae4ce617b5ed31733ac245b2e91", null ], [ "operator[]", "class_nim_b_l_e_att_value.html#a8ca8d07c06a79e30bf6279e6817e4881", null ], - [ "setValue", "class_nim_b_l_e_att_value.html#a9c0f67d150d198c5bcad6eafafee21b6", null ], - [ "setValue", "class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8", null ], + [ "setValue", "class_nim_b_l_e_att_value.html#aade512f55c6f962941aee7078677356b", null ], [ "setValue", "class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8", null ], + [ "setValue", "class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79", null ], + [ "setValue", "class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79", null ], [ "setValue", "class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa", null ], [ "size", "class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_security-members.html b/class_nim_b_l_e_attribute-members.html similarity index 51% rename from class_nim_b_l_e_security-members.html rename to class_nim_b_l_e_attribute-members.html index c86c627..ff7a459 100644 --- a/class_nim_b_l_e_security-members.html +++ b/class_nim_b_l_e_attribute-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,8 +62,8 @@ $(function() {
    @@ -76,31 +76,35 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_security.html',''); in
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLESecurity Member List
    +
    NimBLEAttribute Member List
    -

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

    +

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

    - - - - - - + + + +
    setAuthenticationMode(esp_ble_auth_req_t auth_req)NimBLESecurity
    setCapability(esp_ble_io_cap_t iocap)NimBLESecurity
    setInitEncryptionKey(uint8_t init_key)NimBLESecurity
    setKeySize(uint8_t key_size=16)NimBLESecurity
    setRespEncryptionKey(uint8_t resp_key)NimBLESecurity
    setStaticPIN(uint32_t pin)NimBLESecurity
    getHandle() constNimBLEAttributeinline
    getUUID() constNimBLEAttributeinline
    NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
    ~NimBLEAttribute()=defaultNimBLEAttributeprotected
    diff --git a/class_nim_b_l_e_attribute.html b/class_nim_b_l_e_attribute.html new file mode 100644 index 0000000..5e38ddc --- /dev/null +++ b/class_nim_b_l_e_attribute.html @@ -0,0 +1,214 @@ + + + + + + + +esp-nimble-cpp: NimBLEAttribute Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    esp-nimble-cpp 2.0.0 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    NimBLEAttribute Class Reference
    +
    +
    + +

    A base class for BLE attributes. + More...

    + +

    #include <NimBLEAttribute.h>

    + +

    Inherited by NimBLELocalAttribute, NimBLERemoteService, and NimBLERemoteValueAttribute.

    + + + + + + + + +

    +Public Member Functions

    const NimBLEUUIDgetUUID () const
     Get the UUID of the attribute.
     
    +uint16_t getHandle () const
     Get the handle of the attribute.
     
    + + + + + + + +

    +Protected Member Functions

     NimBLEAttribute (const NimBLEUUID &uuid, uint16_t handle)
     Construct a new NimBLEAttribute object.
     
    ~NimBLEAttribute ()=default
     Destroy the NimBLEAttribute object.
     
    +

    Detailed Description

    +

    A base class for BLE attributes.

    +

    Constructor & Destructor Documentation

    + +

    ◆ NimBLEAttribute()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    NimBLEAttribute::NimBLEAttribute (const NimBLEUUIDuuid,
    uint16_t handle 
    )
    +
    +inlineprotected
    +
    + +

    Construct a new NimBLEAttribute object.

    +
    Parameters
    + + + +
    [in]handleThe handle of the attribute.
    [in]uuidThe UUID of the attribute.
    +
    +
    + +
    +
    +

    Member Function Documentation

    + +

    ◆ getUUID()

    + +
    +
    + + + + + +
    + + + + + + + +
    const NimBLEUUID & NimBLEAttribute::getUUID () const
    +
    +inline
    +
    + +

    Get the UUID of the attribute.

    +
    Returns
    The UUID.
    + +
    +
    +
    +
    + + + + diff --git a/class_nim_b_l_e_attribute.js b/class_nim_b_l_e_attribute.js new file mode 100644 index 0000000..1b8c8d7 --- /dev/null +++ b/class_nim_b_l_e_attribute.js @@ -0,0 +1,7 @@ +var class_nim_b_l_e_attribute = +[ + [ "NimBLEAttribute", "class_nim_b_l_e_attribute.html#a51ce8e9cd9609f42b9b9248a0b6c642c", null ], + [ "~NimBLEAttribute", "class_nim_b_l_e_attribute.html#a8a060f480742cfb09ed47c1f5421d00f", null ], + [ "getHandle", "class_nim_b_l_e_attribute.html#a7907cb5b0a2d0f8cd9eb016a4ed876d1", null ], + [ "getUUID", "class_nim_b_l_e_attribute.html#afd4500e543c9480c52ca994ed5473e49", null ] +]; \ No newline at end of file diff --git a/class_nim_b_l_e_beacon-members.html b/class_nim_b_l_e_beacon-members.html index 73ef5d5..be6d822 100644 --- a/class_nim_b_l_e_beacon-members.html +++ b/class_nim_b_l_e_beacon-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,38 +76,44 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_beacon.html',''); init
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEBeacon Member List
    +
    NimBLEBeacon Member List

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

    - - + + - + - - - + + + - + - +
    getData()NimBLEBeacon
    getMajor()NimBLEBeacon
    getData()NimBLEBeacon
    getMajor()NimBLEBeacon
    getManufacturerId()NimBLEBeacon
    getMinor()NimBLEBeacon
    getMinor()NimBLEBeacon
    getProximityUUID()NimBLEBeacon
    getSignalPower()NimBLEBeacon
    NimBLEBeacon()NimBLEBeacon
    setData(const std::string &data)NimBLEBeacon
    getSignalPower()NimBLEBeacon
    setData(const uint8_t *data, uint8_t length)NimBLEBeacon
    setData(const BeaconData &data)NimBLEBeacon
    setMajor(uint16_t major)NimBLEBeacon
    setManufacturerId(uint16_t manufacturerId)NimBLEBeacon
    setManufacturerId(uint16_t manufacturerId)NimBLEBeacon
    setMinor(uint16_t minor)NimBLEBeacon
    setProximityUUID(const NimBLEUUID &uuid)NimBLEBeacon
    setProximityUUID(const NimBLEUUID &uuid)NimBLEBeacon
    setSignalPower(int8_t signalPower)NimBLEBeacon
    diff --git a/class_nim_b_l_e_beacon.html b/class_nim_b_l_e_beacon.html index 28e7398..f62b95d 100644 --- a/class_nim_b_l_e_beacon.html +++ b/class_nim_b_l_e_beacon.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEBeacon Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,64 +76,71 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_beacon.html',''); init
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEBeacon Class Reference
    +
    NimBLEBeacon Class Reference

    Representation of a beacon. See: More...

    + +

    #include <NimBLEBeacon.h>

    - - - - - - - - - + + + + + - - + + - - + + - - + + - - + + - - - - - + + + + + + + + - - + + - - + + - - + + - - + +

    +

    Public Member Functions

    NimBLEBeacon ()
     Construct a default beacon object.
     
    std::string getData ()
     Retrieve the data that is being advertised. More...
     
    uint16_t getMajor ()
     Get the major value being advertised. More...
    const BeaconData & getData ()
     Retrieve the data that is being advertised.
     
    uint16_t getMajor ()
     Get the major value being advertised.
     
    uint16_t getMinor ()
     Get the minor value being advertised. More...
    uint16_t getMinor ()
     Get the minor value being advertised.
     
    uint16_t getManufacturerId ()
     Get the manufacturer ID being advertised. More...
    uint16_t getManufacturerId ()
     Get the manufacturer ID being advertised.
     
    NimBLEUUID getProximityUUID ()
     Get the proximity UUID being advertised. More...
    NimBLEUUID getProximityUUID ()
     Get the proximity UUID being advertised.
     
    int8_t getSignalPower ()
     Get the signal power being advertised. More...
    int8_t getSignalPower ()
     Get the signal power being advertised.
     
    void setData (const std::string &data)
     Set the raw data for the beacon record. More...
     
    void setMajor (uint16_t major)
     Set the major value. More...
    void setData (const uint8_t *data, uint8_t length)
     Set the beacon data.
     
    void setData (const BeaconData &data)
     Set the beacon data.
     
    void setMajor (uint16_t major)
     Set the major value.
     
    void setMinor (uint16_t minor)
     Set the minor value. More...
    void setMinor (uint16_t minor)
     Set the minor value.
     
    void setManufacturerId (uint16_t manufacturerId)
     Set the manufacturer ID. More...
    void setManufacturerId (uint16_t manufacturerId)
     Set the manufacturer ID.
     
    void setProximityUUID (const NimBLEUUID &uuid)
     Set the proximity UUID. More...
    void setProximityUUID (const NimBLEUUID &uuid)
     Set the proximity UUID.
     
    void setSignalPower (int8_t signalPower)
     Set the signal power. More...
    void setSignalPower (int8_t signalPower)
     Set the signal power.
     

    Detailed Description

    @@ -142,14 +149,14 @@ Public Member Functions
    - + @@ -162,8 +169,8 @@ Public Member Functions - -

    ◆ getMajor()

    + +

    ◆ getMajor()

    @@ -182,8 +189,8 @@ Public Member Functions
    - -

    ◆ getManufacturerId()

    + +

    ◆ getManufacturerId()

    @@ -202,8 +209,8 @@ Public Member Functions
    - -

    ◆ getMinor()

    + +

    ◆ getMinor()

    @@ -222,8 +229,8 @@ Public Member Functions
    - -

    ◆ getProximityUUID()

    + +

    ◆ getProximityUUID()

    @@ -242,8 +249,8 @@ Public Member Functions
    - -

    ◆ getSignalPower()

    + +

    ◆ getSignalPower()

    @@ -262,8 +269,8 @@ Public Member Functions
    - -

    ◆ setData()

    + +

    ◆ setData() [1/2]

    @@ -271,25 +278,62 @@ Public Member Functions
    - +
    std::string NimBLEBeacon::getData const NimBLEBeacon::BeaconData & NimBLEBeacon::getData ( )
    void NimBLEBeacon::setData (const std::string & const BeaconData &  data)
    -

    Set the raw data for the beacon record.

    +

    Set the beacon data.

    Parameters
    - +
    [in]dataThe raw beacon data.
    [in]dataThe data that the beacon should advertise.
    - -

    ◆ setMajor()

    + +

    ◆ setData() [2/2]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void NimBLEBeacon::setData (const uint8_t * data,
    uint8_t length 
    )
    +
    + +

    Set the beacon data.

    +
    Parameters
    + + + +
    [in]dataA pointer to the raw data that the beacon should advertise.
    [in]lengthThe length of the data.
    +
    +
    + +
    +
    + +

    ◆ setMajor()

    @@ -314,8 +358,8 @@ Public Member Functions
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,57 +76,65 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_characteristic.html','
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLECharacteristic Member List
    +
    NimBLECharacteristic Member List

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

    - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + +
    addDescriptor(NimBLEDescriptor *pDescriptor)NimBLECharacteristic
    createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLECharacteristic
    createDescriptor(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLECharacteristic
    getCallbacks()NimBLECharacteristic
    getDataLength()NimBLECharacteristic
    getDescriptorByHandle(uint16_t handle)NimBLECharacteristic
    getDescriptorByUUID(const char *uuid)NimBLECharacteristic
    getDescriptorByUUID(const NimBLEUUID &uuid)NimBLECharacteristic
    getHandle()NimBLECharacteristic
    getProperties()NimBLECharacteristic
    getService()NimBLECharacteristic
    getSubscribedCount()NimBLECharacteristic
    getUUID()NimBLECharacteristic
    getValue(time_t *timestamp=nullptr)NimBLECharacteristic
    getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)NimBLECharacteristicinline
    indicate()NimBLECharacteristic
    indicate(const uint8_t *value, size_t length)NimBLECharacteristic
    indicate(const std::vector< uint8_t > &value)NimBLECharacteristic
    indicate(const T &value)NimBLECharacteristicinline
    NimBLECharacteristic(const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)NimBLECharacteristic
    NimBLECharacteristic(const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)NimBLECharacteristic
    notify(bool is_notification=true)NimBLECharacteristic
    notify(const uint8_t *value, size_t length, bool is_notification=true)NimBLECharacteristic
    notify(const std::vector< uint8_t > &value, bool is_notification=true)NimBLECharacteristic
    notify(const T &value, bool is_notification=true)NimBLECharacteristicinline
    removeDescriptor(NimBLEDescriptor *pDescriptor, bool deleteDsc=false)NimBLECharacteristic
    create2904()NimBLECharacteristic
    createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)NimBLECharacteristic
    createDescriptor(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)NimBLECharacteristic
    getCallbacks() constNimBLECharacteristic
    getDescriptorByHandle(uint16_t handle) constNimBLECharacteristic
    getDescriptorByUUID(const char *uuid) constNimBLECharacteristic
    getDescriptorByUUID(const NimBLEUUID &uuid) constNimBLECharacteristic
    getHandle() constNimBLEAttributeinline
    getProperties() constNimBLECharacteristic
    getRemoved() constNimBLELocalAttributeinline
    getService() constNimBLECharacteristic
    getUUID() constNimBLEAttributeinline
    indicate(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristic
    indicate(const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristic
    indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristicinline
    indicate(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristicinline
    indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristicinline
    NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
    NimBLECharacteristic(const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)NimBLECharacteristic
    NimBLECharacteristic(const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)NimBLECharacteristic
    NimBLELocalAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLELocalAttributeinlineprotected
    notify(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristic
    notify(const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristic
    notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristicinline
    notify(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristicinline
    notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) constNimBLECharacteristicinline
    removeDescriptor(NimBLEDescriptor *pDescriptor, bool deleteDsc=false)NimBLECharacteristic
    setCallbacks(NimBLECharacteristicCallbacks *pCallbacks)NimBLECharacteristic
    setValue(const uint8_t *data, size_t size)NimBLECharacteristic
    setValue(const std::vector< uint8_t > &vec)NimBLECharacteristic
    setValue(const T &s)NimBLECharacteristicinline
    toString()NimBLECharacteristic
    ~NimBLECharacteristic()NimBLECharacteristic
    setRemoved(uint8_t removed)NimBLELocalAttributeinlineprotected
    toString() constNimBLECharacteristic
    ~NimBLEAttribute()=defaultNimBLEAttributeprotected
    ~NimBLECharacteristic()NimBLECharacteristic
    ~NimBLELocalAttribute()=defaultNimBLELocalAttributeprotected
    diff --git a/class_nim_b_l_e_characteristic.html b/class_nim_b_l_e_characteristic.html index 82cad43..d3a66ab 100644 --- a/class_nim_b_l_e_characteristic.html +++ b/class_nim_b_l_e_characteristic.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLECharacteristic Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,137 +76,129 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_characteristic.html','
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLECharacteristic Class Reference
    +
    NimBLECharacteristic Class Reference

    The model of a BLE Characteristic. More...

    + +

    #include <NimBLECharacteristic.h>

    + +

    Inherits NimBLELocalValueAttribute.

    - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

     NimBLECharacteristic (const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)
     Construct a characteristic. More...
     
     NimBLECharacteristic (const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)
     Construct a characteristic. More...
     
    ~NimBLECharacteristic ()
     NimBLECharacteristic (const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)
     Construct a characteristic.
     
     NimBLECharacteristic (const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)
     Construct a characteristic.
     
    ~NimBLECharacteristic ()
     Destructor.
     
    uint16_t getHandle ()
     Get the handle of the characteristic. More...
     
    NimBLEUUID getUUID ()
     Get the UUID of the characteristic. More...
     
    std::string toString ()
     Return a string representation of the characteristic. More...
     
    -void indicate ()
     Send an indication.
     
    void indicate (const uint8_t *value, size_t length)
     Send an indication. More...
     
    void indicate (const std::vector< uint8_t > &value)
     Send an indication. More...
     
    void notify (bool is_notification=true)
     Send a notification or indication. More...
     
    void notify (const uint8_t *value, size_t length, bool is_notification=true)
     Send a notification or indication. More...
     
    void notify (const std::vector< uint8_t > &value, bool is_notification=true)
     Send a notification or indication. More...
     
    size_t getSubscribedCount ()
     Get the number of clients subscribed to the characteristic. More...
     
    void addDescriptor (NimBLEDescriptor *pDescriptor)
     Add a descriptor to the characteristic. More...
    std::string toString () const
     Return a string representation of the characteristic.
     
    void addDescriptor (NimBLEDescriptor *pDescriptor)
     Add a descriptor to the characteristic.
     
    NimBLEDescriptorgetDescriptorByUUID (const char *uuid)
     Return the BLE Descriptor for the given UUID. More...
     
    NimBLEDescriptorgetDescriptorByUUID (const NimBLEUUID &uuid)
     Return the BLE Descriptor for the given UUID. More...
     
    NimBLEDescriptorgetDescriptorByHandle (uint16_t handle)
     Return the BLE Descriptor for the given handle. More...
     
    void removeDescriptor (NimBLEDescriptor *pDescriptor, bool deleteDsc=false)
     Remove a descriptor from the characteristic. More...
    void removeDescriptor (NimBLEDescriptor *pDescriptor, bool deleteDsc=false)
     Remove a descriptor from the characteristic.
     
    -NimBLEServicegetService ()
     Get the service associated with this characteristic.
     
    uint16_t getProperties ()
     Get the properties of the characteristic. More...
     
    NimBLEAttValue getValue (time_t *timestamp=nullptr)
     Retrieve the current value of the characteristic. More...
     
    size_t getDataLength ()
     Retrieve the the current data length of the characteristic. More...
     
    void setValue (const uint8_t *data, size_t size)
     Set the value of the characteristic from a data buffer . More...
     
    void setValue (const std::vector< uint8_t > &vec)
     Set the value of the characteristic from a std::vector<uint8_t>.
    -. More...
     
    void setCallbacks (NimBLECharacteristicCallbacks *pCallbacks)
     Set the callback handlers for this characteristic. More...
    uint16_t getProperties () const
     Get the properties of the characteristic.
     
    void setCallbacks (NimBLECharacteristicCallbacks *pCallbacks)
     Set the callback handlers for this characteristic.
     
    NimBLEDescriptorcreateDescriptor (const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Create a new BLE Descriptor associated with this characteristic. More...
     
    NimBLEDescriptorcreateDescriptor (const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Create a new BLE Descriptor associated with this characteristic. More...
     
    -NimBLECharacteristicCallbacksgetCallbacks ()
     Get the callback handlers for this characteristic.
     
    template<typename T >
    void setValue (const T &s)
     Template to set the characteristic value to <type>val. More...
     
    template<typename T >
    getValue (time_t *timestamp=nullptr, bool skipSizeCheck=false)
     Template to convert the characteristic data to <type>. More...
     
    template<typename T >
    void notify (const T &value, bool is_notification=true)
     Template to send a notification from a class type that has a c_str() and length() method. More...
     
    template<typename T >
    void indicate (const T &value)
     Template to send an indication from a class type that has a c_str() and length() method. More...
     
    bool indicate (uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Send an indication.
     
    bool indicate (const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Send an indication.
     
    bool notify (uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Send a notification.
     
    bool notify (const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Send a notification.
     
    NimBLEDescriptorcreateDescriptor (const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)
     Create a new BLE Descriptor associated with this characteristic.
     
    NimBLEDescriptorcreateDescriptor (const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)
     Create a new BLE Descriptor associated with this characteristic.
     
    NimBLE2904create2904 ()
     Create a Characteristic Presentation Format Descriptor for this characteristic.
     
    NimBLEDescriptorgetDescriptorByUUID (const char *uuid) const
     Return the BLE Descriptor for the given UUID.
     
    NimBLEDescriptorgetDescriptorByUUID (const NimBLEUUID &uuid) const
     Return the BLE Descriptor for the given UUID.
     
    NimBLEDescriptorgetDescriptorByHandle (uint16_t handle) const
     Return the BLE Descriptor for the given handle.
     
    +NimBLEServicegetService () const
     Get the service that owns this characteristic.
     
    +NimBLECharacteristicCallbacksgetCallbacks () const
     Get the callback handlers for this characteristic.
     
    template<typename T >
    bool notify (const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Template to send a notification with a value from a struct or array.
     
    template<typename T >
    bool notify (const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Template to send a notification with a value from a class that has a c_str() and length() method.
     
    template<typename T >
    bool notify (const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Template to send a notification with a value from a class that has a data() and size() method.
     
    template<typename T >
    bool indicate (const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Template to send an indication with a value from a struct or array.
     
    template<typename T >
    bool indicate (const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Template to send a indication with a value from a class that has a c_str() and length() method.
     
    template<typename T >
    bool indicate (const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const
     Template to send a indication with a value from a class that has a data() and size() method.
     

    Detailed Description

    The model of a BLE Characteristic.

    -

    A BLE Characteristic is an identified value container that manages a value. It is exposed by a BLE server and can be read and written to by a BLE client.

    +

    A BLE Characteristic is an identified value container that manages a value. It is exposed by a BLE service and can be read and written to by a BLE client.

    Constructor & Destructor Documentation

    - -

    ◆ NimBLECharacteristic() [1/2]

    + +

    ◆ NimBLECharacteristic() [1/2]

    @@ -227,7 +219,7 @@ void 
    uint16_t max_len = BLE_ATT_ATTR_MAX_LEN, maxLen = BLE_ATT_ATTR_MAX_LEN,
    [in]uuid- UUID (const char*) for the characteristic.
    [in]properties- Properties for the characteristic.
    [in]max_len- The maximum length in bytes that the characteristic value can hold. (Default: 512 bytes for esp32, 20 for all others).
    [in]maxLen- The maximum length in bytes that the characteristic value can hold. (Default: 512 bytes for esp32, 20 for all others).
    [in]pService- pointer to the service instance this characteristic belongs to.
    @@ -256,8 +248,8 @@ void 
    -

    ◆ NimBLECharacteristic() [2/2]

    + +

    ◆ NimBLECharacteristic() [2/2]

    @@ -278,7 +270,7 @@ void 
    uint16_t max_len = BLE_ATT_ATTR_MAX_LEN, maxLen = BLE_ATT_ATTR_MAX_LEN,
    [in]uuid- UUID for the characteristic.
    [in]properties- Properties for the characteristic.
    [in]max_len- The maximum length in bytes that the characteristic value can hold. (Default: 512 bytes for esp32, 20 for all others).
    [in]maxLen- The maximum length in bytes that the characteristic value can hold. (Default: 512 bytes for esp32, 20 for all others).
    [in]pService- pointer to the service instance this characteristic belongs to.
    @@ -308,8 +300,8 @@ void Member Function Documentation - -

    ◆ addDescriptor()

    + +

    ◆ addDescriptor()

    @@ -334,8 +326,28 @@ void  -

    ◆ createDescriptor() [1/2]

    + +

    ◆ create2904()

    + +
    +
    + + + + + + + +
    NimBLE2904 * NimBLECharacteristic::create2904 ()
    +
    + +

    Create a Characteristic Presentation Format Descriptor for this characteristic.

    +
    Returns
    A pointer to a NimBLE2904 descriptor.
    + +
    +
    + +

    ◆ createDescriptor() [1/2]

    @@ -356,7 +368,7 @@ void  uint16_t  - max_len = BLE_ATT_ATTR_MAX_LEN  + maxLen = BLE_ATT_ATTR_MAX_LEN  @@ -371,7 +383,7 @@ void  [in]uuid- The UUID of the descriptor. [in]properties- The properties of the descriptor. - [in]max_len- The max length in bytes of the descriptor value. + [in]maxLen- The max length in bytes of the descriptor value. @@ -379,8 +391,8 @@ void  -

    ◆ createDescriptor() [2/2]

    + +

    ◆ createDescriptor() [2/2]

    @@ -401,7 +413,7 @@ void  uint16_t  - max_len = BLE_ATT_ATTR_MAX_LEN  + maxLen = BLE_ATT_ATTR_MAX_LEN  @@ -416,7 +428,7 @@ void  [in]uuid- The UUID of the descriptor. [in]properties- The properties of the descriptor. - [in]max_len- The max length in bytes of the descriptor value. + [in]maxLen- The max length in bytes of the descriptor value. @@ -424,28 +436,8 @@ void  -

    ◆ getDataLength()

    - -
    -
    - - - - - - - -
    size_t NimBLECharacteristic::getDataLength ()
    -
    - -

    Retrieve the the current data length of the characteristic.

    -
    Returns
    The length of the current characteristic data.
    - -
    -
    - -

    ◆ getDescriptorByHandle()

    + +

    ◆ getDescriptorByHandle()

    @@ -455,7 +447,7 @@ void uint16_t  handle) - + const
    @@ -471,8 +463,8 @@ void  -

    ◆ getDescriptorByUUID() [1/2]

    + +

    ◆ getDescriptorByUUID() [1/2]

    @@ -482,7 +474,7 @@ void const char *  uuid) - + const
    @@ -498,8 +490,8 @@ void  -

    ◆ getDescriptorByUUID() [2/2]

    + +

    ◆ getDescriptorByUUID() [2/2]

    @@ -509,7 +501,7 @@ void const NimBLEUUIDuuid) - + const
    @@ -525,28 +517,8 @@ void  -

    ◆ getHandle()

    - -
    -
    - - - - - - - -
    uint16_t NimBLECharacteristic::getHandle ()
    -
    - -

    Get the handle of the characteristic.

    -
    Returns
    The handle of the characteristic.
    - -
    -
    - -

    ◆ getProperties()

    + +

    ◆ getProperties()

    @@ -565,69 +537,8 @@ void  -

    ◆ getSubscribedCount()

    - -
    -
    - - - - - - - -
    size_t NimBLECharacteristic::getSubscribedCount ()
    -
    - -

    Get the number of clients subscribed to the characteristic.

    -
    Returns
    Number of clients subscribed to notifications / indications.
    - -
    -
    - -

    ◆ getUUID()

    - -
    -
    - - - - - - - -
    NimBLEUUID NimBLECharacteristic::getUUID ()
    -
    - -

    Get the UUID of the characteristic.

    -
    Returns
    The UUID of the characteristic.
    - -
    -
    - -

    ◆ getValue() [1/2]

    - -
    -
    - - - - - - - - -
    NimBLEAttValue NimBLECharacteristic::getValue (time_t * timestamp = nullptr)
    -
    - -

    Retrieve the current value of the characteristic.

    -
    Returns
    The NimBLEAttValue containing the current characteristic value.
    - -
    -
    - -

    ◆ getValue() [2/2]

    + +

    ◆ indicate() [1/5]

    @@ -638,92 +549,21 @@ template<typename T >
    - - - - - - - - - - - - - - - - -
    T NimBLECharacteristic::getValue (time_t * timestamp = nullptr,
    bool skipSizeCheck = false 
    )
    - - -inline - - -
    - -

    Template to convert the characteristic data to <type>.

    -
    Template Parameters
    - - -
    TThe type to convert the data to.
    -
    -
    -
    Parameters
    - - - -
    [in]timestamp(Optional) A pointer to a time_t struct to store the time the value was read.
    [in]skipSizeCheck(Optional) If true it will skip checking if the data size is less than sizeof(<type>).
    -
    -
    -
    Returns
    The data converted to <type> or NULL if skipSizeCheck is false and the data is less than sizeof(<type>).
    -

    Use: getValue<type>(&timestamp, skipSizeCheck);

    - -
    -
    - -

    ◆ indicate() [1/3]

    - -
    -
    - - - - - - - - -
    void NimBLECharacteristic::indicate (const std::vector< uint8_t > & value)
    -
    - -

    Send an indication.

    -
    Parameters
    - - -
    [in]valueA std::vector<uint8_t> containing the value to send as the notification value.
    -
    -
    - -
    -
    - -

    ◆ indicate() [2/3]

    - -
    -
    -
    -template<typename T >
    - - - @@ -733,125 +573,19 @@ template<typename T >
    - - - + - + + + + + + + + + + +
    void NimBLECharacteristic::indicate bool NimBLECharacteristic::indicate ( const T & value)s,
    uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE 
    ) const
    -

    Template to send an indication from a class type that has a c_str() and length() method.

    -
    Template Parameters
    - - -
    TThe a reference to a class containing the data to send.
    -
    -
    +

    Template to send a indication with a value from a class that has a c_str() and length() method.

    Parameters
    - -
    [in]valueThe <type>value to set.
    -
    -
    -

    Only used if the <type> has a c_str() method.

    - -
    -
    - -

    ◆ indicate() [3/3]

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    void NimBLECharacteristic::indicate (const uint8_t * value,
    size_t length 
    )
    -
    - -

    Send an indication.

    -
    Parameters
    - - - + +
    [in]valueA pointer to the data to send.
    [in]lengthThe length of the data to send.
    [in]sThe value to send.
    [in]connHandleOptional, a connection handle to send the notification to.
    - -

    ◆ notify() [1/4]

    - -
    -
    - - - - - - - - -
    void NimBLECharacteristic::notify (bool is_notification = true)
    -
    - -

    Send a notification or indication.

    -
    Parameters
    - - -
    [in]is_notificationif true sends a notification, false sends an indication.
    -
    -
    - -
    -
    - -

    ◆ notify() [2/4]

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    void NimBLECharacteristic::notify (const std::vector< uint8_t > & value,
    bool is_notification = true 
    )
    -
    - -

    Send a notification or indication.

    -
    Parameters
    - - - -
    [in]valueA std::vector<uint8_t> containing the value to send as the notification value.
    [in]is_notificationif true sends a notification, false sends an indication.
    -
    -
    - -
    -
    - -

    ◆ notify() [3/4]

    + +

    ◆ indicate() [2/5]

    @@ -862,21 +596,21 @@ template<typename T >
    - + - + - - + + - +
    void NimBLECharacteristic::notify bool NimBLECharacteristic::indicate ( const T & value, v,
    bool is_notification = true uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE 
    ) const
    @@ -886,32 +620,73 @@ template<typename T >
    -

    Template to send a notification from a class type that has a c_str() and length() method.

    -
    Template Parameters
    - - -
    TThe a reference to a class containing the data to send.
    -
    -
    +

    Template to send an indication with a value from a struct or array.

    Parameters
    - - + +
    [in]valueThe <type>value to set.
    [in]is_notificationif true sends a notification, false sends an indication.
    [in]vThe value to send.
    [in]connHandleOptional, a connection handle to send the notification to.
    -

    Only used if the <type> has a c_str() method.

    +

    <type> size must be evaluatable by sizeof().

    - -

    ◆ notify() [4/4]

    + +

    ◆ indicate() [3/5]

    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLECharacteristic::indicate (const T & v,
    uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE 
    ) const
    +
    +inline
    +
    + +

    Template to send a indication with a value from a class that has a data() and size() method.

    +
    Parameters
    + + + +
    [in]vThe value to send.
    [in]connHandleOptional, a connection handle to send the notification to.
    +
    +
    + +
    +
    + +

    ◆ indicate() [4/5]

    - + @@ -925,31 +700,273 @@ template<typename T > - - + + - +
    void NimBLECharacteristic::notify bool NimBLECharacteristic::indicate ( const uint8_t *  value,
    bool is_notification = true uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE 
    ) const
    -

    Send a notification or indication.

    +

    Send an indication.

    Parameters
    - + +
    [in]valueA pointer to the data to send.
    [in]lengthThe length of the data to send.
    [in]is_notificationif true sends a notification, false sends an indication.
    [in]connHandleConnection handle to send an individual indication, or BLE_HS_CONN_HANDLE_NONE to send the indication to all subscribed clients.
    +
    +
    +
    Returns
    True if the indication was sent successfully, false otherwise.
    + +
    +
    + +

    ◆ indicate() [5/5]

    + +
    +
    + + + + + + + + +
    bool NimBLECharacteristic::indicate (uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const
    +
    + +

    Send an indication.

    +
    Parameters
    + + +
    [in]connHandleConnection handle to send an individual indication, or BLE_HS_CONN_HANDLE_NONE to send the indication to all subscribed clients.
    +
    +
    +
    Returns
    True if the indication was sent successfully, false otherwise.
    + +
    +
    + +

    ◆ notify() [1/5]

    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLECharacteristic::notify (const T & s,
    uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE 
    ) const
    +
    +inline
    +
    + +

    Template to send a notification with a value from a class that has a c_str() and length() method.

    +
    Parameters
    + + +
    [in]sThe value to send.
    [in]connHandleOptional, a connection handle to send the notification to.
    - -

    ◆ removeDescriptor()

    + +

    ◆ notify() [2/5]

    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLECharacteristic::notify (const T & v,
    uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE 
    ) const
    +
    +inline
    +
    + +

    Template to send a notification with a value from a struct or array.

    +
    Parameters
    + + + +
    [in]vThe value to send.
    [in]connHandleOptional, a connection handle to send the notification to.
    +
    +
    +

    <type> size must be evaluatable by sizeof().

    + +
    +
    + +

    ◆ notify() [3/5]

    + +
    +
    +
    +template<typename T >
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLECharacteristic::notify (const T & v,
    uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE 
    ) const
    +
    +inline
    +
    + +

    Template to send a notification with a value from a class that has a data() and size() method.

    +
    Parameters
    + + + +
    [in]vThe value to send.
    [in]connHandleOptional, a connection handle to send the notification to.
    +
    +
    + +
    +
    + +

    ◆ notify() [4/5]

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool NimBLECharacteristic::notify (const uint8_t * value,
    size_t length,
    uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE 
    ) const
    +
    + +

    Send a notification.

    +
    Parameters
    + + + + +
    [in]valueA pointer to the data to send.
    [in]lengthThe length of the data to send.
    [in]connHandleConnection handle to send an individual notification, or BLE_HS_CONN_HANDLE_NONE to send the notification to all subscribed clients.
    +
    +
    +
    Returns
    True if the notification was sent successfully, false otherwise.
    + +
    +
    + +

    ◆ notify() [5/5]

    + +
    +
    + + + + + + + + +
    bool NimBLECharacteristic::notify (uint16_t connHandle = BLE_HS_CONN_HANDLE_NONE) const
    +
    + +

    Send a notification.

    +
    Parameters
    + + +
    [in]connHandleConnection handle to send an individual notification, or BLE_HS_CONN_HANDLE_NONE to send the notification to all subscribed clients.
    +
    +
    +
    Returns
    True if the notification was sent successfully, false otherwise.
    + +
    +
    + +

    ◆ removeDescriptor()

    @@ -985,8 +1002,8 @@ template<typename T >
    - -

    ◆ setCallbacks()

    + +

    ◆ setCallbacks()

    @@ -1012,108 +1029,8 @@ used to define any callbacks for the characteristic.
    - -

    ◆ setValue() [1/3]

    - -
    -
    - - - - - - - - -
    void NimBLECharacteristic::setValue (const std::vector< uint8_t > & vec)
    -
    - -

    Set the value of the characteristic from a std::vector<uint8_t>.
    -.

    -
    Parameters
    - - -
    [in]vecThe std::vector<uint8_t> reference to set the characteristic value from.
    -
    -
    - -
    -
    - -

    ◆ setValue() [2/3]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - -
    void NimBLECharacteristic::setValue (const T & s)
    -
    -inline
    -
    - -

    Template to set the characteristic value to <type>val.

    -
    Parameters
    - - -
    [in]sThe value to set.
    -
    -
    - -
    -
    - -

    ◆ setValue() [3/3]

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    void NimBLECharacteristic::setValue (const uint8_t * data,
    size_t length 
    )
    -
    - -

    Set the value of the characteristic from a data buffer .

    -
    Parameters
    - - - -
    [in]dataThe data buffer to set for the characteristic.
    [in]lengthThe number of bytes in the data buffer.
    -
    -
    - -
    -
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -1122,7 +1039,7 @@ template<typename T >
    std::string NimBLECharacteristic::toString ( ) - + const
    @@ -1138,7 +1055,7 @@ template<typename T >
    diff --git a/class_nim_b_l_e_characteristic.js b/class_nim_b_l_e_characteristic.js index 37a5ca4..63aa481 100644 --- a/class_nim_b_l_e_characteristic.js +++ b/class_nim_b_l_e_characteristic.js @@ -1,35 +1,29 @@ var class_nim_b_l_e_characteristic = [ - [ "NimBLECharacteristic", "class_nim_b_l_e_characteristic.html#aa32224e69115e9ba60ac614e8f37a871", null ], - [ "NimBLECharacteristic", "class_nim_b_l_e_characteristic.html#ae2053d941cf8574acbdceb8b549b8264", null ], + [ "NimBLECharacteristic", "class_nim_b_l_e_characteristic.html#ad136cb471195c1889804542afe0f628b", null ], + [ "NimBLECharacteristic", "class_nim_b_l_e_characteristic.html#af5bacf6c6f1cf033897b6a99ef98438f", null ], [ "~NimBLECharacteristic", "class_nim_b_l_e_characteristic.html#a7fe29c5ec571d0513c51b8cbac942f4a", null ], [ "addDescriptor", "class_nim_b_l_e_characteristic.html#aed4b2241c89ad2a8f49117e2b9433e5b", null ], - [ "createDescriptor", "class_nim_b_l_e_characteristic.html#a1fc55adb9d62d8b5fe1be2b172686353", null ], - [ "createDescriptor", "class_nim_b_l_e_characteristic.html#a67a1fb8bddfbd47007ccb8b6f5e5611a", null ], - [ "getCallbacks", "class_nim_b_l_e_characteristic.html#a1747ac4889c7adbb93a2d88a10327a47", null ], - [ "getDataLength", "class_nim_b_l_e_characteristic.html#a580ad0133fd82a673027c91cbb1c74fa", null ], - [ "getDescriptorByHandle", "class_nim_b_l_e_characteristic.html#a062f52918f13c49a37ce8e58b9e7382a", null ], - [ "getDescriptorByUUID", "class_nim_b_l_e_characteristic.html#abc5f4819e4d2c0956857ddd7a1064189", null ], - [ "getDescriptorByUUID", "class_nim_b_l_e_characteristic.html#ae310b081d2d7d2a52ab2ddc11d5dbd99", null ], - [ "getHandle", "class_nim_b_l_e_characteristic.html#acc3ea122771cd447103adfce22537379", null ], - [ "getProperties", "class_nim_b_l_e_characteristic.html#a79759a98d9bdb761cb12c1ea6f601afc", null ], - [ "getService", "class_nim_b_l_e_characteristic.html#a84aa251a612810ec8d07e77ab03cb483", null ], - [ "getSubscribedCount", "class_nim_b_l_e_characteristic.html#aced225d46153b6969f6ded30c0190e39", null ], - [ "getUUID", "class_nim_b_l_e_characteristic.html#a28b03617fe753133582ba4e58c60e52e", null ], - [ "getValue", "class_nim_b_l_e_characteristic.html#a78484a01350300176033a09180f7207f", null ], - [ "getValue", "class_nim_b_l_e_characteristic.html#a7d09c29b26362f6ddcaf51a9c9dc8be4", null ], - [ "indicate", "class_nim_b_l_e_characteristic.html#a2ce9f62ecc3d1644ef4d58efe7a3c434", null ], - [ "indicate", "class_nim_b_l_e_characteristic.html#a2e827aba484add48e52c8eebf80b4a78", null ], - [ "indicate", "class_nim_b_l_e_characteristic.html#af2940e8c314a1ecee1750d20a60c459d", null ], - [ "indicate", "class_nim_b_l_e_characteristic.html#a8c1875611a1beb192e6c24dff35d0655", null ], - [ "notify", "class_nim_b_l_e_characteristic.html#aa45461059e1992c816e32c371d17e813", null ], - [ "notify", "class_nim_b_l_e_characteristic.html#a15a9f056e5a3e85d5cb0bdc7adbdd970", null ], - [ "notify", "class_nim_b_l_e_characteristic.html#aed1432c11fadec203104b13aaaf7060d", null ], - [ "notify", "class_nim_b_l_e_characteristic.html#a9ce09408a307a6b62a91418ea7723ebf", null ], + [ "create2904", "class_nim_b_l_e_characteristic.html#acc3402da680a988f6fa38100d9c98275", null ], + [ "createDescriptor", "class_nim_b_l_e_characteristic.html#aa9817ffdcc2d57e65e4ec3d88836af3f", null ], + [ "createDescriptor", "class_nim_b_l_e_characteristic.html#ac7c63b770d181de28869fda0f4d902fa", null ], + [ "getCallbacks", "class_nim_b_l_e_characteristic.html#ac194f58f909f9e447949a41c2a7cdf00", null ], + [ "getDescriptorByHandle", "class_nim_b_l_e_characteristic.html#a283bd1661b5865dd247b1b59bcbf46d6", null ], + [ "getDescriptorByUUID", "class_nim_b_l_e_characteristic.html#a3dd5745ea2cd75e12d27c51fc90b4914", null ], + [ "getDescriptorByUUID", "class_nim_b_l_e_characteristic.html#a15d9945ee9549e60db77666a2ef5d0c8", null ], + [ "getProperties", "class_nim_b_l_e_characteristic.html#a0a7d8e25403d4045f0790a4baeb5248c", null ], + [ "getService", "class_nim_b_l_e_characteristic.html#a8afe29701cd595d8b3c34cc59400b86b", null ], + [ "indicate", "class_nim_b_l_e_characteristic.html#a3ae5959f98c503de42660e195470192b", null ], + [ "indicate", "class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31", null ], + [ "indicate", "class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31", null ], + [ "indicate", "class_nim_b_l_e_characteristic.html#aa5eb7de28ee6ec5661acac5c07abb11c", null ], + [ "indicate", "class_nim_b_l_e_characteristic.html#aabdc2745d2523239a9ab3f02e39aa3cf", null ], + [ "notify", "class_nim_b_l_e_characteristic.html#ab05a81528522e7f12acff65fa86f9a28", null ], + [ "notify", "class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954", null ], + [ "notify", "class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954", null ], + [ "notify", "class_nim_b_l_e_characteristic.html#a7676bd1b73979101c394471299d71c0b", null ], + [ "notify", "class_nim_b_l_e_characteristic.html#ac4482e038124724d8bb6d147bcdb5481", null ], [ "removeDescriptor", "class_nim_b_l_e_characteristic.html#a2c0ed8932ee257a8632e3d72e353489b", null ], [ "setCallbacks", "class_nim_b_l_e_characteristic.html#a29dc2505e1d3b4a7d6800d1547965d17", null ], - [ "setValue", "class_nim_b_l_e_characteristic.html#a9daeb13599265cb0f8ea94b7ac4ef053", null ], - [ "setValue", "class_nim_b_l_e_characteristic.html#aba05898f446e31222fbe509fa357c730", null ], - [ "setValue", "class_nim_b_l_e_characteristic.html#a7cd211a8bb9a0c2ffaed57f2af273677", null ], - [ "toString", "class_nim_b_l_e_characteristic.html#a4fa6b8ed011d12e2b1f16e92a02b9a89", null ] + [ "toString", "class_nim_b_l_e_characteristic.html#afd70c1d2f95f78e01dbdb92cd009559a", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_characteristic_callbacks-members.html b/class_nim_b_l_e_characteristic_callbacks-members.html index 69dcfad..b7e985a 100644 --- a/class_nim_b_l_e_characteristic_callbacks-members.html +++ b/class_nim_b_l_e_characteristic_callbacks-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,33 +76,35 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_characteristic_callbac
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLECharacteristicCallbacks Member List
    +
    NimBLECharacteristicCallbacks Member List

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

    - - - - - - - - + + + +
    onNotify(NimBLECharacteristic *pCharacteristic)NimBLECharacteristicCallbacksvirtual
    onRead(NimBLECharacteristic *pCharacteristic)NimBLECharacteristicCallbacksvirtual
    onRead(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc)NimBLECharacteristicCallbacksvirtual
    onStatus(NimBLECharacteristic *pCharacteristic, Status s, int code)NimBLECharacteristicCallbacksvirtual
    onSubscribe(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc, uint16_t subValue)NimBLECharacteristicCallbacksvirtual
    onWrite(NimBLECharacteristic *pCharacteristic)NimBLECharacteristicCallbacksvirtual
    onWrite(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc)NimBLECharacteristicCallbacksvirtual
    Status enum nameNimBLECharacteristicCallbacks
    onRead(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)NimBLECharacteristicCallbacksvirtual
    onStatus(NimBLECharacteristic *pCharacteristic, int code)NimBLECharacteristicCallbacksvirtual
    onSubscribe(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo, uint16_t subValue)NimBLECharacteristicCallbacksvirtual
    onWrite(NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)NimBLECharacteristicCallbacksvirtual
    diff --git a/class_nim_b_l_e_characteristic_callbacks.html b/class_nim_b_l_e_characteristic_callbacks.html index a330bcb..712b762 100644 --- a/class_nim_b_l_e_characteristic_callbacks.html +++ b/class_nim_b_l_e_characteristic_callbacks.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLECharacteristicCallbacks Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,146 +76,52 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_characteristic_callbac
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLECharacteristicCallbacks Class Reference
    +
    NimBLECharacteristicCallbacks Class Reference

    Callbacks that can be associated with a BLE characteristic to inform of events. More...

    + +

    #include <NimBLECharacteristic.h>

    - - - - -

    -Public Types

    enum  Status
     An enum to provide the callback the status of the notification/indication, implemented for backward compatibility. More...
     
    - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + +

    +

    Public Member Functions

    virtual void onRead (NimBLECharacteristic *pCharacteristic)
     Callback function to support a read request. More...
     
    virtual void onRead (NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc)
     Callback function to support a read request. More...
     
    virtual void onWrite (NimBLECharacteristic *pCharacteristic)
     Callback function to support a write request. More...
     
    virtual void onWrite (NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc)
     Callback function to support a write request. More...
     
    virtual void onNotify (NimBLECharacteristic *pCharacteristic)
     Callback function to support a Notify request. More...
     
    virtual void onStatus (NimBLECharacteristic *pCharacteristic, Status s, int code)
     Callback function to support a Notify/Indicate Status report. More...
     
    virtual void onSubscribe (NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc, uint16_t subValue)
     Callback function called when a client changes subscription status. More...
     
    virtual void onRead (NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)
     Callback function to support a read request.
     
    virtual void onWrite (NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo)
     Callback function to support a write request.
     
    virtual void onStatus (NimBLECharacteristic *pCharacteristic, int code)
     Callback function to support a Notify/Indicate Status report.
     
    virtual void onSubscribe (NimBLECharacteristic *pCharacteristic, NimBLEConnInfo &connInfo, uint16_t subValue)
     Callback function called when a client changes subscription status.
     

    Detailed Description

    Callbacks that can be associated with a BLE characteristic to inform of events.

    When a server application creates a BLE characteristic, we may wish to be informed when there is either a read or write request to the characteristic's value. An application can register a sub-classed instance of this class and will be notified when such an event happens.

    -

    Member Enumeration Documentation

    - -

    ◆ Status

    - -
    -
    - -

    An enum to provide the callback the status of the notification/indication, implemented for backward compatibility.

    -
    Deprecated:
    To be removed in the future as the NimBLE stack return code is also provided.
    - -
    -
    -

    Member Function Documentation

    - -

    ◆ onNotify()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void NimBLECharacteristicCallbacks::onNotify (NimBLECharacteristicpCharacteristic)
    -
    -virtual
    -
    - -

    Callback function to support a Notify request.

    -
    Parameters
    - - -
    [in]pCharacteristicThe characteristic that is the source of the event.
    -
    -
    - -
    -
    - -

    ◆ onRead() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    void NimBLECharacteristicCallbacks::onRead (NimBLECharacteristicpCharacteristic)
    -
    -virtual
    -
    - -

    Callback function to support a read request.

    -
    Parameters
    - - -
    [in]pCharacteristicThe characteristic that is the source of the event.
    -
    -
    - -
    -
    - -

    ◆ onRead() [2/2]

    +

    Member Function Documentation

    + +

    ◆ onRead()

    @@ -232,8 +138,8 @@ Public Member Functions - ble_gap_conn_desc *  - desc  + NimBLEConnInfo &  + connInfo  @@ -252,15 +158,15 @@ Public Member Functions
    Parameters
    - +
    [in]pCharacteristicThe characteristic that is the source of the event.
    [in]descThe connection description struct that is associated with the peer that performed the read.
    [in]connInfoA reference to a NimBLEConnInfo instance containing the peer info.
    - -

    ◆ onStatus()

    + +

    ◆ onStatus()

    @@ -274,12 +180,6 @@ Public Member Functions NimBLECharacteristicpCharacteristic, - - - - Status  - s, - @@ -303,16 +203,16 @@ Public Member Functions
    Parameters
    - - +
    [in]pCharacteristicThe characteristic that is the source of the event.
    [in]sStatus of the notification/indication.
    [in]codeAdditional return code from the NimBLE stack.
    [in]codeStatus return code from the NimBLE stack.
    +

    The status code for success is 0 for notifications and BLE_HS_EDONE for indications, any other value is an error.

    - -

    ◆ onSubscribe()

    + +

    ◆ onSubscribe()

    @@ -329,8 +229,8 @@ Public Member Functions - ble_gap_conn_desc *  - desc, + NimBLEConnInfo &  + connInfo, @@ -355,7 +255,7 @@ Public Member Functions
    Parameters
    - + - -

    ◆ onWrite() [1/2]

    - -
    -
    -
    [in]pCharacteristicThe characteristic that is the source of the event.
    [in]descThe connection description struct that is associated with the client.
    [in]connInfoA reference to a NimBLEConnInfo instance containing the peer info.
    [in]subValueThe subscription status:
    • 0 = Un-Subscribed
    • 1 = Notifications
    • @@ -369,42 +269,8 @@ Public Member Functions
    - - - - -
    - - - - - - - - -
    void NimBLECharacteristicCallbacks::onWrite (NimBLECharacteristicpCharacteristic)
    -
    -virtual
    -
    - -

    Callback function to support a write request.

    -
    Parameters
    - - -
    [in]pCharacteristicThe characteristic that is the source of the event.
    -
    -
    - -
    -
    - -

    ◆ onWrite() [2/2]

    + +

    ◆ onWrite()

    @@ -421,8 +287,8 @@ Public Member Functions - ble_gap_conn_desc *  - desc  + NimBLEConnInfo &  + connInfo  @@ -441,7 +307,7 @@ Public Member Functions
    Parameters
    - +
    [in]pCharacteristicThe characteristic that is the source of the event.
    [in]descThe connection description struct that is associated with the peer that performed the write.
    [in]connInfoA reference to a NimBLEConnInfo instance containing the peer info.
    @@ -454,7 +320,7 @@ Public Member Functions diff --git a/class_nim_b_l_e_characteristic_callbacks.js b/class_nim_b_l_e_characteristic_callbacks.js index 8705600..ad1b07f 100644 --- a/class_nim_b_l_e_characteristic_callbacks.js +++ b/class_nim_b_l_e_characteristic_callbacks.js @@ -1,14 +1,7 @@ var class_nim_b_l_e_characteristic_callbacks = [ - [ "Status", "class_nim_b_l_e_characteristic_callbacks.html#a104baba3c4bbdee7aa28273d265e4c6f", [ - [ "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 ], - [ "onRead", "class_nim_b_l_e_characteristic_callbacks.html#acae83420ae378277c225ce465f979f88", null ], - [ "onStatus", "class_nim_b_l_e_characteristic_callbacks.html#ab17e7c61723a33cd3c922e3ca9c20f1e", null ], - [ "onSubscribe", "class_nim_b_l_e_characteristic_callbacks.html#a3c0c0f524bc0d00d24a7c5ea92c5cb7e", null ], - [ "onWrite", "class_nim_b_l_e_characteristic_callbacks.html#aac7caf4a80da061b5beda5ebcd214fc3", null ], - [ "onWrite", "class_nim_b_l_e_characteristic_callbacks.html#a303a44a2efad76d54d67955fcb7b05d7", null ] + [ "onRead", "class_nim_b_l_e_characteristic_callbacks.html#a120d3dade06fbc941a93edbdc0e4d830", null ], + [ "onStatus", "class_nim_b_l_e_characteristic_callbacks.html#a6f9b1f0f15492e3d47662e5e2ff0baee", null ], + [ "onSubscribe", "class_nim_b_l_e_characteristic_callbacks.html#a024951384bb777d7ee71bfd1d5eff185", null ], + [ "onWrite", "class_nim_b_l_e_characteristic_callbacks.html#ab4edbb758f0212fd190dedad6c9b8ec9", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_client-members.html b/class_nim_b_l_e_client-members.html index 3467a31..4ce4647 100644 --- a/class_nim_b_l_e_client-members.html +++ b/class_nim_b_l_e_client-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,56 +76,69 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_client.html',''); init
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEClient Member List
    +
    NimBLEClient Member List

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

    - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + + + - - + + +
    begin()NimBLEClient
    connect(NimBLEAdvertisedDevice *device, bool deleteAttributes=true)NimBLEClient
    connect(const NimBLEAddress &address, bool deleteAttributes=true)NimBLEClient
    connect(bool deleteAttributes=true)NimBLEClient
    deleteService(const NimBLEUUID &uuid)NimBLEClient
    deleteServices()NimBLEClient
    disconnect(uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)NimBLEClient
    discoverAttributes()NimBLEClient
    end()NimBLEClient
    getCharacteristic(const uint16_t handle)NimBLEClient
    getConnId()NimBLEClient
    getConnInfo()NimBLEClient
    getLastError()NimBLEClient
    getMTU()NimBLEClient
    getPeerAddress()NimBLEClient
    getRssi()NimBLEClient
    cancelConnect() constNimBLEClient
    connect(const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)NimBLEClient
    connect(const NimBLEAddress &address, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)NimBLEClient
    connect(bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)NimBLEClient
    deleteService(const NimBLEUUID &uuid)NimBLEClient
    deleteServices()NimBLEClient
    disconnect(uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)NimBLEClient
    discoverAttributes()NimBLEClient
    end()NimBLEClient
    exchangeMTU()NimBLEClient
    getCharacteristic(uint16_t handle)NimBLEClient
    getConfig() constNimBLEClient
    getConnHandle() constNimBLEClient
    getConnInfo() constNimBLEClient
    getLastError() constNimBLEClient
    getMTU() constNimBLEClient
    getPeerAddress() constNimBLEClient
    getPhy(uint8_t *txPhy, uint8_t *rxPhy)NimBLEClient
    getRssi() constNimBLEClient
    getService(const char *uuid)NimBLEClient
    getService(const NimBLEUUID &uuid)NimBLEClient
    getServices(bool refresh=false)NimBLEClient
    getValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)NimBLEClient
    isConnected()NimBLEClient
    secureConnection()NimBLEClient
    getService(const NimBLEUUID &uuid)NimBLEClient
    getServices(bool refresh=false)NimBLEClient
    getValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)NimBLEClient
    isConnected() constNimBLEClient
    secureConnection(bool async=false) constNimBLEClient
    setClientCallbacks(NimBLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true)NimBLEClient
    setConnectionParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout, uint16_t scanInterval=16, uint16_t scanWindow=16)NimBLEClient
    setConnectPhy(uint8_t mask)NimBLEClient
    setConnectTimeout(uint8_t timeout)NimBLEClient
    setDataLen(uint16_t tx_octets)NimBLEClient
    setPeerAddress(const NimBLEAddress &address)NimBLEClient
    setConfig(Config config)NimBLEClient
    setConnectionParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout, uint16_t scanInterval=16, uint16_t scanWindow=16)NimBLEClient
    setConnectPhy(uint8_t phyMask)NimBLEClient
    setConnectTimeout(uint32_t timeout)NimBLEClient
    setDataLen(uint16_t txOctets)NimBLEClient
    setPeerAddress(const NimBLEAddress &address)NimBLEClient
    setSelfDelete(bool deleteOnDisconnect, bool deleteOnConnectFail)NimBLEClient
    setValue(const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID, const NimBLEAttValue &value, bool response=false)NimBLEClient
    toString()NimBLEClient
    updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)NimBLEClient
    toString() constNimBLEClient
    updateConnParams(uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)NimBLEClient
    updatePhy(uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions=0)NimBLEClient
    diff --git a/class_nim_b_l_e_client.html b/class_nim_b_l_e_client.html index c19d87b..ac5ff82 100644 --- a/class_nim_b_l_e_client.html +++ b/class_nim_b_l_e_client.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEClient Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,128 +76,156 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_client.html',''); init
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEClient Class Reference
    +
    NimBLEClient Class Reference

    A model of a BLE client. More...

    + +

    #include <NimBLEClient.h>

    - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + + + + - - + + - + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +

    +

    Public Member Functions

    bool connect (NimBLEAdvertisedDevice *device, bool deleteAttributes=true)
     Connect to an advertising device. More...
     
    bool connect (const NimBLEAddress &address, bool deleteAttributes=true)
     Connect to the BLE Server. More...
     
    bool connect (bool deleteAttributes=true)
     Connect to the BLE Server. More...
     
    int disconnect (uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
     Disconnect from the peer. More...
     
    -NimBLEAddress getPeerAddress ()
     Retrieve the address of the peer.
     
    void setPeerAddress (const NimBLEAddress &address)
     Set the peer address. More...
     
    int getRssi ()
     Ask the BLE server for the RSSI value. More...
     
    std::vector< NimBLERemoteService * > * getServices (bool refresh=false)
     Get a pointer to the vector of found services. More...
     
    std::vector< NimBLERemoteService * >::iterator begin ()
     Get iterator to the beginning of the vector of remote service pointers. More...
    bool connect (const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)
     Connect to an advertising device.
     
    bool connect (const NimBLEAddress &address, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)
     Connect to a BLE Server by address.
     
    bool connect (bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)
     Connect to the BLE Server using the address of the last connected device, or the address
    +passed to the constructor.
     
    bool disconnect (uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
     Disconnect from the peer.
     
    bool cancelConnect () const
     Cancel an ongoing connection attempt.
     
    void setSelfDelete (bool deleteOnDisconnect, bool deleteOnConnectFail)
     Set or unset a flag to delete this client when disconnected or connection failed.
     
    NimBLEAddress getPeerAddress () const
     Retrieve the address of the peer.
     
    bool setPeerAddress (const NimBLEAddress &address)
     Set the peer address.
     
    int getRssi () const
     Ask the BLE server for the RSSI value.
     
    bool isConnected () const
     Are we connected to a server?
     
    void setClientCallbacks (NimBLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true)
     Set the callbacks that will be invoked when events are received.
     
    std::string toString () const
     Return a string representation of this client.
     
    uint16_t getConnHandle () const
     Get the connection handle for this client.
     
    uint16_t getMTU () const
     Get the current mtu of this connection.
     
    bool exchangeMTU ()
     Begin the MTU exchange process with the server.
     
    bool secureConnection (bool async=false) const
     Initiate a secure connection (pair/bond) with the server.
    +Called automatically when a characteristic or descriptor requires encryption or authentication to access it.
     
    void setConnectTimeout (uint32_t timeout)
     Set the timeout to wait for connection attempt to complete.
     
    bool setDataLen (uint16_t txOctets)
     Request an update of the data packet length.
     
    bool discoverAttributes ()
     Retrieves the full database of attributes that the peripheral has available.
     
    NimBLEConnInfo getConnInfo () const
     Get detailed information about the current peer connection.
     
    int getLastError () const
     Get the last error code reported by the NimBLE host.
     
    bool updateConnParams (uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
     Update the connection parameters:
     
    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.
     
    const std::vector< NimBLERemoteService * > & getServices (bool refresh=false)
     Get a pointer to the vector of found services.
     
    std::vector< NimBLERemoteService * >::iterator begin ()
     Get iterator to the beginning of the vector of remote service pointers.
     
    std::vector< NimBLERemoteService * >::iterator end ()
     Get iterator to the end of the vector of remote service pointers. More...
    std::vector< NimBLERemoteService * >::iterator end ()
     Get iterator to the end of the vector of remote service pointers.
     
    NimBLERemoteServicegetService (const char *uuid)
     Get the service BLE Remote Service instance corresponding to the uuid. More...
    NimBLERemoteCharacteristicgetCharacteristic (uint16_t handle)
     Get the remote characteristic with the specified handle.
     
    NimBLERemoteServicegetService (const char *uuid)
     Get the service BLE Remote Service instance corresponding to the uuid.
     
    NimBLERemoteServicegetService (const NimBLEUUID &uuid)
     Get the service object corresponding to the uuid. More...
    NimBLERemoteServicegetService (const NimBLEUUID &uuid)
     Get the service object corresponding to the uuid.
     
    -void deleteServices ()
    +void deleteServices ()
     Delete all service objects created by this client and clear the vector.
     
    size_t deleteService (const NimBLEUUID &uuid)
     Delete service by UUID. More...
    size_t deleteService (const NimBLEUUID &uuid)
     Delete a service by UUID from the local database to free resources.
     
    NimBLEAttValue getValue (const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)
     Get the value of a specific characteristic associated with a specific service. More...
    NimBLEAttValue getValue (const NimBLEUUID &serviceUUID, const NimBLEUUID &characteristicUUID)
     Get the value of a specific characteristic associated with a specific service.
     
    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. More...
    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.
     
    NimBLERemoteCharacteristicgetCharacteristic (const uint16_t handle)
     Get the remote characteristic with the specified handle. More...
     
    bool isConnected ()
     Are we connected to a server? More...
     
    void setClientCallbacks (NimBLEClientCallbacks *pClientCallbacks, bool deleteCallbacks=true)
     Set the callbacks that will be invoked when events are received. More...
     
    std::string toString ()
     Return a string representation of this client. More...
     
    uint16_t getConnId ()
     Get the connection id for this client. More...
     
    uint16_t getMTU ()
     Get the current mtu of this connection. More...
     
    bool secureConnection ()
     Initiate a secure connection (pair/bond) with the server.
    -Called automatically when a characteristic or descriptor requires encryption or authentication to access it. More...
     
    void setConnectTimeout (uint8_t timeout)
     Set the timeout to wait for connection attempt to complete. More...
     
    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. More...
     
    void updateConnParams (uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
     Update the connection parameters: More...
     
    void setDataLen (uint16_t tx_octets)
     Request an update of the data packet length. More...
     
    bool discoverAttributes ()
     Retrieves the full database of attributes that the peripheral has available. More...
     
    -NimBLEConnInfo getConnInfo ()
     Get detailed information about the current peer connection.
     
    int getLastError ()
     Get the last error code reported by the NimBLE host. More...
     
    void setConnectPhy (uint8_t mask)
     Set the PHY types to use when connecting to a server. More...
     
    void setConnectPhy (uint8_t phyMask)
     Set the PHY types to use when connecting to a server.
     
    bool updatePhy (uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions=0)
     Request a change to the PHY used for this peer connection.
     
    bool getPhy (uint8_t *txPhy, uint8_t *rxPhy)
     Get the PHY used for this peer connection.
     
    Config getConfig () const
     Get a copy of the clients configuration.
     
    void setConfig (Config config)
     Set the client configuration options.
     

    Detailed Description

    A model of a BLE client.

    Member Function Documentation

    - -

    ◆ begin()

    + +

    ◆ begin()

    @@ -216,8 +244,28 @@ Called automatically when a characteristic or descriptor requires encryption or
    - -

    ◆ connect() [1/3]

    + +

    ◆ cancelConnect()

    + +
    +
    + + + + + + + +
    bool NimBLEClient::cancelConnect () const
    +
    + +

    Cancel an ongoing connection attempt.

    +
    Returns
    True if the command was successfully sent.
    + +
    +
    + +

    ◆ connect() [1/3]

    @@ -226,26 +274,47 @@ Called automatically when a characteristic or descriptor requires encryption or bool NimBLEClient::connect ( bool  - deleteAttributes = true) + deleteAttributes = true, + + + + bool  + asyncConnect = false, + + + + + bool  + exchangeMTU = true  + + + + ) +
    -

    Connect to the BLE Server.

    +

    Connect to the BLE Server using the address of the last connected device, or the address
    +passed to the constructor.

    Parameters
    +have created when last connected. + +
    [in]deleteAttributesIf true this will delete any attribute objects this client may already
    -have created and clears the vectors after successful connection.
    [in]asyncConnectIf true, the connection will be made asynchronously and this function will return immediately.
    +If false, this function will block until the connection is established or the connection attempt times out.
    [in]exchangeMTUIf true, the client will attempt to exchange MTU with the server after connection.
    +If false, the client will use the default MTU size and the application will need to call exchangeMTU() later.
    -
    Returns
    True on success.
    +
    Returns
    true on success.
    - -

    ◆ connect() [2/3]

    + +

    ◆ connect() [2/3]

    @@ -260,7 +329,19 @@ have created and clears the vectors after successful connection. bool  - deleteAttributes = true  + deleteAttributes = true, + + + + + bool  + asyncConnect = false, + + + + + bool  + exchangeMTU = true  @@ -270,21 +351,25 @@ have created and clears the vectors after successful connection.
    -

    Connect to the BLE Server.

    +

    Connect to a BLE Server by address.

    Parameters
    +have created when last connected. + +
    [in]addressThe address of the server.
    [in]deleteAttributesIf true this will delete any attribute objects this client may already
    -have created and clears the vectors after successful connection.
    [in]asyncConnectIf true, the connection will be made asynchronously and this function will return immediately.
    +If false, this function will block until the connection is established or the connection attempt times out.
    [in]exchangeMTUIf true, the client will attempt to exchange MTU with the server after connection.
    +If false, the client will use the default MTU size and the application will need to call exchangeMTU() later.
    -
    Returns
    True on success.
    +
    Returns
    true on success.
    - -

    ◆ connect() [3/3]

    + +

    ◆ connect() [3/3]

    @@ -292,14 +377,26 @@ have created and clears the vectors after successful connection. bool NimBLEClient::connect ( - NimBLEAdvertisedDevice *  + const NimBLEAdvertisedDevicedevice, bool  - deleteAttributes = true  + deleteAttributes = true, + + + + + bool  + asyncConnect = false, + + + + + bool  + exchangeMTU = true  @@ -314,16 +411,20 @@ have created and clears the vectors after successful connection. +have created when last connected. + +
    [in]deviceThe device to connect to.
    [in]deleteAttributesIf true this will delete any attribute objects this client may already
    -have created and clears the vectors after successful connection.
    [in]asyncConnectIf true, the connection will be made asynchronously and this function will return immediately.
    +If false, this function will block until the connection is established or the connection attempt times out.
    [in]exchangeMTUIf true, the client will attempt to exchange MTU with the server after connection.
    +If false, the client will use the default MTU size and the application will need to call exchangeMTU() later.
    -
    Returns
    True on success.
    +
    Returns
    true on success.
    - -

    ◆ deleteService()

    + +

    ◆ deleteService()

    @@ -338,10 +439,10 @@ have created and clears the vectors after successful connection.
    -

    Delete service by UUID.

    +

    Delete a service by UUID from the local database to free resources.

    Parameters
    - +
    [in]uuidThe UUID of the service to be deleted from the local database.
    [in]uuidThe UUID of the service to be deleted.
    @@ -349,14 +450,14 @@ have created and clears the vectors after successful connection.
    - -

    ◆ disconnect()

    + +

    ◆ disconnect()

    - + @@ -366,12 +467,12 @@ have created and clears the vectors after successful connection.

    Disconnect from the peer.

    -
    Returns
    Error code from NimBLE stack, 0 = success.
    +
    Returns
    True if the command was successfully sent.
    - -

    ◆ discoverAttributes()

    + +

    ◆ discoverAttributes()

    @@ -390,8 +491,8 @@ have created and clears the vectors after successful connection.
    - -

    ◆ end()

    + +

    ◆ end()

    @@ -410,8 +511,28 @@ have created and clears the vectors after successful connection.
    - -

    ◆ getCharacteristic()

    + +

    ◆ exchangeMTU()

    + +
    +
    +
    int NimBLEClient::disconnect bool NimBLEClient::disconnect ( uint8_t  reason = BLE_ERR_REM_USER_CONN_TERM)
    + + + + + + +
    bool NimBLEClient::exchangeMTU ()
    +
    + +

    Begin the MTU exchange process with the server.

    +
    Returns
    true if the request was sent successfully.
    + +
    +
    + +

    ◆ getCharacteristic()

    @@ -419,7 +540,7 @@ have created and clears the vectors after successful connection. NimBLERemoteCharacteristic * NimBLEClient::getCharacteristic ( - const uint16_t  + uint16_t  handle) @@ -437,28 +558,68 @@ have created and clears the vectors after successful connection.
    - -

    ◆ getConnId()

    + +

    ◆ getConfig()

    - + - +
    uint16_t NimBLEClient::getConnId NimBLEClient::Config NimBLEClient::getConfig ( ) const
    -

    Get the connection id for this client.

    -
    Returns
    The connection id.
    +

    Get a copy of the clients configuration.

    +
    Returns
    A copy of the clients configuration.
    - -

    ◆ getLastError()

    + +

    ◆ getConnHandle()

    + +
    +
    + + + + + + + +
    uint16_t NimBLEClient::getConnHandle () const
    +
    + +

    Get the connection handle for this client.

    +
    Returns
    The connection handle.
    + +
    +
    + +

    ◆ getConnInfo()

    + +
    +
    + + + + + + + +
    NimBLEConnInfo NimBLEClient::getConnInfo () const
    +
    + +

    Get detailed information about the current peer connection.

    +
    Returns
    A NimBLEConnInfo instance with the data, or a NULL instance if not found.
    + +
    +
    + +

    ◆ getLastError()

    @@ -467,7 +628,7 @@ have created and clears the vectors after successful connection. int NimBLEClient::getLastError ( ) - + const
    @@ -477,8 +638,8 @@ have created and clears the vectors after successful connection.
    - -

    ◆ getMTU()

    + +

    ◆ getMTU()

    @@ -487,7 +648,7 @@ have created and clears the vectors after successful connection. uint16_t NimBLEClient::getMTU ( ) - + const
    @@ -497,8 +658,66 @@ have created and clears the vectors after successful connection.
    - -

    ◆ getRssi()

    + +

    ◆ getPeerAddress()

    + +
    +
    + + + + + + + +
    NimBLEAddress NimBLEClient::getPeerAddress () const
    +
    + +

    Retrieve the address of the peer.

    +
    Returns
    A NimBLEAddress instance with the peer address data.
    + +
    +
    + +

    ◆ getPhy()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEClient::getPhy (uint8_t * txPhy,
    uint8_t * rxPhy 
    )
    +
    + +

    Get the PHY used for this peer connection.

    +
    Parameters
    + + + +
    [out]txPhyThe TX PHY.
    [out]rxPhyThe RX PHY.
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ getRssi()

    @@ -507,18 +726,18 @@ have created and clears the vectors after successful connection. int NimBLEClient::getRssi ( ) - + const

    Ask the BLE server for the RSSI value.

    -
    Returns
    The RSSI value.
    +
    Returns
    The RSSI value or 0 if there was an error.
    - -

    ◆ getService() [1/2]

    + +

    ◆ getService() [1/2]

    @@ -544,8 +763,8 @@ have created and clears the vectors after successful connection.
    - -

    ◆ getService() [2/2]

    + +

    ◆ getService() [2/2]

    @@ -571,14 +790,14 @@ have created and clears the vectors after successful connection.
    - -

    ◆ getServices()

    + +

    ◆ getServices()

    - + @@ -600,8 +819,8 @@ If false the vector will be returned with the currently stored services. - -

    ◆ getValue()

    + +

    ◆ getValue()

    @@ -634,12 +853,12 @@ If false the vector will be returned with the currently stored services. -
    Returns
    characteristic value or an empty string if not found
    +
    Returns
    characteristic value or an empty value if not found.
    - -

    ◆ isConnected()

    + +

    ◆ isConnected()

    @@ -648,7 +867,7 @@ If false the vector will be returned with the currently stored services. bool NimBLEClient::isConnected
    - +
    std::vector< NimBLERemoteService * > * NimBLEClient::getServices const std::vector< NimBLERemoteService * > & NimBLEClient::getServices ( bool  refresh = false) ( ) const
    @@ -658,8 +877,8 @@ If false the vector will be returned with the currently stored services.
    - -

    ◆ secureConnection()

    + +

    ◆ secureConnection()

    @@ -667,20 +886,29 @@ If false the vector will be returned with the currently stored services. bool NimBLEClient::secureConnection ( - ) - + bool  + async = false) + const

    Initiate a secure connection (pair/bond) with the server.
    Called automatically when a characteristic or descriptor requires encryption or authentication to access it.

    -
    Returns
    True on success.
    +
    Parameters
    + + +
    [in]asyncIf true, the connection will be secured asynchronously and this function will return immediately.
    +If false, this function will block until the connection is secured or the client disconnects.
    +
    +
    +
    Returns
    True on success.
    +

    If async=false, this function will block and should not be used in a callback.

    - -

    ◆ setClientCallbacks()

    + +

    ◆ setClientCallbacks()

    @@ -716,8 +944,34 @@ Called automatically when a characteristic or descriptor requires encryption or
    - -

    ◆ setConnectionParams()

    + +

    ◆ setConfig()

    + +
    +
    + + + + + + + + +
    void NimBLEClient::setConfig (NimBLEClient::Config config)
    +
    + +

    Set the client configuration options.

    +
    Parameters
    + + +
    [in]configThe config options instance to set the client configuration to.
    +
    +
    + +
    +
    + +

    ◆ setConnectionParams()

    @@ -781,8 +1035,8 @@ Called automatically when a characteristic or descriptor requires encryption or
    - -

    ◆ setConnectPhy()

    + +

    ◆ setConnectPhy()

    @@ -813,8 +1067,8 @@ The available bits are:
    - -

    ◆ setConnectTimeout()

    + +

    ◆ setConnectTimeout()

    @@ -822,7 +1076,7 @@ The available bits are:
      void NimBLEClient::setConnectTimeout ( - uint8_t  + uint32_t  time) @@ -832,24 +1086,24 @@ The available bits are:

        Set the timeout to wait for connection attempt to complete.

        Parameters
        - +
        [in]timeThe number of seconds before timeout.
        [in]timeThe number of milliseconds before timeout, default is 30 seconds.
    - -

    ◆ setDataLen()

    + +

    ◆ setDataLen()

    - + - +
    void NimBLEClient::setDataLen bool NimBLEClient::setDataLen ( uint16_t tx_octets)txOctets)
    @@ -860,7 +1114,7 @@ The available bits are:
    • Can only be used after a connection has been established.

      Sends a data length update request to the server the client is connected to. The Data Length Extension (DLE) allows to increase the Data Channel Payload from 27 bytes to up to 251 bytes. The server needs to support the Bluetooth 4.2 specifications, to be capable of DLE.

      Parameters
      - +
      [in]tx_octetsThe preferred number of payload octets to use (Range 0x001B-0x00FB).
      [in]txOctetsThe preferred number of payload octets to use (Range 0x001B-0x00FB).
      @@ -869,14 +1123,14 @@ The available bits are:
    - -

    ◆ setPeerAddress()

    + +

    ◆ setPeerAddress()

    - + @@ -892,11 +1146,49 @@ The available bits are:
    void NimBLEClient::setPeerAddress bool NimBLEClient::setPeerAddress ( const NimBLEAddress address)
    +
    Returns
    True if successful.
    - -

    ◆ setValue()

    + +

    ◆ setSelfDelete()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void NimBLEClient::setSelfDelete (bool deleteOnDisconnect,
    bool deleteOnConnectFail 
    )
    +
    + +

    Set or unset a flag to delete this client when disconnected or connection failed.

    +
    Parameters
    + + + +
    [in]deleteOnDisconnectSet the client to self delete when disconnected.
    [in]deleteOnConnectFailSet the client to self delete when a connection attempt fails.
    +
    +
    + +
    +
    + +

    ◆ setValue()

    @@ -947,8 +1239,8 @@ The available bits are:
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -957,7 +1249,7 @@ The available bits are:
      std::string NimBLEClient::toString ( ) - + const
    @@ -967,14 +1259,14 @@ The available bits are:
    - -

    ◆ updateConnParams()

    + +

    ◆ updateConnParams()

    - + @@ -1019,6 +1311,68 @@ The available bits are:
    + + + +

    ◆ updatePhy()

    + +
    +
    +
    void NimBLEClient::updateConnParams bool NimBLEClient::updateConnParams ( uint16_t  minInterval,
    + + + + + + + + + + + + + + + + + + + + + + + +
    bool NimBLEClient::updatePhy (uint8_t txPhyMask,
    uint8_t rxPhyMask,
    uint16_t phyOptions = 0 
    )
    +
    + +

    Request a change to the PHY used for this peer connection.

    +
    Parameters
    + + + + +
    [in]txPhyMaskTX PHY. Can be mask of following:
      +
    • BLE_GAP_LE_PHY_1M_MASK
    • +
    • BLE_GAP_LE_PHY_2M_MASK
    • +
    • BLE_GAP_LE_PHY_CODED_MASK
    • +
    • BLE_GAP_LE_PHY_ANY_MASK
    • +
    +
    [in]rxPhyMaskRX PHY. Can be mask of following:
      +
    • BLE_GAP_LE_PHY_1M_MASK
    • +
    • BLE_GAP_LE_PHY_2M_MASK
    • +
    • BLE_GAP_LE_PHY_CODED_MASK
    • +
    • BLE_GAP_LE_PHY_ANY_MASK
    • +
    +
    phyOptionsAdditional PHY options. Valid values are:
      +
    • BLE_GAP_LE_PHY_CODED_ANY (default)
    • +
    • BLE_GAP_LE_PHY_CODED_S2
    • +
    • BLE_GAP_LE_PHY_CODED_S8
    • +
    +
    +
    +
    +
    Returns
    True if successful.
    +
    @@ -1027,7 +1381,7 @@ The available bits are:
      diff --git a/class_nim_b_l_e_client.js b/class_nim_b_l_e_client.js index 22c41f1..60674d6 100644 --- a/class_nim_b_l_e_client.js +++ b/class_nim_b_l_e_client.js @@ -1,34 +1,41 @@ var class_nim_b_l_e_client = [ [ "begin", "class_nim_b_l_e_client.html#ab09639b499fdcd0021a2432b2b8203f5", null ], - [ "connect", "class_nim_b_l_e_client.html#a1f9d4ad6d3d03b819bfad82d1f39b684", null ], - [ "connect", "class_nim_b_l_e_client.html#a026d7e04557b4821a7da2c1a1caa46eb", null ], - [ "connect", "class_nim_b_l_e_client.html#ae9b3e8a9b47c7eaad040b485bda958a1", null ], + [ "cancelConnect", "class_nim_b_l_e_client.html#af77b2a5390ea811e9405ff81dba8ecac", null ], + [ "connect", "class_nim_b_l_e_client.html#a26c8117d56d8b637780390a6506716be", null ], + [ "connect", "class_nim_b_l_e_client.html#a27e53c3746bc2d20ea7cfcea1a123cbf", null ], + [ "connect", "class_nim_b_l_e_client.html#a2b49bc73802bf716cf3df3b5a93f0543", null ], [ "deleteService", "class_nim_b_l_e_client.html#a0f940c51807469db1f1802b742180beb", null ], [ "deleteServices", "class_nim_b_l_e_client.html#a668d476de250055a106a9f46bb7719f3", null ], - [ "disconnect", "class_nim_b_l_e_client.html#a5f77999664cc8a83f3cdb603ba4a5c8c", null ], + [ "disconnect", "class_nim_b_l_e_client.html#a36b298b70a42d32b8d578869b0763140", null ], [ "discoverAttributes", "class_nim_b_l_e_client.html#a1019178a12799ca2c3a84f523b3a7db9", null ], [ "end", "class_nim_b_l_e_client.html#a0accd665926ea77d85ecb483b2b853fe", null ], - [ "getCharacteristic", "class_nim_b_l_e_client.html#a2fc46f43a71dd0df63a377961baf8009", null ], - [ "getConnId", "class_nim_b_l_e_client.html#aa09466a7050bf08bab2390da66007896", null ], - [ "getConnInfo", "class_nim_b_l_e_client.html#a566207f548c6b799792fc092f1748267", null ], - [ "getLastError", "class_nim_b_l_e_client.html#a178d06bed13028e4ae0384923062d18d", null ], - [ "getMTU", "class_nim_b_l_e_client.html#ab971537eec4e53d621598eb1c760af3a", null ], - [ "getPeerAddress", "class_nim_b_l_e_client.html#a0477ba593f0b7c0cfc4697efdba703eb", null ], - [ "getRssi", "class_nim_b_l_e_client.html#ae216993cf4eeb5780a104a8b14044f78", null ], + [ "exchangeMTU", "class_nim_b_l_e_client.html#a19d97b47f01f0862e04f3011752b2f2f", null ], + [ "getCharacteristic", "class_nim_b_l_e_client.html#a6b801e91a37745445499dadfb4c38597", null ], + [ "getConfig", "class_nim_b_l_e_client.html#ac053fba7c84201dc6e7455231cf99f4a", null ], + [ "getConnHandle", "class_nim_b_l_e_client.html#ac1e517e5a57b0bd05d4bafa66a17f1bd", null ], + [ "getConnInfo", "class_nim_b_l_e_client.html#a50b691f395c4dcf4b633efede0783805", null ], + [ "getLastError", "class_nim_b_l_e_client.html#aeb0593ebffa7e8833e5854480e41cce5", null ], + [ "getMTU", "class_nim_b_l_e_client.html#a7f3230e45ac77bd4cb50b5c270f9c74c", null ], + [ "getPeerAddress", "class_nim_b_l_e_client.html#a44a6f7f9379e2fc129c37915636db61f", null ], + [ "getPhy", "class_nim_b_l_e_client.html#a6ca4e212d5b69d4759bd695def020525", null ], + [ "getRssi", "class_nim_b_l_e_client.html#a2645d4a2f8e381bf9bbffdfca846ae17", null ], [ "getService", "class_nim_b_l_e_client.html#ae22379ab10bd82932d2303fb3753c366", null ], [ "getService", "class_nim_b_l_e_client.html#ad8ba10522d79af1136019606802f0978", null ], - [ "getServices", "class_nim_b_l_e_client.html#acb9007569b3bb13b3b49f3c4cb47b21a", null ], + [ "getServices", "class_nim_b_l_e_client.html#adefe48b87e8a814e1643cdb8c3759298", null ], [ "getValue", "class_nim_b_l_e_client.html#a3903fb7589e2b8b781f8f81f9e0f2a83", null ], - [ "isConnected", "class_nim_b_l_e_client.html#af1603da59b829f75b162ac4a65ce181c", null ], - [ "secureConnection", "class_nim_b_l_e_client.html#a79935ecbe94f2a41e0106d011edafac4", null ], + [ "isConnected", "class_nim_b_l_e_client.html#a0bdaf55b06367d1abd6f59bfbe1e8689", null ], + [ "secureConnection", "class_nim_b_l_e_client.html#a2dac3bd373134ae6d22e3b5c96ed65ef", null ], [ "setClientCallbacks", "class_nim_b_l_e_client.html#aeede4deef7421b9121387a786c07820c", null ], + [ "setConfig", "class_nim_b_l_e_client.html#ad89d8202400ecb573ce0e2ec5fc801dc", null ], [ "setConnectionParams", "class_nim_b_l_e_client.html#a17718339f76eb621db0d7919c73b9267", null ], - [ "setConnectPhy", "class_nim_b_l_e_client.html#a3ab0a864d8fc7f91ea27f459e2c76b9e", null ], - [ "setConnectTimeout", "class_nim_b_l_e_client.html#a4068b29a9bd12e3110465908864dd20e", null ], - [ "setDataLen", "class_nim_b_l_e_client.html#a33a0114a126e0e58f7b4359c74f4ed41", null ], - [ "setPeerAddress", "class_nim_b_l_e_client.html#a93b5b7c01e58a95dcea335f837d81d07", null ], + [ "setConnectPhy", "class_nim_b_l_e_client.html#a004a85999b1ee4283e1e8e1e31090cca", null ], + [ "setConnectTimeout", "class_nim_b_l_e_client.html#aeb3675ab243ae6f0e4e7165cd07f7b80", null ], + [ "setDataLen", "class_nim_b_l_e_client.html#a4e8b16bb2c8ba3534bbd04803a411911", null ], + [ "setPeerAddress", "class_nim_b_l_e_client.html#a89d5aee4deaba953b8f77af75e3ee910", null ], + [ "setSelfDelete", "class_nim_b_l_e_client.html#a665a5ef97b3ab0307bccc54872d3c218", null ], [ "setValue", "class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2", null ], - [ "toString", "class_nim_b_l_e_client.html#aba9ae035357776514b61c2b6286ce1ab", null ], - [ "updateConnParams", "class_nim_b_l_e_client.html#aff7d389ec48567286ea732c54d320526", null ] + [ "toString", "class_nim_b_l_e_client.html#a8ead2efdfdf23db4f7847a133939cd75", null ], + [ "updateConnParams", "class_nim_b_l_e_client.html#ad168d34de0f57f91824a78688b88b2b8", null ], + [ "updatePhy", "class_nim_b_l_e_client.html#a165957953c2773dacc6a203c969f6069", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_client_callbacks-members.html b/class_nim_b_l_e_client_callbacks-members.html index fc04c8f..b776a40 100644 --- a/class_nim_b_l_e_client_callbacks-members.html +++ b/class_nim_b_l_e_client_callbacks-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
      - - + @@ -34,21 +33,22 @@
      -
      esp-nimble-cpp -  1.4.1 +
      +
      esp-nimble-cpp 2.0.0
      - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,31 +76,41 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_client_callbacks.html'
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEClientCallbacks Member List
    +
    NimBLEClientCallbacks Member List

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

    - - + + - - - + + + + + + +
    onAuthenticationComplete(ble_gap_conn_desc *desc)NimBLEClientCallbacksvirtual
    onConfirmPIN(uint32_t pin)NimBLEClientCallbacksvirtual
    onAuthenticationComplete(NimBLEConnInfo &connInfo)NimBLEClientCallbacksvirtual
    onConfirmPasskey(NimBLEConnInfo &connInfo, uint32_t pin)NimBLEClientCallbacksvirtual
    onConnect(NimBLEClient *pClient)NimBLEClientCallbacksvirtual
    onConnParamsUpdateRequest(NimBLEClient *pClient, const ble_gap_upd_params *params)NimBLEClientCallbacksvirtual
    onDisconnect(NimBLEClient *pClient)NimBLEClientCallbacksvirtual
    onPassKeyRequest()NimBLEClientCallbacksvirtual
    onConnectFail(NimBLEClient *pClient, int reason)NimBLEClientCallbacksvirtual
    onConnParamsUpdateRequest(NimBLEClient *pClient, const ble_gap_upd_params *params)NimBLEClientCallbacksvirtual
    onDisconnect(NimBLEClient *pClient, int reason)NimBLEClientCallbacksvirtual
    onIdentity(NimBLEConnInfo &connInfo)NimBLEClientCallbacksvirtual
    onMTUChange(NimBLEClient *pClient, uint16_t MTU)NimBLEClientCallbacksvirtual
    onPassKeyEntry(NimBLEConnInfo &connInfo)NimBLEClientCallbacksvirtual
    onPhyUpdate(NimBLEClient *pClient, uint8_t txPhy, uint8_t rxPhy)NimBLEClientCallbacksvirtual
    diff --git a/class_nim_b_l_e_client_callbacks.html b/class_nim_b_l_e_client_callbacks.html index bdda26c..01930ee 100644 --- a/class_nim_b_l_e_client_callbacks.html +++ b/class_nim_b_l_e_client_callbacks.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEClientCallbacks Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,49 +76,69 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_client_callbacks.html'
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEClientCallbacks Class Reference
    +
    NimBLEClientCallbacks Class Reference

    Callbacks associated with a BLE client. More...

    + +

    #include <NimBLEClient.h>

    - - - + + - - - - - + + + + + + + + - - - - - - - - - + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

    virtual void onConnect (NimBLEClient *pClient)
     Called after client connects. More...
    virtual void onConnect (NimBLEClient *pClient)
     Called after client connects.
     
    virtual void onDisconnect (NimBLEClient *pClient)
     Called when disconnected from the server. More...
     
    virtual bool onConnParamsUpdateRequest (NimBLEClient *pClient, const ble_gap_upd_params *params)
     Called when server requests to update the connection parameters. More...
    virtual void onConnectFail (NimBLEClient *pClient, int reason)
     Called when a connection attempt fails.
     
    virtual void onDisconnect (NimBLEClient *pClient, int reason)
     Called when disconnected from the server.
     
    virtual bool onConnParamsUpdateRequest (NimBLEClient *pClient, const ble_gap_upd_params *params)
     Called when server requests to update the connection parameters.
     
    virtual uint32_t onPassKeyRequest ()
     Called when server requests a passkey for pairing. More...
     
    virtual void onAuthenticationComplete (ble_gap_conn_desc *desc)
     Called when the pairing procedure is complete. More...
     
    virtual bool onConfirmPIN (uint32_t pin)
     Called when using numeric comparision for pairing. More...
     
    virtual void onPassKeyEntry (NimBLEConnInfo &connInfo)
     Called when server requests a passkey for pairing.
     
    virtual void onAuthenticationComplete (NimBLEConnInfo &connInfo)
     Called when the pairing procedure is complete.
     
    virtual void onConfirmPasskey (NimBLEConnInfo &connInfo, uint32_t pin)
     Called when using numeric comparision for pairing.
     
    virtual void onIdentity (NimBLEConnInfo &connInfo)
     Called when the peer identity address is resolved.
     
    virtual void onMTUChange (NimBLEClient *pClient, uint16_t MTU)
     Called when the connection MTU changes.
     
    virtual void onPhyUpdate (NimBLEClient *pClient, uint8_t txPhy, uint8_t rxPhy)
     Called when the PHY update procedure is complete.
     

    Detailed Description

    Callbacks associated with a BLE client.

    Member Function Documentation

    - -

    ◆ onAuthenticationComplete()

    + +

    ◆ onAuthenticationComplete()

    @@ -129,8 +149,8 @@ Public Member Functions void NimBLEClientCallbacks::onAuthenticationComplete ( - ble_gap_conn_desc *  - desc) + NimBLEConnInfo &  + connInfo) @@ -144,7 +164,7 @@ Public Member Functions

    Called when the pairing procedure is complete.

    Parameters
    -
    [in]descA reference to a NimBLEConnInfo instance containing the peer info.
    +
    [in]connInfoA reference to a NimBLEConnInfo instance containing the peer info.
    This can be used to check the status of the connection encryption/pairing.
    @@ -152,8 +172,8 @@ This can be used to check the status of the connection encryption/pairing.
    - -

    ◆ onConfirmPIN()

    + +

    ◆ onConfirmPasskey()

    @@ -162,11 +182,21 @@ This can be used to check the status of the connection encryption/pairing. - + - - + + + + + + + + + + + +
    bool NimBLEClientCallbacks::onConfirmPIN void NimBLEClientCallbacks::onConfirmPasskey (uint32_t pin)NimBLEConnInfoconnInfo,
    uint32_t pin 
    )
    @@ -179,16 +209,16 @@ This can be used to check the status of the connection encryption/pairing.

    Called when using numeric comparision for pairing.

    Parameters
    +
    [in]connInfoA reference to a NimBLEConnInfo instance containing the peer info.
    [in]pinThe pin to compare with the server.
    -
    Returns
    True to accept the pin.
    - -

    ◆ onConnect()

    + +

    ◆ onConnect()

    @@ -214,15 +244,60 @@ This can be used to check the status of the connection encryption/pairing.

    Called after client connects.

    Parameters
    - +
    [in]pClientA pointer to the calling client object.
    [in]pClientA pointer to the connecting client object.
    - -

    ◆ onConnParamsUpdateRequest()

    + +

    ◆ onConnectFail()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void NimBLEClientCallbacks::onConnectFail (NimBLEClientpClient,
    int reason 
    )
    +
    +virtual
    +
    + +

    Called when a connection attempt fails.

    +
    Parameters
    + + + +
    [in]pClientA pointer to the connecting client object.
    [in]reasonContains the reason code for the connection failure.
    +
    +
    + +
    +
    + +

    ◆ onConnParamsUpdateRequest()

    @@ -267,8 +342,8 @@ This can be used to check the status of the connection encryption/pairing.
    - -

    ◆ onDisconnect()

    + +

    ◆ onDisconnect()

    @@ -280,8 +355,18 @@ This can be used to check the status of the connection encryption/pairing. void NimBLEClientCallbacks::onDisconnect ( NimBLEClient *  - pClient) + pClient, + + + + int  + reason  + + + + ) + @@ -295,14 +380,15 @@ This can be used to check the status of the connection encryption/pairing.
    Parameters
    +
    [in]pClientA pointer to the calling client object.
    [in]reasonContains the reason code for the disconnection.
    - -

    ◆ onPassKeyRequest()

    + +

    ◆ onIdentity()

    @@ -311,9 +397,89 @@ This can be used to check the status of the connection encryption/pairing. - + - + + + + +
    uint32_t NimBLEClientCallbacks::onPassKeyRequest void NimBLEClientCallbacks::onIdentity ()NimBLEConnInfoconnInfo)
    + + +virtual + + +
    + +

    Called when the peer identity address is resolved.

    +
    Parameters
    + + +
    [in]connInfoA reference to a NimBLEConnInfo instance with information
    +
    +
    + +
    +
    + +

    ◆ onMTUChange()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void NimBLEClientCallbacks::onMTUChange (NimBLEClientpClient,
    uint16_t MTU 
    )
    +
    +virtual
    +
    + +

    Called when the connection MTU changes.

    +
    Parameters
    + + + +
    [in]pClientA pointer to the client that the MTU change is associated with.
    [in]MTUThe new MTU value. about the peer connection parameters.
    +
    +
    + +
    +
    + +

    ◆ onPassKeyEntry()

    + +
    +
    + + +

    Called when server requests a passkey for pairing.

    -
    Returns
    The passkey to be sent to the server.
    +
    Parameters
    +
    + + + + + +
    void NimBLEClientCallbacks::onPassKeyEntry (NimBLEConnInfoconnInfo)
    @@ -325,7 +491,69 @@ This can be used to check the status of the connection encryption/pairing.
    + +
    [in]connInfoA reference to a NimBLEConnInfo instance containing the peer info.
    + + + +
    +
    + +

    ◆ onPhyUpdate()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void NimBLEClientCallbacks::onPhyUpdate (NimBLEClientpClient,
    uint8_t txPhy,
    uint8_t rxPhy 
    )
    +
    +virtual
    +
    + +

    Called when the PHY update procedure is complete.

    +
    Parameters
    + + + + +
    [in]pClientA pointer to the client whose PHY was updated. about the peer connection parameters.
    [in]txPhyThe transmit PHY.
    [in]rxPhyThe receive PHY. Possible values:
      +
    • BLE_GAP_LE_PHY_1M
    • +
    • BLE_GAP_LE_PHY_2M
    • +
    • BLE_GAP_LE_PHY_CODED
    • +
    +
    +
    +
    @@ -335,7 +563,7 @@ This can be used to check the status of the connection encryption/pairing. diff --git a/class_nim_b_l_e_client_callbacks.js b/class_nim_b_l_e_client_callbacks.js index 2ea74cd..bd962e2 100644 --- a/class_nim_b_l_e_client_callbacks.js +++ b/class_nim_b_l_e_client_callbacks.js @@ -1,9 +1,13 @@ var class_nim_b_l_e_client_callbacks = [ - [ "onAuthenticationComplete", "class_nim_b_l_e_client_callbacks.html#a40fb2013fc4ebe51f770699377922065", null ], - [ "onConfirmPIN", "class_nim_b_l_e_client_callbacks.html#ace39ee838319e415bd0fc5c72a653ff0", null ], + [ "onAuthenticationComplete", "class_nim_b_l_e_client_callbacks.html#ae8e2abef6949ac87abf5ecad1a4dfe35", null ], + [ "onConfirmPasskey", "class_nim_b_l_e_client_callbacks.html#a6e7cfa81cd43420f78d6da727c67928b", null ], [ "onConnect", "class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae", null ], + [ "onConnectFail", "class_nim_b_l_e_client_callbacks.html#ad0eb6bee07ef8c41dd8924aaca3bc71e", null ], [ "onConnParamsUpdateRequest", "class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6", null ], - [ "onDisconnect", "class_nim_b_l_e_client_callbacks.html#a3e5571e4d5ee53c5c4b25ceaac66b808", null ], - [ "onPassKeyRequest", "class_nim_b_l_e_client_callbacks.html#a9850764aec546747537c6baa2a4622f5", null ] + [ "onDisconnect", "class_nim_b_l_e_client_callbacks.html#ad618179ade926482a7f2d94b0deabd69", null ], + [ "onIdentity", "class_nim_b_l_e_client_callbacks.html#ac03333d26d570e55b285da460c0def76", null ], + [ "onMTUChange", "class_nim_b_l_e_client_callbacks.html#a92662eb9ecf882b2c55bc6d9b4de97bc", null ], + [ "onPassKeyEntry", "class_nim_b_l_e_client_callbacks.html#aacb0b757e6e7c7984d8389c83fe1937d", null ], + [ "onPhyUpdate", "class_nim_b_l_e_client_callbacks.html#a4e91ebb66e46b7f3ccc6291ece0b549c", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_conn_info-members.html b/class_nim_b_l_e_conn_info-members.html index 6ee3e62..045aceb 100644 --- a/class_nim_b_l_e_conn_info-members.html +++ b/class_nim_b_l_e_conn_info-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,38 +76,44 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_conn_info.html',''); i
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEConnInfo Member List
    +
    NimBLEConnInfo Member List
    diff --git a/class_nim_b_l_e_conn_info.html b/class_nim_b_l_e_conn_info.html index 5da6921..f91aea5 100644 --- a/class_nim_b_l_e_conn_info.html +++ b/class_nim_b_l_e_conn_info.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEConnInfo Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,77 +76,85 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_conn_info.html',''); i
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEConnInfo Class Reference
    +
    NimBLEConnInfo Class Reference

    Connection information. More...

    + +

    #include <NimBLEConnInfo.h>

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

    -NimBLEAddress getAddress ()
     Gets the over-the-air address of the connected peer.
     
    -NimBLEAddress getIdAddress ()
     Gets the ID address of the connected peer.
     
    -uint16_t getConnHandle ()
     Gets the connection handle of the connected peer.
     
    -uint16_t getConnInterval ()
     Gets the connection interval for this connection (in 1.25ms units)
     
    -uint16_t getConnTimeout ()
     Gets the supervision timeout for this connection (in 10ms units)
     
    -uint16_t getConnLatency ()
     Gets the allowable latency for this connection (unit = number of intervals)
     
    -uint16_t getMTU ()
     Gets the maximum transmission unit size for this connection (in bytes)
     
    -bool isMaster ()
     Check if we are in the master role in this connection.
     
    -bool isSlave ()
     Check if we are in the slave role in this connection.
     
    -bool isBonded ()
     Check if we are connected to a bonded peer.
     
    -bool isEncrypted ()
     Check if the connection in encrypted.
     
    -bool isAuthenticated ()
     Check if the the connection has been authenticated.
     
    -uint8_t getSecKeySize ()
     Gets the key size used to encrypt the connection.
     
    +NimBLEAddress getAddress () const
     Gets the over-the-air address of the connected peer.
     
    +NimBLEAddress getIdAddress () const
     Gets the ID address of the connected peer.
     
    +uint16_t getConnHandle () const
     Gets the connection handle (also known as the connection id) of the connected peer.
     
    +uint16_t getConnInterval () const
     Gets the connection interval for this connection (in 1.25ms units)
     
    +uint16_t getConnTimeout () const
     Gets the supervision timeout for this connection (in 10ms units)
     
    +uint16_t getConnLatency () const
     Gets the allowable latency for this connection (unit = number of intervals)
     
    +uint16_t getMTU () const
     Gets the maximum transmission unit size for this connection (in bytes)
     
    +bool isMaster () const
     Check if we are in the master role in this connection.
     
    +bool isSlave () const
     Check if we are in the slave role in this connection.
     
    +bool isBonded () const
     Check if we are connected to a bonded peer.
     
    +bool isEncrypted () const
     Check if the connection in encrypted.
     
    +bool isAuthenticated () const
     Check if the the connection has been authenticated.
     
    +uint8_t getSecKeySize () const
     Gets the key size used to encrypt the connection.
     

    Detailed Description

    Connection information.

    @@ -156,7 +164,7 @@ uint8_t 
    diff --git a/class_nim_b_l_e_conn_info.js b/class_nim_b_l_e_conn_info.js index 2369c40..fe3f915 100644 --- a/class_nim_b_l_e_conn_info.js +++ b/class_nim_b_l_e_conn_info.js @@ -1,16 +1,16 @@ var class_nim_b_l_e_conn_info = [ - [ "getAddress", "class_nim_b_l_e_conn_info.html#af17023ca06c3d1b9e142dcd5f8c54847", null ], - [ "getConnHandle", "class_nim_b_l_e_conn_info.html#a77e212f3e236b05da0978ea482e3efb4", null ], - [ "getConnInterval", "class_nim_b_l_e_conn_info.html#aa43374d84b7564f6d187fd0c637b1049", null ], - [ "getConnLatency", "class_nim_b_l_e_conn_info.html#a10c6093ca2f92ea61b82815909106430", null ], - [ "getConnTimeout", "class_nim_b_l_e_conn_info.html#a8e885d340f1ab4e477c69ed7ea99b082", null ], - [ "getIdAddress", "class_nim_b_l_e_conn_info.html#a7bc23f09eb7dd53be902cb67d2ba745a", null ], - [ "getMTU", "class_nim_b_l_e_conn_info.html#a94796b6446ef40c0ae0d1f8af1ff9462", null ], - [ "getSecKeySize", "class_nim_b_l_e_conn_info.html#a278a8456f9d7df9cea7d776e61b36782", null ], - [ "isAuthenticated", "class_nim_b_l_e_conn_info.html#a7229e53d21c9c6b5b9fb5bd232862c89", null ], - [ "isBonded", "class_nim_b_l_e_conn_info.html#af281a25921d36dc75cf1e37561940125", null ], - [ "isEncrypted", "class_nim_b_l_e_conn_info.html#a8ecf3c58da6ffb529215ce6f13c96744", null ], - [ "isMaster", "class_nim_b_l_e_conn_info.html#a63ff245a8848bf1cc5839adee7aa41c4", null ], - [ "isSlave", "class_nim_b_l_e_conn_info.html#abfb91b833cb200f795bc63d5affff6af", null ] + [ "getAddress", "class_nim_b_l_e_conn_info.html#a11564eb72e1a4d28a0430a5f13582c1f", null ], + [ "getConnHandle", "class_nim_b_l_e_conn_info.html#aa3ffb5995fb9961a6f04117f538a8f28", null ], + [ "getConnInterval", "class_nim_b_l_e_conn_info.html#aca6b24e741bcf03d4b9bdc28b008b8c6", null ], + [ "getConnLatency", "class_nim_b_l_e_conn_info.html#a012bd655ebd9726762be76d30ebdb17e", null ], + [ "getConnTimeout", "class_nim_b_l_e_conn_info.html#aa8c39ebf9d346b3334b0a067ffe082a5", null ], + [ "getIdAddress", "class_nim_b_l_e_conn_info.html#a18e3b5d45183c8ef20f0d2475c947442", null ], + [ "getMTU", "class_nim_b_l_e_conn_info.html#a17e29d0af7978f15e41933994a7a9c8f", null ], + [ "getSecKeySize", "class_nim_b_l_e_conn_info.html#a3a555ccfc6fe678a2603942022a8cd5c", null ], + [ "isAuthenticated", "class_nim_b_l_e_conn_info.html#a8a1174d706ae36e99adc9498bf30d68f", null ], + [ "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 ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_descriptor-members.html b/class_nim_b_l_e_descriptor-members.html index 5e6391b..2743b4a 100644 --- a/class_nim_b_l_e_descriptor-members.html +++ b/class_nim_b_l_e_descriptor-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,40 +76,44 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_descriptor.html','');
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEDescriptor Member List
    +
    NimBLEDescriptor Member List

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

    - - - - - - - - - - - - - - - + + + + + + + + + + + + +
    getCharacteristic()NimBLEDescriptor
    getHandle()NimBLEDescriptor
    getLength()NimBLEDescriptor
    getStringValue()NimBLEDescriptor
    getUUID()NimBLEDescriptor
    getValue(time_t *timestamp=nullptr)NimBLEDescriptor
    getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)NimBLEDescriptorinline
    NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)NimBLEDescriptor
    NimBLEDescriptor(NimBLEUUID uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)NimBLEDescriptor
    setCallbacks(NimBLEDescriptorCallbacks *pCallbacks)NimBLEDescriptor
    setValue(const uint8_t *data, size_t size)NimBLEDescriptor
    setValue(const std::vector< uint8_t > &vec)NimBLEDescriptor
    setValue(const T &s)NimBLEDescriptorinline
    toString()NimBLEDescriptor
    ~NimBLEDescriptor()NimBLEDescriptor
    getCharacteristic() constNimBLEDescriptor
    getHandle() constNimBLEAttributeinline
    getRemoved() constNimBLELocalAttributeinline
    getUUID() constNimBLEAttributeinline
    NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
    NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)NimBLEDescriptor
    NimBLEDescriptor(const NimBLEUUID &uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)NimBLEDescriptor
    NimBLELocalAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLELocalAttributeinlineprotected
    setCallbacks(NimBLEDescriptorCallbacks *pCallbacks)NimBLEDescriptor
    setRemoved(uint8_t removed)NimBLELocalAttributeinlineprotected
    toString() constNimBLEDescriptor
    ~NimBLEAttribute()=defaultNimBLEAttributeprotected
    ~NimBLELocalAttribute()=defaultNimBLELocalAttributeprotected
    diff --git a/class_nim_b_l_e_descriptor.html b/class_nim_b_l_e_descriptor.html index 0ceb1ef..ea34d7d 100644 --- a/class_nim_b_l_e_descriptor.html +++ b/class_nim_b_l_e_descriptor.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEDescriptor Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,83 +76,58 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_descriptor.html','');
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEDescriptor Class Reference
    +
    NimBLEDescriptor Class Reference

    A model of a BLE descriptor. More...

    +

    #include <NimBLEDescriptor.h>

    + +

    Inherits NimBLELocalValueAttribute.

    +

    Inherited by NimBLE2904.

    - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - + + +

    +

    Public Member Functions

     NimBLEDescriptor (const char *uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)
     Construct a descriptor. More...
     
     NimBLEDescriptor (NimBLEUUID uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)
     Construct a descriptor. More...
     
    ~NimBLEDescriptor ()
     NimBLEDescriptor destructor.
     
    uint16_t getHandle ()
     Get the BLE handle for this descriptor. More...
     
    -NimBLEUUID getUUID ()
     Get the UUID of the descriptor.
     
    std::string toString ()
     Return a string representation of the descriptor. More...
     
    void setCallbacks (NimBLEDescriptorCallbacks *pCallbacks)
     Set the callback handlers for this descriptor. More...
     NimBLEDescriptor (const char *uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)
     Construct a descriptor.
     
     NimBLEDescriptor (const NimBLEUUID &uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)
     Construct a descriptor.
     
    std::string toString () const
     Return a string representation of the descriptor.
     
    void setCallbacks (NimBLEDescriptorCallbacks *pCallbacks)
     Set the callback handlers for this descriptor.
     
    NimBLECharacteristicgetCharacteristic ()
     Get the characteristic this descriptor belongs to. More...
     
    size_t getLength ()
     Get the length of the value of this descriptor. More...
     
    NimBLEAttValue getValue (time_t *timestamp=nullptr)
     Get the value of this descriptor. More...
     
    std::string getStringValue ()
     Get the value of this descriptor as a string. More...
     
    void setValue (const uint8_t *data, size_t size)
     Set the value of the descriptor. More...
     
    void setValue (const std::vector< uint8_t > &vec)
     Set the value of the descriptor from a std::vector<uint8_t>.
    -. More...
     
    template<typename T >
    void setValue (const T &s)
     Template to set the characteristic value to <type>val. More...
     
    template<typename T >
    getValue (time_t *timestamp=nullptr, bool skipSizeCheck=false)
     Template to convert the descriptor data to <type>. More...
     
    NimBLECharacteristicgetCharacteristic () const
     Get the characteristic this descriptor belongs to.
     

    Detailed Description

    A model of a BLE descriptor.

    Constructor & Destructor Documentation

    - -

    ◆ NimBLEDescriptor() [1/2]

    + +

    ◆ NimBLEDescriptor() [1/2]

    @@ -202,8 +177,8 @@ Public Member Functions
    - -

    ◆ NimBLEDescriptor() [2/2]

    + +

    ◆ NimBLEDescriptor() [2/2]

    @@ -211,7 +186,7 @@ Public Member Functions NimBLEDescriptor::NimBLEDescriptor ( - NimBLEUUID  + const NimBLEUUIDuuid, @@ -254,8 +229,8 @@ Public Member Functions

    Member Function Documentation

    - -

    ◆ getCharacteristic()

    + +

    ◆ getCharacteristic()

    @@ -264,7 +239,7 @@ Public Member Functions NimBLECharacteristic * NimBLEDescriptor::getCharacteristic ( ) - + const
    @@ -274,144 +249,8 @@ Public Member Functions
    - -

    ◆ getHandle()

    - -
    -
    - - - - - - - -
    uint16_t NimBLEDescriptor::getHandle ()
    -
    - -

    Get the BLE handle for this descriptor.

    -
    Returns
    The handle for this descriptor.
    - -
    -
    - -

    ◆ getLength()

    - -
    -
    - - - - - - - -
    size_t NimBLEDescriptor::getLength ()
    -
    - -

    Get the length of the value of this descriptor.

    -
    Returns
    The length (in bytes) of the value of this descriptor.
    - -
    -
    - -

    ◆ getStringValue()

    - -
    -
    - - - - - - - -
    std::string NimBLEDescriptor::getStringValue ()
    -
    - -

    Get the value of this descriptor as a string.

    -
    Returns
    A std::string instance containing a copy of the descriptor's value.
    - -
    -
    - -

    ◆ getValue() [1/2]

    - -
    -
    - - - - - - - - -
    NimBLEAttValue NimBLEDescriptor::getValue (time_t * timestamp = nullptr)
    -
    - -

    Get the value of this descriptor.

    -
    Returns
    The NimBLEAttValue of this descriptor.
    - -
    -
    - -

    ◆ getValue() [2/2]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    T NimBLEDescriptor::getValue (time_t * timestamp = nullptr,
    bool skipSizeCheck = false 
    )
    -
    -inline
    -
    - -

    Template to convert the descriptor data to <type>.

    -
    Template Parameters
    - - -
    TThe type to convert the data to.
    -
    -
    -
    Parameters
    - - - -
    [in]timestamp(Optional) A pointer to a time_t struct to store the time the value was read.
    [in]skipSizeCheck(Optional) If true it will skip checking if the data size is less than sizeof(<type>).
    -
    -
    -
    Returns
    The data converted to <type> or NULL if skipSizeCheck is false and the data is less than sizeof(<type>).
    -

    Use: getValue<type>(&timestamp, skipSizeCheck);

    - -
    -
    - -

    ◆ setCallbacks()

    + +

    ◆ setCallbacks()

    @@ -436,108 +275,8 @@ template<typename T >
    - -

    ◆ setValue() [1/3]

    - -
    -
    - - - - - - - - -
    void NimBLEDescriptor::setValue (const std::vector< uint8_t > & vec)
    -
    - -

    Set the value of the descriptor from a std::vector<uint8_t>.
    -.

    -
    Parameters
    - - -
    [in]vecThe std::vector<uint8_t> reference to set the descriptor value from.
    -
    -
    - -
    -
    - -

    ◆ setValue() [2/3]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - -
    void NimBLEDescriptor::setValue (const T & s)
    -
    -inline
    -
    - -

    Template to set the characteristic value to <type>val.

    -
    Parameters
    - - -
    [in]sThe value to set.
    -
    -
    - -
    -
    - -

    ◆ setValue() [3/3]

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    void NimBLEDescriptor::setValue (const uint8_t * data,
    size_t length 
    )
    -
    - -

    Set the value of the descriptor.

    -
    Parameters
    - - - -
    [in]dataThe data to set for the descriptor.
    [in]lengthThe length of the data in bytes.
    -
    -
    - -
    -
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -546,7 +285,7 @@ template<typename T >
    std::string NimBLEDescriptor::toString ( ) - + const
    @@ -562,7 +301,7 @@ template<typename T >
    diff --git a/class_nim_b_l_e_descriptor.js b/class_nim_b_l_e_descriptor.js index 4bc416a..d3b464c 100644 --- a/class_nim_b_l_e_descriptor.js +++ b/class_nim_b_l_e_descriptor.js @@ -1,18 +1,8 @@ var class_nim_b_l_e_descriptor = [ - [ "NimBLEDescriptor", "class_nim_b_l_e_descriptor.html#a3cf995352eb1b1c212a7911a05c33b25", null ], - [ "NimBLEDescriptor", "class_nim_b_l_e_descriptor.html#a7ecb634b7d6390677cad232bd6be6638", null ], - [ "~NimBLEDescriptor", "class_nim_b_l_e_descriptor.html#ad110851335bc7b225f5bea9ac11bedcc", null ], - [ "getCharacteristic", "class_nim_b_l_e_descriptor.html#a412b3735186d94e9ddcf37a06c2055e1", null ], - [ "getHandle", "class_nim_b_l_e_descriptor.html#a486af6799753dfa60b3faddfac2adbcd", null ], - [ "getLength", "class_nim_b_l_e_descriptor.html#a378346f59afb706d4c1d961227b98c5d", null ], - [ "getStringValue", "class_nim_b_l_e_descriptor.html#a7153e051e5808469c23e2207fa6711db", null ], - [ "getUUID", "class_nim_b_l_e_descriptor.html#abc5398a570edc197fbadad3f5b45e186", null ], - [ "getValue", "class_nim_b_l_e_descriptor.html#a8f64c733c8848948fe9123bd7cd3fd53", null ], - [ "getValue", "class_nim_b_l_e_descriptor.html#a61062547f21ca8e102ec5d8e0843c9f9", null ], + [ "NimBLEDescriptor", "class_nim_b_l_e_descriptor.html#acdae256772e6ba433df5ff3217335a1b", null ], + [ "NimBLEDescriptor", "class_nim_b_l_e_descriptor.html#a9b371ae4807648762cad1346ba6fd3c3", null ], + [ "getCharacteristic", "class_nim_b_l_e_descriptor.html#aa61b5f14156e9f378688ec875cf48309", null ], [ "setCallbacks", "class_nim_b_l_e_descriptor.html#aa9cb8727f9e17cf8050cf619e5fe3096", null ], - [ "setValue", "class_nim_b_l_e_descriptor.html#a644f739b6621702856be8db93035e9a0", null ], - [ "setValue", "class_nim_b_l_e_descriptor.html#a9136cc9e4b41110b3dd99d1c9553a477", null ], - [ "setValue", "class_nim_b_l_e_descriptor.html#a9447cee9092dc516266f7764131ba923", null ], - [ "toString", "class_nim_b_l_e_descriptor.html#ac15dc6c9c24d280c4b0eb766080497e5", null ] + [ "toString", "class_nim_b_l_e_descriptor.html#a83b589a2022bbd86743b0ee4c3670a37", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_descriptor_callbacks-members.html b/class_nim_b_l_e_descriptor_callbacks-members.html index 065034e..d37d7a9 100644 --- a/class_nim_b_l_e_descriptor_callbacks-members.html +++ b/class_nim_b_l_e_descriptor_callbacks-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,27 +76,33 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_descriptor_callbacks.h
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEDescriptorCallbacks Member List
    +
    NimBLEDescriptorCallbacks Member List

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

    - - + +
    onRead(NimBLEDescriptor *pDescriptor)NimBLEDescriptorCallbacksvirtual
    onWrite(NimBLEDescriptor *pDescriptor)NimBLEDescriptorCallbacksvirtual
    onRead(NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)NimBLEDescriptorCallbacksvirtual
    onWrite(NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)NimBLEDescriptorCallbacksvirtual
    diff --git a/class_nim_b_l_e_descriptor_callbacks.html b/class_nim_b_l_e_descriptor_callbacks.html index b4865f1..c23383e 100644 --- a/class_nim_b_l_e_descriptor_callbacks.html +++ b/class_nim_b_l_e_descriptor_callbacks.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEDescriptorCallbacks Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,38 +76,46 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_descriptor_callbacks.h
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEDescriptorCallbacks Class Reference
    +
    NimBLEDescriptorCallbacks Class Reference

    Callbacks that can be associated with a BLE descriptors to inform of events. More...

    + +

    #include <NimBLEDescriptor.h>

    - - - - - - - + + + + + +

    +

    Public Member Functions

    virtual void onRead (NimBLEDescriptor *pDescriptor)
     Callback function to support a read request. More...
     
    virtual void onWrite (NimBLEDescriptor *pDescriptor)
     Callback function to support a write request. More...
     
    virtual void onRead (NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)
     Callback function to support a read request.
     
    virtual void onWrite (NimBLEDescriptor *pDescriptor, NimBLEConnInfo &connInfo)
     Callback function to support a write request.
     

    Detailed Description

    Callbacks that can be associated with a BLE descriptors to inform of events.

    When a server application creates a BLE descriptor, we may wish to be informed when there is either a read or write request to the descriptors value. An application can register a sub-classed instance of this class and will be notified when such an event happens.

    Member Function Documentation

    - -

    ◆ onRead()

    + +

    ◆ onRead()

    @@ -119,8 +127,18 @@ Public Member Functions void NimBLEDescriptorCallbacks::onRead ( NimBLEDescriptor *  - pDescriptor) + pDescriptor, + + + + NimBLEConnInfo &  + connInfo  + + + + ) + @@ -134,14 +152,15 @@ Public Member Functions
    Parameters
    +
    [in]pDescriptorThe descriptor that is the source of the event.
    [in]connInfoA reference to a NimBLEConnInfo instance containing the peer info.
    - -

    ◆ onWrite()

    + +

    ◆ onWrite()

    @@ -153,8 +172,18 @@ Public Member Functions void NimBLEDescriptorCallbacks::onWrite ( NimBLEDescriptor *  - pDescriptor) + pDescriptor, + + + + NimBLEConnInfo &  + connInfo  + + + + ) + @@ -168,6 +197,7 @@ Public Member Functions
    Parameters
    +
    [in]pDescriptorThe descriptor that is the source of the event.
    [in]connInfoA reference to a NimBLEConnInfo instance containing the peer info.
    @@ -180,7 +210,7 @@ Public Member Functions diff --git a/class_nim_b_l_e_descriptor_callbacks.js b/class_nim_b_l_e_descriptor_callbacks.js index 430e18b..dc585d9 100644 --- a/class_nim_b_l_e_descriptor_callbacks.js +++ b/class_nim_b_l_e_descriptor_callbacks.js @@ -1,5 +1,5 @@ var class_nim_b_l_e_descriptor_callbacks = [ - [ "onRead", "class_nim_b_l_e_descriptor_callbacks.html#a6b13d2a8447f50a089b869cea9fcdcbc", null ], - [ "onWrite", "class_nim_b_l_e_descriptor_callbacks.html#a7081bf2c4f22225c4715e09762be40ed", null ] + [ "onRead", "class_nim_b_l_e_descriptor_callbacks.html#a061576b56702a6aca62a38f2ba27ba98", null ], + [ "onWrite", "class_nim_b_l_e_descriptor_callbacks.html#a2872d9e602d4e23cc63f55f5b2f76dd7", 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 7d712e1..2dbef22 100644 --- a/class_nim_b_l_e_device-members.html +++ b/class_nim_b_l_e_device-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,71 +76,85 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_device.html',''); init
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEDevice Member List
    +
    NimBLEDevice Member List

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

    - - + + - - - + + + - + - - - - - + + + + + - - - + + + - + - + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - + - +
    addIgnored(const NimBLEAddress &address)NimBLEDevicestatic
    createClient(NimBLEAddress peerAddress=NimBLEAddress(""))NimBLEDevicestatic
    createClient()NimBLEDevicestatic
    createClient(const NimBLEAddress &peerAddress)NimBLEDevicestatic
    createServer()NimBLEDevicestatic
    deinit(bool clearAll=false)NimBLEDevicestatic
    deleteAllBonds()NimBLEDevicestatic
    deleteBond(const NimBLEAddress &address)NimBLEDevicestatic
    deinit(bool clearAll=false)NimBLEDevicestatic
    deleteAllBonds()NimBLEDevicestatic
    deleteBond(const NimBLEAddress &address)NimBLEDevicestatic
    deleteClient(NimBLEClient *pClient)NimBLEDevicestatic
    getAddress()NimBLEDevicestatic
    getAddress()NimBLEDevicestatic
    getAdvertising()NimBLEDevicestatic
    getBondedAddress(int index)NimBLEDevicestatic
    getClientByID(uint16_t conn_id)NimBLEDevicestatic
    getClientByPeerAddress(const NimBLEAddress &peer_addr)NimBLEDevicestatic
    getClientList()NimBLEDevicestatic
    getClientListSize()NimBLEDevicestatic
    getBondedAddress(int index)NimBLEDevicestatic
    getClientByHandle(uint16_t connHandle)NimBLEDevicestatic
    getClientByPeerAddress(const NimBLEAddress &peerAddress)NimBLEDevicestatic
    getConnectedClients()NimBLEDevicestatic
    getCreatedClientCount()NimBLEDevicestatic
    getDisconnectedClient()NimBLEDevicestatic
    getInitialized()NimBLEDevicestatic
    getMTU()NimBLEDevicestatic
    getNumBonds()NimBLEDevicestatic
    getMTU()NimBLEDevicestatic
    getNumBonds()NimBLEDevicestatic
    getPower()NimBLEDevicestatic
    getScan()NimBLEDevicestatic
    getSecurityPasskey()NimBLEDevicestatic
    getSecurityPasskey()NimBLEDevicestatic
    getServer()NimBLEDevicestatic
    getWhiteListAddress(size_t index)NimBLEDevicestatic
    getWhiteListAddress(size_t index)NimBLEDevicestatic
    getWhiteListCount()NimBLEDevicestatic
    init(const std::string &deviceName)NimBLEDevicestatic
    isBonded(const NimBLEAddress &address)NimBLEDevicestatic
    isIgnored(const NimBLEAddress &address)NimBLEDevicestatic
    onWhiteList(const NimBLEAddress &address)NimBLEDevicestatic
    removeIgnored(const NimBLEAddress &address)NimBLEDevicestatic
    setCustomGapHandler(gap_event_handler handler)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
    host_task(void *param)NimBLEDevicestatic
    init(const std::string &deviceName)NimBLEDevicestatic
    injectConfirmPasskey(const NimBLEConnInfo &peerInfo, bool accept)NimBLEDevicestatic
    injectPassKey(const NimBLEConnInfo &peerInfo, uint32_t pin)NimBLEDevicestatic
    isBonded(const NimBLEAddress &address)NimBLEDevicestatic
    isInitialized()NimBLEDevicestatic
    onReset(int reason)NimBLEDevicestatic
    onSync(void)NimBLEDevicestatic
    onWhiteList(const NimBLEAddress &address)NimBLEDevicestatic
    setCustomGapHandler(gap_event_handler handler)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)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
    startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)NimBLEDevicestatic
    startAdvertising(uint32_t duration=0)NimBLEDevicestatic
    startSecurity(uint16_t connHandle, int *rcPtr=nullptr)NimBLEDevicestatic
    stopAdvertising(uint8_t instId)NimBLEDevicestatic
    stopAdvertising()NimBLEDevicestatic
    toString()NimBLEDevicestatic
    toString()NimBLEDevicestatic
    whiteListAdd(const NimBLEAddress &address)NimBLEDevicestatic
    whiteListRemove(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 641e714..92c2a98 100644 --- a/class_nim_b_l_e_device.html +++ b/class_nim_b_l_e_device.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEDevice Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,206 +76,205 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_device.html',''); init
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEDevice Class Reference
    +
    NimBLEDevice Class Reference

    A model of a BLE Device from which all the BLE roles are created. More...

    + +

    #include <NimBLEDevice.h>

    - - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + + - - - - - - - - - - - + + + + + + + + - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - + + + + + + + + + + +Checks if it is connected or trying to connect and disconnects/stops it first.
    - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - + - - + + - - - - - + + + + +

    +

    Static Public Member Functions

    static void init (const std::string &deviceName)
     Initialize the BLE environment. More...
     
    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...
     
    static NimBLEAddress getAddress ()
     Get our device address. More...
    static bool init (const std::string &deviceName)
     Initialize the BLE environment.
     
    static bool deinit (bool clearAll=false)
     Shutdown the NimBLE stack/controller.
     
    static bool setDeviceName (const std::string &deviceName)
     Set the BLEDevice name.
     
    static bool isInitialized ()
     Check if the initialization is complete.
     
    static NimBLEAddress getAddress ()
     Get our device address.
     
    static std::string toString ()
     Return a string representation of the address of this device. More...
    static std::string toString ()
     Return a string representation of the address of this device.
     
    static bool whiteListAdd (const NimBLEAddress &address)
     Add a peer address to the whitelist. More...
    static bool whiteListAdd (const NimBLEAddress &address)
     Add a peer address to the whitelist.
     
    static bool whiteListRemove (const NimBLEAddress &address)
     Remove a peer address from the whitelist. More...
    static bool whiteListRemove (const NimBLEAddress &address)
     Remove a peer address from the whitelist.
     
    static bool onWhiteList (const NimBLEAddress &address)
     Checks if a peer device is whitelisted. More...
    static bool onWhiteList (const NimBLEAddress &address)
     Checks if a peer device is whitelisted.
     
    static size_t getWhiteListCount ()
     Gets the count of addresses in the whitelist. More...
    static size_t getWhiteListCount ()
     Gets the count of addresses in the whitelist.
     
    static NimBLEAddress getWhiteListAddress (size_t index)
     Gets the address at the vector index. More...
    static NimBLEAddress getWhiteListAddress (size_t index)
     Gets the address at the vector index.
     
    static NimBLEScangetScan ()
     Retrieve the Scan object that we use for scanning. More...
     
    static NimBLEServercreateServer ()
     Create a new instance of a server. More...
     
    static NimBLEServergetServer ()
     Get the instance of the server. More...
     
    static void setCustomGapHandler (gap_event_handler handler)
     Set a custom callback for gap events. More...
     
    static void setSecurityAuth (bool bonding, bool mitm, bool sc)
     Set the authorization mode for this device. More...
    static bool setOwnAddrType (uint8_t type)
     Sets the address type to use.
     
    static bool setOwnAddr (const NimBLEAddress &addr)
     Set the device address to use.
     
    static bool setOwnAddr (const uint8_t *addr)
     Set the device address to use.
     
    static bool setCustomGapHandler (gap_event_handler handler)
     Set a custom callback for gap events.
     
    static void setSecurityAuth (bool bonding, bool mitm, bool sc)
     Set the authorization mode for this device.
     
    static void setSecurityAuth (uint8_t auth_req)
     Set the authorization mode for this device. More...
     
    static void setSecurityIOCap (uint8_t iocap)
     Set the Input/Output capabilities of this device. More...
    static void setSecurityAuth (uint8_t auth)
     Set the authorization mode for this device.
     
    static void setSecurityIOCap (uint8_t iocap)
     Set the Input/Output capabilities of this device.
     
    static void setSecurityInitKey (uint8_t init_key)
     If we are the initiator of the security procedure this sets the keys we will distribute. More...
     
    static void setSecurityRespKey (uint8_t init_key)
     Set the keys we are willing to accept during pairing. More...
     
    static void setSecurityPasskey (uint32_t pin)
     Set the passkey the server will ask for when pairing. More...
     
    static uint32_t getSecurityPasskey ()
     Get the current passkey used for pairing. More...
    static void setSecurityInitKey (uint8_t initKey)
     If we are the initiator of the security procedure this sets the keys we will distribute.
     
    static void setSecurityRespKey (uint8_t respKey)
     Set the keys we are willing to accept during pairing.
     
    static void setSecurityPasskey (uint32_t passKey)
     Set the passkey the server will ask for when pairing.
     
    static uint32_t getSecurityPasskey ()
     Get the current passkey used for pairing.
     
    static void setSecurityCallbacks (NimBLESecurityCallbacks *pCallbacks)
     Set callbacks that will be used to handle encryption negotiation events and authentication events. More...
     
    static int startSecurity (uint16_t conn_id)
     Start the connection securing and authorization for this connection. More...
     
    static int setMTU (uint16_t mtu)
     Setup local mtu that will be used to negotiate mtu during request from client peer. More...
     
    static uint16_t getMTU ()
     Get local MTU value set. More...
    static bool startSecurity (uint16_t connHandle, int *rcPtr=nullptr)
     Start the connection securing and authorization for this connection.
     
    static bool setMTU (uint16_t mtu)
     Setup local mtu that will be used to negotiate mtu during request from client peer.
     
    static uint16_t getMTU ()
     Get local MTU value set.
     
    static bool isIgnored (const NimBLEAddress &address)
     Check if the device address is on our ignore list. More...
     
    static void addIgnored (const NimBLEAddress &address)
     Add a device to the ignore list. More...
     
    static void removeIgnored (const NimBLEAddress &address)
     Remove a device from the ignore list. More...
     
    static NimBLEExtAdvertisinggetAdvertising ()
     Get the instance of the advertising object. More...
    static void onReset (int reason)
     Host reset, we pass the message so we don't make calls until re-synced.
     
    +static void onSync (void)
     Host synced with controller, all clear to make calls to the stack.
     
    +static void host_task (void *param)
     The main host task.
     
    static int getPower ()
     Get the transmission power.
     
    static bool setPower (int8_t dbm)
     Set the transmission power.
     
    static bool setDefaultPhy (uint8_t txPhyMask, uint8_t rxPhyMask)
     Set the preferred default phy to use for connections.
     
    static NimBLEScangetScan ()
     Retrieve the Scan object that we use for scanning.
     
    static NimBLEServercreateServer ()
     Create an instance of a server.
     
    static NimBLEServergetServer ()
     Get the instance of the server.
     
    static bool injectConfirmPasskey (const NimBLEConnInfo &peerInfo, bool accept)
     Inject the provided numeric comparison response into the Security Manager.
     
    static bool injectPassKey (const NimBLEConnInfo &peerInfo, uint32_t pin)
     Inject the provided passkey into the Security Manager.
     
    static NimBLEExtAdvertisinggetAdvertising ()
     Get the instance of the extended advertising object.
     
    static bool startAdvertising (uint8_t inst_id, int duration=0, int max_events=0)
     Convenience function to begin advertising. More...
     
    static bool stopAdvertising (uint8_t inst_id)
     Convenience function to stop advertising a data set. More...
     
    static bool stopAdvertising ()
     Convenience function to stop all advertising. More...
    static bool startAdvertising (uint8_t instId, int duration=0, int maxEvents=0)
     Convenience function to begin advertising.
     
    static bool stopAdvertising (uint8_t instId)
     Convenience function to stop advertising a data set.
     
    static bool stopAdvertising ()
     Convenience function to stop all advertising.
     
    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...
     
    static bool deleteClient (NimBLEClient *pClient)
    static bool startAdvertising (uint32_t duration=0)
     Convenience function to begin advertising.
     
    static NimBLEClientcreateClient ()
     Creates a new client object, each client can connect to 1 peripheral device.
     
    static NimBLEClientcreateClient (const NimBLEAddress &peerAddress)
     Creates a new client object, each client can connect to 1 peripheral device.
     
    static bool deleteClient (NimBLEClient *pClient)
     Delete the client object and remove it from the list.
    -Checks if it is connected or trying to connect and disconnects/stops it first. More...
     
    static NimBLEClientgetClientByID (uint16_t conn_id)
     Get a reference to a client by connection ID. More...
     
    static NimBLEClientgetClientByPeerAddress (const NimBLEAddress &peer_addr)
     Get a reference to a client by peer address. More...
     
    static NimBLEClientgetDisconnectedClient ()
     Finds the first disconnected client in the list. More...
    static NimBLEClientgetClientByHandle (uint16_t connHandle)
     Get a reference to a client by connection handle.
     
    static NimBLEClientgetClientByPeerAddress (const NimBLEAddress &peerAddress)
     Get a reference to a client by peer address.
     
    static NimBLEClientgetDisconnectedClient ()
     Finds the first disconnected client available.
     
    static size_t getClientListSize ()
     Get the number of created client objects. More...
     
    static std::list< NimBLEClient * > * getClientList ()
     Get the list of created client objects. More...
     
    static bool deleteBond (const NimBLEAddress &address)
     Deletes a peer bond. More...
    static size_t getCreatedClientCount ()
     Get the number of created client objects.
     
    static std::vector< NimBLEClient * > getConnectedClients ()
     Get a list of connected clients.
     
    static bool deleteBond (const NimBLEAddress &address)
     Deletes a peer bond.
     
    -static int getNumBonds ()
    +static int getNumBonds ()
     Gets the number of bonded peers stored.
     
    static bool isBonded (const NimBLEAddress &address)
     Checks if a peer device is bonded. More...
    static bool isBonded (const NimBLEAddress &address)
     Checks if a peer device is bonded.
     
    -static void deleteAllBonds ()
     Deletes all bonding information.
     
    static NimBLEAddress getBondedAddress (int index)
     Get the address of a bonded peer device by index. More...
    static bool deleteAllBonds ()
     Deletes all bonding information.
     
    static NimBLEAddress getBondedAddress (int index)
     Get the address of a bonded peer device by index.
     

    Detailed Description

    A model of a BLE Device from which all the BLE roles are created.

    Member Function Documentation

    - -

    ◆ addIgnored()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void NimBLEDevice::addIgnored (const NimBLEAddressaddress)
    -
    -static
    -
    - -

    Add a device to the ignore list.

    -
    Parameters
    - - -
    [in]addressThe address of the device we want to ignore.
    -
    -
    - -
    -
    - -

    ◆ createClient()

    + +

    ◆ createClient() [1/2]

    - -

    ◆ createServer()

    + +

    ◆ createClient() [2/2]

    + +
    +
    + + + + + +
    + + + + + + + + +
    NimBLEClient * NimBLEDevice::createClient (const NimBLEAddresspeerAddress)
    +
    +static
    +
    + +

    Creates a new client object, each client can connect to 1 peripheral device.

    +
    Parameters
    + + +
    [in]peerAddressA peer address reference that is copied to the new client object, allows for calling NimBLEClient::connect(bool) without a device or address parameter.
    +
    +
    +
    Returns
    A pointer to the new client object, or nullptr on error.
    + +
    +
    + +

    ◆ createServer()

    - -

    ◆ deinit()

    + +

    ◆ deinit()

    @@ -347,7 +374,7 @@ static void  - + @@ -364,16 +391,44 @@ static void 
    void NimBLEDevice::deinit bool NimBLEDevice::deinit ( bool  clearAll = false)Shutdown the NimBLE stack/controller.

    Parameters
    - +
    [in]clearAllIf true, deletes all server/advertising/scan/client objects after deinitializing.
    [in]clearAllIf true, deletes all server/advertising/scan/client objects after de-initializing.
    -
    Note
    If clearAll is true when called, any references to the created objects become invalid.
    +
    Note
    If clearAll is true when called all objects created will be deleted and any references to the created objects become invalid. If clearAll is false, the objects will remain and can be used again after re-initializing the stack. If the stack was not already initialized, the objects created can be deleted when clearAll is true with no effect on the stack.
    -
    -

    ◆ deleteBond()

    + +

    ◆ deleteAllBonds()

    + +
    +
    + + + + + +
    + + + + + + + +
    bool NimBLEDevice::deleteAllBonds ()
    +
    +static
    +
    + +

    Deletes all bonding information.

    +
    Returns
    True on success.
    + +
    +
    + +

    ◆ deleteBond()

    @@ -403,12 +458,12 @@ static void 
    -
    Returns
    true on success.
    +
    Returns
    True on success.
    -
    -

    ◆ deleteClient()

    + +

    ◆ deleteClient()

    @@ -442,8 +497,8 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - -

    ◆ getAddress()

    + +

    ◆ getAddress()

    @@ -466,12 +521,12 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <

    Get our device address.

    -
    Returns
    A NimBLEAddress object of our public address if we have one, if not then our current random address.
    +
    Returns
    A NimBLEAddress object with the currently used address, or a NULL address if not set.
    - -

    ◆ getAdvertising()

    + +

    ◆ getAdvertising()

    @@ -493,13 +548,16 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - -

    ◆ getBondedAddress()

    + +

    ◆ getBondedAddress()

    @@ -529,12 +587,12 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < -
    Returns
    NimBLEAddress of the found bonded peer or nullptr if not found.
    +
    Returns
    NimBLEAddress of the found bonded peer or null address if not found.
    - -

    ◆ getClientByID()

    + +

    ◆ getClientByHandle()

    @@ -543,10 +601,10 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < - + - +
    NimBLEClient * NimBLEDevice::getClientByID NimBLEClient * NimBLEDevice::getClientByHandle ( uint16_t conn_id)connHandle)
    @@ -557,19 +615,19 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    -

    Get a reference to a client by connection ID.

    +

    Get a reference to a client by connection handle.

    Parameters
    - +
    [in]conn_idThe client connection ID to search for.
    [in]connHandleThe client connection handle to search for.
    -
    Returns
    A pointer to the client object with the spcified connection ID.
    +
    Returns
    A pointer to the client object with the specified connection handle or nullptr.
    - -

    ◆ getClientByPeerAddress()

    + +

    ◆ getClientByPeerAddress()

    @@ -581,7 +639,7 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < NimBLEClient * NimBLEDevice::getClientByPeerAddress ( const NimBLEAddress &  - peer_addr) + addr) @@ -595,16 +653,16 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <

    Get a reference to a client by peer address.

    Parameters
    - +
    [in]peer_addrThe address of the peer to search for.
    [in]addrThe address of the peer to search for.
    -
    Returns
    A pointer to the client object with the peer address.
    +
    Returns
    A pointer to the client object with the peer address or nullptr.
    - -

    ◆ getClientList()

    + +

    ◆ getConnectedClients()

    @@ -613,7 +671,7 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < - + @@ -626,13 +684,13 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    std::list< NimBLEClient * > * NimBLEDevice::getClientList std::vector< NimBLEClient * > NimBLEDevice::getConnectedClients ( )
    -

    Get the list of created client objects.

    -
    Returns
    A pointer to the list of clients.
    +

    Get a list of connected clients.

    +
    Returns
    A vector of connected client objects.
    - -

    ◆ getClientListSize()

    + +

    ◆ getCreatedClientCount()

    @@ -641,7 +699,7 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < - + @@ -659,8 +717,8 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < - -

    ◆ getDisconnectedClient()

    + +

    ◆ getDisconnectedClient()

    @@ -682,41 +740,13 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    size_t NimBLEDevice::getClientListSize size_t NimBLEDevice::getCreatedClientCount ( )
    -

    Finds the first disconnected client in the list.

    -
    Returns
    A pointer to the first client object that is not connected to a peer.
    +

    Finds the first disconnected client available.

    +
    Returns
    A pointer to the first client object that is not connected to a peer or nullptr.
    - -

    ◆ getInitialized()

    - -
    -
    - - - - - -
    - - - - - - - -
    bool NimBLEDevice::getInitialized ()
    -
    -static
    -
    - -

    Check if the initialization is complete.

    -
    Returns
    true if initialized.
    - -
    -
    - -

    ◆ getMTU()

    + +

    ◆ getMTU()

    @@ -743,8 +773,36 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - -

    ◆ getScan()

    + +

    ◆ getPower()

    + +
    +
    + + + + + +
    + + + + + + + +
    int NimBLEDevice::getPower ()
    +
    +static
    +
    + +

    Get the transmission power.

    +
    Returns
    The power level currently used in dbm or 0xFF on error.
    + +
    +
    + +

    ◆ getScan()

    @@ -771,8 +829,8 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - -

    ◆ getSecurityPasskey()

    + +

    ◆ getSecurityPasskey()

    @@ -799,8 +857,8 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - -

    ◆ getServer()

    + +

    ◆ getServer()

    @@ -823,12 +881,12 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <

    Get the instance of the server.

    -
    Returns
    A pointer to the server instance.
    +
    Returns
    A pointer to the server instance or nullptr if none have been created.
    - -

    ◆ getWhiteListAddress()

    + +

    ◆ getWhiteListAddress()

    @@ -858,12 +916,12 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < -
    Returns
    the NimBLEAddress at the whitelist index or nullptr if not found.
    +
    Returns
    The NimBLEAddress at the whitelist index or null address if not found.
    - -

    ◆ getWhiteListCount()

    + +

    ◆ getWhiteListCount()

    @@ -890,8 +948,8 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - -

    ◆ init()

    + +

    ◆ init()

    @@ -900,7 +958,7 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < - + @@ -924,8 +982,99 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < - -

    ◆ isBonded()

    + +

    ◆ injectConfirmPasskey()

    + +
    +
    +
    void NimBLEDevice::init bool NimBLEDevice::init ( const std::string &  deviceName)
    + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEDevice::injectConfirmPasskey (const NimBLEConnInfopeerInfo,
    bool accept 
    )
    +
    +static
    +
    + +

    Inject the provided numeric comparison response into the Security Manager.

    +
    Parameters
    + + + +
    [in]peerInfoConnection information for the peer.
    [in]acceptWhether the user confirmed or declined the comparison.
    +
    +
    + +
    +
    + +

    ◆ injectPassKey()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEDevice::injectPassKey (const NimBLEConnInfopeerInfo,
    uint32_t passkey 
    )
    +
    +static
    +
    + +

    Inject the provided passkey into the Security Manager.

    +
    Parameters
    + + + +
    [in]peerInfoConnection information for the peer.
    [in]passkeyThe 6-digit passkey to inject.
    +
    +
    +
    Returns
    true if the passkey was injected successfully.
    + +
    +
    + +

    ◆ isBonded()

    @@ -955,12 +1104,12 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < -
    Returns
    true if bonded.
    +
    Returns
    True if bonded.
    - -

    ◆ isIgnored()

    + +

    ◆ isInitialized()

    @@ -969,10 +1118,9 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < - + - - +
    bool NimBLEDevice::isIgnored bool NimBLEDevice::isInitialized (const NimBLEAddressaddress))
    @@ -983,19 +1131,47 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    -

    Check if the device address is on our ignore list.

    -
    Parameters
    - - -
    [in]addressThe address to look for.
    -
    -
    -
    Returns
    True if ignoring.
    +

    Check if the initialization is complete.

    +
    Returns
    true if initialized.
    - -

    ◆ onWhiteList()

    + +

    ◆ onReset()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void NimBLEDevice::onReset (int reason)
    +
    +static
    +
    + +

    Host reset, we pass the message so we don't make calls until re-synced.

    +
    Parameters
    + + +
    [in]reasonThe reason code for the reset.
    +
    +
    + +
    +
    + +

    ◆ onWhiteList()

    @@ -1025,12 +1201,12 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < -
    Returns
    true if the address is in the whitelist.
    +
    Returns
    True if the address is in the whitelist.
    - -

    ◆ removeIgnored()

    + +

    ◆ setCustomGapHandler()

    @@ -1039,41 +1215,7 @@ Checks if it is connected or trying to connect and disconnects/stops it first. < - - - - - - -
    void NimBLEDevice::removeIgnored (const NimBLEAddressaddress)
    - - -static - - -
    - -

    Remove a device from the ignore list.

    -
    Parameters
    - - -
    [in]addressThe address of the device we want to remove from the list.
    -
    -
    - -
    -
    - -

    ◆ setCustomGapHandler()

    - -
    -
    - - - + + +
    - - - + @@ -1094,11 +1236,12 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    void NimBLEDevice::setCustomGapHandler bool NimBLEDevice::setCustomGapHandler ( gap_event_handler  handler)
    +
    Returns
    - -

    ◆ setDeviceName()

    + +

    ◆ setDefaultPhy()

    @@ -1107,7 +1250,65 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - + + + + + + + + + + + + + + + + +
    void NimBLEDevice::setDeviceName bool NimBLEDevice::setDefaultPhy (uint8_t txPhyMask,
    uint8_t rxPhyMask 
    )
    +
    +static
    +
    + +

    Set the preferred default phy to use for connections.

    +
    Parameters
    + + + +
    [in]txPhyMaskTX PHY. Can be mask of following:
      +
    • BLE_GAP_LE_PHY_1M_MASK
    • +
    • BLE_GAP_LE_PHY_2M_MASK
    • +
    • BLE_GAP_LE_PHY_CODED_MASK
    • +
    • BLE_GAP_LE_PHY_ANY_MASK
    • +
    +
    [in]rxPhyMaskRX PHY. Can be mask of following:
      +
    • BLE_GAP_LE_PHY_1M_MASK
    • +
    • BLE_GAP_LE_PHY_2M_MASK
    • +
    • BLE_GAP_LE_PHY_CODED_MASK
    • +
    • BLE_GAP_LE_PHY_ANY_MASK
    • +
    +
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ setDeviceName()

    + +
    +
    + + + - +
    + + + @@ -1121,18 +1322,18 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    bool NimBLEDevice::setDeviceName ( const std::string &  deviceName)
    -

    Set the BLEDevice's name.

    +

    Set the BLEDevice name.

    Parameters
    - +
    [in]deviceNameThe device name of the device.
    [in]deviceNameThe name to set.
    - -

    ◆ setMTU()

    + +

    ◆ setMTU()

    @@ -1141,7 +1342,7 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - + @@ -1165,11 +1366,159 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    int NimBLEDevice::setMTU bool NimBLEDevice::setMTU ( uint16_t  mtu)
    +
    Returns
    True if the mtu was set successfully.
    - -

    ◆ setSecurityAuth() [1/2]

    + +

    ◆ setOwnAddr() [1/2]

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool NimBLEDevice::setOwnAddr (const NimBLEAddressaddr)
    +
    +static
    +
    + +

    Set the device address to use.

    +
    Parameters
    + + +
    [in]addrThe address to set.
    +
    +
    +
    Returns
    True if the address was set successfully.
    +

    To use the address generated the address type must be set to random with setOwnAddrType.

    + +
    +
    + +

    ◆ setOwnAddr() [2/2]

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool NimBLEDevice::setOwnAddr (const uint8_t * addr)
    +
    +static
    +
    + +

    Set the device address to use.

    +
    Parameters
    + + +
    [in]addrThe address to set.
    +
    +
    +
    Returns
    True if the address was set successfully.
    +

    To use the address generated the address type must be set to random with setOwnAddrType.

    + +
    +
    + +

    ◆ setOwnAddrType()

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool NimBLEDevice::setOwnAddrType (uint8_t type)
    +
    +static
    +
    + +

    Sets the address type to use.

    +
    Parameters
    + + +
    [in]typeBluetooth Device address type. The available types are defined as:
      +
    • 0x00: BLE_OWN_ADDR_PUBLIC - Public address; Uses the hardware static address.
    • +
    • 0x01: BLE_OWN_ADDR_RANDOM - Random static address; Uses the hardware or generated random static address.
    • +
    • 0x02: BLE_OWN_ADDR_RPA_PUBLIC_DEFAULT - Resolvable private address, defaults to public if no RPA available.
    • +
    • 0x03: BLE_OWN_ADDR_RPA_RANDOM_DEFAULT - Resolvable private address, defaults to random static if no RPA available.
    • +
    +
    +
    +
    + +
    +
    + +

    ◆ setPower()

    + +
    +
    + + + + + +
    + + + + + + + + +
    bool NimBLEDevice::setPower (int8_t dbm)
    +
    +static
    +
    + +

    Set the transmission power.

    +
    Parameters
    + + +
    [in]dbmThe power level to set in dBm.
    +
    +
    +
    Returns
    True if the power level was set successfully.
    + +
    +
    + +

    ◆ setSecurityAuth() [1/2]

    @@ -1220,8 +1569,8 @@ Checks if it is connected or trying to connect and disconnects/stops it first. <
    - -

    ◆ setSecurityAuth() [2/2]

    + +

    ◆ setSecurityAuth() [2/2]

    @@ -1261,43 +1610,8 @@ The available bits are defined as:
    - -

    ◆ setSecurityCallbacks()

    - -
    -
    - - - - - -
    - - - - - - - - -
    void NimBLEDevice::setSecurityCallbacks (NimBLESecurityCallbackscallbacks)
    -
    -static
    -
    - -

    Set callbacks that will be used to handle encryption negotiation events and authentication events.

    -
    Parameters
    - - -
    [in]callbacksPointer to NimBLESecurityCallbacks class
    -
    -
    -
    Deprecated:
    For backward compatibility, New code should use client/server callback methods.
    - -
    -
    - -

    ◆ setSecurityInitKey()

    + +

    ◆ setSecurityInitKey()

    @@ -1309,7 +1623,7 @@ The available bits are defined as:
    void NimBLEDevice::setSecurityInitKey ( uint8_t init_key)initKey)
    @@ -1323,7 +1637,7 @@ The available bits are defined as:

      If we are the initiator of the security procedure this sets the keys we will distribute.

      Parameters
      - - +
      init_keyA bitmap indicating which keys to distribute during pairing.
      +
      initKeyA bitmap indicating which keys to distribute during pairing.
      The available bits are defined as:
      • 0x01: BLE_SM_PAIR_KEY_DIST_ENC - Distribute the encryption key.
      • 0x02: BLE_SM_PAIR_KEY_DIST_ID - Distribute the ID key (IRK).
      • @@ -1337,8 +1651,8 @@ The available bits are defined as:
          - -

          ◆ setSecurityIOCap()

          + +

          ◆ setSecurityIOCap()

          @@ -1378,8 +1692,8 @@ The available bits are defined as:
          - -

          ◆ setSecurityPasskey()

          + +

          ◆ setSecurityPasskey()

          @@ -1391,7 +1705,7 @@ The available bits are defined as:
      void NimBLEDevice::setSecurityPasskey ( uint32_t pin)passkey)
      @@ -1405,15 +1719,15 @@ The available bits are defined as:

        Set the passkey the server will ask for when pairing.

        Parameters
        - +
        [in]pinThe passkey to use.
        [in]passkeyThe passkey to use.
    - -

    ◆ setSecurityRespKey()

    + +

    ◆ setSecurityRespKey()

    @@ -1425,7 +1739,7 @@ The available bits are defined as:
      void NimBLEDevice::setSecurityRespKey ( uint8_t  - resp_key) + respKey) @@ -1439,7 +1753,7 @@ The available bits are defined as:

        Set the keys we are willing to accept during pairing.

        Parameters
        - - + +
        resp_keyA bitmap indicating which keys to accept during pairing. The available bits are defined as:
          +
        respKeyA bitmap indicating which keys to accept during pairing. The available bits are defined as:
        • 0x01: BLE_SM_PAIR_KEY_DIST_ENC - Accept the encryption key.
        • 0x02: BLE_SM_PAIR_KEY_DIST_ID - Accept the ID key (IRK).
        • 0x04: BLE_SM_PAIR_KEY_DIST_SIGN
        • @@ -1452,8 +1766,8 @@ The available bits are defined as:
            - -

            ◆ startAdvertising() [1/2]

            + +

            ◆ startAdvertising() [1/2]

            @@ -1464,7 +1778,8 @@ The available bits are defined as:
        bool NimBLEDevice::startAdvertising ()uint32_t duration = 0)
        @@ -1476,12 +1791,18 @@ The available bits are defined as:

    Convenience function to begin advertising.

    +
    Parameters
    + + +
    [in]durationThe duration in milliseconds to advertise for, default = forever.
    +
    +
    Returns
    True if advertising started successfully.
    - -

    ◆ startAdvertising() [2/2]

    + +

    ◆ startAdvertising() [2/2]

    @@ -1493,7 +1814,7 @@ The available bits are defined as:
      bool NimBLEDevice::startAdvertising ( uint8_t  - inst_id, + instId, @@ -1505,7 +1826,7 @@ The available bits are defined as:
        int  - max_events = 0  + maxEvents = 0  @@ -1523,9 +1844,9 @@ The available bits are defined as:

          Convenience function to begin advertising.

          Parameters
          - + - +
          [in]inst_idThe extended advertisement instance ID to start.
          [in]instIdThe extended advertisement instance ID to start.
          [in]durationHow long to advertise for in milliseconds, 0 = forever (default).
          [in]max_eventsMaximum number of advertisement events to send, 0 = no limit (default).
          [in]maxEventsMaximum number of advertisement events to send, 0 = no limit (default).
          @@ -1533,8 +1854,8 @@ The available bits are defined as:
    - -

    ◆ startSecurity()

    + +

    ◆ startSecurity()

    @@ -1543,11 +1864,21 @@ The available bits are defined as:
      - + - + + + + + + + + + + +
      int NimBLEDevice::startSecurity bool NimBLEDevice::startSecurity ( uint16_t conn_id)connHandle,
      int * rcPtr = nullptr 
      )
      @@ -1560,16 +1891,17 @@ The available bits are defined as:

        Start the connection securing and authorization for this connection.

        Parameters
        - + +
        conn_idThe connection id of the peer device.
        connHandleThe connection handle of the peer device.
        rcPtrOptional pointer to pass the return code to the caller.
        -
        Returns
        NimBLE stack return code, 0 = success.
        +
        Returns
        True if successfully started, success = 0 or BLE_HS_EALREADY.
    - -

    ◆ stopAdvertising() [1/2]

    + +

    ◆ stopAdvertising() [1/2]

    @@ -1596,8 +1928,8 @@ The available bits are defined as:
    - -

    ◆ stopAdvertising() [2/2]

    + +

    ◆ stopAdvertising() [2/2]

    @@ -1609,7 +1941,7 @@ The available bits are defined as:
      bool NimBLEDevice::stopAdvertising ( uint8_t  - inst_id) + instId) @@ -1623,7 +1955,7 @@ The available bits are defined as:

        Convenience function to stop advertising a data set.

        Parameters
        - +
        [in]inst_idThe extended advertisement instance ID to stop advertising.
        [in]instIdThe extended advertisement instance ID to stop advertising.
        @@ -1631,8 +1963,8 @@ The available bits are defined as:
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -1659,8 +1991,8 @@ The available bits are defined as:
    - -

    ◆ whiteListAdd()

    + +

    ◆ whiteListAdd()

    @@ -1690,12 +2022,12 @@ The available bits are defined as:
      -
      Returns
      true if successful.
      +
      Returns
      True if successful.
    - -

    ◆ whiteListRemove()

    + +

    ◆ whiteListRemove()

    @@ -1725,7 +2057,7 @@ The available bits are defined as:
      -
      Returns
      true if successful.
      +
      Returns
      True if successful.
    @@ -1735,7 +2067,7 @@ The available bits are defined as:
      diff --git a/class_nim_b_l_e_eddystone_t_l_m-members.html b/class_nim_b_l_e_eddystone_t_l_m-members.html index 877eb31..0e36f2a 100644 --- a/class_nim_b_l_e_eddystone_t_l_m-members.html +++ b/class_nim_b_l_e_eddystone_t_l_m-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
      - - + @@ -34,21 +33,22 @@
      -
      esp-nimble-cpp -  1.4.1 +
      +
      esp-nimble-cpp 2.0.0
      - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,41 +76,47 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_eddystone_t_l_m.html',
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEEddystoneTLM Member List
    +
    NimBLEEddystoneTLM Member List
    diff --git a/class_nim_b_l_e_eddystone_t_l_m.html b/class_nim_b_l_e_eddystone_t_l_m.html index 98681dd..c4dcd68 100644 --- a/class_nim_b_l_e_eddystone_t_l_m.html +++ b/class_nim_b_l_e_eddystone_t_l_m.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEEddystoneTLM Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,73 +76,80 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_eddystone_t_l_m.html',
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEEddystoneTLM Class Reference
    +
    NimBLEEddystoneTLM Class Reference

    Representation of a beacon. See: More...

    + +

    #include <NimBLEEddystoneTLM.h>

    - - - - - - - - - + + + + + - - + + - - + + - - - - - + + + + + - - + + - - + + - - - - - + + + + + + + + - - + + - - + + - - - - - + + + + + - - + +

    +

    Public Member Functions

    NimBLEEddystoneTLM ()
     Construct a default EddystoneTLM beacon object.
     
    std::string getData ()
     Retrieve the data that is being advertised. More...
     
    NimBLEUUID getUUID ()
     Get the UUID being advertised. More...
    const BeaconData getData ()
     Retrieve the data that is being advertised.
     
    NimBLEUUID getUUID ()
     Get the UUID being advertised.
     
    uint8_t getVersion ()
     Get the version being advertised. More...
    uint8_t getVersion ()
     Get the version being advertised.
     
    uint16_t getVolt ()
     Get the battery voltage. More...
    uint16_t getVolt ()
     Get the battery voltage.
     
    float getTemp ()
     Get the temperature being advertised. More...
     
    uint32_t getCount ()
     Get the count of advertisements sent. More...
    int16_t getTemp ()
     Get the temperature being advertised.
     
    uint32_t getCount ()
     Get the count of advertisements sent.
     
    uint32_t getTime ()
     Get the advertisement time. More...
    uint32_t getTime ()
     Get the advertisement time.
     
    std::string toString ()
     Get a string representation of the beacon. More...
    std::string toString ()
     Get a string representation of the beacon.
     
    void setData (const std::string &data)
     Set the raw data for the beacon advertisement. More...
     
    void setUUID (const NimBLEUUID &l_uuid)
     Set the UUID to advertise. More...
    void setData (const uint8_t *data, uint8_t length)
     Set the raw data for the beacon advertisement.
     
    void setData (const BeaconData &data)
     Set the raw data for the beacon advertisement.
     
    void setUUID (const NimBLEUUID &l_uuid)
     Set the UUID to advertise.
     
    void setVersion (uint8_t version)
     Set the version to advertise. More...
    void setVersion (uint8_t version)
     Set the version to advertise.
     
    void setVolt (uint16_t volt)
     Set the battery voltage to advertise. More...
    void setVolt (uint16_t volt)
     Set the battery voltage to advertise.
     
    void setTemp (float temp)
     Set the temperature to advertise. More...
     
    void setCount (uint32_t advCount)
     Set the advertisement count. More...
    void setTemp (int16_t temp)
     Set the temperature to advertise.
     
    void setCount (uint32_t advCount)
     Set the advertisement count.
     
    void setTime (uint32_t tmil)
     Set the advertisement time. More...
    void setTime (uint32_t tmil)
     Set the advertisement time.
     

    Detailed Description

    @@ -151,8 +158,8 @@ Public Member Functions
  • https://github.com/google/eddystone
  • Member Function Documentation

    - -

    ◆ getCount()

    + +

    ◆ getCount()

    @@ -171,14 +178,14 @@ Public Member Functions
    - -

    ◆ getData()

    + +

    ◆ getData()

    - + @@ -191,14 +198,14 @@ Public Member Functions - -

    ◆ getTemp()

    + +

    ◆ getTemp()

    std::string NimBLEEddystoneTLM::getData const NimBLEEddystoneTLM::BeaconData NimBLEEddystoneTLM::getData ( )
    - + @@ -211,8 +218,8 @@ Public Member Functions - -

    ◆ getTime()

    + +

    ◆ getTime()

    @@ -231,8 +238,8 @@ Public Member Functions
    - -

    ◆ getUUID()

    + +

    ◆ getUUID()

    @@ -251,8 +258,8 @@ Public Member Functions
    - -

    ◆ getVersion()

    + +

    ◆ getVersion()

    @@ -271,8 +278,8 @@ Public Member Functions
    - -

    ◆ getVolt()

    + +

    ◆ getVolt()

    @@ -291,8 +298,8 @@ Public Member Functions
    - -

    ◆ setCount()

    + +

    ◆ setCount()

    @@ -317,8 +324,8 @@ Public Member Functions
    - -

    ◆ setData()

    + +

    ◆ setData() [1/2]

    @@ -326,7 +333,7 @@ Public Member Functions
    - + @@ -343,8 +350,45 @@ Public Member Functions - -

    ◆ setTemp()

    + +

    ◆ setData() [2/2]

    + +
    +
    +
    float NimBLEEddystoneTLM::getTemp int16_t NimBLEEddystoneTLM::getTemp ( )
    void NimBLEEddystoneTLM::setData (const std::string & const BeaconData &  data)
    + + + + + + + + + + + + + + + + + +
    void NimBLEEddystoneTLM::setData (const uint8_t * data,
    uint8_t length 
    )
    +
    + +

    Set the raw data for the beacon advertisement.

    +
    Parameters
    + + + +
    [in]dataA pointer to the data to advertise.
    [in]lengthThe length of the data.
    +
    +
    + +
    +
    + +

    ◆ setTemp()

    @@ -352,7 +396,7 @@ Public Member Functions void NimBLEEddystoneTLM::setTemp ( - float  + int16_t  temp) @@ -362,15 +406,15 @@ Public Member Functions

    Set the temperature to advertise.

    Parameters
    - +
    [in]tempThe temperature value.
    [in]tempThe temperature value in 8.8 fixed point format.
    - -

    ◆ setTime()

    + +

    ◆ setTime()

    @@ -395,8 +439,8 @@ Public Member Functions
    - -

    ◆ setUUID()

    + +

    ◆ setUUID()

    @@ -405,7 +449,7 @@ Public Member Functions void NimBLEEddystoneTLM::setUUID ( const NimBLEUUID &  - l_uuid) + uuid) @@ -414,15 +458,15 @@ Public Member Functions

    Set the UUID to advertise.

    Parameters
    - +
    [in]l_uuidThe UUID.
    [in]uuidThe UUID.
    - -

    ◆ setVersion()

    + +

    ◆ setVersion()

    @@ -447,8 +491,8 @@ Public Member Functions
    - -

    ◆ setVolt()

    + +

    ◆ setVolt()

    @@ -473,8 +517,8 @@ Public Member Functions
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -499,7 +543,7 @@ Public Member Functions diff --git a/class_nim_b_l_e_eddystone_t_l_m.js b/class_nim_b_l_e_eddystone_t_l_m.js index bf76e2a..75a0457 100644 --- a/class_nim_b_l_e_eddystone_t_l_m.js +++ b/class_nim_b_l_e_eddystone_t_l_m.js @@ -1,16 +1,16 @@ var class_nim_b_l_e_eddystone_t_l_m = [ - [ "NimBLEEddystoneTLM", "class_nim_b_l_e_eddystone_t_l_m.html#a4d87d0b11420af2ae04bc4e6ce2f8607", null ], [ "getCount", "class_nim_b_l_e_eddystone_t_l_m.html#a556a6b6a75693997390f3bacf6e5ca5e", null ], - [ "getData", "class_nim_b_l_e_eddystone_t_l_m.html#ae146a8f066ef3fc6994070654ec5d7ea", null ], - [ "getTemp", "class_nim_b_l_e_eddystone_t_l_m.html#abda56940f7d9f7ccef2629b75880dd5f", null ], + [ "getData", "class_nim_b_l_e_eddystone_t_l_m.html#a32c448f92ce2e61a9589d1cb0d149d07", null ], + [ "getTemp", "class_nim_b_l_e_eddystone_t_l_m.html#a72589029e329c3939b05f9df5e8113ce", null ], [ "getTime", "class_nim_b_l_e_eddystone_t_l_m.html#ab1c4a13c2f57a6e0293810dd09be3db3", null ], [ "getUUID", "class_nim_b_l_e_eddystone_t_l_m.html#aa511375f22952c0f5846a51e6c2511c5", null ], [ "getVersion", "class_nim_b_l_e_eddystone_t_l_m.html#ae9f17d2c1e4150775881babb73f0b10c", null ], [ "getVolt", "class_nim_b_l_e_eddystone_t_l_m.html#af9862f983df6f48a96220e936d13d17b", null ], [ "setCount", "class_nim_b_l_e_eddystone_t_l_m.html#a6d033c09a513b2dfdad6f1b962b906a8", null ], - [ "setData", "class_nim_b_l_e_eddystone_t_l_m.html#a160e33218dc7fb33f678cda1605da52e", null ], - [ "setTemp", "class_nim_b_l_e_eddystone_t_l_m.html#a8e8ee8fff10730089a370f9da7b6a691", null ], + [ "setData", "class_nim_b_l_e_eddystone_t_l_m.html#a394d96131aecd687905fbff05196d4e6", null ], + [ "setData", "class_nim_b_l_e_eddystone_t_l_m.html#a05989cc6df5d5dc423c878d2317ddb89", null ], + [ "setTemp", "class_nim_b_l_e_eddystone_t_l_m.html#af5ff73359f3c7f7e76395d32f4efe575", null ], [ "setTime", "class_nim_b_l_e_eddystone_t_l_m.html#a999d53f4bad59c2ebc688403f66474b1", null ], [ "setUUID", "class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291", null ], [ "setVersion", "class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63", null ], diff --git a/class_nim_b_l_e_eddystone_u_r_l-members.html b/class_nim_b_l_e_eddystone_u_r_l-members.html deleted file mode 100644 index f041895..0000000 --- a/class_nim_b_l_e_eddystone_u_r_l-members.html +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - -esp-nimble-cpp: Member List - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    NimBLEEddystoneURL Member List
    -
    -
    - -

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

    - - - - - - - - - - - -
    getData()NimBLEEddystoneURL
    getDecodedURL()NimBLEEddystoneURL
    getPower()NimBLEEddystoneURL
    getURL()NimBLEEddystoneURL
    getUUID()NimBLEEddystoneURL
    NimBLEEddystoneURL()NimBLEEddystoneURL
    setData(const std::string &data)NimBLEEddystoneURL
    setPower(int8_t advertisedTxPower)NimBLEEddystoneURL
    setURL(const std::string &url)NimBLEEddystoneURL
    setUUID(const NimBLEUUID &l_uuid)NimBLEEddystoneURL
    -
    - - - - diff --git a/class_nim_b_l_e_eddystone_u_r_l.html b/class_nim_b_l_e_eddystone_u_r_l.html deleted file mode 100644 index 1452afb..0000000 --- a/class_nim_b_l_e_eddystone_u_r_l.html +++ /dev/null @@ -1,350 +0,0 @@ - - - - - - - -esp-nimble-cpp: NimBLEEddystoneURL Class Reference - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    - -
    -
    NimBLEEddystoneURL Class Reference
    -
    -
    - -

    Representation of a beacon. See: - More...

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

    -Public Member Functions

    NimBLEEddystoneURL ()
     Construct a default EddystoneURL beacon object.
     
    std::string getData ()
     Retrieve the data that is being advertised. More...
     
    NimBLEUUID getUUID ()
     Get the UUID being advertised. More...
     
    int8_t getPower ()
     Get the transmit power being advertised. More...
     
    std::string getURL ()
     Get the raw URL being advertised. More...
     
    std::string getDecodedURL ()
     Get the full URL being advertised. More...
     
    void setData (const std::string &data)
     Set the raw data for the beacon advertisement. More...
     
    void setUUID (const NimBLEUUID &l_uuid)
     Set the UUID to advertise. More...
     
    void setPower (int8_t advertisedTxPower)
     Set the transmit power to advertise. More...
     
    void setURL (const std::string &url)
     Set the URL to advertise. More...
     
    -

    Detailed Description

    -

    Representation of a beacon. See:

    - -

    Member Function Documentation

    - -

    ◆ getData()

    - -
    -
    - - - - - - - -
    std::string NimBLEEddystoneURL::getData ()
    -
    - -

    Retrieve the data that is being advertised.

    -
    Returns
    The advertised data.
    - -
    -
    - -

    ◆ getDecodedURL()

    - -
    -
    - - - - - - - -
    std::string NimBLEEddystoneURL::getDecodedURL ()
    -
    - -

    Get the full URL being advertised.

    -
    Returns
    The full URL.
    - -
    -
    - -

    ◆ getPower()

    - -
    -
    - - - - - - - -
    int8_t NimBLEEddystoneURL::getPower ()
    -
    - -

    Get the transmit power being advertised.

    -
    Returns
    The transmit power.
    - -
    -
    - -

    ◆ getURL()

    - -
    -
    - - - - - - - -
    std::string NimBLEEddystoneURL::getURL ()
    -
    - -

    Get the raw URL being advertised.

    -
    Returns
    The raw URL.
    - -
    -
    - -

    ◆ getUUID()

    - -
    -
    - - - - - - - -
    NimBLEUUID NimBLEEddystoneURL::getUUID ()
    -
    - -

    Get the UUID being advertised.

    -
    Returns
    The UUID advertised.
    - -
    -
    - -

    ◆ setData()

    - -
    -
    - - - - - - - - -
    void NimBLEEddystoneURL::setData (const std::string & data)
    -
    - -

    Set the raw data for the beacon advertisement.

    -
    Parameters
    - - -
    [in]dataThe raw data to advertise.
    -
    -
    - -
    -
    - -

    ◆ setPower()

    - -
    -
    - - - - - - - - -
    void NimBLEEddystoneURL::setPower (int8_t advertisedTxPower)
    -
    - -

    Set the transmit power to advertise.

    -
    Parameters
    - - -
    [in]advertisedTxPowerThe transmit power level.
    -
    -
    - -
    -
    - -

    ◆ setURL()

    - -
    -
    - - - - - - - - -
    void NimBLEEddystoneURL::setURL (const std::string & url)
    -
    - -

    Set the URL to advertise.

    -
    Parameters
    - - -
    [in]urlThe URL.
    -
    -
    - -
    -
    - -

    ◆ setUUID()

    - -
    -
    - - - - - - - - -
    void NimBLEEddystoneURL::setUUID (const NimBLEUUIDl_uuid)
    -
    - -

    Set the UUID to advertise.

    -
    Parameters
    - - -
    [in]l_uuidThe UUID.
    -
    -
    - -
    -
    -
    -
    - - - - diff --git a/class_nim_b_l_e_eddystone_u_r_l.js b/class_nim_b_l_e_eddystone_u_r_l.js deleted file mode 100644 index 729fb83..0000000 --- a/class_nim_b_l_e_eddystone_u_r_l.js +++ /dev/null @@ -1,13 +0,0 @@ -var class_nim_b_l_e_eddystone_u_r_l = -[ - [ "NimBLEEddystoneURL", "class_nim_b_l_e_eddystone_u_r_l.html#ae102214d20e32e31c9c84d723f67df15", null ], - [ "getData", "class_nim_b_l_e_eddystone_u_r_l.html#ac32c7066ce1ee8d495a35ec870f0e7bf", null ], - [ "getDecodedURL", "class_nim_b_l_e_eddystone_u_r_l.html#a8b68cc96a84da85e20d8583ba375c2ff", null ], - [ "getPower", "class_nim_b_l_e_eddystone_u_r_l.html#a42583c740bbdb9591422e8770f8bd0d5", null ], - [ "getURL", "class_nim_b_l_e_eddystone_u_r_l.html#a0109874399f3e70a72ee9f4a909710e1", null ], - [ "getUUID", "class_nim_b_l_e_eddystone_u_r_l.html#a1fde0fcf7d90f79e0eb718967518247a", null ], - [ "setData", "class_nim_b_l_e_eddystone_u_r_l.html#ada3ac4a544b8565635871f39f1593811", null ], - [ "setPower", "class_nim_b_l_e_eddystone_u_r_l.html#a8038c895e8da7c7ac861557ea0a9d91b", null ], - [ "setURL", "class_nim_b_l_e_eddystone_u_r_l.html#a8102533ff1e7b6527ea744279f8f64ca", null ], - [ "setUUID", "class_nim_b_l_e_eddystone_u_r_l.html#af183e8483ae81fff65d909e67986fcad", null ] -]; \ No newline at end of file diff --git a/class_nim_b_l_e_ext_advertisement-members.html b/class_nim_b_l_e_ext_advertisement-members.html index 30a7d00..23ec89b 100644 --- a/class_nim_b_l_e_ext_advertisement-members.html +++ b/class_nim_b_l_e_ext_advertisement-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,61 +76,79 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_ext_advertisement.html
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEExtAdvertisement Member List
    +
    NimBLEExtAdvertisement Member List

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

    - - + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    addData(const std::string &data)NimBLEExtAdvertisement
    addData(const uint8_t *data, size_t length)NimBLEExtAdvertisement
    addData(const uint8_t *data, size_t length)NimBLEExtAdvertisement
    addData(const std::string &data)NimBLEExtAdvertisement
    addServiceUUID(const NimBLEUUID &serviceUUID)NimBLEExtAdvertisement
    addServiceUUID(const char *serviceUUID)NimBLEExtAdvertisement
    addTxPower()NimBLEExtAdvertisement
    clearData()NimBLEExtAdvertisement
    clearData()NimBLEExtAdvertisement
    enableScanRequestCallback(bool enable)NimBLEExtAdvertisement
    getDataSize()NimBLEExtAdvertisement
    NimBLEExtAdvertisement(uint8_t priPhy=BLE_HCI_LE_PHY_1M, uint8_t secPhy=BLE_HCI_LE_PHY_1M)NimBLEExtAdvertisement
    setAddress(const NimBLEAddress &addr)NimBLEExtAdvertisement
    setAnonymous(bool val)NimBLEExtAdvertisement
    setAppearance(uint16_t appearance)NimBLEExtAdvertisement
    setCompleteServices(const NimBLEUUID &uuid)NimBLEExtAdvertisement
    setCompleteServices16(const std::vector< NimBLEUUID > &v_uuid)NimBLEExtAdvertisement
    setCompleteServices32(const std::vector< NimBLEUUID > &v_uuid)NimBLEExtAdvertisement
    setConnectable(bool val)NimBLEExtAdvertisement
    setData(const uint8_t *data, size_t length)NimBLEExtAdvertisement
    setDirected(bool val, bool high_duty=true)NimBLEExtAdvertisement
    setDirectedPeer(const NimBLEAddress &addr)NimBLEExtAdvertisement
    setFlags(uint8_t flag)NimBLEExtAdvertisement
    setLegacyAdvertising(bool val)NimBLEExtAdvertisement
    setManufacturerData(const std::string &data)NimBLEExtAdvertisement
    setMaxInterval(uint32_t maxinterval)NimBLEExtAdvertisement
    setMinInterval(uint32_t mininterval)NimBLEExtAdvertisement
    setName(const std::string &name)NimBLEExtAdvertisement
    setPartialServices(const NimBLEUUID &uuid)NimBLEExtAdvertisement
    setPartialServices16(const std::vector< NimBLEUUID > &v_uuid)NimBLEExtAdvertisement
    setPartialServices32(const std::vector< NimBLEUUID > &v_uuid)NimBLEExtAdvertisement
    setPreferredParams(uint16_t min, uint16_t max)NimBLEExtAdvertisement
    setPrimaryChannels(bool ch37, bool ch38, bool ch39)NimBLEExtAdvertisement
    setPrimaryPhy(uint8_t phy)NimBLEExtAdvertisement
    setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)NimBLEExtAdvertisement
    setScannable(bool val)NimBLEExtAdvertisement
    setSecondaryPhy(uint8_t phy)NimBLEExtAdvertisement
    setServiceData(const NimBLEUUID &uuid, const std::string &data)NimBLEExtAdvertisement
    setShortName(const std::string &name)NimBLEExtAdvertisement
    setTxPower(int8_t dbm)NimBLEExtAdvertisement
    setURI(const std::string &uri)NimBLEExtAdvertisement
    getDataLocation(uint8_t type) constNimBLEExtAdvertisement
    getDataSize() constNimBLEExtAdvertisement
    NimBLEExtAdvertisement(uint8_t priPhy=BLE_HCI_LE_PHY_1M, uint8_t secPhy=BLE_HCI_LE_PHY_1M)NimBLEExtAdvertisement
    removeData(uint8_t type)NimBLEExtAdvertisement
    removeServices()NimBLEExtAdvertisement
    removeServiceUUID(const NimBLEUUID &serviceUUID)NimBLEExtAdvertisement
    removeServiceUUID(const char *serviceUUID)NimBLEExtAdvertisement
    setAddress(const NimBLEAddress &addr)NimBLEExtAdvertisement
    setAnonymous(bool enable)NimBLEExtAdvertisement
    setAppearance(uint16_t appearance)NimBLEExtAdvertisement
    setCompleteServices(const NimBLEUUID &uuid)NimBLEExtAdvertisement
    setCompleteServices16(const std::vector< NimBLEUUID > &uuids)NimBLEExtAdvertisement
    setCompleteServices32(const std::vector< NimBLEUUID > &uuids)NimBLEExtAdvertisement
    setConnectable(bool enable)NimBLEExtAdvertisement
    setData(const uint8_t *data, size_t length)NimBLEExtAdvertisement
    setDirected(bool enable, bool high_duty=true)NimBLEExtAdvertisement
    setDirectedPeer(const NimBLEAddress &addr)NimBLEExtAdvertisement
    setFlags(uint8_t flag)NimBLEExtAdvertisement
    setLegacyAdvertising(bool enable)NimBLEExtAdvertisement
    setManufacturerData(const uint8_t *data, size_t length)NimBLEExtAdvertisement
    setManufacturerData(const std::string &data)NimBLEExtAdvertisement
    setManufacturerData(const std::vector< uint8_t > &data)NimBLEExtAdvertisement
    setMaxInterval(uint32_t maxinterval)NimBLEExtAdvertisement
    setMinInterval(uint32_t mininterval)NimBLEExtAdvertisement
    setName(const std::string &name, bool isComplete=true)NimBLEExtAdvertisement
    setPartialServices(const NimBLEUUID &uuid)NimBLEExtAdvertisement
    setPartialServices16(const std::vector< NimBLEUUID > &uuids)NimBLEExtAdvertisement
    setPartialServices32(const std::vector< NimBLEUUID > &uuids)NimBLEExtAdvertisement
    setPreferredParams(uint16_t min, uint16_t max)NimBLEExtAdvertisement
    setPrimaryChannels(bool ch37, bool ch38, bool ch39)NimBLEExtAdvertisement
    setPrimaryPhy(uint8_t phy)NimBLEExtAdvertisement
    setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)NimBLEExtAdvertisement
    setScannable(bool enable)NimBLEExtAdvertisement
    setSecondaryPhy(uint8_t phy)NimBLEExtAdvertisement
    setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)NimBLEExtAdvertisement
    setServiceData(const NimBLEUUID &uuid, const std::string &data)NimBLEExtAdvertisement
    setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)NimBLEExtAdvertisement
    setShortName(const std::string &name)NimBLEExtAdvertisement
    setTxPower(int8_t dbm)NimBLEExtAdvertisement
    setURI(const std::string &uri)NimBLEExtAdvertisement
    toString() constNimBLEExtAdvertisement
    diff --git a/class_nim_b_l_e_ext_advertisement.html b/class_nim_b_l_e_ext_advertisement.html index e4d8884..9f1bc05 100644 --- a/class_nim_b_l_e_ext_advertisement.html +++ b/class_nim_b_l_e_ext_advertisement.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEExtAdvertisement Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,141 +76,186 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_ext_advertisement.html
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEExtAdvertisement Class Reference
    +
    NimBLEExtAdvertisement Class Reference

    Extended advertisement data. More...

    + +

    #include <NimBLEExtAdvertising.h>

    - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - + + + + + + + + - - + + - - + + - - + + - - + + - - - + + + + + + + + + + + +

    +

    Public Member Functions

     NimBLEExtAdvertisement (uint8_t priPhy=BLE_HCI_LE_PHY_1M, uint8_t secPhy=BLE_HCI_LE_PHY_1M)
     Construct a BLE extended advertisement. More...
     NimBLEExtAdvertisement (uint8_t priPhy=BLE_HCI_LE_PHY_1M, uint8_t secPhy=BLE_HCI_LE_PHY_1M)
     Construct a BLE extended advertisement.
     
    void setAppearance (uint16_t appearance)
     Set the appearance. More...
     
    void setCompleteServices (const NimBLEUUID &uuid)
     Set a single service to advertise as a complete list of services. More...
     
    void setCompleteServices16 (const std::vector< NimBLEUUID > &v_uuid)
     Set the complete list of 16 bit services to advertise. More...
     
    void setCompleteServices32 (const std::vector< NimBLEUUID > &v_uuid)
     Set the complete list of 32 bit services to advertise. More...
     
    void setFlags (uint8_t flag)
     Set the advertisement flags. More...
     
    void setManufacturerData (const std::string &data)
     Set manufacturer specific data. More...
     
    void setURI (const std::string &uri)
     Set the URI to advertise. More...
     
    void setName (const std::string &name)
     Set the complete name of this device. More...
     
    void setPartialServices (const NimBLEUUID &uuid)
     Set a single service to advertise as a partial list of services. More...
     
    void setPartialServices16 (const std::vector< NimBLEUUID > &v_uuid)
     Set the partial list of services to advertise. More...
     
    void setPartialServices32 (const std::vector< NimBLEUUID > &v_uuid)
     Set the partial list of services to advertise. More...
     
    void setServiceData (const NimBLEUUID &uuid, const std::string &data)
     Set the service data (UUID + data) More...
     
    void setShortName (const std::string &name)
     Set the short name. More...
     
    void setData (const uint8_t *data, size_t length)
     Set the advertisement data. More...
     
    void addData (const std::string &data)
     Add data to the payload to be advertised. More...
     
    void addData (const uint8_t *data, size_t length)
     Add data to the payload to be advertised. More...
     
    -void addTxPower ()
    bool setAppearance (uint16_t appearance)
     Set the appearance.
     
    bool addServiceUUID (const NimBLEUUID &serviceUUID)
     Add a service uuid to exposed list of services.
     
    bool addServiceUUID (const char *serviceUUID)
     Add a service uuid to exposed list of services.
     
    bool removeServiceUUID (const NimBLEUUID &serviceUUID)
     Remove a service UUID from the advertisement.
     
    bool removeServiceUUID (const char *serviceUUID)
     Remove a service UUID from the advertisement.
     
    +bool removeServices ()
     Remove all service UUIDs from the advertisement.
     
    bool setCompleteServices (const NimBLEUUID &uuid)
     Set a single service to advertise as a complete list of services.
     
    bool setCompleteServices16 (const std::vector< NimBLEUUID > &uuids)
     Set the complete list of 16 bit services to advertise.
     
    bool setCompleteServices32 (const std::vector< NimBLEUUID > &uuids)
     Set the complete list of 32 bit services to advertise.
     
    bool setFlags (uint8_t flag)
     Set the advertisement flags.
     
    bool setManufacturerData (const uint8_t *data, size_t length)
     Set manufacturer specific data.
     
    bool setManufacturerData (const std::string &data)
     Set manufacturer specific data.
     
    bool setManufacturerData (const std::vector< uint8_t > &data)
     Set manufacturer specific data.
     
    bool setURI (const std::string &uri)
     Set the URI to advertise.
     
    bool setName (const std::string &name, bool isComplete=true)
     Set the complete name of this device.
     
    bool setPartialServices (const NimBLEUUID &uuid)
     Set a single service to advertise as a partial list of services.
     
    bool setPartialServices16 (const std::vector< NimBLEUUID > &uuids)
     Set the partial list of services to advertise.
     
    bool setPartialServices32 (const std::vector< NimBLEUUID > &uuids)
     Set the partial list of services to advertise.
     
    bool setServiceData (const NimBLEUUID &uuid, const uint8_t *data, size_t length)
     Set the service data advertised for the UUID.
     
    bool setServiceData (const NimBLEUUID &uuid, const std::string &data)
     Set the service data (UUID + data)
     
    bool setServiceData (const NimBLEUUID &uuid, const std::vector< uint8_t > &data)
     Set the service data advertised for the UUID.
     
    bool setShortName (const std::string &name)
     Set the short name.
     
    bool setData (const uint8_t *data, size_t length)
     Set the advertisement data.
     
    bool addData (const uint8_t *data, size_t length)
     Add data to the payload to be advertised.
     
    bool addData (const std::string &data)
     Add data to the payload to be advertised.
     
    bool setPreferredParams (uint16_t min, uint16_t max)
     Set the preferred min and max connection intervals to advertise.
     
    +void addTxPower ()
     Adds Tx power level to the advertisement data.
     
    void setPreferredParams (uint16_t min, uint16_t max)
     Set the preferred connection interval parameters. More...
     
    void setLegacyAdvertising (bool val)
     Sets wether the advertisement should use legacy (BLE 4.0, 31 bytes max) advertising. More...
     
    void setConnectable (bool val)
     Sets wether this advertisement should advertise as a connectable device. More...
     
    void setScannable (bool val)
     Sets wether the advertisement has scan response data available. More...
     
    void setMinInterval (uint32_t mininterval)
     Set the minimum advertising interval. More...
    void setLegacyAdvertising (bool enable)
     Sets wether the advertisement should use legacy (BLE 4.0, 31 bytes max) advertising.
     
    void setConnectable (bool enable)
     Sets wether this advertisement should advertise as a connectable device.
     
    void setScannable (bool enable)
     Sets wether the advertisement has scan response data available.
     
    void setMinInterval (uint32_t mininterval)
     Set the minimum advertising interval.
     
    void setMaxInterval (uint32_t maxinterval)
     Set the maximum advertising interval. More...
    void setMaxInterval (uint32_t maxinterval)
     Set the maximum advertising interval.
     
    void setPrimaryPhy (uint8_t phy)
     Set the primary advertising PHY to use. More...
    void setPrimaryPhy (uint8_t phy)
     Set the primary advertising PHY to use.
     
    void setSecondaryPhy (uint8_t phy)
     Set the secondary advertising PHY to use. More...
    void setSecondaryPhy (uint8_t phy)
     Set the secondary advertising PHY to use.
     
    void setScanFilter (bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
     Set the filtering for the scan filter. More...
    void setScanFilter (bool scanRequestWhitelistOnly, bool connectWhitelistOnly)
     Set the filtering for the scan filter.
     
    void setDirectedPeer (const NimBLEAddress &addr)
     Sets the peer to directly advertise to. More...
    void setDirectedPeer (const NimBLEAddress &addr)
     Sets the peer to directly advertise to.
     
    void setDirected (bool val, bool high_duty=true)
     Enable or disable direct advertisements to the peer set with NimBLEExtAdvertisement::setDirectedPeer More...
     
    void setAnonymous (bool val)
     Sets whether the advertisement should be anonymous. More...
     
    void setPrimaryChannels (bool ch37, bool ch38, bool ch39)
     Sets The primary channels to advertise on. More...
    void setDirected (bool enable, bool high_duty=true)
     Enable or disable direct advertisements to the peer set with NimBLEExtAdvertisement::setDirectedPeer
     
    void setAnonymous (bool enable)
     Sets whether the advertisement should be anonymous.
     
    void setPrimaryChannels (bool ch37, bool ch38, bool ch39)
     Sets The primary channels to advertise on.
     
    void setTxPower (int8_t dbm)
     Sets the transmission power level for this advertisement. More...
    void setTxPower (int8_t dbm)
     Sets the transmission power level for this advertisement.
     
    void setAddress (const NimBLEAddress &addr)
     Set the address to use for this advertisement. More...
    void setAddress (const NimBLEAddress &addr)
     Set the address to use for this advertisement.
     
    void enableScanRequestCallback (bool enable)
     Sets whether the scan response request callback should be called. More...
    void enableScanRequestCallback (bool enable)
     Sets whether the scan response request callback should be called.
     
    void clearData ()
     Clears the data stored in this instance, does not change settings. More...
    void clearData ()
     Clears the data stored in this instance, does not change settings.
     
    -size_t getDataSize ()
     Get the size of the current data.
     
    int getDataLocation (uint8_t type) const
     Get the location of the data in the payload.
     
    bool removeData (uint8_t type)
     Remove data from the advertisement data.
     
    +size_t getDataSize () const
     Get the size of the current data.
     
    std::string toString () const
     Get the string representation of the advertisement data.
     

    Detailed Description

    Extended advertisement data.

    Constructor & Destructor Documentation

    - -

    ◆ NimBLEExtAdvertisement()

    + +

    ◆ NimBLEExtAdvertisement()

    @@ -256,14 +301,14 @@ size_t Member Function Documentation - -

    ◆ addData() [1/2]

    + +

    ◆ addData() [1/2]

    - + @@ -279,17 +324,18 @@ size_t  - -

    ◆ stop() [1/2]

    + +

    ◆ stop() [1/2]

    @@ -408,8 +416,8 @@ Public Member Functions
    - -

    ◆ stop() [2/2]

    + +

    ◆ stop() [2/2]

    @@ -418,7 +426,7 @@ Public Member Functions
    - +
    void NimBLEExtAdvertisement::addData bool NimBLEExtAdvertisement::addData ( const std::string &  data)
    Returns
    True if successful, false if the data is too large.
    -
    -

    ◆ addData() [2/2]

    + +

    ◆ addData() [2/2]

    - + @@ -316,11 +362,65 @@ size_t  - +
    void NimBLEExtAdvertisement::addData bool NimBLEExtAdvertisement::addData ( const uint8_t *  data,
    Returns
    True if successful, false if the data is too large.
    -
    -

    ◆ clearData()

    + +

    ◆ addServiceUUID() [1/2]

    + +
    +
    + + + + + + + + +
    bool NimBLEExtAdvertisement::addServiceUUID (const char * serviceUUID)
    +
    + +

    Add a service uuid to exposed list of services.

    +
    Parameters
    + + +
    [in]serviceUUIDThe string representation of the service to expose.
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ addServiceUUID() [2/2]

    + +
    +
    + + + + + + + + +
    bool NimBLEExtAdvertisement::addServiceUUID (const NimBLEUUIDserviceUUID)
    +
    + +

    Add a service uuid to exposed list of services.

    +
    Parameters
    + + +
    [in]serviceUUIDThe UUID of the service to expose.
    +
    +
    + +
    +
    + +

    ◆ clearData()

    @@ -339,8 +439,8 @@ size_t 
    -

    ◆ enableScanRequestCallback()

    + +

    ◆ enableScanRequestCallback()

    @@ -365,8 +465,116 @@ size_t 
    -

    ◆ setAddress()

    + +

    ◆ getDataLocation()

    + +
    +
    + + + + + + + + +
    int NimBLEExtAdvertisement::getDataLocation (uint8_t type) const
    +
    + +

    Get the location of the data in the payload.

    +
    Parameters
    + + +
    [in]typeThe type of data to search for.
    +
    +
    +
    Returns
    -1 if the data is not found, otherwise the index of the data in the payload.
    + +
    +
    + +

    ◆ removeData()

    + +
    +
    + + + + + + + + +
    bool NimBLEExtAdvertisement::removeData (uint8_t type)
    +
    + +

    Remove data from the advertisement data.

    +
    Parameters
    + + +
    [in]typeThe type of data to remove.
    +
    +
    +
    Returns
    True if successful, false if the data was not found.
    + +
    +
    + +

    ◆ removeServiceUUID() [1/2]

    + +
    +
    + + + + + + + + +
    bool NimBLEExtAdvertisement::removeServiceUUID (const char * serviceUUID)
    +
    + +

    Remove a service UUID from the advertisement.

    +
    Parameters
    + + +
    [in]serviceUUIDThe UUID of the service to remove.
    +
    +
    +
    Returns
    True if successful or uuid not found, false if uuid error or data could not be reset.
    + +
    +
    + +

    ◆ removeServiceUUID() [2/2]

    + +
    +
    + + + + + + + + +
    bool NimBLEExtAdvertisement::removeServiceUUID (const NimBLEUUIDserviceUUID)
    +
    + +

    Remove a service UUID from the advertisement.

    +
    Parameters
    + + +
    [in]serviceUUIDThe UUID of the service to remove.
    +
    +
    +
    Returns
    True if successful or uuid not found, false if uuid error or data could not be reset.
    + +
    +
    + +

    ◆ setAddress()

    @@ -391,8 +599,8 @@ size_t 
    -

    ◆ setAnonymous()

    + +

    ◆ setAnonymous()

    @@ -401,7 +609,7 @@ size_t 
    void NimBLEExtAdvertisement::setAnonymous ( bool val)enable)
    @@ -410,7 +618,7 @@ size_t 
    Parameters
    - +
    [in]valSet to true to enable anonymous advertising.
    [in]enableSet to true to enable anonymous advertising.
    @@ -418,14 +626,14 @@ size_t 
    -

    ◆ setAppearance()

    + +

    ◆ setAppearance()

    - + @@ -437,22 +645,23 @@ size_t  - + @@ -365,7 +373,7 @@ Public Member Functions - + @@ -378,9 +386,9 @@ Public Member Functions

    Start extended advertising.

    Parameters
    void NimBLEExtAdvertisement::setAppearance bool NimBLEExtAdvertisement::setAppearance ( uint16_t  appearance)
    Parameters
    - +
    [in]appearanceThe appearance code value.
    [in]appearanceThe appearance code value.
    -

    See also: https://www.bluetooth.com/specifications/gatt/viewer?attributeXmlFile=org.bluetooth.characteristic.gap.appearance.xml

    +
    Returns
    True if successful.
    +

    If the appearance value is 0 then it will be removed from the advertisement if set previously.

    - -

    ◆ setCompleteServices()

    + +

    ◆ setCompleteServices()

    - + @@ -468,17 +677,18 @@ size_t  - -

    ◆ setScanResponseData()

    + +

    ◆ setScanResponseData()

    @@ -316,13 +324,13 @@ Public Member Functions
    - + - + @@ -335,16 +343,16 @@ Public Member Functions

    Set the scan response data for a legacy advertisement.

    Parameters
    void NimBLEExtAdvertisement::setCompleteServices bool NimBLEExtAdvertisement::setCompleteServices ( const NimBLEUUID uuid)
    Returns
    True if successful.
    -
    -

    ◆ setCompleteServices16()

    + +

    ◆ setCompleteServices16()

    - + @@ -494,17 +704,18 @@ size_t  - -

    ◆ setCallbacks()

    + +

    ◆ setCallbacks()

    @@ -268,8 +276,8 @@ Public Member Functions
    - -

    ◆ setInstanceData()

    + +

    ◆ setInstanceData()

    @@ -278,7 +286,7 @@ Public Member Functions
    - + @@ -297,7 +305,7 @@ Public Member Functions

    Register the extended advertisement data.

    Parameters
    void NimBLEExtAdvertisement::setCompleteServices16 bool NimBLEExtAdvertisement::setCompleteServices16 ( const std::vector< NimBLEUUID > &  v_uuid)
    Returns
    True if successful.
    -
    -

    ◆ setCompleteServices32()

    + +

    ◆ setCompleteServices32()

    - + @@ -520,11 +731,12 @@ size_t  - +
    void NimBLEExtAdvertisement::setCompleteServices32 bool NimBLEExtAdvertisement::setCompleteServices32 ( const std::vector< NimBLEUUID > &  v_uuid)
    Returns
    True if successful.
    -
    -

    ◆ setConnectable()

    + +

    ◆ setConnectable()

    @@ -533,7 +745,7 @@ size_t 
    void NimBLEExtAdvertisement::setConnectable ( bool val)enable)
    @@ -542,21 +754,21 @@ size_t 
    Parameters
    - +
    [in]valTrue = connectable.
    [in]enableTrue = connectable.
    -
    -

    ◆ setData()

    + +

    ◆ setData()

    - + @@ -579,16 +791,17 @@ size_t  - + @@ -616,7 +829,7 @@ size_t 

    Stop and remove this instance data from the advertisement set.

    Parameters
    void NimBLEExtAdvertisement::setData bool NimBLEExtAdvertisement::setData ( const uint8_t *  data,
    Parameters
    - +
    [in]dataThe data to be set as the payload.
    [in]lengthThe size of data.
    [in]lengthThe size of data.
    +
    Returns
    True if successful, false if the data is too large.

    This will completely replace any data that was previously set.

    -
    -

    ◆ setDirected()

    + +

    ◆ setDirected()

    @@ -597,7 +810,7 @@ size_t 
    void NimBLEExtAdvertisement::setDirected ( bool val, enable,
    NimBLEExtAdvertisement::setDirectedPeer

    Parameters
    - +
    [in]valtrue = send directed advertisements to peer.
    [in]enabletrue = send directed advertisements to peer.
    [in]high_dutytrue = use fast advertising rate, default - true.
    @@ -624,8 +837,8 @@ size_t 
    -

    ◆ setDirectedPeer()

    + +

    ◆ setDirectedPeer()

    @@ -650,14 +863,14 @@ size_t 
    -

    ◆ setFlags()

    + +

    ◆ setFlags()

    - + @@ -678,11 +891,13 @@ size_t  - +
    void NimBLEExtAdvertisement::setFlags bool NimBLEExtAdvertisement::setFlags ( uint8_t  flag)
    Returns
    True if successful.
    +

    If the flag value is 0 then it will be removed from the advertisement if set previously.

    -
    -

    ◆ setLegacyAdvertising()

    + +

    ◆ setLegacyAdvertising()

    @@ -691,7 +906,7 @@ size_t 
    void NimBLEExtAdvertisement::setLegacyAdvertising ( bool val)enable)
    @@ -700,21 +915,21 @@ size_t 
    Parameters
    - +
    [in]valtrue = using legacy advertising.
    [in]enabletrue = using legacy advertising.
    -
    -

    ◆ setManufacturerData()

    + +

    ◆ setManufacturerData() [1/3]

    - + @@ -730,11 +945,77 @@ size_t  - -

    ◆ isAdvertising()

    + +

    ◆ isAdvertising()

    @@ -184,8 +192,8 @@ Public Member Functions
    - -

    ◆ removeAll()

    + +

    ◆ removeAll()

    @@ -204,8 +212,8 @@ Public Member Functions
    - -

    ◆ removeInstance()

    + +

    ◆ removeInstance()

    @@ -214,7 +222,7 @@ Public Member Functions
    - +
    void NimBLEExtAdvertisement::setManufacturerData bool NimBLEExtAdvertisement::setManufacturerData ( const std::string &  data)
    Returns
    True if successful.
    -
    -

    ◆ setMaxInterval()

    + +

    ◆ setManufacturerData() [2/3]

    + +
    +
    + + + + + + + + +
    bool NimBLEExtAdvertisement::setManufacturerData (const std::vector< uint8_t > & data)
    +
    + +

    Set manufacturer specific data.

    +
    Parameters
    + + +
    [in]dataThe manufacturer data to advertise.
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ setManufacturerData() [3/3]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEExtAdvertisement::setManufacturerData (const uint8_t * data,
    size_t length 
    )
    +
    + +

    Set manufacturer specific data.

    +
    Parameters
    + + + +
    [in]dataThe manufacturer data to advertise.
    [in]lengthThe length of the data.
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ setMaxInterval()

    @@ -759,8 +1040,8 @@ size_t 
    -

    ◆ setMinInterval()

    + +

    ◆ setMinInterval()

    @@ -785,18 +1066,28 @@ size_t 
    -

    ◆ setName()

    + +

    ◆ setName()

    - + - + + + + + + + + + + +
    void NimBLEExtAdvertisement::setName bool NimBLEExtAdvertisement::setName ( const std::string & name)name,
    bool isComplete = true 
    )
    @@ -805,20 +1096,22 @@ size_t 
    Parameters
    +
    [in]nameThe name to advertise.
    [in]isCompleteIf true the name is complete, if false it is shortened.
    +
    Returns
    True if successful.
    -
    -

    ◆ setPartialServices()

    + +

    ◆ setPartialServices()

    - + @@ -834,17 +1127,18 @@ size_t 

    Check if currently advertising.

    Parameters
    void NimBLEExtAdvertisement::setPartialServices bool NimBLEExtAdvertisement::setPartialServices ( const NimBLEUUID uuid)
    Returns
    True if successful.
    -
    -

    ◆ setPartialServices16()

    + +

    ◆ setPartialServices16()

    - + @@ -860,17 +1154,18 @@ size_t  - +
    void NimBLEExtAdvertisement::setPartialServices16 bool NimBLEExtAdvertisement::setPartialServices16 ( const std::vector< NimBLEUUID > &  v_uuid)
    Returns
    True if successful.
    -
    -

    ◆ setPartialServices32()

    + +

    ◆ setPartialServices32()

    - + @@ -886,26 +1181,27 @@ size_t 
    void NimBLEExtAdvertisement::setPartialServices32 bool NimBLEExtAdvertisement::setPartialServices32 ( const std::vector< NimBLEUUID > &  v_uuid)
    Returns
    True if successful.
    -
    -

    ◆ setPreferredParams()

    + +

    ◆ setPreferredParams()

    - + - + - + @@ -915,19 +1211,20 @@ size_t  - +
    void NimBLEExtAdvertisement::setPreferredParams bool NimBLEExtAdvertisement::setPreferredParams ( uint16_t min, minInterval,
    uint16_t max maxInterval 
    -

    Set the preferred connection interval parameters.

    +

    Set the preferred min and max connection intervals to advertise.

    Parameters
    - - + +
    [in]minThe minimum interval desired.
    [in]maxThe maximum interval desired.
    [in]minIntervalThe minimum preferred connection interval.
    [in]maxIntervalThe Maximum preferred connection interval.
    +

    Range = 0x0006(7.5ms) to 0x0C80(4000ms), values not within the range will be limited to this range.

    Returns
    True if successful.
    -
    -

    ◆ setPrimaryChannels()

    + +

    ◆ setPrimaryChannels()

    @@ -972,8 +1269,8 @@ combinations. If all inputs are false then all 3 channels will be used.

    - -

    ◆ setPrimaryPhy()

    + +

    ◆ setPrimaryPhy()

    @@ -1002,8 +1299,8 @@ combinations. If all inputs are false then all 3 channels will be used.

    - -

    ◆ setScanFilter()

    + +

    ◆ setScanFilter()

    @@ -1039,8 +1336,8 @@ combinations. If all inputs are false then all 3 channels will be used.

    - -

    ◆ setScannable()

    + +

    ◆ setScannable()

    @@ -1049,7 +1346,7 @@ combinations. If all inputs are false then all 3 channels will be used.

    void NimBLEExtAdvertisement::setScannable ( bool val)enable)
    @@ -1058,15 +1355,15 @@ combinations. If all inputs are false then all 3 channels will be used.

    Sets wether the advertisement has scan response data available.

    Parameters
    - +
    [in]valtrue = scan response is available.
    [in]enabletrue = scan response is available.
    - -

    ◆ setSecondaryPhy()

    + +

    ◆ setSecondaryPhy()

    @@ -1096,14 +1393,14 @@ combinations. If all inputs are false then all 3 channels will be used.

    - -

    ◆ setServiceData()

    + +

    ◆ setServiceData() [1/3]

    - + @@ -1130,17 +1427,104 @@ combinations. If all inputs are false then all 3 channels will be used.

    void NimBLEExtAdvertisement::setServiceData bool NimBLEExtAdvertisement::setServiceData ( const NimBLEUUID uuid,
    +
    Returns
    True if the service data was set successfully.
    +
    Note
    If data length is 0 the service data will not be advertised.
    - -

    ◆ setShortName()

    + +

    ◆ setServiceData() [2/3]

    - + + + + + + + + + + + + + + + + +
    void NimBLEExtAdvertisement::setShortName bool NimBLEExtAdvertisement::setServiceData (const NimBLEUUIDuuid,
    const std::vector< uint8_t > & data 
    )
    +
    + +

    Set the service data advertised for the UUID.

    +
    Parameters
    + + + +
    [in]uuidThe UUID the service data belongs to.
    [in]dataThe data to advertise.
    +
    +
    +
    Returns
    True if the service data was set successfully.
    +
    Note
    If data length is 0 the service data will not be advertised.
    + +
    +
    + +

    ◆ setServiceData() [3/3]

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool NimBLEExtAdvertisement::setServiceData (const NimBLEUUIDuuid,
    const uint8_t * data,
    size_t length 
    )
    +
    + +

    Set the service data advertised for the UUID.

    +
    Parameters
    + + + + +
    [in]uuidThe UUID the service data belongs to.
    [in]dataThe data to advertise.
    [in]lengthThe length of the data.
    +
    +
    +
    Note
    If data length is 0 the service data will not be advertised.
    +
    Returns
    True if successful, false if data length is too long or could not be set.
    + +
    +
    + +

    ◆ setShortName()

    + +
    +
    + + + @@ -1156,11 +1540,12 @@ combinations. If all inputs are false then all 3 channels will be used.

    bool NimBLEExtAdvertisement::setShortName ( const std::string &  name)
    +
    Returns
    True if successful.
    - -

    ◆ setTxPower()

    + +

    ◆ setTxPower()

    @@ -1182,19 +1567,18 @@ combinations. If all inputs are false then all 3 channels will be used.

    -

    The allowable value range depends on device hardware.
    -The ESP32C3 and ESP32S3 have a range of -27 to +18.

    +

    The allowable value range depends on device hardware.

    - -

    ◆ setURI()

    + +

    ◆ setURI()

    - + @@ -1210,6 +1594,27 @@ The ESP32C3 and ESP32S3 have a range of -27 to +18.

    void NimBLEExtAdvertisement::setURI bool NimBLEExtAdvertisement::setURI ( const std::string &  uri)
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ toString()

    + +
    +
    + + + + + + + +
    std::string NimBLEExtAdvertisement::toString () const
    +
    + +

    Get the string representation of the advertisement data.

    +
    Returns
    The string representation of the advertisement data.
    @@ -1219,7 +1624,7 @@ The ESP32C3 and ESP32S3 have a range of -27 to +18.

    diff --git a/class_nim_b_l_e_ext_advertisement.js b/class_nim_b_l_e_ext_advertisement.js index 8c4b116..cf42abe 100644 --- a/class_nim_b_l_e_ext_advertisement.js +++ b/class_nim_b_l_e_ext_advertisement.js @@ -1,39 +1,51 @@ var class_nim_b_l_e_ext_advertisement = [ [ "NimBLEExtAdvertisement", "class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c", null ], - [ "addData", "class_nim_b_l_e_ext_advertisement.html#a74d0b2a236d144c5bce05536ec6b8509", null ], - [ "addData", "class_nim_b_l_e_ext_advertisement.html#a62d44c4e1e41d9c6a470a7ebb0b7b038", null ], + [ "addData", "class_nim_b_l_e_ext_advertisement.html#ab387e2739a3b8b207b965ba0cda70595", null ], + [ "addData", "class_nim_b_l_e_ext_advertisement.html#a1f449f67deca3d7ef66c07d61c12d28e", null ], + [ "addServiceUUID", "class_nim_b_l_e_ext_advertisement.html#a4b4bea2600ee592ffe6877fe8eac7872", null ], + [ "addServiceUUID", "class_nim_b_l_e_ext_advertisement.html#a0e7a8731b021ba8813a3a9024171e926", null ], [ "addTxPower", "class_nim_b_l_e_ext_advertisement.html#ac9f82eb0112544b977eb1947ed308525", null ], [ "clearData", "class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af", null ], [ "enableScanRequestCallback", "class_nim_b_l_e_ext_advertisement.html#aaf6c44bc23f03a72bc02c3d45a9adf1d", null ], - [ "getDataSize", "class_nim_b_l_e_ext_advertisement.html#aec383f3f61780ee5bda3599543c84dd8", null ], + [ "getDataLocation", "class_nim_b_l_e_ext_advertisement.html#a7cf145aa6be376efaddadc507f5018d0", null ], + [ "getDataSize", "class_nim_b_l_e_ext_advertisement.html#ae3f915131471deba63c1275fc8557aa2", null ], + [ "removeData", "class_nim_b_l_e_ext_advertisement.html#a28a6b771e81c043d471d87a6aa5a7622", null ], + [ "removeServices", "class_nim_b_l_e_ext_advertisement.html#ab71e5616a011eae51c58b4edfbd3bc71", null ], + [ "removeServiceUUID", "class_nim_b_l_e_ext_advertisement.html#a7cb10f1b8cbfe6706144a20ee3258c63", null ], + [ "removeServiceUUID", "class_nim_b_l_e_ext_advertisement.html#a5ddd5bc3a96406518580bc33aab62a84", null ], [ "setAddress", "class_nim_b_l_e_ext_advertisement.html#a02fe1652f994e5bf76dc03381e47b39e", null ], - [ "setAnonymous", "class_nim_b_l_e_ext_advertisement.html#a3700ef4fd9078cf6dfd8c1eea4c520ba", null ], - [ "setAppearance", "class_nim_b_l_e_ext_advertisement.html#a852b96ea8e349caea04941adbe6d24b4", null ], - [ "setCompleteServices", "class_nim_b_l_e_ext_advertisement.html#a01f8e18204071c11eb47ab243893fc53", null ], - [ "setCompleteServices16", "class_nim_b_l_e_ext_advertisement.html#a0a1f0c1facf52f3688b53158e95153b6", null ], - [ "setCompleteServices32", "class_nim_b_l_e_ext_advertisement.html#a31ef2860f84d44a110f2a6d2d8eda3fc", null ], - [ "setConnectable", "class_nim_b_l_e_ext_advertisement.html#a6162f7b7692b5ddabf7e015893b0ffa2", null ], - [ "setData", "class_nim_b_l_e_ext_advertisement.html#a08a31a938ccd10fad61e1115c1db6274", null ], - [ "setDirected", "class_nim_b_l_e_ext_advertisement.html#a2b29a03b9a8b3a30245ff5468f239887", null ], + [ "setAnonymous", "class_nim_b_l_e_ext_advertisement.html#a1b1c9d52252b651163826b0c6c098439", null ], + [ "setAppearance", "class_nim_b_l_e_ext_advertisement.html#a048872d3793e7e0884f958b7c0719b9f", null ], + [ "setCompleteServices", "class_nim_b_l_e_ext_advertisement.html#af254895a52b1ee65f47ace003039514a", null ], + [ "setCompleteServices16", "class_nim_b_l_e_ext_advertisement.html#a1fd2471e3ffd6dca56133eeb195a7662", null ], + [ "setCompleteServices32", "class_nim_b_l_e_ext_advertisement.html#aaaebae05827e8264f2ca6d4f23828bdf", null ], + [ "setConnectable", "class_nim_b_l_e_ext_advertisement.html#abd02fa34228263fef2d2b875e6576316", null ], + [ "setData", "class_nim_b_l_e_ext_advertisement.html#afbc963aac74110423c22537f905ca259", null ], + [ "setDirected", "class_nim_b_l_e_ext_advertisement.html#af7a99ce4a6fab8034435e6719e27e934", null ], [ "setDirectedPeer", "class_nim_b_l_e_ext_advertisement.html#a52ee2ff1ccd011ed3410d52c0518728e", null ], - [ "setFlags", "class_nim_b_l_e_ext_advertisement.html#a5536d30615b87b68ec0c0f01292f5df9", null ], - [ "setLegacyAdvertising", "class_nim_b_l_e_ext_advertisement.html#a6a0bcbde65ccb9e49aa93d31514c8225", null ], - [ "setManufacturerData", "class_nim_b_l_e_ext_advertisement.html#a5e90a75173354fe9c6959004eb43b20a", null ], + [ "setFlags", "class_nim_b_l_e_ext_advertisement.html#a0707d6393d91e1e8912cff65e3d030ca", null ], + [ "setLegacyAdvertising", "class_nim_b_l_e_ext_advertisement.html#a3a597fa81719aa3bbea590ee7b8c10fe", null ], + [ "setManufacturerData", "class_nim_b_l_e_ext_advertisement.html#a97eb35f2d1942178bc56e1a13fc0fc8b", null ], + [ "setManufacturerData", "class_nim_b_l_e_ext_advertisement.html#a50dceb2c296b11957fc837a6dc420503", null ], + [ "setManufacturerData", "class_nim_b_l_e_ext_advertisement.html#a4d994e568031faf320eb988b9a2a372e", null ], [ "setMaxInterval", "class_nim_b_l_e_ext_advertisement.html#a4c339022b5523d20cc7fa956c5dbe1be", null ], [ "setMinInterval", "class_nim_b_l_e_ext_advertisement.html#ae9777a0c544be6c674f4e39d56e930b8", null ], - [ "setName", "class_nim_b_l_e_ext_advertisement.html#a7d7d57268d7c54fe5492e92bc7af33d8", null ], - [ "setPartialServices", "class_nim_b_l_e_ext_advertisement.html#ab76aa4b9fb743e5269cfbbae8215d8a8", null ], - [ "setPartialServices16", "class_nim_b_l_e_ext_advertisement.html#a747ef73a02df72709cf9bd89aabc08b3", null ], - [ "setPartialServices32", "class_nim_b_l_e_ext_advertisement.html#ad3bd08736cc70700c00432ec9ccfe94d", null ], - [ "setPreferredParams", "class_nim_b_l_e_ext_advertisement.html#abb66ffe5783f91f03301fc705701569f", null ], + [ "setName", "class_nim_b_l_e_ext_advertisement.html#a8388496cf91818138b10e898c7fc2bfc", null ], + [ "setPartialServices", "class_nim_b_l_e_ext_advertisement.html#a45a7838bb2ca27edac22b02d77072e3c", null ], + [ "setPartialServices16", "class_nim_b_l_e_ext_advertisement.html#ad968d1999c50acd24170be9d8d3ba095", null ], + [ "setPartialServices32", "class_nim_b_l_e_ext_advertisement.html#a1ef0dd63c99b5cab049a61c75c8e1ac2", null ], + [ "setPreferredParams", "class_nim_b_l_e_ext_advertisement.html#a2d95f2975f229386023348749305df43", null ], [ "setPrimaryChannels", "class_nim_b_l_e_ext_advertisement.html#ab6103c5e86949d0e334101353b109775", null ], [ "setPrimaryPhy", "class_nim_b_l_e_ext_advertisement.html#ad8522542b90067e3a53076823d2087c3", null ], [ "setScanFilter", "class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138", null ], - [ "setScannable", "class_nim_b_l_e_ext_advertisement.html#a07b1589ad58a9e09b6ba7269fec87df0", null ], + [ "setScannable", "class_nim_b_l_e_ext_advertisement.html#adc868da6e3e33c3e21f78ac386e9eb50", null ], [ "setSecondaryPhy", "class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506", null ], - [ "setServiceData", "class_nim_b_l_e_ext_advertisement.html#a1a4fd6883b11c339e397fc52f75c9ebb", null ], - [ "setShortName", "class_nim_b_l_e_ext_advertisement.html#a6220b378a1f2361c6dc76ba125936c51", null ], + [ "setServiceData", "class_nim_b_l_e_ext_advertisement.html#a56418c5b331cecae3c5b644567329c56", null ], + [ "setServiceData", "class_nim_b_l_e_ext_advertisement.html#a6f4e01c26ab1d26123d81dfbc0f6f9f8", null ], + [ "setServiceData", "class_nim_b_l_e_ext_advertisement.html#a2bcfe468c00347e93c0f4ac2b46654be", null ], + [ "setShortName", "class_nim_b_l_e_ext_advertisement.html#a4f8da0cb7cf2b3e18543e78b15b46918", null ], [ "setTxPower", "class_nim_b_l_e_ext_advertisement.html#a63c2f5900752edad428304c5342b8458", null ], - [ "setURI", "class_nim_b_l_e_ext_advertisement.html#af25522e956cfeb64bd6beca881d8786e", null ] + [ "setURI", "class_nim_b_l_e_ext_advertisement.html#a691335b073c8385b3e2e75c6962fbe3f", null ], + [ "toString", "class_nim_b_l_e_ext_advertisement.html#a54d2bb1e314a975643bcd7d038f1c164", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_ext_advertising-members.html b/class_nim_b_l_e_ext_advertising-members.html index 56e662c..30dcd71 100644 --- a/class_nim_b_l_e_ext_advertising-members.html +++ b/class_nim_b_l_e_ext_advertising-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,37 +76,43 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_ext_advertising.html',
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEExtAdvertising Member List
    +
    NimBLEExtAdvertising Member List

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

    - - - - - - - - - - + + + + + + + + + + - +
    isActive(uint8_t inst_id)NimBLEExtAdvertising
    isAdvertising()NimBLEExtAdvertising
    NimBLEExtAdvertising()NimBLEExtAdvertisinginline
    removeAll()NimBLEExtAdvertising
    removeInstance(uint8_t inst_id)NimBLEExtAdvertising
    setCallbacks(NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)NimBLEExtAdvertising
    setInstanceData(uint8_t inst_id, NimBLEExtAdvertisement &adv)NimBLEExtAdvertising
    setScanResponseData(uint8_t inst_id, NimBLEExtAdvertisement &data)NimBLEExtAdvertising
    start(uint8_t inst_id, int duration=0, int max_events=0)NimBLEExtAdvertising
    stop(uint8_t inst_id)NimBLEExtAdvertising
    isActive(uint8_t instId)NimBLEExtAdvertising
    isAdvertising()NimBLEExtAdvertising
    NimBLEExtAdvertising()NimBLEExtAdvertising
    removeAll()NimBLEExtAdvertising
    removeInstance(uint8_t instId)NimBLEExtAdvertising
    setCallbacks(NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)NimBLEExtAdvertising
    setInstanceData(uint8_t instId, NimBLEExtAdvertisement &adv)NimBLEExtAdvertising
    setScanResponseData(uint8_t instId, NimBLEExtAdvertisement &data)NimBLEExtAdvertising
    start(uint8_t instId, int duration=0, int maxEvents=0)NimBLEExtAdvertising
    stop(uint8_t instId)NimBLEExtAdvertising
    stop()NimBLEExtAdvertising
    ~NimBLEExtAdvertising()NimBLEExtAdvertising
    ~NimBLEExtAdvertising()NimBLEExtAdvertising
    diff --git a/class_nim_b_l_e_ext_advertising.html b/class_nim_b_l_e_ext_advertising.html index 6334c71..680e2c3 100644 --- a/class_nim_b_l_e_ext_advertising.html +++ b/class_nim_b_l_e_ext_advertising.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEExtAdvertising Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,69 +76,77 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_ext_advertising.html',
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEExtAdvertising Class Reference
    +
    NimBLEExtAdvertising Class Reference

    Extended advertising class. More...

    + +

    #include <NimBLEExtAdvertising.h>

    - - - + + - + - - - - - - - - - - - - - - + + + + + + + + + + + + + + - - - - - + + + + + - - - - - + + + + + - - + +

    +

    Public Member Functions

    NimBLEExtAdvertising ()
     Construct an extended advertising object.
    NimBLEExtAdvertising ()
     Constructor.
     
    ~NimBLEExtAdvertising ()
    ~NimBLEExtAdvertising ()
     Destructor: deletes callback instances if requested.
     
    bool start (uint8_t inst_id, int duration=0, int max_events=0)
     Start extended advertising. More...
     
    bool setInstanceData (uint8_t inst_id, NimBLEExtAdvertisement &adv)
     Register the extended advertisement data. More...
     
    bool setScanResponseData (uint8_t inst_id, NimBLEExtAdvertisement &data)
     Set the scan response data for a legacy advertisement. More...
     
    bool removeInstance (uint8_t inst_id)
     Stop and remove this instance data from the advertisement set. More...
     
    bool removeAll ()
     Stop and remove all advertising instance data. More...
    bool start (uint8_t instId, int duration=0, int maxEvents=0)
     Start extended advertising.
     
    bool setInstanceData (uint8_t instId, NimBLEExtAdvertisement &adv)
     Register the extended advertisement data.
     
    bool setScanResponseData (uint8_t instId, NimBLEExtAdvertisement &data)
     Set the scan response data for a legacy advertisement.
     
    bool removeInstance (uint8_t instId)
     Stop and remove this instance data from the advertisement set.
     
    bool removeAll ()
     Stop and remove all advertising instance data.
     
    bool stop (uint8_t inst_id)
     Stop advertising this instance data. More...
     
    bool stop ()
     Stop all advertisements. More...
    bool stop (uint8_t instId)
     Stop advertising this instance data.
     
    bool stop ()
     Stop all advertisements.
     
    bool isActive (uint8_t inst_id)
     Check if currently advertising. More...
     
    bool isAdvertising ()
     Check if any instances are currently advertising. More...
    bool isActive (uint8_t instId)
     Check if currently advertising.
     
    bool isAdvertising ()
     Check if any instances are currently advertising.
     
    void setCallbacks (NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)
     Set a callback to call when the advertisement stops. More...
    void setCallbacks (NimBLEExtAdvertisingCallbacks *callbacks, bool deleteCallbacks=true)
     Set a callback to call when the advertisement stops.
     

    Detailed Description

    Extended advertising class.

    Member Function Documentation

    - -

    ◆ isActive()

    + +

    ◆ isActive()

    @@ -147,7 +155,7 @@ Public Member Functions
    bool NimBLEExtAdvertising::isActive ( uint8_t inst_id)instId)
    @@ -156,7 +164,7 @@ Public Member Functions
    - +
    [in]inst_idThe instance ID of the advertised data to get the status of.
    [in]instIdThe instance ID of the advertised data to get the status of.
    @@ -164,8 +172,8 @@ Public Member Functions
    bool NimBLEExtAdvertising::removeInstance ( uint8_t inst_id)instId)
    @@ -223,7 +231,7 @@ Public Member Functions
    - +
    [in]inst_idThe extended advertisement instance to stop advertising.
    [in]instIdThe extended advertisement instance to stop advertising.
    @@ -231,8 +239,8 @@ Public Member Functions
    bool NimBLEExtAdvertising::setInstanceData ( uint8_t inst_id, instId,
    - +
    [in]inst_idThe extended advertisement instance ID to assign to this data.
    [in]instIdThe extended advertisement instance ID to assign to this data.
    [in]advThe extended advertisement instance with the data to set.
    @@ -306,8 +314,8 @@ Public Member Functions
    bool NimBLEExtAdvertising::setScanResponseData ( uint8_t inst_id, instId,
    NimBLEExtAdvertisementlsr data 
    - - + +
    [in]inst_idThe extended advertisement instance ID to assign to this data.
    [in]lsrA reference to a NimBLEExtAdvertisement that contains the data.
    [in]instIdThe extended advertisement instance ID to assign to this data.
    [in]dataA reference to a NimBLEExtAdvertisement that contains the data.
    - -

    ◆ start()

    + +

    ◆ start()

    @@ -353,7 +361,7 @@ Public Member Functions
    bool NimBLEExtAdvertising::start ( uint8_t inst_id, instId,
    int max_events = 0 maxEvents = 0 
    - + - +
    [in]inst_idThe extended advertisement instance ID to start.
    [in]instIdThe extended advertisement instance ID to start.
    [in]durationHow long to advertise for in milliseconds, 0 = forever (default).
    [in]max_eventsMaximum number of advertisement events to send, 0 = no limit (default).
    [in]maxEventsMaximum number of advertisement events to send, 0 = no limit (default).
    @@ -388,8 +396,8 @@ Public Member Functions
    bool NimBLEExtAdvertising::stop ( uint8_t inst_id)instId)
    @@ -427,7 +435,7 @@ Public Member Functions

    Stop advertising this instance data.

    Parameters
    - +
    [in]inst_idThe extended advertisement instance to stop advertising.
    [in]instIdThe extended advertisement instance to stop advertising.
    @@ -441,7 +449,7 @@ Public Member Functions diff --git a/class_nim_b_l_e_ext_advertising.js b/class_nim_b_l_e_ext_advertising.js index 6c05177..d1f8d6f 100644 --- a/class_nim_b_l_e_ext_advertising.js +++ b/class_nim_b_l_e_ext_advertising.js @@ -2,14 +2,14 @@ var class_nim_b_l_e_ext_advertising = [ [ "NimBLEExtAdvertising", "class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3", null ], [ "~NimBLEExtAdvertising", "class_nim_b_l_e_ext_advertising.html#a477c57db99ce3b5e987d6838b661808f", null ], - [ "isActive", "class_nim_b_l_e_ext_advertising.html#a88ebe0b664cf22449e1a4311fc3b9b01", null ], + [ "isActive", "class_nim_b_l_e_ext_advertising.html#a6fd8c8fff9fcb8be80c76774be031104", null ], [ "isAdvertising", "class_nim_b_l_e_ext_advertising.html#abd7d35653a6831e75700eb5ac9ab5789", null ], [ "removeAll", "class_nim_b_l_e_ext_advertising.html#a8c4df0be35301c90a39491b9e98d3e24", null ], - [ "removeInstance", "class_nim_b_l_e_ext_advertising.html#af7f4225f33f03d17efba1d4de0684eef", null ], + [ "removeInstance", "class_nim_b_l_e_ext_advertising.html#acace5e9e195b65b61041f7007f9359ab", null ], [ "setCallbacks", "class_nim_b_l_e_ext_advertising.html#add623162d46c952d692e26888c9f8826", null ], - [ "setInstanceData", "class_nim_b_l_e_ext_advertising.html#a321fb75a0ffacedfb54da4cc00484b7c", null ], - [ "setScanResponseData", "class_nim_b_l_e_ext_advertising.html#a9395a0087e96329591ed2515cc21456b", null ], - [ "start", "class_nim_b_l_e_ext_advertising.html#a8044a281a37f4d7c96166ce6f0851159", null ], + [ "setInstanceData", "class_nim_b_l_e_ext_advertising.html#afbb3b7ea90d4a5b84bdc796c5844203e", null ], + [ "setScanResponseData", "class_nim_b_l_e_ext_advertising.html#ac669489f8d7d67fe8dfc48ef15c7985f", null ], + [ "start", "class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a", null ], [ "stop", "class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109", null ], - [ "stop", "class_nim_b_l_e_ext_advertising.html#a02b4e33908456341fb98753d51316609", null ] + [ "stop", "class_nim_b_l_e_ext_advertising.html#a1dd95b432a8dfdfda20974a25da21953", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_ext_advertising_callbacks-members.html b/class_nim_b_l_e_ext_advertising_callbacks-members.html index 19e04a6..6d09f0e 100644 --- a/class_nim_b_l_e_ext_advertising_callbacks-members.html +++ b/class_nim_b_l_e_ext_advertising_callbacks-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,27 +76,33 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_ext_advertising_callba
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEExtAdvertisingCallbacks Member List
    +
    NimBLEExtAdvertisingCallbacks Member List

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

    - - + +
    onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t inst_id, NimBLEAddress addr)NimBLEExtAdvertisingCallbacksvirtual
    onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t inst_id)NimBLEExtAdvertisingCallbacksvirtual
    onScanRequest(NimBLEExtAdvertising *pAdv, uint8_t instId, NimBLEAddress addr)NimBLEExtAdvertisingCallbacksvirtual
    onStopped(NimBLEExtAdvertising *pAdv, int reason, uint8_t instId)NimBLEExtAdvertisingCallbacksvirtual
    diff --git a/class_nim_b_l_e_ext_advertising_callbacks.html b/class_nim_b_l_e_ext_advertising_callbacks.html index 015f74f..cb939b7 100644 --- a/class_nim_b_l_e_ext_advertising_callbacks.html +++ b/class_nim_b_l_e_ext_advertising_callbacks.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEExtAdvertisingCallbacks Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,37 +76,45 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_ext_advertising_callba
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEExtAdvertisingCallbacks Class Reference
    +
    NimBLEExtAdvertisingCallbacks Class Reference

    Callbacks associated with NimBLEExtAdvertising class. More...

    + +

    #include <NimBLEExtAdvertising.h>

    - - - - - - - + + + + + +

    +

    Public Member Functions

    virtual void onStopped (NimBLEExtAdvertising *pAdv, int reason, uint8_t inst_id)
     Handle an advertising stop event. More...
     
    virtual void onScanRequest (NimBLEExtAdvertising *pAdv, uint8_t inst_id, NimBLEAddress addr)
     Handle a scan response request. This is called when a scanning device requests a scan response. More...
     
    virtual void onStopped (NimBLEExtAdvertising *pAdv, int reason, uint8_t instId)
     Handle an advertising stop event.
     
    virtual void onScanRequest (NimBLEExtAdvertising *pAdv, uint8_t instId, NimBLEAddress addr)
     Handle a scan response request. This is called when a scanning device requests a scan response.
     

    Detailed Description

    Callbacks associated with NimBLEExtAdvertising class.

    Member Function Documentation

    - -

    ◆ onScanRequest()

    + +

    ◆ onScanRequest()

    @@ -124,7 +132,7 @@ Public Member Functions uint8_t  - inst_id, + instId, @@ -149,7 +157,7 @@ Public Member Functions
    Parameters
    - +
    [in]pAdvA convenience pointer to the extended advertising interface.
    [in]inst_idThe instance ID of the advertisement that the scan response request was made.
    [in]instIdThe instance ID of the advertisement that the scan response request was made.
    [in]addrThe address of the device making the request.
    @@ -157,8 +165,8 @@ Public Member Functions
    - -

    ◆ onStopped()

    + +

    ◆ onStopped()

    @@ -182,7 +190,7 @@ Public Member Functions uint8_t  - inst_id  + instId  @@ -202,11 +210,10 @@ Public Member Functions - +
    [in]pAdvA convenience pointer to the extended advertising interface.
    [in]reasonThe reason code for stopping the advertising.
    [in]inst_idThe instance ID of the advertisement that was stopped.
    [in]instIdThe instance ID of the advertisement that was stopped.
    -

    Default callback handlers

    @@ -216,7 +223,7 @@ Public Member Functions diff --git a/class_nim_b_l_e_ext_advertising_callbacks.js b/class_nim_b_l_e_ext_advertising_callbacks.js index 5fec272..1363e4f 100644 --- a/class_nim_b_l_e_ext_advertising_callbacks.js +++ b/class_nim_b_l_e_ext_advertising_callbacks.js @@ -1,5 +1,5 @@ var class_nim_b_l_e_ext_advertising_callbacks = [ - [ "onScanRequest", "class_nim_b_l_e_ext_advertising_callbacks.html#a92af7bd791095cf91438b7af4c26263f", null ], - [ "onStopped", "class_nim_b_l_e_ext_advertising_callbacks.html#a07004fd4e849aa8e9bd7106cbf6ab94b", null ] + [ "onScanRequest", "class_nim_b_l_e_ext_advertising_callbacks.html#aeec59f9c28ef5e257e4e8fd306d92ccd", null ], + [ "onStopped", "class_nim_b_l_e_ext_advertising_callbacks.html#add0646acf63c19e96c499b737144d8fe", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_h_i_d_device-members.html b/class_nim_b_l_e_h_i_d_device-members.html index bacb302..b98077e 100644 --- a/class_nim_b_l_e_h_i_d_device-members.html +++ b/class_nim_b_l_e_h_i_d_device-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,43 +76,52 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_h_i_d_device.html','')
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEHIDDevice Member List
    +
    NimBLEHIDDevice Member List

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

    - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +
    batteryService()NimBLEHIDDevice
    bootInput()NimBLEHIDDevice
    bootOutput()NimBLEHIDDevice
    deviceInfo()NimBLEHIDDevice
    featureReport(uint8_t reportID)NimBLEHIDDevice
    hidControl()NimBLEHIDDevice
    hidInfo(uint8_t country, uint8_t flags)NimBLEHIDDevice
    hidService()NimBLEHIDDevice
    inputReport(uint8_t reportID)NimBLEHIDDevice
    manufacturer()NimBLEHIDDevice
    manufacturer(std::string name)NimBLEHIDDevice
    NimBLEHIDDevice(NimBLEServer *)NimBLEHIDDevice
    outputReport(uint8_t reportID)NimBLEHIDDevice
    pnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)NimBLEHIDDevice
    protocolMode()NimBLEHIDDevice
    reportMap(uint8_t *map, uint16_t)NimBLEHIDDevice
    setBatteryLevel(uint8_t level)NimBLEHIDDevice
    startServices()NimBLEHIDDevice
    getBatteryLevel()NimBLEHIDDevice
    getBatteryService()NimBLEHIDDevice
    getBootInput()NimBLEHIDDevice
    getBootOutput()NimBLEHIDDevice
    getDeviceInfoService()NimBLEHIDDevice
    getFeatureReport(uint8_t reportId)NimBLEHIDDevice
    getHidControl()NimBLEHIDDevice
    getHidInfo()NimBLEHIDDevice
    getHidService()NimBLEHIDDevice
    getInputReport(uint8_t reportId)NimBLEHIDDevice
    getOutputReport(uint8_t reportId)NimBLEHIDDevice
    getPnp()NimBLEHIDDevice
    getProtocolMode()NimBLEHIDDevice
    getReportMap()NimBLEHIDDevice
    NimBLEHIDDevice(NimBLEServer *server)NimBLEHIDDevice
    setBatteryLevel(uint8_t level, bool notify=false)NimBLEHIDDevice
    setHidInfo(uint8_t country, uint8_t flags)NimBLEHIDDevice
    setManufacturer(const std::string &name)NimBLEHIDDevice
    setPnp(uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)NimBLEHIDDevice
    setReportMap(uint8_t *map, uint16_t)NimBLEHIDDevice
    startServices()NimBLEHIDDevice
    diff --git a/class_nim_b_l_e_h_i_d_device.html b/class_nim_b_l_e_h_i_d_device.html index 533efa6..fbcc7f8 100644 --- a/class_nim_b_l_e_h_i_d_device.html +++ b/class_nim_b_l_e_h_i_d_device.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEHIDDevice Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,95 +76,103 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_h_i_d_device.html','')
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEHIDDevice Class Reference
    +
    NimBLEHIDDevice Class Reference

    A model of a BLE Human Interface Device. More...

    + +

    #include <NimBLEHIDDevice.h>

    - - - - - - - - - + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

     NimBLEHIDDevice (NimBLEServer *)
     Construct a default NimBLEHIDDevice object. More...
     
    void reportMap (uint8_t *map, uint16_t)
     Set the report map data formatting information. More...
     
    -void startServices ()
     Start the HID device services.
    -This function called when all the services have been created.
     NimBLEHIDDevice (NimBLEServer *server)
     Construct a default NimBLEHIDDevice object.
     
    void setReportMap (uint8_t *map, uint16_t)
     Set the report map data formatting information.
     
    +void startServices ()
     Start the HID device services. This function called when all the services have been created.
     
    -NimBLEServicedeviceInfo ()
     Returns a pointer to the device information service.
     
    -NimBLEServicehidService ()
     Returns a pointer to the HID service.
     
    -NimBLEServicebatteryService ()
     Returns a pointer to the battery service.
     
    -NimBLECharacteristicmanufacturer ()
     Create a manufacturer characteristic (this characteristic is optional).
     
    void manufacturer (std::string name)
     Set manufacturer name. More...
     
    void pnp (uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)
     Sets the Plug n Play characteristic value. More...
     
    void hidInfo (uint8_t country, uint8_t flags)
     Sets the HID Information characteristic value. More...
     
    void setBatteryLevel (uint8_t level)
     Set the battery level characteristic value. More...
     
    -NimBLECharacteristichidControl ()
     Returns a pointer to the HID control point characteristic.
     
    NimBLECharacteristicinputReport (uint8_t reportID)
     Create input report characteristic. More...
     
    NimBLECharacteristicoutputReport (uint8_t reportID)
     Create output report characteristic. More...
     
    NimBLECharacteristicfeatureReport (uint8_t reportID)
     Create feature report characteristic. More...
     
    -NimBLECharacteristicprotocolMode ()
     Returns a pointer to the protocol mode characteristic.
     
    -NimBLECharacteristicbootInput ()
     Creates a keyboard boot input report characteristic.
     
    -NimBLECharacteristicbootOutput ()
     Create a keyboard boot output report characteristic.
     
    bool setManufacturer (const std::string &name)
     Get the manufacturer characteristic (this characteristic is optional).
     
    void setPnp (uint8_t sig, uint16_t vid, uint16_t pid, uint16_t version)
     Sets the Plug n Play characteristic value.
     
    void setHidInfo (uint8_t country, uint8_t flags)
     Sets the HID Information characteristic value.
     
    void setBatteryLevel (uint8_t level, bool notify=false)
     Set the battery level characteristic value.
     
    NimBLECharacteristicgetBatteryLevel ()
     Get the battery level characteristic.
     
    NimBLECharacteristicgetReportMap ()
     Get the report map characteristic.
     
    NimBLECharacteristicgetHidControl ()
     Get the HID control point characteristic.
     
    NimBLECharacteristicgetInputReport (uint8_t reportId)
     Get the input report characteristic.
     
    NimBLECharacteristicgetOutputReport (uint8_t reportId)
     Get the output report characteristic.
     
    NimBLECharacteristicgetFeatureReport (uint8_t reportId)
     Get the feature report characteristic.
     
    NimBLECharacteristicgetProtocolMode ()
     Get the HID protocol mode characteristic.
     
    NimBLECharacteristicgetBootInput ()
     Get a keyboard boot input report characteristic.
     
    NimBLECharacteristicgetBootOutput ()
     Create a keyboard boot output report characteristic.
     
    NimBLECharacteristicgetPnp ()
     Get the PnP characteristic.
     
    NimBLECharacteristicgetHidInfo ()
     Get the HID information characteristic.
     
    NimBLEServicegetDeviceInfoService ()
     Get the manufacturer characteristic.
     
    NimBLEServicegetHidService ()
     Get the HID service.
     
    NimBLEServicegetBatteryService ()
     Get the battery service.
     

    Detailed Description

    A model of a BLE Human Interface Device.

    Constructor & Destructor Documentation

    - -

    ◆ NimBLEHIDDevice()

    + +

    ◆ NimBLEHIDDevice()

    @@ -190,41 +198,357 @@ This function called when all the services have been created.

    Member Function Documentation

    - -

    ◆ featureReport()

    + +

    ◆ getBatteryLevel()

    - + - - +
    NimBLECharacteristic * NimBLEHIDDevice::featureReport NimBLECharacteristic * NimBLEHIDDevice::getBatteryLevel (uint8_t reportID))
    -

    Create feature report characteristic.

    -
    Parameters
    - - -
    [in]reportIDFeature report ID, the same as in report map for feature object related to the characteristic
    -
    -
    -
    Returns
    Pointer to new feature report characteristic
    +

    Get the battery level characteristic.

    +
    Returns
    A pointer to the battery level characteristic
    - -

    ◆ hidInfo()

    + +

    ◆ getBatteryService()

    - + + + + + +
    void NimBLEHIDDevice::hidInfo NimBLEService * NimBLEHIDDevice::getBatteryService ()
    +
    + +

    Get the battery service.

    +
    Returns
    A pointer to the battery service.
    + +
    +
    + +

    ◆ getBootInput()

    + +
    +
    + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getBootInput ()
    +
    + +

    Get a keyboard boot input report characteristic.

    +
    Returns
    A pointer to the boot input report characteristic, or nullptr on error.
    +

    This will create the characteristic if not already created.

    + +
    +
    + +

    ◆ getBootOutput()

    + +
    +
    + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getBootOutput ()
    +
    + +

    Create a keyboard boot output report characteristic.

    +
    Returns
    A pointer to the boot output report characteristic, or nullptr on error.
    +

    This will create the characteristic if not already created.

    + +
    +
    + +

    ◆ getDeviceInfoService()

    + +
    +
    + + + + + + + +
    NimBLEService * NimBLEHIDDevice::getDeviceInfoService ()
    +
    + +

    Get the manufacturer characteristic.

    +
    Returns
    A pointer to the manufacturer characteristic.
    + +
    +
    + +

    ◆ getFeatureReport()

    + +
    +
    + + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getFeatureReport (uint8_t reportId)
    +
    + +

    Get the feature report characteristic.

    +
    Parameters
    + + +
    [in]reportIdFeature report ID, the same as in report map for feature object related to the characteristic.
    +
    +
    +
    Returns
    A pointer to feature report characteristic.
    +

    This will create the characteristic if not already created.

    + +
    +
    + +

    ◆ getHidControl()

    + +
    +
    + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getHidControl ()
    +
    + +

    Get the HID control point characteristic.

    +
    Returns
    A pointer to the HID control point characteristic.
    + +
    +
    + +

    ◆ getHidInfo()

    + +
    +
    + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getHidInfo ()
    +
    + +

    Get the HID information characteristic.

    +
    Returns
    A pointer to the HID information characteristic.
    + +
    +
    + +

    ◆ getHidService()

    + +
    +
    + + + + + + + +
    NimBLEService * NimBLEHIDDevice::getHidService ()
    +
    + +

    Get the HID service.

    +
    Returns
    A pointer to the HID service.
    + +
    +
    + +

    ◆ getInputReport()

    + +
    +
    + + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getInputReport (uint8_t reportId)
    +
    + +

    Get the input report characteristic.

    +
    Parameters
    + + +
    [in]reportIdinput report ID, the same as in report map for input object related to the characteristic.
    +
    +
    +
    Returns
    A pointer to the input report characteristic.
    +

    This will create the characteristic if not already created.

    + +
    +
    + +

    ◆ getOutputReport()

    + +
    +
    + + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getOutputReport (uint8_t reportId)
    +
    + +

    Get the output report characteristic.

    +
    Parameters
    + + +
    [in]reportIdOutput report ID, the same as in report map for output object related to the characteristic.
    +
    +
    +
    Returns
    A pointer to the output report characteristic.
    +

    This will create the characteristic if not already created.

    + +
    +
    + +

    ◆ getPnp()

    + +
    +
    + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getPnp ()
    +
    + +

    Get the PnP characteristic.

    +
    Returns
    A pointer to the PnP characteristic.
    + +
    +
    + +

    ◆ getProtocolMode()

    + +
    +
    + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getProtocolMode ()
    +
    + +

    Get the HID protocol mode characteristic.

    +
    Returns
    a pointer to the protocol mode characteristic.
    + +
    +
    + +

    ◆ getReportMap()

    + +
    +
    + + + + + + + +
    NimBLECharacteristic * NimBLEHIDDevice::getReportMap ()
    +
    + +

    Get the report map characteristic.

    +
    Returns
    A pointer to the report map characteristic.
    + +
    +
    + +

    ◆ setBatteryLevel()

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    void NimBLEHIDDevice::setBatteryLevel (uint8_t level,
    bool notify = false 
    )
    +
    + +

    Set the battery level characteristic value.

    +
    Parameters
    + + + +
    [in]levelThe battery level value.
    [in]notifyIf true sends a notification to the peer device, otherwise not. default = false
    +
    +
    + +
    +
    + +

    ◆ setHidInfo()

    + +
    +
    + + + @@ -254,94 +578,35 @@ This function called when all the services have been created.
    - -

    ◆ inputReport()

    + +

    ◆ setManufacturer()

    void NimBLEHIDDevice::setHidInfo ( uint8_t  country,
    - + - - - - -
    NimBLECharacteristic * NimBLEHIDDevice::inputReport bool NimBLEHIDDevice::setManufacturer (uint8_t reportID)
    -
    - -

    Create input report characteristic.

    -
    Parameters
    - - -
    [in]reportIDinput report ID, the same as in report map for input object related to the characteristic
    -
    -
    -
    Returns
    pointer to new input report characteristic
    - -
    -
    - -

    ◆ manufacturer()

    - -
    -
    - - - - - +
    void NimBLEHIDDevice::manufacturer (std::string const std::string &  name)
    -

    Set manufacturer name.

    -
    Parameters
    - - -
    [in]nameThe manufacturer name of this HID device.
    -
    -
    +

    Get the manufacturer characteristic (this characteristic is optional).

    +

    The characteristic will be created if not already existing.

    Returns
    True if the name was set and/or the characteristic created.
    - -

    ◆ outputReport()

    + +

    ◆ setPnp()

    - - - - - - -
    NimBLECharacteristic * NimBLEHIDDevice::outputReport (uint8_t reportID)
    -
    - -

    Create output report characteristic.

    -
    Parameters
    - - -
    [in]reportIDOutput report ID, the same as in report map for output object related to the characteristic
    -
    -
    -
    Returns
    Pointer to new output report characteristic
    - -
    -
    - -

    ◆ pnp()

    - -
    -
    - - - + @@ -385,14 +650,14 @@ This function called when all the services have been created.
    - -

    ◆ reportMap()

    + +

    ◆ setReportMap()

    void NimBLEHIDDevice::pnp void NimBLEHIDDevice::setPnp ( uint8_t  sig,
    - + @@ -420,32 +685,6 @@ This function called when all the services have been created.
    - - - -

    ◆ setBatteryLevel()

    - -
    -
    -
    void NimBLEHIDDevice::reportMap void NimBLEHIDDevice::setReportMap ( uint8_t *  map,
    - - - - - - - -
    void NimBLEHIDDevice::setBatteryLevel (uint8_t level)
    -
    - -

    Set the battery level characteristic value.

    -
    Parameters
    - - -
    [in]levelThe battery level value.
    -
    -
    -
    @@ -454,7 +693,7 @@ This function called when all the services have been created.
    diff --git a/class_nim_b_l_e_h_i_d_device.js b/class_nim_b_l_e_h_i_d_device.js index dfe9abd..fcd99ab 100644 --- a/class_nim_b_l_e_h_i_d_device.js +++ b/class_nim_b_l_e_h_i_d_device.js @@ -1,21 +1,24 @@ var class_nim_b_l_e_h_i_d_device = [ - [ "NimBLEHIDDevice", "class_nim_b_l_e_h_i_d_device.html#a95b4935280494ffa24bfae89753f199a", null ], - [ "batteryService", "class_nim_b_l_e_h_i_d_device.html#a24498f7b714574ab4a90288f7e4d58b7", null ], - [ "bootInput", "class_nim_b_l_e_h_i_d_device.html#a45ca7d4547dfea9a64987065d83653bd", null ], - [ "bootOutput", "class_nim_b_l_e_h_i_d_device.html#ace0141db690f1afec1b266f9ac9aa0f0", null ], - [ "deviceInfo", "class_nim_b_l_e_h_i_d_device.html#a033c4ad91f1bc165ac6a322b4dcc1699", null ], - [ "featureReport", "class_nim_b_l_e_h_i_d_device.html#a468e599c7d75e691f8d34e1b24db8a38", null ], - [ "hidControl", "class_nim_b_l_e_h_i_d_device.html#a5c42da43e0b8dfcd1d045e8a86d0b5a2", null ], - [ "hidInfo", "class_nim_b_l_e_h_i_d_device.html#a33fc2bfc990ecd250859ca8f34a4314e", null ], - [ "hidService", "class_nim_b_l_e_h_i_d_device.html#ae80cf58c481c25bd6d7392a43b6fa48b", null ], - [ "inputReport", "class_nim_b_l_e_h_i_d_device.html#a91cfe81b47cea229e9bbe3c55be33701", null ], - [ "manufacturer", "class_nim_b_l_e_h_i_d_device.html#a3e5b8291ca88d85a352429415abaec9c", null ], - [ "manufacturer", "class_nim_b_l_e_h_i_d_device.html#ac04ed297cf6adbec210873739d2dc74d", null ], - [ "outputReport", "class_nim_b_l_e_h_i_d_device.html#ac1e63972c6a77665a6bbc76f9ff4a717", null ], - [ "pnp", "class_nim_b_l_e_h_i_d_device.html#a5309df317aa42de7ced2e34219b6666a", null ], - [ "protocolMode", "class_nim_b_l_e_h_i_d_device.html#a1118c1e730f38b8b17795c8eb41a0861", null ], - [ "reportMap", "class_nim_b_l_e_h_i_d_device.html#a5e996a1668785f7a978f9874b4ff3b3e", null ], - [ "setBatteryLevel", "class_nim_b_l_e_h_i_d_device.html#a84e3127a05f7e6a44761ec4a9e7668e3", null ], + [ "NimBLEHIDDevice", "class_nim_b_l_e_h_i_d_device.html#a33821f02034b8ed47f3cd0555ac9e949", null ], + [ "getBatteryLevel", "class_nim_b_l_e_h_i_d_device.html#a323892b69461ac6fc081432f633eda3e", null ], + [ "getBatteryService", "class_nim_b_l_e_h_i_d_device.html#adce27e45dc04de669c512f6550efadc7", null ], + [ "getBootInput", "class_nim_b_l_e_h_i_d_device.html#a956ea4caa4f5bac7cda3bdb152ac1176", null ], + [ "getBootOutput", "class_nim_b_l_e_h_i_d_device.html#ad2584be6dfe497dc83686a51ff0194f6", null ], + [ "getDeviceInfoService", "class_nim_b_l_e_h_i_d_device.html#a7d6592bba748b4be7ed1e4fb9275d346", null ], + [ "getFeatureReport", "class_nim_b_l_e_h_i_d_device.html#ac34cb2703dc655220270604e2a28cf41", null ], + [ "getHidControl", "class_nim_b_l_e_h_i_d_device.html#ab29c3d71cd592aa867b8c6655d586f24", null ], + [ "getHidInfo", "class_nim_b_l_e_h_i_d_device.html#a21aa774e08a344fc98e217c79c9ddf12", null ], + [ "getHidService", "class_nim_b_l_e_h_i_d_device.html#a2aea1e924f327152db713834bc2ad5a6", null ], + [ "getInputReport", "class_nim_b_l_e_h_i_d_device.html#af2f973843304c2d513963a9dbbc48714", null ], + [ "getOutputReport", "class_nim_b_l_e_h_i_d_device.html#ace0ea997b5c986bb8a56cd8673163203", null ], + [ "getPnp", "class_nim_b_l_e_h_i_d_device.html#abda5099d23c7111e99d8d755565be84a", null ], + [ "getProtocolMode", "class_nim_b_l_e_h_i_d_device.html#a1bdd21f3cc61d0128b06cdfd9588d6f5", null ], + [ "getReportMap", "class_nim_b_l_e_h_i_d_device.html#afe75c42779aef757cd3ba84ec281efb5", null ], + [ "setBatteryLevel", "class_nim_b_l_e_h_i_d_device.html#ab24968002ba94c2029e9d55364e1ec2b", null ], + [ "setHidInfo", "class_nim_b_l_e_h_i_d_device.html#aea007674892608877cdbf9122208ba28", null ], + [ "setManufacturer", "class_nim_b_l_e_h_i_d_device.html#a35c42432a5a8f5b3286293bea1b9f397", null ], + [ "setPnp", "class_nim_b_l_e_h_i_d_device.html#ab0495fb5fbee85277a14a0b9476a0239", null ], + [ "setReportMap", "class_nim_b_l_e_h_i_d_device.html#abdc7efa80e3a1cc9c35bcce012c1d37c", null ], [ "startServices", "class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_local_attribute-members.html b/class_nim_b_l_e_local_attribute-members.html new file mode 100644 index 0000000..42370a4 --- /dev/null +++ b/class_nim_b_l_e_local_attribute-members.html @@ -0,0 +1,115 @@ + + + + + + + +esp-nimble-cpp: Member List + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    esp-nimble-cpp 2.0.0 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    NimBLELocalAttribute Member List
    +
    +
    + +

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

    + + + + + + + + + +
    getHandle() constNimBLEAttributeinline
    getRemoved() constNimBLELocalAttributeinline
    getUUID() constNimBLEAttributeinline
    NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
    NimBLELocalAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLELocalAttributeinlineprotected
    setRemoved(uint8_t removed)NimBLELocalAttributeinlineprotected
    ~NimBLEAttribute()=defaultNimBLEAttributeprotected
    ~NimBLELocalAttribute()=defaultNimBLELocalAttributeprotected
    +
    + + + + diff --git a/class_nim_b_l_e_local_attribute.html b/class_nim_b_l_e_local_attribute.html new file mode 100644 index 0000000..8969958 --- /dev/null +++ b/class_nim_b_l_e_local_attribute.html @@ -0,0 +1,220 @@ + + + + + + + +esp-nimble-cpp: NimBLELocalAttribute Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    esp-nimble-cpp 2.0.0 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    NimBLELocalAttribute Class Reference
    +
    +
    + +

    A base class for local BLE attributes. + More...

    + +

    #include <NimBLELocalAttribute.h>

    + +

    Inherits NimBLEAttribute.

    + +

    Inherited by NimBLELocalValueAttribute, and NimBLEService.

    + + + + + + + + + + + + +

    +Public Member Functions

    uint8_t getRemoved () const
     Get the removed flag.
     
    - Public Member Functions inherited from NimBLEAttribute
    const NimBLEUUIDgetUUID () const
     Get the UUID of the attribute.
     
    +uint16_t getHandle () const
     Get the handle of the attribute.
     
    + + + + + + + + + + + + + + + + + +

    +Protected Member Functions

    NimBLELocalAttribute (const NimBLEUUID &uuid, uint16_t handle)
     Construct a local attribute.
     
    ~NimBLELocalAttribute ()=default
     Destroy the local attribute.
     
    void setRemoved (uint8_t removed)
     Set the removed flag.
     
    - Protected Member Functions inherited from NimBLEAttribute
     NimBLEAttribute (const NimBLEUUID &uuid, uint16_t handle)
     Construct a new NimBLEAttribute object.
     
    ~NimBLEAttribute ()=default
     Destroy the NimBLEAttribute object.
     
    +

    Detailed Description

    +

    A base class for local BLE attributes.

    +

    Member Function Documentation

    + +

    ◆ getRemoved()

    + +
    +
    + + + + + +
    + + + + + + + +
    uint8_t NimBLELocalAttribute::getRemoved () const
    +
    +inline
    +
    + +

    Get the removed flag.

    +
    Returns
    The removed flag.
    + +
    +
    + +

    ◆ setRemoved()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void NimBLELocalAttribute::setRemoved (uint8_t removed)
    +
    +inlineprotected
    +
    + +

    Set the removed flag.

    +
    Parameters
    + + +
    [in]removedThe removed flag.
    +
    +
    + +
    +
    +
    +
    + + + + diff --git a/class_nim_b_l_e_local_attribute.js b/class_nim_b_l_e_local_attribute.js new file mode 100644 index 0000000..f6b5ef7 --- /dev/null +++ b/class_nim_b_l_e_local_attribute.js @@ -0,0 +1,7 @@ +var class_nim_b_l_e_local_attribute = +[ + [ "NimBLELocalAttribute", "class_nim_b_l_e_local_attribute.html#a9fd2c2130f8bea42f86ee0d3263e9788", null ], + [ "~NimBLELocalAttribute", "class_nim_b_l_e_local_attribute.html#af3a224e382c76e2bc2040d033e4f165b", null ], + [ "getRemoved", "class_nim_b_l_e_local_attribute.html#a7664b8e5353f33ebfcff20a63273fe55", null ], + [ "setRemoved", "class_nim_b_l_e_local_attribute.html#a4d8b3828536a49051311bc236157a8a4", null ] +]; \ No newline at end of file diff --git a/class_nim_b_l_e_remote_characteristic-members.html b/class_nim_b_l_e_remote_characteristic-members.html index c547dee..f4337c9 100644 --- a/class_nim_b_l_e_remote_characteristic-members.html +++ b/class_nim_b_l_e_remote_characteristic-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,59 +76,53 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_remote_characteristic.
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLERemoteCharacteristic Member List
    +
    NimBLERemoteCharacteristic Member List

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

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + +
    begin()NimBLERemoteCharacteristic
    canBroadcast()NimBLERemoteCharacteristic
    canIndicate()NimBLERemoteCharacteristic
    canNotify()NimBLERemoteCharacteristic
    canRead()NimBLERemoteCharacteristic
    canWrite()NimBLERemoteCharacteristic
    canWriteNoResponse()NimBLERemoteCharacteristic
    deleteDescriptor(const NimBLEUUID &uuid)NimBLERemoteCharacteristic
    deleteDescriptors()NimBLERemoteCharacteristic
    end()NimBLERemoteCharacteristic
    getDefHandle()NimBLERemoteCharacteristic
    getDescriptor(const NimBLEUUID &uuid)NimBLERemoteCharacteristic
    getDescriptors(bool refresh=false)NimBLERemoteCharacteristic
    getHandle()NimBLERemoteCharacteristic
    getRemoteService()NimBLERemoteCharacteristic
    getUUID()NimBLERemoteCharacteristic
    getValue(time_t *timestamp=nullptr)NimBLERemoteCharacteristic
    getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)NimBLERemoteCharacteristicinline
    readFloat() __attribute__((deprecated("Use template readValue<float>()")))NimBLERemoteCharacteristic
    readUInt16() __attribute__((deprecated("Use template readValue<uint16_t>()")))NimBLERemoteCharacteristic
    readUInt32() __attribute__((deprecated("Use template readValue<uint32_t>()")))NimBLERemoteCharacteristic
    readUInt8() __attribute__((deprecated("Use template readValue<uint8_t>()")))NimBLERemoteCharacteristic
    readValue(time_t *timestamp=nullptr)NimBLERemoteCharacteristic
    readValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)NimBLERemoteCharacteristicinline
    registerForNotify(notify_callback notifyCallback, bool notifications=true, bool response=true) __attribute__((deprecated("Use subscribe()/unsubscribe()")))NimBLERemoteCharacteristic
    subscribe(bool notifications=true, notify_callback notifyCallback=nullptr, bool response=false)NimBLERemoteCharacteristic
    toString()NimBLERemoteCharacteristic
    unsubscribe(bool response=false)NimBLERemoteCharacteristic
    writeValue(const uint8_t *data, size_t length, bool response=false)NimBLERemoteCharacteristic
    writeValue(const std::vector< uint8_t > &v, bool response=false)NimBLERemoteCharacteristic
    writeValue(const char *s, bool response=false)NimBLERemoteCharacteristic
    writeValue(const T &s, bool response=false)NimBLERemoteCharacteristicinline
    writeValue(const T &s, bool response=false)NimBLERemoteCharacteristicinline
    ~NimBLERemoteCharacteristic()NimBLERemoteCharacteristic
    begin() constNimBLERemoteCharacteristic
    canBroadcast() constNimBLERemoteCharacteristic
    canIndicate() constNimBLERemoteCharacteristic
    canNotify() constNimBLERemoteCharacteristic
    canRead() constNimBLERemoteCharacteristic
    canWrite() constNimBLERemoteCharacteristic
    canWriteNoResponse() constNimBLERemoteCharacteristic
    canWriteSigned() constNimBLERemoteCharacteristic
    deleteDescriptor(const NimBLEUUID &uuid) constNimBLERemoteCharacteristic
    deleteDescriptors() constNimBLERemoteCharacteristic
    end() constNimBLERemoteCharacteristic
    getDescriptor(const NimBLEUUID &uuid) constNimBLERemoteCharacteristic
    getDescriptors(bool refresh=false) constNimBLERemoteCharacteristic
    getHandle() constNimBLEAttributeinline
    getRemoteService() constNimBLERemoteCharacteristic
    getUUID() constNimBLEAttributeinline
    hasExtendedProps() constNimBLERemoteCharacteristic
    NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
    subscribe(bool notifications=true, const notify_callback notifyCallback=nullptr, bool response=true) constNimBLERemoteCharacteristic
    toString() constNimBLERemoteCharacteristic
    unsubscribe(bool response=true) constNimBLERemoteCharacteristic
    ~NimBLEAttribute()=defaultNimBLEAttributeprotected
    diff --git a/class_nim_b_l_e_remote_characteristic.html b/class_nim_b_l_e_remote_characteristic.html index 406adf9..c372f0f 100644 --- a/class_nim_b_l_e_remote_characteristic.html +++ b/class_nim_b_l_e_remote_characteristic.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLERemoteCharacteristic Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,138 +76,95 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_remote_characteristic.
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLERemoteCharacteristic Class Reference
    +
    NimBLERemoteCharacteristic Class Reference

    A model of a remote BLE characteristic. More...

    + +

    #include <NimBLERemoteCharacteristic.h>

    + +

    Inherits NimBLERemoteValueAttribute.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

    ~NimBLERemoteCharacteristic ()
     Destructor.
     
    bool canBroadcast ()
     Does the characteristic support broadcasting? More...
     
    bool canIndicate ()
     Does the characteristic support indications? More...
     
    bool canNotify ()
     Does the characteristic support notifications? More...
     
    bool canRead ()
     Does the characteristic support reading? More...
     
    bool canWrite ()
     Does the characteristic support writing? More...
     
    bool canWriteNoResponse ()
     Does the characteristic support writing with no response? More...
     
    std::vector< NimBLERemoteDescriptor * >::iterator begin ()
     Get iterator to the beginning of the vector of remote descriptor pointers. More...
     
    std::vector< NimBLERemoteDescriptor * >::iterator end ()
     Get iterator to the end of the vector of remote descriptor pointers. More...
     
    NimBLERemoteDescriptorgetDescriptor (const NimBLEUUID &uuid)
     Get the descriptor instance with the given UUID that belongs to this characteristic. More...
     
    std::vector< NimBLERemoteDescriptor * > * getDescriptors (bool refresh=false)
     Get a pointer to the vector of found descriptors. More...
     
    void deleteDescriptors ()
     Delete the descriptors in the descriptor vector. More...
     
    size_t deleteDescriptor (const NimBLEUUID &uuid)
     Delete descriptor by UUID. More...
     
    uint16_t getHandle ()
     Get the handle for this characteristic. More...
     
    uint16_t getDefHandle ()
     Get the handle for this characteristics definition. More...
     
    NimBLEUUID getUUID ()
     Get the UUID for this characteristic. More...
     
    NimBLEAttValue readValue (time_t *timestamp=nullptr)
     Read the value of the remote characteristic. More...
     
    std::string toString ()
     Convert a NimBLERemoteCharacteristic to a string representation;. More...
     
    NimBLERemoteServicegetRemoteService ()
     Get the remote service associated with this characteristic. More...
     
    uint8_t readUInt8 () __attribute__((deprecated("Use template readValue<uint8_t>()")))
     Read a byte value. More...
     
    uint16_t readUInt16 () __attribute__((deprecated("Use template readValue<uint16_t>()")))
     Read an unsigned 16 bit value. More...
     
    uint32_t readUInt32 () __attribute__((deprecated("Use template readValue<uint32_t>()")))
     Read an unsigned 32 bit value. More...
     
    float readFloat () __attribute__((deprecated("Use template readValue<float>()")))
     Read a float value. More...
     
    NimBLEAttValue getValue (time_t *timestamp=nullptr)
     Get the value of the remote characteristic. More...
     
    bool subscribe (bool notifications=true, notify_callback notifyCallback=nullptr, bool response=false)
     Subscribe for notifications or indications. More...
     
    bool unsubscribe (bool response=false)
     Unsubscribe for notifications or indications. More...
     
    bool registerForNotify (notify_callback notifyCallback, bool notifications=true, bool response=true) __attribute__((deprecated("Use subscribe()/unsubscribe()")))
     backward-compatibility method for subscribe/unsubscribe notifications/indications More...
     
    bool writeValue (const uint8_t *data, size_t length, bool response=false)
     Write a new value to the remote characteristic from a data buffer. More...
     
    bool writeValue (const std::vector< uint8_t > &v, bool response=false)
     Write a new value to the remote characteristic from a std::vector<uint8_t>. More...
     
    bool writeValue (const char *s, bool response=false)
     Write a new value to the remote characteristic from a const char*. More...
     
    template<typename T >
    bool writeValue (const T &s, bool response=false)
     Template to set the remote characteristic value to <type>val. More...
     
    template<typename T >
    bool writeValue (const T &s, bool response=false)
     Template to set the remote characteristic value to <type>val. More...
     
    template<typename T >
    getValue (time_t *timestamp=nullptr, bool skipSizeCheck=false)
     Template to convert the remote characteristic data to <type>. More...
     
    template<typename T >
    readValue (time_t *timestamp=nullptr, bool skipSizeCheck=false)
     Template to convert the remote characteristic data to <type>. More...
     
    std::string toString () const
     Convert a NimBLERemoteCharacteristic to a string representation;.
     
    const NimBLERemoteServicegetRemoteService () const
     Get the remote service associated with this characteristic.
     
    void deleteDescriptors () const
     Delete the descriptors in the descriptor vector.
     
    size_t deleteDescriptor (const NimBLEUUID &uuid) const
     Delete descriptor by UUID.
     
    bool canBroadcast () const
     Does the characteristic support value broadcasting?
     
    bool canRead () const
     Does the characteristic support reading?
     
    bool canWriteNoResponse () const
     Does the characteristic support writing without a response?
     
    bool canWrite () const
     Does the characteristic support writing?
     
    bool canNotify () const
     Does the characteristic support reading with encryption?
     
    bool canIndicate () const
     Does the characteristic support indication?
     
    bool canWriteSigned () const
     Does the characteristic support signed writing?
     
    bool hasExtendedProps () const
     Does the characteristic support extended properties?
     
    bool subscribe (bool notifications=true, const notify_callback notifyCallback=nullptr, bool response=true) const
     Subscribe for notifications or indications.
     
    bool unsubscribe (bool response=true) const
     Unsubscribe for notifications or indications.
     
    std::vector< NimBLERemoteDescriptor * >::iterator begin () const
     Get iterator to the beginning of the vector of remote descriptor pointers.
     
    std::vector< NimBLERemoteDescriptor * >::iterator end () const
     Get iterator to the end of the vector of remote descriptor pointers.
     
    NimBLERemoteDescriptorgetDescriptor (const NimBLEUUID &uuid) const
     Get the descriptor instance with the given UUID that belongs to this characteristic.
     
    const std::vector< NimBLERemoteDescriptor * > & getDescriptors (bool refresh=false) const
     Get a pointer to the vector of found descriptors.
     

    Detailed Description

    A model of a remote BLE characteristic.

    Member Function Documentation

    - -

    ◆ begin()

    + +

    ◆ begin()

    @@ -216,7 +173,7 @@ Public Member Functions std::vector< NimBLERemoteDescriptor * >::iterator NimBLERemoteCharacteristic::begin ( ) - + const
    @@ -226,8 +183,8 @@ Public Member Functions
    - -

    ◆ canBroadcast()

    + +

    ◆ canBroadcast()

    @@ -236,18 +193,18 @@ Public Member Functions bool NimBLERemoteCharacteristic::canBroadcast ( ) - + const
    -

    Does the characteristic support broadcasting?

    -
    Returns
    True if the characteristic supports broadcasting.
    +

    Does the characteristic support value broadcasting?

    +
    Returns
    True if supported.
    - -

    ◆ canIndicate()

    + +

    ◆ canIndicate()

    @@ -256,18 +213,18 @@ Public Member Functions bool NimBLERemoteCharacteristic::canIndicate ( ) - + const
    -

    Does the characteristic support indications?

    -
    Returns
    True if the characteristic supports indications.
    +

    Does the characteristic support indication?

    +
    Returns
    True if supported.
    - -

    ◆ canNotify()

    + +

    ◆ canNotify()

    @@ -276,18 +233,18 @@ Public Member Functions bool NimBLERemoteCharacteristic::canNotify ( ) - + const
    -

    Does the characteristic support notifications?

    -
    Returns
    True if the characteristic supports notifications.
    +

    Does the characteristic support reading with encryption?

    +
    Returns
    True if supported.
    - -

    ◆ canRead()

    + +

    ◆ canRead()

    @@ -296,18 +253,18 @@ Public Member Functions bool NimBLERemoteCharacteristic::canRead ( ) - + const

    Does the characteristic support reading?

    -
    Returns
    True if the characteristic supports reading.
    +
    Returns
    True if supported.
    - -

    ◆ canWrite()

    + +

    ◆ canWrite()

    @@ -316,18 +273,18 @@ Public Member Functions bool NimBLERemoteCharacteristic::canWrite ( ) - + const

    Does the characteristic support writing?

    -
    Returns
    True if the characteristic supports writing.
    +
    Returns
    True if supported.
    - -

    ◆ canWriteNoResponse()

    + +

    ◆ canWriteNoResponse()

    @@ -336,18 +293,38 @@ Public Member Functions bool NimBLERemoteCharacteristic::canWriteNoResponse ( ) - + const
    -

    Does the characteristic support writing with no response?

    -
    Returns
    True if the characteristic supports writing with no response.
    +

    Does the characteristic support writing without a response?

    +
    Returns
    True if supported.
    - -

    ◆ deleteDescriptor()

    + +

    ◆ canWriteSigned()

    + +
    +
    + + + + + + + +
    bool NimBLERemoteCharacteristic::canWriteSigned () const
    +
    + +

    Does the characteristic support signed writing?

    +
    Returns
    True if supported.
    + +
    +
    + +

    ◆ deleteDescriptor()

    @@ -357,7 +334,7 @@ Public Member Functions ( const NimBLEUUIDuuid) - + const
    @@ -373,8 +350,8 @@ Public Member Functions
    - -

    ◆ deleteDescriptors()

    + +

    ◆ deleteDescriptors()

    @@ -383,18 +360,18 @@ Public Member Functions void NimBLERemoteCharacteristic::deleteDescriptors ( ) - + const

    Delete the descriptors in the descriptor vector.

    -

    We maintain a vector called m_descriptorVector that contains pointers to NimBLERemoteDescriptors object references. Since we allocated these in this class, we are also responsible for deleting them. This method does just that.

    +

    We maintain a vector called m_vDescriptors that contains pointers to NimBLERemoteDescriptors object references. Since we allocated these in this class, we are also responsible for deleting them. This method does just that.

    - -

    ◆ end()

    + +

    ◆ end()

    @@ -403,7 +380,7 @@ Public Member Functions std::vector< NimBLERemoteDescriptor * >::iterator NimBLERemoteCharacteristic::end ( ) - + const
    @@ -413,28 +390,8 @@ Public Member Functions
    - -

    ◆ getDefHandle()

    - -
    -
    - - - - - - - -
    uint16_t NimBLERemoteCharacteristic::getDefHandle ()
    -
    - -

    Get the handle for this characteristics definition.

    -
    Returns
    The handle for this characteristic definition.
    - -
    -
    - -

    ◆ getDescriptor()

    + +

    ◆ getDescriptor()

    @@ -444,7 +401,7 @@ Public Member Functions ( const NimBLEUUIDuuid) - + const
    @@ -456,22 +413,22 @@ Public Member Functions -
    Returns
    The Remote descriptor (if present) or null if not present.
    +
    Returns
    The Remote descriptor (if present) or nullptr if not present.
    - -

    ◆ getDescriptors()

    + +

    ◆ getDescriptors()

    - + - +
    std::vector< NimBLERemoteDescriptor * > * NimBLERemoteCharacteristic::getDescriptors const std::vector< NimBLERemoteDescriptor * > & NimBLERemoteCharacteristic::getDescriptors ( bool  refresh = false) const
    @@ -489,37 +446,17 @@ If false the vector will be returned with the currently stored descriptors of th
    - -

    ◆ getHandle()

    + +

    ◆ getRemoteService()

    - + - - -
    uint16_t NimBLERemoteCharacteristic::getHandle const NimBLERemoteService * NimBLERemoteCharacteristic::getRemoteService ( )
    -
    - -

    Get the handle for this characteristic.

    -
    Returns
    The handle for this characteristic.
    - -
    -
    - -

    ◆ getRemoteService()

    - -
    -
    - - - - - - +
    NimBLERemoteService * NimBLERemoteCharacteristic::getRemoteService () const
    @@ -529,321 +466,28 @@ If false the vector will be returned with the currently stored descriptors of th
    - -

    ◆ getUUID()

    + +

    ◆ hasExtendedProps()

    - + - +
    NimBLEUUID NimBLERemoteCharacteristic::getUUID bool NimBLERemoteCharacteristic::hasExtendedProps ( ) const
    -

    Get the UUID for this characteristic.

    -
    Returns
    The UUID for this characteristic.
    +

    Does the characteristic support extended properties?

    +
    Returns
    True if supported.
    - -

    ◆ getValue() [1/2]

    - -
    -
    - - - - - - - - -
    NimBLEAttValue NimBLERemoteCharacteristic::getValue (time_t * timestamp = nullptr)
    -
    - -

    Get the value of the remote characteristic.

    -
    Parameters
    - - -
    [in]timestampA pointer to a time_t struct to store the time the value was read.
    -
    -
    -
    Returns
    The value of the remote characteristic.
    - -
    -
    - -

    ◆ getValue() [2/2]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    T NimBLERemoteCharacteristic::getValue (time_t * timestamp = nullptr,
    bool skipSizeCheck = false 
    )
    -
    -inline
    -
    - -

    Template to convert the remote characteristic data to <type>.

    -
    Template Parameters
    - - -
    TThe type to convert the data to.
    -
    -
    -
    Parameters
    - - - -
    [in]timestampA pointer to a time_t struct to store the time the value was read.
    [in]skipSizeCheckIf true it will skip checking if the data size is less than sizeof(<type>).
    -
    -
    -
    Returns
    The data converted to <type> or NULL if skipSizeCheck is false and the data is less than sizeof(<type>).
    -

    Use: getValue<type>(&timestamp, skipSizeCheck);

    - -
    -
    - -

    ◆ readFloat()

    - -
    -
    - - - - - - - -
    float NimBLERemoteCharacteristic::readFloat ()
    -
    - -

    Read a float value.

    -
    Returns
    the float value.
    - -
    -
    - -

    ◆ readUInt16()

    - -
    -
    - - - - - - - -
    uint16_t NimBLERemoteCharacteristic::readUInt16 ()
    -
    - -

    Read an unsigned 16 bit value.

    -
    Returns
    The unsigned 16 bit value.
    -
    Deprecated:
    Use readValue<uint16_t>().
    - -
    -
    - -

    ◆ readUInt32()

    - -
    -
    - - - - - - - -
    uint32_t NimBLERemoteCharacteristic::readUInt32 ()
    -
    - -

    Read an unsigned 32 bit value.

    -
    Returns
    the unsigned 32 bit value.
    -
    Deprecated:
    Use readValue<uint32_t>().
    - -
    -
    - -

    ◆ readUInt8()

    - -
    -
    - - - - - - - -
    uint8_t NimBLERemoteCharacteristic::readUInt8 ()
    -
    - -

    Read a byte value.

    -
    Returns
    The value as a byte
    -
    Deprecated:
    Use readValue<uint8_t>().
    - -
    -
    - -

    ◆ readValue() [1/2]

    - -
    -
    - - - - - - - - -
    NimBLEAttValue NimBLERemoteCharacteristic::readValue (time_t * timestamp = nullptr)
    -
    - -

    Read the value of the remote characteristic.

    -
    Parameters
    - - -
    [in]timestampA pointer to a time_t struct to store the time the value was read.
    -
    -
    -
    Returns
    The value of the remote characteristic.
    - -
    -
    - -

    ◆ readValue() [2/2]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    T NimBLERemoteCharacteristic::readValue (time_t * timestamp = nullptr,
    bool skipSizeCheck = false 
    )
    -
    -inline
    -
    - -

    Template to convert the remote characteristic data to <type>.

    -
    Template Parameters
    - - -
    TThe type to convert the data to.
    -
    -
    -
    Parameters
    - - - -
    [in]timestampA pointer to a time_t struct to store the time the value was read.
    [in]skipSizeCheckIf true it will skip checking if the data size is less than sizeof(<type>).
    -
    -
    -
    Returns
    The data converted to <type> or NULL if skipSizeCheck is false and the data is less than sizeof(<type>).
    -

    Use: readValue<type>(&timestamp, skipSizeCheck);

    - -
    -
    - -

    ◆ registerForNotify()

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteCharacteristic::registerForNotify (notify_callback notifyCallback,
    bool notifications = true,
    bool response = true 
    )
    -
    - -

    backward-compatibility method for subscribe/unsubscribe notifications/indications

    -
    Parameters
    - - - - -
    [in]notifyCallbackA callback to be invoked for a notification. If NULL is provided then we will unregister for notifications.
    [in]notificationsIf true, register for notifications, false register for indications.
    [in]responseIf true, require a write response from the descriptor write operation.
    -
    -
    -
    Returns
    true if successful.
    -
    Deprecated:
    Use subscribe() / unsubscribe() instead.
    - -
    -
    - -

    ◆ subscribe()

    + +

    ◆ subscribe()

    @@ -857,19 +501,19 @@ template<typename T >
    - notify_callback  + const notify_callback  notifyCallback = nullptr, bool  - response = false  + response = true  ) - + const
    @@ -887,8 +531,8 @@ template<typename T >
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -897,7 +541,7 @@ template<typename T >
    std::string NimBLERemoteCharacteristic::toString ( ) - + const
    @@ -907,8 +551,8 @@ template<typename T >
    - -

    ◆ unsubscribe()

    + +

    ◆ unsubscribe()

    @@ -917,8 +561,8 @@ template<typename T >
    bool NimBLERemoteCharacteristic::unsubscribe ( bool  - response = false) - + response = true) + const
    @@ -932,223 +576,6 @@ template<typename T >
    Returns
    false if writing to the descriptor failed.
    - - - -

    ◆ writeValue() [1/5]

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteCharacteristic::writeValue (const char * char_s,
    bool response = false 
    )
    -
    - -

    Write a new value to the remote characteristic from a const char*.

    -
    Parameters
    - - - -
    [in]char_sA character string to write to the remote characteristic.
    [in]responseWhether we require a response from the write.
    -
    -
    -
    Returns
    false if not connected or otherwise cannot perform write.
    - -
    -
    - -

    ◆ writeValue() [2/5]

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteCharacteristic::writeValue (const std::vector< uint8_t > & vec,
    bool response = false 
    )
    -
    - -

    Write a new value to the remote characteristic from a std::vector<uint8_t>.

    -
    Parameters
    - - - -
    [in]vecA std::vector<uint8_t> value to write to the remote characteristic.
    [in]responseWhether we require a response from the write.
    -
    -
    -
    Returns
    false if not connected or otherwise cannot perform write.
    - -
    -
    - -

    ◆ writeValue() [3/5]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteCharacteristic::writeValue (const T & s,
    bool response = false 
    )
    -
    -inline
    -
    - -

    Template to set the remote characteristic value to <type>val.

    -
    Parameters
    - - - -
    [in]sThe value to write.
    [in]responseTrue == request write response.
    -
    -
    -

    Only used for non-arrays and types without a c_str() method.

    - -
    -
    - -

    ◆ writeValue() [4/5]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteCharacteristic::writeValue (const T & s,
    bool response = false 
    )
    -
    -inline
    -
    - -

    Template to set the remote characteristic value to <type>val.

    -
    Parameters
    - - - -
    [in]sThe value to write.
    [in]responseTrue == request write response.
    -
    -
    -

    Only used if the <type> has a c_str() method.

    - -
    -
    - -

    ◆ writeValue() [5/5]

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteCharacteristic::writeValue (const uint8_t * data,
    size_t length,
    bool response = false 
    )
    -
    - -

    Write a new value to the remote characteristic from a data buffer.

    -
    Parameters
    - - - - -
    [in]dataA pointer to a data buffer.
    [in]lengthThe length of the data in the data buffer.
    [in]responseWhether we require a response from the write.
    -
    -
    -
    Returns
    false if not connected or otherwise cannot perform write.
    -
    @@ -1157,7 +584,7 @@ template<typename T > diff --git a/class_nim_b_l_e_remote_characteristic.js b/class_nim_b_l_e_remote_characteristic.js index c9e2d1e..83e7f67 100644 --- a/class_nim_b_l_e_remote_characteristic.js +++ b/class_nim_b_l_e_remote_characteristic.js @@ -1,37 +1,21 @@ var class_nim_b_l_e_remote_characteristic = [ - [ "~NimBLERemoteCharacteristic", "class_nim_b_l_e_remote_characteristic.html#a855d591de111b09013ae83c4043d06ed", null ], - [ "begin", "class_nim_b_l_e_remote_characteristic.html#a78ac88ca25d71dfe31b95898b79b0442", null ], - [ "canBroadcast", "class_nim_b_l_e_remote_characteristic.html#a7163009a9f0ff718b5856d19cb4a3568", null ], - [ "canIndicate", "class_nim_b_l_e_remote_characteristic.html#a53322384b295a2548b3399e2c63d76f4", null ], - [ "canNotify", "class_nim_b_l_e_remote_characteristic.html#a9c41acdbf23dc036f321d4f0a66d40d1", null ], - [ "canRead", "class_nim_b_l_e_remote_characteristic.html#a0eb6655635394268a76c68e845d14135", null ], - [ "canWrite", "class_nim_b_l_e_remote_characteristic.html#aae71c20d300ead52770e66fb8a1a47ea", null ], - [ "canWriteNoResponse", "class_nim_b_l_e_remote_characteristic.html#a2614c7f437b52f385fc4fd29abe358eb", null ], - [ "deleteDescriptor", "class_nim_b_l_e_remote_characteristic.html#aad0ba99cad9779b33ea7cd4e94349099", null ], - [ "deleteDescriptors", "class_nim_b_l_e_remote_characteristic.html#a5f0a51b4a7fb2244d236dcb96fcf5205", null ], - [ "end", "class_nim_b_l_e_remote_characteristic.html#a333adea9c9f243774c6a2f13beabd873", null ], - [ "getDefHandle", "class_nim_b_l_e_remote_characteristic.html#aebbcd36740e49d7e29eb5b21d6802380", null ], - [ "getDescriptor", "class_nim_b_l_e_remote_characteristic.html#a6178e1c58361b957be3c48548c1c4366", null ], - [ "getDescriptors", "class_nim_b_l_e_remote_characteristic.html#acf11d225fe5a25327742349e9d6061f9", null ], - [ "getHandle", "class_nim_b_l_e_remote_characteristic.html#ab46121a8f5000c40d521e7ee5d92bee6", null ], - [ "getRemoteService", "class_nim_b_l_e_remote_characteristic.html#a943183a55b020de9e09ac2cfaebcde32", null ], - [ "getUUID", "class_nim_b_l_e_remote_characteristic.html#ad62c63468995a24d736c4176c9607eeb", null ], - [ "getValue", "class_nim_b_l_e_remote_characteristic.html#a6d0779ffe7e89449121428e7fd6083d8", null ], - [ "getValue", "class_nim_b_l_e_remote_characteristic.html#a74ad8484cbc88d8eb36d4684233c538b", null ], - [ "readFloat", "class_nim_b_l_e_remote_characteristic.html#a81f39759d48a8fb792c94e4b3b455eef", null ], - [ "readUInt16", "class_nim_b_l_e_remote_characteristic.html#a181c54862bc422d8ad0b326af675922d", null ], - [ "readUInt32", "class_nim_b_l_e_remote_characteristic.html#a71793454ffab034f87af3a5e9677a63d", null ], - [ "readUInt8", "class_nim_b_l_e_remote_characteristic.html#ade5c6ae280c3cf36c9905be23df8f080", null ], - [ "readValue", "class_nim_b_l_e_remote_characteristic.html#a417bb44d000758535253488f4d77774a", null ], - [ "readValue", "class_nim_b_l_e_remote_characteristic.html#a463760cabc9ca104a6fe094eb942fec0", null ], - [ "registerForNotify", "class_nim_b_l_e_remote_characteristic.html#ab4f54eabe90a416546b7b3fc3477f49c", null ], - [ "subscribe", "class_nim_b_l_e_remote_characteristic.html#aa08b2f62376568e1fc833e4ff91e8aa7", null ], - [ "toString", "class_nim_b_l_e_remote_characteristic.html#a4b86a1f600a61036487f5161f1f1726a", null ], - [ "unsubscribe", "class_nim_b_l_e_remote_characteristic.html#a6e331afdbdbc32bf461c9866236a97aa", null ], - [ "writeValue", "class_nim_b_l_e_remote_characteristic.html#a19362aaf357835e1f771c78f0c4cd9dd", null ], - [ "writeValue", "class_nim_b_l_e_remote_characteristic.html#a94ae59940fcd128efeaf339b282b7ef9", null ], - [ "writeValue", "class_nim_b_l_e_remote_characteristic.html#acf8bcf2cf94ca8bd8cf0c7c39f9883ae", null ], - [ "writeValue", "class_nim_b_l_e_remote_characteristic.html#acf8bcf2cf94ca8bd8cf0c7c39f9883ae", null ], - [ "writeValue", "class_nim_b_l_e_remote_characteristic.html#a3c8d1fd77dd074df866c091c614eafb3", null ] + [ "begin", "class_nim_b_l_e_remote_characteristic.html#a160cf1b93ae583038606d27b258156e9", null ], + [ "canBroadcast", "class_nim_b_l_e_remote_characteristic.html#a0d8e8ae12a89d64d0ca52dd3b3b7c67d", null ], + [ "canIndicate", "class_nim_b_l_e_remote_characteristic.html#a79dbe281933d8cab342a5506746b9ded", null ], + [ "canNotify", "class_nim_b_l_e_remote_characteristic.html#ae3b10383d5b72bdf241bb2f215836772", null ], + [ "canRead", "class_nim_b_l_e_remote_characteristic.html#a4be19e1a3a82f3db0fa8a7236638b737", null ], + [ "canWrite", "class_nim_b_l_e_remote_characteristic.html#a3ba2263c976bd4ece81a6b37e09fa121", null ], + [ "canWriteNoResponse", "class_nim_b_l_e_remote_characteristic.html#a0920d576b12ee1e20a724a7da836d153", null ], + [ "canWriteSigned", "class_nim_b_l_e_remote_characteristic.html#afb07f80d83e41768d228b92210b83657", null ], + [ "deleteDescriptor", "class_nim_b_l_e_remote_characteristic.html#a03c4da5f5fc36bd5f66c39aed3feb6f2", null ], + [ "deleteDescriptors", "class_nim_b_l_e_remote_characteristic.html#a1b021f9ca0501abed573daee878b51eb", null ], + [ "end", "class_nim_b_l_e_remote_characteristic.html#a17aea026b6a795dbb6bcdc27bbe3d17e", null ], + [ "getDescriptor", "class_nim_b_l_e_remote_characteristic.html#a8a2e29de02b97c99e88ce1a56e54cdd7", null ], + [ "getDescriptors", "class_nim_b_l_e_remote_characteristic.html#a27746c8b2405beb1d44567e2c1f85f87", null ], + [ "getRemoteService", "class_nim_b_l_e_remote_characteristic.html#a1b3bbd1bcdde6dd952ee69ebad0ffc58", null ], + [ "hasExtendedProps", "class_nim_b_l_e_remote_characteristic.html#aff5a242abcba3f239bd177cebc69e1cb", null ], + [ "subscribe", "class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a", null ], + [ "toString", "class_nim_b_l_e_remote_characteristic.html#ad77a00c64a83dd58e985e3bbefd87ce2", null ], + [ "unsubscribe", "class_nim_b_l_e_remote_characteristic.html#a64a74ffc6612cf4a42f33836e34887f0", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_remote_descriptor-members.html b/class_nim_b_l_e_remote_descriptor-members.html index dd56ef0..a1e534d 100644 --- a/class_nim_b_l_e_remote_descriptor-members.html +++ b/class_nim_b_l_e_remote_descriptor-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,39 +76,37 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_remote_descriptor.html
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLERemoteDescriptor Member List
    +
    NimBLERemoteDescriptor Member List

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

    - - - - - - - - - - - - - - + + + + + +
    getHandle()NimBLERemoteDescriptor
    getRemoteCharacteristic()NimBLERemoteDescriptor
    getUUID()NimBLERemoteDescriptor
    readUInt16() __attribute__((deprecated("Use template readValue<uint16_t>()")))NimBLERemoteDescriptor
    readUInt32() __attribute__((deprecated("Use template readValue<uint32_t>()")))NimBLERemoteDescriptor
    readUInt8() __attribute__((deprecated("Use template readValue<uint8_t>()")))NimBLERemoteDescriptor
    readValue()NimBLERemoteDescriptor
    readValue(bool skipSizeCheck=false)NimBLERemoteDescriptorinline
    toString(void)NimBLERemoteDescriptor
    writeValue(const uint8_t *data, size_t length, bool response=false)NimBLERemoteDescriptor
    writeValue(const std::vector< uint8_t > &v, bool response=false)NimBLERemoteDescriptor
    writeValue(const char *s, bool response=false)NimBLERemoteDescriptor
    writeValue(const T &s, bool response=false)NimBLERemoteDescriptorinline
    writeValue(const T &s, bool response=false)NimBLERemoteDescriptorinline
    getHandle() constNimBLEAttributeinline
    getRemoteCharacteristic() constNimBLERemoteDescriptor
    getUUID() constNimBLEAttributeinline
    NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
    toString(void) constNimBLERemoteDescriptor
    ~NimBLEAttribute()=defaultNimBLEAttributeprotected
    diff --git a/class_nim_b_l_e_remote_descriptor.html b/class_nim_b_l_e_remote_descriptor.html index 1612d32..be5fd83 100644 --- a/class_nim_b_l_e_remote_descriptor.html +++ b/class_nim_b_l_e_remote_descriptor.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLERemoteDescriptor Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,96 +76,47 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_remote_descriptor.html
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLERemoteDescriptor Class Reference
    +
    NimBLERemoteDescriptor Class Reference

    A model of remote BLE descriptor. More...

    + +

    #include <NimBLERemoteDescriptor.h>

    + +

    Inherits NimBLERemoteValueAttribute.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + +

    +

    Public Member Functions

    uint16_t getHandle ()
     Retrieve the handle associated with this remote descriptor. More...
     
    NimBLERemoteCharacteristicgetRemoteCharacteristic ()
     Get the characteristic that owns this descriptor. More...
     
    NimBLEUUID getUUID ()
     Retrieve the UUID associated this remote descriptor. More...
     
    NimBLEAttValue readValue ()
     Read the value of the remote descriptor. More...
     
    uint8_t readUInt8 () __attribute__((deprecated("Use template readValue<uint8_t>()")))
     Read a byte value. More...
     
    uint16_t readUInt16 () __attribute__((deprecated("Use template readValue<uint16_t>()")))
     Read an unsigned 16 bit value. More...
     
    uint32_t readUInt32 () __attribute__((deprecated("Use template readValue<uint32_t>()")))
     Read an unsigned 32 bit value. More...
     
    std::string toString (void)
     Return a string representation of this Remote Descriptor. More...
     
    bool writeValue (const uint8_t *data, size_t length, bool response=false)
     Write a new value to a remote descriptor. More...
     
    bool writeValue (const std::vector< uint8_t > &v, bool response=false)
     Write a new value to a remote descriptor from a std::vector<uint8_t>. More...
     
    bool writeValue (const char *s, bool response=false)
     Write a new value to the remote descriptor from a const char*. More...
     
    template<typename T >
    bool writeValue (const T &s, bool response=false)
     Template to set the remote descriptor value to <type>val. More...
     
    template<typename T >
    bool writeValue (const T &s, bool response=false)
     Template to set the remote descriptor value to <type>val. More...
     
    template<typename T >
    readValue (bool skipSizeCheck=false)
     Template to convert the remote descriptor data to <type>. More...
     
    NimBLERemoteCharacteristicgetRemoteCharacteristic () const
     Get the characteristic that owns this descriptor.
     
    std::string toString (void) const
     Return a string representation of this Remote Descriptor.
     

    Detailed Description

    A model of remote BLE descriptor.

    Member Function Documentation

    - -

    ◆ getHandle()

    - -
    -
    - - - - - - - -
    uint16_t NimBLERemoteDescriptor::getHandle ()
    -
    - -

    Retrieve the handle associated with this remote descriptor.

    -
    Returns
    The handle associated with this remote descriptor.
    - -
    -
    - -

    ◆ getRemoteCharacteristic()

    + +

    ◆ getRemoteCharacteristic()

    @@ -174,7 +125,7 @@ Public Member Functions NimBLERemoteCharacteristic * NimBLERemoteDescriptor::getRemoteCharacteristic ( ) - + const
    @@ -184,155 +135,8 @@ Public Member Functions
    - -

    ◆ getUUID()

    - -
    -
    - - - - - - - -
    NimBLEUUID NimBLERemoteDescriptor::getUUID ()
    -
    - -

    Retrieve the UUID associated this remote descriptor.

    -
    Returns
    The UUID associated this remote descriptor.
    - -
    -
    - -

    ◆ readUInt16()

    - -
    -
    - - - - - - - -
    uint16_t NimBLERemoteDescriptor::readUInt16 ()
    -
    - -

    Read an unsigned 16 bit value.

    -
    Returns
    The unsigned 16 bit value.
    -
    Deprecated:
    Use readValue<uint16_t>().
    - -
    -
    - -

    ◆ readUInt32()

    - -
    -
    - - - - - - - -
    uint32_t NimBLERemoteDescriptor::readUInt32 ()
    -
    - -

    Read an unsigned 32 bit value.

    -
    Returns
    the unsigned 32 bit value.
    -
    Deprecated:
    Use readValue<uint32_t>().
    - -
    -
    - -

    ◆ readUInt8()

    - -
    -
    - - - - - - - -
    uint8_t NimBLERemoteDescriptor::readUInt8 ()
    -
    - -

    Read a byte value.

    -
    Returns
    The value as a byte
    -
    Deprecated:
    Use readValue<uint8_t>().
    - -
    -
    - -

    ◆ readValue() [1/2]

    - -
    -
    - - - - - - - -
    NimBLEAttValue NimBLERemoteDescriptor::readValue ()
    -
    - -

    Read the value of the remote descriptor.

    -
    Returns
    The value of the remote descriptor.
    - -
    -
    - -

    ◆ readValue() [2/2]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - -
    T NimBLERemoteDescriptor::readValue (bool skipSizeCheck = false)
    -
    -inline
    -
    - -

    Template to convert the remote descriptor data to <type>.

    -
    Template Parameters
    - - -
    TThe type to convert the data to.
    -
    -
    -
    Parameters
    - - -
    [in]skipSizeCheckIf true it will skip checking if the data size is less than sizeof(<type>).
    -
    -
    -
    Returns
    The data converted to <type> or NULL if skipSizeCheck is false and the data is less than sizeof(<type>).
    -

    Use: readValue<type>(skipSizeCheck);

    - -
    -
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -342,7 +146,7 @@ template<typename T >
    ( void  ) - + const
    @@ -350,223 +154,6 @@ template<typename T >

    Return a string representation of this Remote Descriptor.

    Returns
    A string representation of this Remote Descriptor.
    -
    - - -

    ◆ writeValue() [1/5]

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteDescriptor::writeValue (const char * char_s,
    bool response = false 
    )
    -
    - -

    Write a new value to the remote descriptor from a const char*.

    -
    Parameters
    - - - -
    [in]char_sA character string to write to the remote descriptor.
    [in]responseWhether we require a response from the write.
    -
    -
    -
    Returns
    false if not connected or otherwise cannot perform write.
    - -
    -
    - -

    ◆ writeValue() [2/5]

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteDescriptor::writeValue (const std::vector< uint8_t > & vec,
    bool response = false 
    )
    -
    - -

    Write a new value to a remote descriptor from a std::vector<uint8_t>.

    -
    Parameters
    - - - -
    [in]vecA std::vector<uint8_t> value to write to the remote descriptor.
    [in]responseWhether we require a response from the write.
    -
    -
    -
    Returns
    false if not connected or otherwise cannot perform write.
    - -
    -
    - -

    ◆ writeValue() [3/5]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteDescriptor::writeValue (const T & s,
    bool response = false 
    )
    -
    -inline
    -
    - -

    Template to set the remote descriptor value to <type>val.

    -
    Parameters
    - - - -
    [in]sThe value to write.
    [in]responseTrue == request write response.
    -
    -
    -

    Only used for non-arrays and types without a c_str() method.

    - -
    -
    - -

    ◆ writeValue() [4/5]

    - -
    -
    -
    -template<typename T >
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteDescriptor::writeValue (const T & s,
    bool response = false 
    )
    -
    -inline
    -
    - -

    Template to set the remote descriptor value to <type>val.

    -
    Parameters
    - - - -
    [in]sThe value to write.
    [in]responseTrue == request write response.
    -
    -
    -

    Only used if the <type> has a c_str() method.

    - -
    -
    - -

    ◆ writeValue() [5/5]

    - -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - -
    bool NimBLERemoteDescriptor::writeValue (const uint8_t * data,
    size_t length,
    bool response = false 
    )
    -
    - -

    Write a new value to a remote descriptor.

    -
    Parameters
    - - - - -
    [in]dataThe data to send to the remote descriptor.
    [in]lengthThe length of the data to send.
    [in]responseTrue if we expect a write response.
    -
    -
    -
    Returns
    false if not connected or otherwise cannot perform write.
    -
    @@ -575,7 +162,7 @@ template<typename T > diff --git a/class_nim_b_l_e_remote_descriptor.js b/class_nim_b_l_e_remote_descriptor.js index bd5aefb..90c47b3 100644 --- a/class_nim_b_l_e_remote_descriptor.js +++ b/class_nim_b_l_e_remote_descriptor.js @@ -1,17 +1,5 @@ var class_nim_b_l_e_remote_descriptor = [ - [ "getHandle", "class_nim_b_l_e_remote_descriptor.html#ab8a774ebc69c0fb7ea17f926a82dba21", null ], - [ "getRemoteCharacteristic", "class_nim_b_l_e_remote_descriptor.html#a529e80c6731f68f3598e015df7618cfe", null ], - [ "getUUID", "class_nim_b_l_e_remote_descriptor.html#ace6b19cd3d9aa8226b4c17371616ad58", null ], - [ "readUInt16", "class_nim_b_l_e_remote_descriptor.html#a14351ea51b7b04f91b71e388881edd53", null ], - [ "readUInt32", "class_nim_b_l_e_remote_descriptor.html#a219606f84d63bc02f093051d66f05204", null ], - [ "readUInt8", "class_nim_b_l_e_remote_descriptor.html#ab07e86707a91e48f68e9de55686e939b", null ], - [ "readValue", "class_nim_b_l_e_remote_descriptor.html#a7c7c07e6ccd969de568b5bda72ec52d7", null ], - [ "readValue", "class_nim_b_l_e_remote_descriptor.html#ac4e3a21818903b69ace41c36a58d3c46", null ], - [ "toString", "class_nim_b_l_e_remote_descriptor.html#a008795a09d1fbe8533c2e9d0e8deb33a", null ], - [ "writeValue", "class_nim_b_l_e_remote_descriptor.html#ab7cab188f311f44d06638434117938e7", null ], - [ "writeValue", "class_nim_b_l_e_remote_descriptor.html#ab1654a0b1dc86fe042b3d5b983fbd08c", null ], - [ "writeValue", "class_nim_b_l_e_remote_descriptor.html#a1abc84a09001537dffd13c810a503b9c", null ], - [ "writeValue", "class_nim_b_l_e_remote_descriptor.html#a1abc84a09001537dffd13c810a503b9c", null ], - [ "writeValue", "class_nim_b_l_e_remote_descriptor.html#a0d3fb6424b2c86730e1a292281cd836e", null ] + [ "getRemoteCharacteristic", "class_nim_b_l_e_remote_descriptor.html#a05befb3c020c14f6b49439fd784a868c", null ], + [ "toString", "class_nim_b_l_e_remote_descriptor.html#aeea50cff665118bfa5ac755934755735", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_remote_service-members.html b/class_nim_b_l_e_remote_service-members.html index 06dc2fa..5e0bd23 100644 --- a/class_nim_b_l_e_remote_service-members.html +++ b/class_nim_b_l_e_remote_service-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,38 +76,46 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_remote_service.html','
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLERemoteService Member List
    +
    NimBLERemoteService Member List

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

    - - - - - - - - - - - - - + + + + + + + + + + + + + + +
    begin()NimBLERemoteService
    deleteCharacteristic(const NimBLEUUID &uuid)NimBLERemoteService
    deleteCharacteristics()NimBLERemoteService
    end()NimBLERemoteService
    getCharacteristic(const char *uuid)NimBLERemoteService
    getCharacteristic(const NimBLEUUID &uuid)NimBLERemoteService
    getCharacteristics(bool refresh=false)NimBLERemoteService
    getClient(void)NimBLERemoteService
    getUUID(void)NimBLERemoteService
    getValue(const NimBLEUUID &characteristicUuid)NimBLERemoteService
    setValue(const NimBLEUUID &characteristicUuid, const std::string &value)NimBLERemoteService
    toString(void)NimBLERemoteService
    ~NimBLERemoteService()NimBLERemoteServicevirtual
    begin() constNimBLERemoteService
    deleteCharacteristic(const NimBLEUUID &uuid) constNimBLERemoteService
    deleteCharacteristics() constNimBLERemoteService
    end() constNimBLERemoteService
    getCharacteristic(const char *uuid) constNimBLERemoteService
    getCharacteristic(const NimBLEUUID &uuid) constNimBLERemoteService
    getCharacteristics(bool refresh=false) constNimBLERemoteService
    getClient(void) constNimBLERemoteService
    getHandle() constNimBLEAttributeinline
    getUUID() constNimBLEAttributeinline
    getValue(const NimBLEUUID &characteristicUuid) constNimBLERemoteService
    NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
    setValue(const NimBLEUUID &characteristicUuid, const NimBLEAttValue &value) constNimBLERemoteService
    toString(void) constNimBLERemoteService
    ~NimBLEAttribute()=defaultNimBLEAttributeprotected
    diff --git a/class_nim_b_l_e_remote_service.html b/class_nim_b_l_e_remote_service.html index 04d2e25..03cacd0 100644 --- a/class_nim_b_l_e_remote_service.html +++ b/class_nim_b_l_e_remote_service.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLERemoteService Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,72 +76,93 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_remote_service.html','
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLERemoteService Class Reference
    +
    NimBLERemoteService Class Reference

    A model of a remote BLE service. More...

    + +

    #include <NimBLERemoteService.h>

    + +

    Inherits NimBLEAttribute.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

    -virtual ~NimBLERemoteService ()
     When deleting the service make sure we delete all characteristics and descriptors.
     
    std::vector< NimBLERemoteCharacteristic * >::iterator begin ()
     Get iterator to the beginning of the vector of remote characteristic pointers. More...
     
    std::vector< NimBLERemoteCharacteristic * >::iterator end ()
     Get iterator to the end of the vector of remote characteristic pointers. More...
     
    NimBLERemoteCharacteristicgetCharacteristic (const char *uuid)
     Get the remote characteristic object for the characteristic UUID. More...
     
    NimBLERemoteCharacteristicgetCharacteristic (const NimBLEUUID &uuid)
     Get the characteristic object for the UUID. More...
     
    void deleteCharacteristics ()
     Delete the characteristics in the characteristics vector. More...
     
    size_t deleteCharacteristic (const NimBLEUUID &uuid)
     Delete characteristic by UUID. More...
     
    NimBLEClientgetClient (void)
     Get the client associated with this service. More...
     
    -NimBLEUUID getUUID (void)
     Get the service UUID.
     
    std::string getValue (const NimBLEUUID &characteristicUuid)
     Read the value of a characteristic associated with this service. More...
     
    bool setValue (const NimBLEUUID &characteristicUuid, const std::string &value)
     Set the value of a characteristic. More...
     
    std::string toString (void)
     Create a string representation of this remote service. More...
     
    std::vector< NimBLERemoteCharacteristic * > * getCharacteristics (bool refresh=false)
     Get a pointer to the vector of found characteristics. More...
     
    NimBLERemoteCharacteristicgetCharacteristic (const char *uuid) const
     Get the remote characteristic object for the characteristic UUID.
     
    NimBLERemoteCharacteristicgetCharacteristic (const NimBLEUUID &uuid) const
     Get the characteristic object for the UUID.
     
    void deleteCharacteristics () const
     Delete the characteristics in the characteristics vector.
     
    size_t deleteCharacteristic (const NimBLEUUID &uuid) const
     Delete characteristic by UUID.
     
    NimBLEClientgetClient (void) const
     Get the client associated with this service.
     
    NimBLEAttValue getValue (const NimBLEUUID &characteristicUuid) const
     Read the value of a characteristic associated with this service.
     
    bool setValue (const NimBLEUUID &characteristicUuid, const NimBLEAttValue &value) const
     Set the value of a characteristic.
     
    std::string toString (void) const
     Create a string representation of this remote service.
     
    const std::vector< NimBLERemoteCharacteristic * > & getCharacteristics (bool refresh=false) const
     Get a pointer to the vector of found characteristics.
     
    std::vector< NimBLERemoteCharacteristic * >::iterator begin () const
     Get iterator to the beginning of the vector of remote characteristic pointers.
     
    std::vector< NimBLERemoteCharacteristic * >::iterator end () const
     Get iterator to the end of the vector of remote characteristic pointers.
     
    - Public Member Functions inherited from NimBLEAttribute
    const NimBLEUUIDgetUUID () const
     Get the UUID of the attribute.
     
    +uint16_t getHandle () const
     Get the handle of the attribute.
     
    + + + + + + + +

    +Additional Inherited Members

    - Protected Member Functions inherited from NimBLEAttribute
     NimBLEAttribute (const NimBLEUUID &uuid, uint16_t handle)
     Construct a new NimBLEAttribute object.
     
    ~NimBLEAttribute ()=default
     Destroy the NimBLEAttribute object.
     

    Detailed Description

    A model of a remote BLE service.

    Member Function Documentation

    - -

    ◆ begin()

    + +

    ◆ begin()

    @@ -150,7 +171,7 @@ virtual std::vector< NimBLERemoteCharacteristic * >::iterator NimBLERemoteService::begin ( ) - + const
    @@ -160,8 +181,8 @@ virtual  -

    ◆ deleteCharacteristic()

    + +

    ◆ deleteCharacteristic()

    @@ -171,7 +192,7 @@ virtual const NimBLEUUIDuuid) - + const
    @@ -187,8 +208,8 @@ virtual  -

    ◆ deleteCharacteristics()

    + +

    ◆ deleteCharacteristics()

    @@ -207,8 +228,8 @@ virtual  -

    ◆ end()

    + +

    ◆ end()

    @@ -217,7 +238,7 @@ virtual std::vector< NimBLERemoteCharacteristic * >::iterator NimBLERemoteService::end ( ) - + const
    @@ -227,8 +248,8 @@ virtual  -

    ◆ getCharacteristic() [1/2]

    + +

    ◆ getCharacteristic() [1/2]

    @@ -238,7 +259,7 @@ virtual const char *  uuid) - + const
    @@ -254,8 +275,8 @@ virtual  -

    ◆ getCharacteristic() [2/2]

    + +

    ◆ getCharacteristic() [2/2]

    @@ -265,7 +286,7 @@ virtual const NimBLEUUIDuuid) - + const
    @@ -281,18 +302,18 @@ virtual  -

    ◆ getCharacteristics()

    + +

    ◆ getCharacteristics()

    - + - +
    std::vector< NimBLERemoteCharacteristic * > * NimBLERemoteService::getCharacteristics const std::vector< NimBLERemoteCharacteristic * > & NimBLERemoteService::getCharacteristics ( bool  refresh = false) const
    - -

    ◆ getClient()

    + +

    ◆ getClient()

    @@ -319,7 +340,7 @@ virtual void  ) - + const
    @@ -329,18 +350,18 @@ virtual  -

    ◆ getValue()

    + +

    ◆ getValue()

    - + - - + +
    std::string NimBLERemoteService::getValue NimBLEAttValue NimBLERemoteService::getValue ( const NimBLEUUIDcharacteristicUuid)uuid) const
    @@ -348,7 +369,7 @@ virtual 
    Parameters
    - +
    [in]characteristicUuidThe characteristic to read.
    [in]uuidThe characteristic to read.
    @@ -356,8 +377,8 @@ virtual 
    -

    ◆ setValue()

    + +

    ◆ setValue()

    @@ -366,18 +387,18 @@ virtual bool NimBLERemoteService::setValue ( const NimBLEUUID &  - characteristicUuid, + uuid, - const std::string &  + const NimBLEAttValuevalue  ) - + const
    @@ -385,7 +406,7 @@ virtual 
    Parameters
    - +
    [in]characteristicUuidThe characteristic to set.
    [in]uuidThe characteristic UUID to set.
    [in]valueThe value to set.
    @@ -394,8 +415,8 @@ virtual 
    -

    ◆ toString()

    + +

    ◆ toString()

    @@ -405,7 +426,7 @@ virtual void  ) - + const
    @@ -421,7 +442,7 @@ virtual 
    diff --git a/class_nim_b_l_e_remote_service.js b/class_nim_b_l_e_remote_service.js index 67910f8..8127a78 100644 --- a/class_nim_b_l_e_remote_service.js +++ b/class_nim_b_l_e_remote_service.js @@ -1,16 +1,14 @@ var class_nim_b_l_e_remote_service = [ - [ "~NimBLERemoteService", "class_nim_b_l_e_remote_service.html#a2803aa5cdfdb622ae8fe255dc939cb1d", null ], - [ "begin", "class_nim_b_l_e_remote_service.html#a49bb3134b570db877fac67e6ed077aa2", null ], - [ "deleteCharacteristic", "class_nim_b_l_e_remote_service.html#a15b3b750b073f334c3be680a99ce2e02", null ], - [ "deleteCharacteristics", "class_nim_b_l_e_remote_service.html#a221069047193f8d25f7112b44bbcb28f", null ], - [ "end", "class_nim_b_l_e_remote_service.html#a10fe635fe9a0661d26c33021faaec53b", null ], - [ "getCharacteristic", "class_nim_b_l_e_remote_service.html#ab12d195a2239a3808d60457184f0c487", null ], - [ "getCharacteristic", "class_nim_b_l_e_remote_service.html#a7ff4fc7bfb77adc33003dd6eb8e16957", null ], - [ "getCharacteristics", "class_nim_b_l_e_remote_service.html#a2c9e91c842598a6a9576c7b87af0863a", null ], - [ "getClient", "class_nim_b_l_e_remote_service.html#a3d1e7db457a9f3774eaa5e641dcc716e", null ], - [ "getUUID", "class_nim_b_l_e_remote_service.html#a565ed7d306645772d4e03ca65a07f7e5", null ], - [ "getValue", "class_nim_b_l_e_remote_service.html#a4a9b63b4e5cedb51a7748a88daeb518b", null ], - [ "setValue", "class_nim_b_l_e_remote_service.html#a4bb8c7c85580d86fd9ab7be5c3933b72", null ], - [ "toString", "class_nim_b_l_e_remote_service.html#aaf106a37f24a51b967dd0984c973750f", null ] + [ "begin", "class_nim_b_l_e_remote_service.html#a99e6d6a6fba063b2c165cf8adb19d6e3", null ], + [ "deleteCharacteristic", "class_nim_b_l_e_remote_service.html#a828d57a4691d25e9e0e6124c3b0f1ac2", null ], + [ "deleteCharacteristics", "class_nim_b_l_e_remote_service.html#a7248e58b58753d8b44c420617d854408", null ], + [ "end", "class_nim_b_l_e_remote_service.html#a4c00a195d20c8eba714979427f90c239", null ], + [ "getCharacteristic", "class_nim_b_l_e_remote_service.html#ae10ddb56bc48bd06538ab49e4a561594", null ], + [ "getCharacteristic", "class_nim_b_l_e_remote_service.html#a404ee02ca3ecf8c9d244029ede066bda", null ], + [ "getCharacteristics", "class_nim_b_l_e_remote_service.html#a5b07f0756c401d40396886e80d64b03b", null ], + [ "getClient", "class_nim_b_l_e_remote_service.html#a2f56031169ebeefcd834fff971a972c2", null ], + [ "getValue", "class_nim_b_l_e_remote_service.html#ac2f19f76f0c0ac9b0efe2baa2ad2f7ec", null ], + [ "setValue", "class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed", null ], + [ "toString", "class_nim_b_l_e_remote_service.html#a347e848039121cbf3005349f9aa50680", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_scan-members.html b/class_nim_b_l_e_scan-members.html index 041fab3..519b7c5 100644 --- a/class_nim_b_l_e_scan-members.html +++ b/class_nim_b_l_e_scan-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,41 +76,49 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_scan.html',''); initRe
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEScan Member List
    +
    NimBLEScan Member List

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

    - - - - - - - - + + + + + + + + - + - - - - - + + + + + + +
    clearDuplicateCache()NimBLEScan
    clearResults()NimBLEScan
    erase(const NimBLEAddress &address)NimBLEScan
    getResults()NimBLEScan
    isScanning()NimBLEScan
    setActiveScan(bool active)NimBLEScan
    setAdvertisedDeviceCallbacks(NimBLEAdvertisedDeviceCallbacks *pAdvertisedDeviceCallbacks, bool wantDuplicates=false)NimBLEScan
    setDuplicateFilter(bool enabled)NimBLEScan
    clearResults()NimBLEScan
    erase(const NimBLEAddress &address)NimBLEScan
    erase(const NimBLEAdvertisedDevice *device)NimBLEScan
    getResults()NimBLEScan
    getResults(uint32_t duration, bool is_continue=false)NimBLEScan
    isScanning()NimBLEScan
    setActiveScan(bool active)NimBLEScan
    setDuplicateFilter(uint8_t enabled)NimBLEScan
    setFilterPolicy(uint8_t filter)NimBLEScan
    setInterval(uint16_t intervalMSecs)NimBLEScan
    setInterval(uint16_t intervalMs)NimBLEScan
    setLimitedOnly(bool enabled)NimBLEScan
    setMaxResults(uint8_t maxResults)NimBLEScan
    setWindow(uint16_t windowMSecs)NimBLEScan
    start(uint32_t duration, void(*scanCompleteCB)(NimBLEScanResults), bool is_continue=false)NimBLEScan
    start(uint32_t duration, bool is_continue=false)NimBLEScan
    stop()NimBLEScan
    setMaxResults(uint8_t maxResults)NimBLEScan
    setPeriod(uint32_t periodMs)NimBLEScan
    setPhy(Phy phyMask)NimBLEScan
    setScanCallbacks(NimBLEScanCallbacks *pScanCallbacks, bool wantDuplicates=false)NimBLEScan
    setWindow(uint16_t windowMs)NimBLEScan
    start(uint32_t duration, bool isContinue=false, bool restart=true)NimBLEScan
    stop()NimBLEScan
    diff --git a/class_nim_b_l_e_scan.html b/class_nim_b_l_e_scan.html index 45d52e7..9592bbf 100644 --- a/class_nim_b_l_e_scan.html +++ b/class_nim_b_l_e_scan.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEScan Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,82 +76,95 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_scan.html',''); initRe
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEScan Class Reference
    +
    NimBLEScan Class Reference

    Perform and manage BLE scans. More...

    + +

    #include <NimBLEScan.h>

    - - - - - - - - - + + + + + - - - - - + + + + + - - - - - - - - - - - + + + + + + + + + + + - - + + - - - - - + + - - + + - - + + - - + + + + + - - + + + + + + + + + + +

    +

    Public Member Functions

    bool start (uint32_t duration, void(*scanCompleteCB)(NimBLEScanResults), bool is_continue=false)
     Start scanning. More...
     
    NimBLEScanResults start (uint32_t duration, bool is_continue=false)
     Start scanning and block until scanning has been completed. More...
     
    bool isScanning ()
     Get the status of the scanner. More...
    bool start (uint32_t duration, bool isContinue=false, bool restart=true)
     Start scanning.
     
    bool isScanning ()
     Get the status of the scanner.
     
    void setAdvertisedDeviceCallbacks (NimBLEAdvertisedDeviceCallbacks *pAdvertisedDeviceCallbacks, bool wantDuplicates=false)
     Set the call backs to be invoked. More...
     
    void setActiveScan (bool active)
     Should we perform an active or passive scan? The default is a passive scan. An active scan means that we will request a scan response. More...
    void setScanCallbacks (NimBLEScanCallbacks *pScanCallbacks, bool wantDuplicates=false)
     Set the call backs to be invoked.
     
    void setActiveScan (bool active)
     Should we perform an active or passive scan? The default is a passive scan. An active scan means that we will request a scan response.
     
    void setInterval (uint16_t intervalMSecs)
     Set the interval to scan. More...
     
    void setWindow (uint16_t windowMSecs)
     Set the window to actively scan. More...
     
    void setDuplicateFilter (bool enabled)
     Set whether or not the BLE controller should only report results from devices it has not already seen. More...
     
    void setLimitedOnly (bool enabled)
     Set whether or not the BLE controller only report scan results from devices advertising in limited discovery mode, i.e. directed advertising. More...
    void setInterval (uint16_t intervalMs)
     Set the interval to scan.
     
    void setWindow (uint16_t windowMs)
     Set the window to actively scan.
     
    void setDuplicateFilter (uint8_t enabled)
     Set whether or not the BLE controller should only report results from devices it has not already seen.
     
    void setLimitedOnly (bool enabled)
     Set whether or not the BLE controller only reports scan results from devices advertising in limited discovery mode.
     
    void setFilterPolicy (uint8_t filter)
     Sets the scan filter policy. More...
    void setFilterPolicy (uint8_t filter)
     Sets the scan filter policy.
     
    -void clearDuplicateCache ()
     Clears the duplicate scan filter cache.
     
    bool stop ()
     Stop an in progress scan. More...
    bool stop ()
     Stop an in progress scan.
     
    -void clearResults ()
     Clear the results of the scan.
    +void clearResults ()
     Clear the stored results of the scan.
     
    NimBLEScanResults getResults ()
     Get the results of the scan. More...
    NimBLEScanResults getResults ()
     Get the results of the scan.
     
    void setMaxResults (uint8_t maxResults)
     Sets the max number of results to store. More...
    NimBLEScanResults getResults (uint32_t duration, bool is_continue=false)
     Start scanning and block until scanning has been completed.
     
    void setMaxResults (uint8_t maxResults)
     Sets the max number of results to store.
     
    void erase (const NimBLEAddress &address)
     Delete peer device from the scan results vector. More...
    void erase (const NimBLEAddress &address)
     Delete peer device from the scan results vector.
     
    void erase (const NimBLEAdvertisedDevice *device)
     Delete peer device from the scan results vector.
     
    void setPhy (Phy phyMask)
     Set the PHYs to scan.
     
    void setPeriod (uint32_t periodMs)
     Set the extended scanning period.
     

    Detailed Description

    Perform and manage BLE scans.

    Scanning is associated with a BLE client that is attempting to locate BLE servers.

    Member Function Documentation

    - -

    ◆ erase()

    + +

    ◆ erase() [1/2]

    - -

    ◆ getResults()

    + +

    ◆ erase() [2/2]

    + +
    +
    + + + + + + + + +
    void NimBLEScan::erase (const NimBLEAdvertisedDevicedevice)
    +
    + +

    Delete peer device from the scan results vector.

    +
    Parameters
    + + +
    [in]deviceThe device to delete from the results.
    +
    +
    + +
    +
    + +

    ◆ getResults() [1/2]

    @@ -197,8 +235,46 @@ void  -

    ◆ isScanning()

    + +

    ◆ getResults() [2/2]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    NimBLEScanResults NimBLEScan::getResults (uint32_t duration,
    bool is_continue = false 
    )
    +
    + +

    Start scanning and block until scanning has been completed.

    +
    Parameters
    + + + +
    [in]durationThe duration in milliseconds for which to scan.
    [in]is_continueSet to true to save previous scan results, false to clear them.
    +
    +
    +
    Returns
    The scan results.
    + +
    +
    + +

    ◆ isScanning()

    @@ -217,8 +293,8 @@ void  -

    ◆ setActiveScan()

    + +

    ◆ setActiveScan()

    @@ -243,45 +319,8 @@ void  -

    ◆ setAdvertisedDeviceCallbacks()

    - -
    -
    - - - - - - - - - - - - - - - - - - -
    void NimBLEScan::setAdvertisedDeviceCallbacks (NimBLEAdvertisedDeviceCallbackspAdvertisedDeviceCallbacks,
    bool wantDuplicates = false 
    )
    -
    - -

    Set the call backs to be invoked.

    -
    Parameters
    - - - -
    [in]pAdvertisedDeviceCallbacksCall backs to be invoked.
    [in]wantDuplicatesTrue if we wish to be called back with duplicates. Default is false.
    -
    -
    - -
    -
    - -

    ◆ setDuplicateFilter()

    + +

    ◆ setDuplicateFilter()

    - -

    ◆ setFilterPolicy()

    + +

    ◆ setFilterPolicy()

    @@ -343,8 +382,8 @@ void  -

    ◆ setInterval()

    + +

    ◆ setInterval()

    - -

    ◆ setLimitedOnly()

    + +

    ◆ setLimitedOnly()

    @@ -385,7 +425,7 @@ void  -

    Set whether or not the BLE controller only report scan results from devices advertising in limited discovery mode, i.e. directed advertising.

    +

    Set whether or not the BLE controller only reports scan results from devices advertising in limited discovery mode.

    Parameters
    @@ -395,8 +435,8 @@ void 
    [in]enabledIf true, only limited discovery devices will be in scan results.
    -

    ◆ setMaxResults()

    + +

    ◆ setMaxResults()

    @@ -422,49 +462,80 @@ void 
    -

    ◆ setWindow()

    + +

    ◆ setPeriod()

    - + - - + +
    void NimBLEScan::setWindow void NimBLEScan::setPeriod (uint16_t windowMSecs)uint32_t periodMs)
    -

    Set the window to actively scan.

    +

    Set the extended scanning period.

    Parameters
    - + +
    [in]windowMSecsHow long to actively scan.
    [in]periodMsThe scan period in milliseconds
    +
    +
    +

    The period is the time between the start of two consecutive scan periods. This works as a timer to restart scanning at the specified amount of time in periodMs.

    Note
    The duration used when this is set must be less than period.
    + +
    +
    + +

    ◆ setPhy()

    + +
    +
    + + + + + + + + +
    void NimBLEScan::setPhy (Phy phyMask)
    +
    + +

    Set the PHYs to scan.

    +
    Parameters
    + +
    [in]phyMaskThe PHYs to scan, a bit mask of:
      +
    • NIMBLE_CPP_SCAN_1M
    • +
    • NIMBLE_CPP_SCAN_CODED
    • +
    +
    - -

    ◆ start() [1/2]

    + +

    ◆ setScanCallbacks()

    - + - - + + - + @@ -474,20 +545,45 @@ void  - - + + - + @@ -521,9 +617,9 @@ void  - +
    NimBLEScanResults NimBLEScan::start void NimBLEScan::setScanCallbacks (uint32_t duration, NimBLEScanCallbackspScanCallbacks,
    bool is_continue = false wantDuplicates = false 
    -

    Start scanning and block until scanning has been completed.

    +

    Set the call backs to be invoked.

    Parameters
    - - + +
    [in]durationThe duration in seconds for which to scan.
    [in]is_continueSet to true to save previous scan results, false to clear them.
    [in]pScanCallbacksCall backs to be invoked.
    [in]wantDuplicatesTrue if we wish to be called back with duplicates, default: false.
    -
    Returns
    The NimBLEScanResults.
    - -

    ◆ start() [2/2]

    + +

    ◆ setWindow()

    + +
    +
    + + + + + + + + +
    void NimBLEScan::setWindow (uint16_t windowMs)
    +
    + +

    Set the window to actively scan.

    +
    Parameters
    + + +
    [in]windowMsHow long during the interval to actively scan in milliseconds.
    +
    +
    + +
    +
    + +

    ◆ start()

    @@ -501,14 +597,14 @@ void 
    void(*)(NimBLEScanResultsscanCompleteCB, bool isContinue = false,
    bool is_continue = false restart = true 
    Parameters
    - - - + + +
    [in]durationThe duration in seconds for which to scan.
    [in]scanCompleteCBA function to be called when scanning has completed.
    [in]is_continueSet to true to save previous scan results, false to clear them.
    [in]durationThe duration in milliseconds for which to scan. 0 == scan forever.
    [in]isContinueSet to true to save previous scan results, false to clear them.
    [in]restartSet to true to restart the scan if already in progress. this is useful to clear the duplicate filter so all devices are reported again.
    @@ -531,8 +627,8 @@ void 
    -

    ◆ stop()

    + +

    ◆ stop()

    @@ -557,7 +653,7 @@ void 
    diff --git a/class_nim_b_l_e_scan.js b/class_nim_b_l_e_scan.js index cc7d480..d61ee49 100644 --- a/class_nim_b_l_e_scan.js +++ b/class_nim_b_l_e_scan.js @@ -1,19 +1,21 @@ var class_nim_b_l_e_scan = [ - [ "clearDuplicateCache", "class_nim_b_l_e_scan.html#a6a97fd1c7f16fccd7f19994592b6dfe6", null ], [ "clearResults", "class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b", null ], [ "erase", "class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1", null ], + [ "erase", "class_nim_b_l_e_scan.html#acaa40328d16e040e9f92cba4819cb045", null ], [ "getResults", "class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61", null ], + [ "getResults", "class_nim_b_l_e_scan.html#ade1492b5d1b5d97efa76cd41583bfc96", null ], [ "isScanning", "class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016", null ], [ "setActiveScan", "class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910", null ], - [ "setAdvertisedDeviceCallbacks", "class_nim_b_l_e_scan.html#ab275a9fec35c8957acf47689056d94af", null ], - [ "setDuplicateFilter", "class_nim_b_l_e_scan.html#ac40563af803f3b9ab88398c7f30e21bb", null ], + [ "setDuplicateFilter", "class_nim_b_l_e_scan.html#aabbf3f1804a844a7db0284ecc2b78408", null ], [ "setFilterPolicy", "class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967", null ], - [ "setInterval", "class_nim_b_l_e_scan.html#a3f3e30d8b79aeb4d64af10d5f9d33788", null ], + [ "setInterval", "class_nim_b_l_e_scan.html#a4c3e1794c3e56acba76ee269ffb1393e", null ], [ "setLimitedOnly", "class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1", null ], [ "setMaxResults", "class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81", null ], - [ "setWindow", "class_nim_b_l_e_scan.html#ac2e8c921413f1ad217f45fecf63c0d22", null ], - [ "start", "class_nim_b_l_e_scan.html#a8459a1c69476fcdfd6370a1d10e0e159", null ], - [ "start", "class_nim_b_l_e_scan.html#a21b1e27816717b77533755f31dfaa820", null ], + [ "setPeriod", "class_nim_b_l_e_scan.html#aaace4d0b128b6294276347f6790f3f8b", null ], + [ "setPhy", "class_nim_b_l_e_scan.html#a17f2f775b5e6793f06a412f840d5dceb", null ], + [ "setScanCallbacks", "class_nim_b_l_e_scan.html#a3b0d41fc5d9113a02357c1b2a43c5d1d", null ], + [ "setWindow", "class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316", null ], + [ "start", "class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c", null ], [ "stop", "class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_security_callbacks-members.html b/class_nim_b_l_e_scan_callbacks-members.html similarity index 50% rename from class_nim_b_l_e_security_callbacks-members.html rename to class_nim_b_l_e_scan_callbacks-members.html index c739248..bd90656 100644 --- a/class_nim_b_l_e_security_callbacks-members.html +++ b/class_nim_b_l_e_scan_callbacks-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,8 +62,8 @@ $(function() {
    @@ -76,30 +76,34 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_security_callbacks.htm
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLESecurityCallbacks Member List
    +
    NimBLEScanCallbacks Member List
    -

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

    +

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

    - - - - - + + +
    onAuthenticationComplete(ble_gap_conn_desc *)=0NimBLESecurityCallbackspure virtual
    onConfirmPIN(uint32_t pin)=0NimBLESecurityCallbackspure virtual
    onPassKeyNotify(uint32_t pass_key)=0NimBLESecurityCallbackspure virtual
    onPassKeyRequest()=0NimBLESecurityCallbackspure virtual
    onSecurityRequest()=0NimBLESecurityCallbackspure virtual
    onDiscovered(const NimBLEAdvertisedDevice *advertisedDevice)NimBLEScanCallbacksvirtual
    onResult(const NimBLEAdvertisedDevice *advertisedDevice)NimBLEScanCallbacksvirtual
    onScanEnd(const NimBLEScanResults &scanResults, int reason)NimBLEScanCallbacksvirtual
    diff --git a/class_nim_b_l_e_scan_callbacks.html b/class_nim_b_l_e_scan_callbacks.html new file mode 100644 index 0000000..0aefe9b --- /dev/null +++ b/class_nim_b_l_e_scan_callbacks.html @@ -0,0 +1,242 @@ + + + + + + + +esp-nimble-cpp: NimBLEScanCallbacks Class Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    esp-nimble-cpp 2.0.0 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    NimBLEScanCallbacks Class Reference
    +
    +
    + +

    A callback handler for callbacks associated device scanning. + More...

    + +

    #include <NimBLEScan.h>

    + + + + + + + + + + + +

    +Public Member Functions

    virtual void onDiscovered (const NimBLEAdvertisedDevice *advertisedDevice)
     Called when a new device is discovered, before the scan result is received (if applicable).
     
    virtual void onResult (const NimBLEAdvertisedDevice *advertisedDevice)
     Called when a new scan result is complete, including scan response data (if applicable).
     
    virtual void onScanEnd (const NimBLEScanResults &scanResults, int reason)
     Called when a scan operation ends.
     
    +

    Detailed Description

    +

    A callback handler for callbacks associated device scanning.

    +

    Member Function Documentation

    + +

    ◆ onDiscovered()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void NimBLEScanCallbacks::onDiscovered (const NimBLEAdvertisedDeviceadvertisedDevice)
    +
    +virtual
    +
    + +

    Called when a new device is discovered, before the scan result is received (if applicable).

    +
    Parameters
    + + +
    [in]advertisedDeviceThe device which was discovered.
    +
    +
    + +
    +
    + +

    ◆ onResult()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void NimBLEScanCallbacks::onResult (const NimBLEAdvertisedDeviceadvertisedDevice)
    +
    +virtual
    +
    + +

    Called when a new scan result is complete, including scan response data (if applicable).

    +
    Parameters
    + + +
    [in]advertisedDeviceThe device for which the complete result is available.
    +
    +
    + +
    +
    + +

    ◆ onScanEnd()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void NimBLEScanCallbacks::onScanEnd (const NimBLEScanResultsscanResults,
    int reason 
    )
    +
    +virtual
    +
    + +

    Called when a scan operation ends.

    +
    Parameters
    + + + +
    [in]scanResultsThe results of the scan that ended.
    [in]reasonThe reason code for why the scan ended.
    +
    +
    + +
    +
    +
    +
    + + + + diff --git a/class_nim_b_l_e_scan_callbacks.js b/class_nim_b_l_e_scan_callbacks.js new file mode 100644 index 0000000..8e937ff --- /dev/null +++ b/class_nim_b_l_e_scan_callbacks.js @@ -0,0 +1,6 @@ +var class_nim_b_l_e_scan_callbacks = +[ + [ "onDiscovered", "class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277", null ], + [ "onResult", "class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283", null ], + [ "onScanEnd", "class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375", null ] +]; \ No newline at end of file diff --git a/class_nim_b_l_e_scan_results-members.html b/class_nim_b_l_e_scan_results-members.html index dc29875..a84ab38 100644 --- a/class_nim_b_l_e_scan_results-members.html +++ b/class_nim_b_l_e_scan_results-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,31 +76,37 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_scan_results.html','')
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEScanResults Member List
    +
    NimBLEScanResults Member List

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

    - - - - - - + + + + + +
    begin()NimBLEScanResults
    dump()NimBLEScanResults
    end()NimBLEScanResults
    getCount()NimBLEScanResults
    getDevice(uint32_t i)NimBLEScanResults
    getDevice(const NimBLEAddress &address)NimBLEScanResults
    begin() constNimBLEScanResults
    dump() constNimBLEScanResults
    end() constNimBLEScanResults
    getCount() constNimBLEScanResults
    getDevice(uint32_t idx) constNimBLEScanResults
    getDevice(const NimBLEAddress &address) constNimBLEScanResults
    diff --git a/class_nim_b_l_e_scan_results.html b/class_nim_b_l_e_scan_results.html index 8e763a7..2e5ebb3 100644 --- a/class_nim_b_l_e_scan_results.html +++ b/class_nim_b_l_e_scan_results.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEScanResults Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,60 +76,68 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_scan_results.html','')
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEScanResults Class Reference
    +
    NimBLEScanResults Class Reference

    A class that contains and operates on the results of a BLE scan. More...

    + +

    #include <NimBLEScan.h>

    - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

    -void dump ()
     Dump the scan results to the log.
     
    int getCount ()
     Get the count of devices found in the last scan. More...
     
    NimBLEAdvertisedDevice getDevice (uint32_t i)
     Return the specified device at the given index. The index should be between 0 and getCount()-1. More...
     
    std::vector< NimBLEAdvertisedDevice * >::iterator begin ()
     Get iterator to the beginning of the vector of advertised device pointers. More...
     
    std::vector< NimBLEAdvertisedDevice * >::iterator end ()
     Get iterator to the end of the vector of advertised device pointers. More...
     
    NimBLEAdvertisedDevicegetDevice (const NimBLEAddress &address)
     Get a pointer to the specified device at the given address. If the address is not found a nullptr is returned. More...
     
    +void dump () const
     Dump the scan results to the log.
     
    int getCount () const
     Get the count of devices found in the last scan.
     
    const NimBLEAdvertisedDevicegetDevice (uint32_t idx) const
     Return the specified device at the given index. The index should be between 0 and getCount()-1.
     
    const NimBLEAdvertisedDevicegetDevice (const NimBLEAddress &address) const
     Get a pointer to the specified device at the given address. If the address is not found a nullptr is returned.
     
    std::vector< NimBLEAdvertisedDevice * >::const_iterator begin () const
     Get iterator to the beginning of the vector of advertised device pointers.
     
    std::vector< NimBLEAdvertisedDevice * >::const_iterator end () const
     Get iterator to the end of the vector of advertised device pointers.
     

    Detailed Description

    A class that contains and operates on the results of a BLE scan.

    -

    When a scan completes, we have a set of found devices. Each device is described by a NimBLEAdvertisedDevice object. The number of items in the set is given by getCount(). We can retrieve a device by calling getDevice() passing in the index (starting at 0) of the desired device.

    +

    When a scan completes, we have a set of found devices. Each device is described by a NimBLEAdvertisedDevice object. The number of items in the set is given by getCount(). We can retrieve a device by calling getDevice() passing in the index (starting at 0) of the desired device.

    Member Function Documentation

    - -

    ◆ begin()

    + +

    ◆ begin()

    - + - +
    std::vector< NimBLEAdvertisedDevice * >::iterator NimBLEScanResults::begin std::vector< NimBLEAdvertisedDevice * >::const_iterator NimBLEScanResults::begin ( ) const
    @@ -139,17 +147,17 @@ void 
    -

    ◆ end()

    + +

    ◆ end()

    - + - +
    std::vector< NimBLEAdvertisedDevice * >::iterator NimBLEScanResults::end std::vector< NimBLEAdvertisedDevice * >::const_iterator NimBLEScanResults::end ( ) const
    @@ -159,8 +167,8 @@ void 
    -

    ◆ getCount()

    + +

    ◆ getCount()

    @@ -169,7 +177,7 @@ void 
    int NimBLEScanResults::getCount ( ) const
    @@ -179,18 +187,18 @@ void 
    -

    ◆ getDevice() [1/2]

    + +

    ◆ getDevice() [1/2]

    - + - +
    NimBLEAdvertisedDevice * NimBLEScanResults::getDevice const NimBLEAdvertisedDevice * NimBLEScanResults::getDevice ( const NimBLEAddress address) const
    @@ -206,26 +214,26 @@ void 
    -

    ◆ getDevice() [2/2]

    + +

    ◆ getDevice() [2/2]

    - + - - + +
    NimBLEAdvertisedDevice NimBLEScanResults::getDevice const NimBLEAdvertisedDevice * NimBLEScanResults::getDevice ( uint32_t i)idx) const
    -

    Return the specified device at the given index. The index should be between 0 and getCount()-1.

    +

    Return the specified device at the given index. The index should be between 0 and getCount()-1.

    Parameters
    - +
    [in]iThe index of the device.
    [in]idxThe index of the device.
    @@ -239,7 +247,7 @@ void 
    diff --git a/class_nim_b_l_e_scan_results.js b/class_nim_b_l_e_scan_results.js index 8c3d49d..1161f7b 100644 --- a/class_nim_b_l_e_scan_results.js +++ b/class_nim_b_l_e_scan_results.js @@ -1,9 +1,9 @@ var class_nim_b_l_e_scan_results = [ - [ "begin", "class_nim_b_l_e_scan_results.html#ad426f221e8c18c0c3f5784786710e8f0", null ], - [ "dump", "class_nim_b_l_e_scan_results.html#a2bbead75105733d04796b69e10c56cd4", null ], - [ "end", "class_nim_b_l_e_scan_results.html#a44e183a7ce0c9fb587d11910ce5ef200", null ], - [ "getCount", "class_nim_b_l_e_scan_results.html#ae4796dd6ce1845c46f66bc1a36ad746a", null ], - [ "getDevice", "class_nim_b_l_e_scan_results.html#ac2356f6c1b8384ebc061d4b7953a9374", null ], - [ "getDevice", "class_nim_b_l_e_scan_results.html#a68aa3ebffb1be785497f228c1d11e500", null ] + [ "begin", "class_nim_b_l_e_scan_results.html#a5a0b1dc434c4ad68ae5ce233eeacc230", null ], + [ "dump", "class_nim_b_l_e_scan_results.html#af143b1aa3bd67157dd263fcbeb4827ba", null ], + [ "end", "class_nim_b_l_e_scan_results.html#a2547ebc0f9f0e1f48346ff0188ed6479", null ], + [ "getCount", "class_nim_b_l_e_scan_results.html#a59c62c0825917ebb26bcb1efa2a98f4d", null ], + [ "getDevice", "class_nim_b_l_e_scan_results.html#aa96e8a647f0db95e2fa8cfae44f6d92e", null ], + [ "getDevice", "class_nim_b_l_e_scan_results.html#a98b106a3929919bf2c80cc0dfff59ba1", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_security.html b/class_nim_b_l_e_security.html deleted file mode 100644 index 65f6f17..0000000 --- a/class_nim_b_l_e_security.html +++ /dev/null @@ -1,311 +0,0 @@ - - - - - - - -esp-nimble-cpp: NimBLESecurity Class Reference - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    - -
    -
    NimBLESecurity Class Reference
    -
    -
    - -

    A class to handle BLE security operations. Deprecated - provided for backward compatibility only. - More...

    - - - - - - - - - - - - - - - - - - - -

    -Public Member Functions

    void setAuthenticationMode (esp_ble_auth_req_t auth_req)
     Set requested authentication mode. More...
     
    void setCapability (esp_ble_io_cap_t iocap)
     Set our device IO capability to let end user perform authorization either by displaying or entering generated 6-digit pin code or use "just works". More...
     
    void setInitEncryptionKey (uint8_t init_key)
     Sets the keys we will distribute during encryption. More...
     
    void setRespEncryptionKey (uint8_t resp_key)
     Sets the keys we will accept during encryption. More...
     
    void setKeySize (uint8_t key_size=16)
     
    void setStaticPIN (uint32_t pin)
     Sets a static PIN used to authenticate/encrypt the connection. More...
     
    -

    Detailed Description

    -

    A class to handle BLE security operations. Deprecated - provided for backward compatibility only.

    -
    Deprecated:
    Use the security methods provided in NimBLEDevice instead.
    -

    Member Function Documentation

    - -

    ◆ setAuthenticationMode()

    - -
    -
    - - - - - - - - -
    void NimBLESecurity::setAuthenticationMode (esp_ble_auth_req_t auth_req)
    -
    - -

    Set requested authentication mode.

    -
    Parameters
    - - -
    [in]auth_reqA bitmask containing one or more of:
      -
    • ESP_LE_AUTH_NO_BOND 0x00
    • -
    • ESP_LE_AUTH_BOND 0x01
    • -
    • ESP_LE_AUTH_REQ_MITM (1 << 2)
    • -
    • ESP_LE_AUTH_REQ_BOND_MITM (ESP_LE_AUTH_BOND | ESP_LE_AUTH_REQ_MITM)
    • -
    • ESP_LE_AUTH_REQ_SC_ONLY (1 << 3)
    • -
    • ESP_LE_AUTH_REQ_SC_BOND (ESP_LE_AUTH_BOND | ESP_LE_AUTH_REQ_SC_ONLY)
    • -
    • ESP_LE_AUTH_REQ_SC_MITM (ESP_LE_AUTH_REQ_MITM | ESP_LE_AUTH_REQ_SC_ONLY)
    • -
    • ESP_LE_AUTH_REQ_SC_MITM_BOND (ESP_LE_AUTH_REQ_MITM | ESP_LE_AUTH_REQ_SC_ONLY | ESP_LE_AUTH_BOND)
    • -
    -
    -
    -
    - -
    -
    - -

    ◆ setCapability()

    - -
    -
    - - - - - - - - -
    void NimBLESecurity::setCapability (esp_ble_io_cap_t iocap)
    -
    - -

    Set our device IO capability to let end user perform authorization either by displaying or entering generated 6-digit pin code or use "just works".

    -
    Parameters
    - - -
    [in]iocapThe IO capabilites our device has.
    -Can be set to one of:
      -
    • ESP_IO_CAP_OUT 0
    • -
    • ESP_IO_CAP_IO 1
    • -
    • ESP_IO_CAP_IN 2
    • -
    • ESP_IO_CAP_NONE 3
    • -
    • ESP_IO_CAP_KBDISP 4
    • -
    -
    -
    -
    - -
    -
    - -

    ◆ setInitEncryptionKey()

    - -
    -
    - - - - - - - - -
    void NimBLESecurity::setInitEncryptionKey (uint8_t init_key)
    -
    - -

    Sets the keys we will distribute during encryption.

    -
    Parameters
    - - -
    [in]init_keyA bitmask of the keys we will distribute.
    -Can be one or more of:
      -
    • ESP_BLE_ENC_KEY_MASK (1 << 0)
    • -
    • ESP_BLE_ID_KEY_MASK (1 << 1)
    • -
    • ESP_BLE_CSR_KEY_MASK (1 << 2)
    • -
    • ESP_BLE_LINK_KEY_MASK (1 << 3)
    • -
    -
    -
    -
    - -
    -
    - -

    ◆ setKeySize()

    - -
    -
    - - - - - - - - -
    void NimBLESecurity::setKeySize (uint8_t key_size = 16)
    -
    -
    Todo:
    Requires implementation
    - -
    -
    - -

    ◆ setRespEncryptionKey()

    - -
    -
    - - - - - - - - -
    void NimBLESecurity::setRespEncryptionKey (uint8_t resp_key)
    -
    - -

    Sets the keys we will accept during encryption.

    -
    Parameters
    - - -
    [in]resp_keyA bitmask of the keys we will accept.
    -Can be one or more of:
      -
    • ESP_BLE_ENC_KEY_MASK (1 << 0)
    • -
    • ESP_BLE_ID_KEY_MASK (1 << 1)
    • -
    • ESP_BLE_CSR_KEY_MASK (1 << 2)
    • -
    • ESP_BLE_LINK_KEY_MASK (1 << 3)
    • -
    -
    -
    -
    - -
    -
    - -

    ◆ setStaticPIN()

    - -
    -
    - - - - - - - - -
    void NimBLESecurity::setStaticPIN (uint32_t pin)
    -
    - -

    Sets a static PIN used to authenticate/encrypt the connection.

    -
    Parameters
    - - -
    [in]pinThe 6 digit pin code to accept.
    -
    -
    - -
    -
    -
    -
    - - - - diff --git a/class_nim_b_l_e_security.js b/class_nim_b_l_e_security.js deleted file mode 100644 index 5b59ec9..0000000 --- a/class_nim_b_l_e_security.js +++ /dev/null @@ -1,9 +0,0 @@ -var class_nim_b_l_e_security = -[ - [ "setAuthenticationMode", "class_nim_b_l_e_security.html#a5cf0d3672a16f557032bcbf39a9e22f2", null ], - [ "setCapability", "class_nim_b_l_e_security.html#a1bb7902d5ceffaca86bd7638a74e35e3", null ], - [ "setInitEncryptionKey", "class_nim_b_l_e_security.html#adfc3caa3e1a5aedc3be5c0f1dc5c99ac", null ], - [ "setKeySize", "class_nim_b_l_e_security.html#ab2be50284a325ec8937abdab0baafd4b", null ], - [ "setRespEncryptionKey", "class_nim_b_l_e_security.html#aac8434faa02a6813b7efd87224e04714", null ], - [ "setStaticPIN", "class_nim_b_l_e_security.html#a0bb1535e1b0d48566c17f681b7539f82", null ] -]; \ No newline at end of file diff --git a/class_nim_b_l_e_security_callbacks.html b/class_nim_b_l_e_security_callbacks.html deleted file mode 100644 index 3a55e6f..0000000 --- a/class_nim_b_l_e_security_callbacks.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - - -esp-nimble-cpp: NimBLESecurityCallbacks Class Reference - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    - -
    -
    NimBLESecurityCallbacks Class Referenceabstract
    -
    -
    - -

    Callbacks to handle GAP events related to authorization. Deprecated - provided for backward compatibility only. - More...

    - - - - - - - - - - - - - - - - - -

    -Public Member Functions

    virtual uint32_t onPassKeyRequest ()=0
     Its request from peer device to input authentication pin code displayed on peer device. It requires that our device is capable to input 6-digits code by end user. More...
     
    virtual void onPassKeyNotify (uint32_t pass_key)=0
     Provide us 6-digits code to perform authentication. It requires that our device is capable to display this code to end user. More...
     
    virtual bool onSecurityRequest ()=0
     Here we can make decision if we want to let negotiate authorization with peer device or not. More...
     
    -virtual void onAuthenticationComplete (ble_gap_conn_desc *)=0
     Provides us information when authentication process is completed.
     
    virtual bool onConfirmPIN (uint32_t pin)=0
     Called when using numeric comparison for authentication. More...
     
    -

    Detailed Description

    -

    Callbacks to handle GAP events related to authorization. Deprecated - provided for backward compatibility only.

    -
    Deprecated:
    Use the callbacks provided in NimBLEClientCallbacks and NimBLEServerCallbacks instead.
    -

    Member Function Documentation

    - -

    ◆ onConfirmPIN()

    - -
    -
    - - - - - -
    - - - - - - - - -
    virtual bool NimBLESecurityCallbacks::onConfirmPIN (uint32_t pin)
    -
    -pure virtual
    -
    - -

    Called when using numeric comparison for authentication.

    -
    Parameters
    - - -
    [in]pinThe PIN to compare.
    -
    -
    -
    Returns
    True to accept and pair.
    - -
    -
    - -

    ◆ onPassKeyNotify()

    - -
    -
    - - - - - -
    - - - - - - - - -
    virtual void NimBLESecurityCallbacks::onPassKeyNotify (uint32_t pass_key)
    -
    -pure virtual
    -
    - -

    Provide us 6-digits code to perform authentication. It requires that our device is capable to display this code to end user.

    -
    Parameters
    - - -
    [in]pass_keyThe PIN provided by the peer.
    -
    -
    - -
    -
    - -

    ◆ onPassKeyRequest()

    - -
    -
    - - - - - -
    - - - - - - - -
    virtual uint32_t NimBLESecurityCallbacks::onPassKeyRequest ()
    -
    -pure virtual
    -
    - -

    Its request from peer device to input authentication pin code displayed on peer device. It requires that our device is capable to input 6-digits code by end user.

    -
    Returns
    Return 6-digits integer value from input device
    - -
    -
    - -

    ◆ onSecurityRequest()

    - -
    -
    - - - - - -
    - - - - - - - -
    virtual bool NimBLESecurityCallbacks::onSecurityRequest ()
    -
    -pure virtual
    -
    - -

    Here we can make decision if we want to let negotiate authorization with peer device or not.

    -
    Returns
    Return true if we accept this peer device request
    - -
    -
    -
    -
    - - - - diff --git a/class_nim_b_l_e_security_callbacks.js b/class_nim_b_l_e_security_callbacks.js deleted file mode 100644 index af6cb09..0000000 --- a/class_nim_b_l_e_security_callbacks.js +++ /dev/null @@ -1,8 +0,0 @@ -var class_nim_b_l_e_security_callbacks = -[ - [ "onAuthenticationComplete", "class_nim_b_l_e_security_callbacks.html#a22a8079906070a13583daafd1521a125", null ], - [ "onConfirmPIN", "class_nim_b_l_e_security_callbacks.html#a2ce6a03693a43a55e51598d8b2654a92", null ], - [ "onPassKeyNotify", "class_nim_b_l_e_security_callbacks.html#aa984ec6f29741b49bdd7dbfde60177be", null ], - [ "onPassKeyRequest", "class_nim_b_l_e_security_callbacks.html#a1cfc9c48c02aece1736f9070dc6ff90f", null ], - [ "onSecurityRequest", "class_nim_b_l_e_security_callbacks.html#a620de166c3fe26027871d18535839cdd", null ] -]; \ No newline at end of file diff --git a/class_nim_b_l_e_server-members.html b/class_nim_b_l_e_server-members.html index 12df42d..0f220ad 100644 --- a/class_nim_b_l_e_server-members.html +++ b/class_nim_b_l_e_server-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,49 +76,61 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_server.html',''); init
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEServer Member List
    +
    NimBLEServer Member List

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

    - + - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
    addService(NimBLEService *service)NimBLEServer
    advertiseOnDisconnect(bool)NimBLEServer
    advertiseOnDisconnect(bool enable)NimBLEServer
    createService(const char *uuid)NimBLEServer
    createService(const NimBLEUUID &uuid)NimBLEServer
    disconnect(uint16_t connID, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)NimBLEServer
    getAdvertising()NimBLEServer
    getConnectedCount()NimBLEServer
    getPeerDevices()NimBLEServer
    getPeerIDInfo(uint16_t id)NimBLEServer
    getPeerInfo(size_t index)NimBLEServer
    getPeerInfo(const NimBLEAddress &address)NimBLEServer
    getPeerMTU(uint16_t conn_id)NimBLEServer
    getServiceByHandle(uint16_t handle)NimBLEServer
    getServiceByUUID(const char *uuid, uint16_t instanceId=0)NimBLEServer
    getServiceByUUID(const NimBLEUUID &uuid, uint16_t instanceId=0)NimBLEServer
    removeService(NimBLEService *service, bool deleteSvc=false)NimBLEServer
    setCallbacks(NimBLEServerCallbacks *pCallbacks, bool deleteCallbacks=true)NimBLEServer
    setDataLen(uint16_t conn_handle, uint16_t tx_octets)NimBLEServer
    start()NimBLEServer
    startAdvertising(uint8_t inst_id, int duration=0, int max_events=0)NimBLEServer
    startAdvertising()NimBLEServer
    stopAdvertising(uint8_t inst_id)NimBLEServer
    stopAdvertising()NimBLEServer
    updateConnParams(uint16_t conn_handle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)NimBLEServer
    createService(const NimBLEUUID &uuid)NimBLEServer
    deleteClient()NimBLEServer
    disconnect(uint16_t connHandle, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) constNimBLEServer
    disconnect(const NimBLEConnInfo &connInfo, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) constNimBLEServer
    getAdvertising() constNimBLEServer
    getClient(uint16_t connHandle)NimBLEServer
    getClient(const NimBLEConnInfo &connInfo)NimBLEServer
    getConnectedCount() constNimBLEServer
    getPeerDevices() constNimBLEServer
    getPeerInfo(uint8_t index) constNimBLEServer
    getPeerInfo(const NimBLEAddress &address) constNimBLEServer
    getPeerInfoByHandle(uint16_t connHandle) constNimBLEServer
    getPeerMTU(uint16_t connHandle) constNimBLEServer
    getPhy(uint16_t connHandle, uint8_t *txPhy, uint8_t *rxPhy)NimBLEServer
    getServiceByHandle(uint16_t handle) constNimBLEServer
    getServiceByUUID(const char *uuid, uint16_t instanceId=0) constNimBLEServer
    getServiceByUUID(const NimBLEUUID &uuid, uint16_t instanceId=0) constNimBLEServer
    removeService(NimBLEService *service, bool deleteSvc=false)NimBLEServer
    setCallbacks(NimBLEServerCallbacks *pCallbacks, bool deleteCallbacks=true)NimBLEServer
    setDataLen(uint16_t connHandle, uint16_t tx_octets) constNimBLEServer
    start()NimBLEServer
    startAdvertising(uint8_t instanceId, int duration=0, int maxEvents=0) constNimBLEServer
    startAdvertising(uint32_t duration=0) constNimBLEServer
    stopAdvertising(uint8_t instanceId) constNimBLEServer
    stopAdvertising() constNimBLEServer
    updateConnParams(uint16_t connHandle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout) constNimBLEServer
    updatePhy(uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions)NimBLEServer
    diff --git a/class_nim_b_l_e_server.html b/class_nim_b_l_e_server.html index fa0c0ed..460bd24 100644 --- a/class_nim_b_l_e_server.html +++ b/class_nim_b_l_e_server.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEServer Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,106 +76,131 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_server.html',''); init
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEServer Class Reference
    +
    NimBLEServer Class Reference

    The model of a BLE server. More...

    + +

    #include <NimBLEServer.h>

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

    size_t getConnectedCount ()
     Return the number of connected clients. More...
     
    NimBLEServicecreateService (const char *uuid)
     Create a BLE Service. More...
     
    NimBLEServicecreateService (const NimBLEUUID &uuid)
     Create a BLE Service. More...
     
    void removeService (NimBLEService *service, bool deleteSvc=false)
     Remove a service from the server. More...
     
    void addService (NimBLEService *service)
     Adds a service which was either already created but removed from availability,
    -or created and later added to services list. More...
     
    void setCallbacks (NimBLEServerCallbacks *pCallbacks, bool deleteCallbacks=true)
     Set the server callbacks. More...
     
    NimBLEExtAdvertisinggetAdvertising ()
     Retrieve the advertising object that can be used to advertise the existence of the server. More...
     
    bool startAdvertising (uint8_t inst_id, int duration=0, int max_events=0)
     Start advertising. More...
     
    bool stopAdvertising (uint8_t inst_id)
     Convenience function to stop advertising a data set. More...
     
    bool startAdvertising ()
     Start advertising. More...
     
    bool stopAdvertising ()
     Stop advertising. More...
     
    -void start ()
     Start the GATT server. Required to be called after setup of all services and characteristics / descriptors for the NimBLE host to register them.
    void start ()
     Start the GATT server.
     
    NimBLEServicegetServiceByUUID (const char *uuid, uint16_t instanceId=0)
     Get a BLE Service by its UUID. More...
     
    NimBLEServicegetServiceByUUID (const NimBLEUUID &uuid, uint16_t instanceId=0)
     Get a BLE Service by its UUID. More...
     
    NimBLEServicegetServiceByHandle (uint16_t handle)
     Get a BLE Service by its handle. More...
     
    int disconnect (uint16_t connID, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM)
     Disconnect the specified client with optional reason. More...
     
    void updateConnParams (uint16_t conn_handle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout)
     Request an Update the connection parameters: More...
     
    void setDataLen (uint16_t conn_handle, uint16_t tx_octets)
     Request an update of the data packet length. More...
     
    uint16_t getPeerMTU (uint16_t conn_id)
     Get the MTU of the client. More...
     
    -std::vector< uint16_t > getPeerDevices ()
     Get the vector of the connected client ID's.
     
    NimBLEConnInfo getPeerInfo (size_t index)
     Get the connection information of a connected peer by vector index. More...
     
    NimBLEConnInfo getPeerInfo (const NimBLEAddress &address)
     Get the connection information of a connected peer by address. More...
     
    NimBLEConnInfo getPeerIDInfo (uint16_t id)
     Get the connection information of a connected peer by connection ID. More...
     
    void advertiseOnDisconnect (bool)
     Set the server to automatically start advertising when a client disconnects. More...
     
    uint8_t getConnectedCount () const
     Return the number of connected clients.
     
    bool disconnect (uint16_t connHandle, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const
     Disconnect the specified client with optional reason.
     
    bool disconnect (const NimBLEConnInfo &connInfo, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const
     Disconnect the specified client with optional reason.
     
    void setCallbacks (NimBLEServerCallbacks *pCallbacks, bool deleteCallbacks=true)
     Set the server callbacks.
     
    void updateConnParams (uint16_t connHandle, uint16_t minInterval, uint16_t maxInterval, uint16_t latency, uint16_t timeout) const
     Request an Update the connection parameters:
     
    NimBLEServicecreateService (const char *uuid)
     Create a BLE Service.
     
    NimBLEServicecreateService (const NimBLEUUID &uuid)
     Create a BLE Service.
     
    NimBLEServicegetServiceByUUID (const char *uuid, uint16_t instanceId=0) const
     Get a BLE Service by its UUID.
     
    NimBLEServicegetServiceByUUID (const NimBLEUUID &uuid, uint16_t instanceId=0) const
     Get a BLE Service by its UUID.
     
    NimBLEServicegetServiceByHandle (uint16_t handle) const
     Get a BLE Service by its handle.
     
    void removeService (NimBLEService *service, bool deleteSvc=false)
     Remove a service from the server.
     
    void addService (NimBLEService *service)
     Adds a service which was either already created but removed from availability,
    +or created and later added to services list.
     
    uint16_t getPeerMTU (uint16_t connHandle) const
     Get the MTU value of a client connection.
     
    std::vector< uint16_t > getPeerDevices () const
     Get a vector of the connected client handles.
     
    NimBLEConnInfo getPeerInfo (uint8_t index) const
     Get the connection information of a connected peer by vector index.
     
    NimBLEConnInfo getPeerInfo (const NimBLEAddress &address) const
     Get the connection information of a connected peer by address.
     
    NimBLEConnInfo getPeerInfoByHandle (uint16_t connHandle) const
     Get the connection information of a connected peer by connection handle.
     
    void advertiseOnDisconnect (bool enable)
     Set the server to automatically start advertising when a client disconnects.
     
    void setDataLen (uint16_t connHandle, uint16_t tx_octets) const
     Request an update of the data packet length.
     
    NimBLEClientgetClient (uint16_t connHandle)
     Create a client instance from the connection handle.
     
    NimBLEClientgetClient (const NimBLEConnInfo &connInfo)
     Create a client instance from the NimBLEConnInfo reference.
     
    +void deleteClient ()
     Delete the NimBLEClient instance that was created with getClient()
     
    NimBLEExtAdvertisinggetAdvertising () const
     Retrieve the advertising object that can be used to advertise the existence of the server.
     
    bool startAdvertising (uint8_t instanceId, int duration=0, int maxEvents=0) const
     Start advertising.
     
    bool stopAdvertising (uint8_t instanceId) const
     Convenience function to stop advertising a data set.
     
    bool updatePhy (uint16_t connHandle, uint8_t txPhysMask, uint8_t rxPhysMask, uint16_t phyOptions)
     Request an update to the PHY used for a peer connection.
     
    bool getPhy (uint16_t connHandle, uint8_t *txPhy, uint8_t *rxPhy)
     Get the PHY used for a peer connection.
     
    bool startAdvertising (uint32_t duration=0) const
     Start advertising.
     
    bool stopAdvertising () const
     Stop advertising.
     

    Detailed Description

    The model of a BLE server.

    Member Function Documentation

    - -

    ◆ addService()

    + +

    ◆ addService()

    @@ -198,12 +223,12 @@ or created and later added to services list.

    -
    Note
    If it is desired to advertise the service it must be added by calling NimBLEAdvertising::addServiceUUID.
    +
    Note
    If it is desired to advertise the service it must be added by calling NimBLEAdvertising::addServiceUUID.
    - -

    ◆ advertiseOnDisconnect()

    + +

    ◆ advertiseOnDisconnect()

    @@ -212,7 +237,7 @@ or created and later added to services list.

    void NimBLEServer::advertiseOnDisconnect ( bool  - aod) + enable) @@ -221,15 +246,15 @@ or created and later added to services list.

    Set the server to automatically start advertising when a client disconnects.

    Parameters
    - +
    [in]aodtrue == advertise, false == don't advertise.
    [in]enabletrue == advertise, false == don't advertise.
    - -

    ◆ createService() [1/2]

    + +

    ◆ createService() [1/2]

    @@ -251,12 +276,12 @@ or created and later added to services list.

    -
    Returns
    A reference to the new service object.
    +
    Returns
    A pointer to the new service object.
    - -

    ◆ createService() [2/2]

    + +

    ◆ createService() [2/2]

    @@ -278,21 +303,21 @@ or created and later added to services list.

    -
    Returns
    A reference to the new service object.
    +
    Returns
    A pointer to the new service object.
    - -

    ◆ disconnect()

    + +

    ◆ disconnect() [1/2]

    - + - - + + @@ -303,7 +328,7 @@ or created and later added to services list.

    - +
    int NimBLEServer::disconnect bool NimBLEServer::disconnect (uint16_t connId, const NimBLEConnInfoconnInfo,
    ) const
    @@ -311,7 +336,7 @@ or created and later added to services list.

    Disconnect the specified client with optional reason.

    Parameters
    - +
    [in]connIdConnection Id of the client to disconnect.
    [in]connInfoConnection of the client to disconnect.
    [in]reasoncode for disconnecting.
    @@ -320,8 +345,46 @@ or created and later added to services list.

    - -

    ◆ getAdvertising()

    + +

    ◆ disconnect() [2/2]

    + +
    +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEServer::disconnect (uint16_t connHandle,
    uint8_t reason = BLE_ERR_REM_USER_CONN_TERM 
    ) const
    +
    + +

    Disconnect the specified client with optional reason.

    +
    Parameters
    + + + +
    [in]connHandleConnection handle of the client to disconnect.
    [in]reasoncode for disconnecting.
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ getAdvertising()

    @@ -330,27 +393,85 @@ or created and later added to services list.

    NimBLEAdvertising * NimBLEServer::getAdvertising ( ) - + const

    Retrieve the advertising object that can be used to advertise the existence of the server.

    -
    Returns
    An advertising object.
    +
    Returns
    A pinter to an advertising object.
    +
    +A pointer to an advertising object.
    - -

    ◆ getConnectedCount()

    + +

    ◆ getClient() [1/2]

    - + + + + + + +
    size_t NimBLEServer::getConnectedCount NimBLEClient * NimBLEServer::getClient (const NimBLEConnInfoconnInfo)
    +
    + +

    Create a client instance from the NimBLEConnInfo reference.

    +
    Parameters
    + + +
    [in]connInfoThe connection info to create a client instance from.
    +
    +
    +
    Returns
    A pointer to the NimBLEClient instance or nullptr if there was an error.
    +
    Note
    Only one instance is supported subsequent calls will overwrite the previous client connection information and data.
    + +
    +
    + +

    ◆ getClient() [2/2]

    + +
    +
    + + + + + + + + +
    NimBLEClient * NimBLEServer::getClient (uint16_t connHandle)
    +
    + +

    Create a client instance from the connection handle.

    +
    Parameters
    + + +
    [in]connHandleThe connection handle to create a client instance from.
    +
    +
    +
    Returns
    A pointer to the NimBLEClient instance or nullptr if there was an error.
    +
    Note
    Only one instance is supported subsequent calls will overwrite the previous client connection information and data.
    + +
    +
    + +

    ◆ getConnectedCount()

    + +
    +
    + + + - +
    uint8_t NimBLEServer::getConnectedCount ( ) const
    @@ -360,34 +481,28 @@ or created and later added to services list.

    - -

    ◆ getPeerIDInfo()

    + +

    ◆ getPeerDevices()

    - + - - - + +
    NimBLEConnInfo NimBLEServer::getPeerIDInfo std::vector< uint16_t > NimBLEServer::getPeerDevices (uint16_t id)) const
    -

    Get the connection information of a connected peer by connection ID.

    -
    Parameters
    - - -
    [in]idThe connection id of the peer.
    -
    -
    +

    Get a vector of the connected client handles.

    +
    Returns
    A vector of the connected client handles.
    - -

    ◆ getPeerInfo() [1/2]

    + +

    ◆ getPeerInfo() [1/2]

    @@ -397,7 +512,7 @@ or created and later added to services list.

    ( const NimBLEAddressaddress) - + const
    @@ -409,11 +524,12 @@ or created and later added to services list.

    +
    Returns
    A NimBLEConnInfo instance with the peer connection information, or an empty instance if not found.
    - -

    ◆ getPeerInfo() [2/2]

    + +

    ◆ getPeerInfo() [2/2]

    @@ -421,9 +537,9 @@ or created and later added to services list.

    NimBLEConnInfo NimBLEServer::getPeerInfo ( - size_t  + uint8_t  index) - + const
    @@ -435,11 +551,39 @@ or created and later added to services list.

    +
    Returns
    A NimBLEConnInfo instance with the peer connection information, or an empty instance if not found.
    - -

    ◆ getPeerMTU()

    + +

    ◆ getPeerInfoByHandle()

    + +
    +
    + + + + + + + + +
    NimBLEConnInfo NimBLEServer::getPeerInfoByHandle (uint16_t connHandle) const
    +
    + +

    Get the connection information of a connected peer by connection handle.

    +
    Parameters
    + + +
    [in]connHandleThe connection handle of the peer.
    +
    +
    +
    Returns
    A NimBLEConnInfo instance with the peer connection information, or an empty instance if not found.
    + +
    +
    + +

    ◆ getPeerMTU()

    @@ -448,19 +592,70 @@ or created and later added to services list.

    uint16_t NimBLEServer::getPeerMTU ( uint16_t  - conn_id) - + connHandle) + const
    -

    Get the MTU of the client.

    -
    Returns
    The client MTU or 0 if not found/connected.
    +

    Get the MTU value of a client connection.

    +
    Parameters
    + + +
    [in]connHandleThe connection handle of the client to get the MTU value for.
    +
    +
    +
    Returns
    The MTU or 0 if not found/connected.
    - -

    ◆ getServiceByHandle()

    + +

    ◆ getPhy()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    bool NimBLEServer::getPhy (uint16_t connHandle,
    uint8_t * txPhy,
    uint8_t * rxPhy 
    )
    +
    + +

    Get the PHY used for a peer connection.

    +
    Parameters
    + + + + +
    [in]connHandlethe connection handle to the get the PHY for.
    [out]txPhyThe TX PHY.
    [out]rxPhyThe RX PHY.
    +
    +
    +
    Returns
    True if successful.
    + +
    +
    + +

    ◆ getServiceByHandle()

    @@ -470,7 +665,7 @@ or created and later added to services list.

    ( uint16_t  handle) - + const
    @@ -486,8 +681,8 @@ or created and later added to services list.

    - -

    ◆ getServiceByUUID() [1/2]

    + +

    ◆ getServiceByUUID() [1/2]

    @@ -507,7 +702,7 @@ or created and later added to services list.

    ) - + const
    @@ -524,8 +719,8 @@ or created and later added to services list.

    - -

    ◆ getServiceByUUID() [2/2]

    + +

    ◆ getServiceByUUID() [2/2]

    @@ -545,7 +740,7 @@ or created and later added to services list.

    ) - + const
    @@ -562,8 +757,8 @@ or created and later added to services list.

    - -

    ◆ removeService()

    + +

    ◆ removeService()

    @@ -603,8 +798,8 @@ Advertising will need to be restarted by the user after calling this as we must
    - -

    ◆ setCallbacks()

    + +

    ◆ setCallbacks()

    @@ -641,8 +836,8 @@ Advertising will need to be restarted by the user after calling this as we must
    - -

    ◆ setDataLen()

    + +

    ◆ setDataLen()

    @@ -651,18 +846,18 @@ Advertising will need to be restarted by the user after calling this as we must void NimBLEServer::setDataLen ( uint16_t  - conn_handle, + connHandle, uint16_t  - tx_octets  + octets  ) - + const
    @@ -672,8 +867,8 @@ Advertising will need to be restarted by the user after calling this as we must
  • Can only be used after a connection has been established.

    Sends a data length update request to the peer. The Data Length Extension (DLE) allows to increase the Data Channel Payload from 27 bytes to up to 251 bytes. The peer needs to support the Bluetooth 4.2 specifications, to be capable of DLE.

    Parameters
    - - + +
    [in]conn_handleThe connection handle of the peer to send the request to.
    [in]tx_octetsThe preferred number of payload octets to use (Range 0x001B-0x00FB).
    [in]connHandleThe connection handle of the peer to send the request to.
    [in]octetsThe preferred number of payload octets to use (Range 0x001B-0x00FB).
    @@ -682,14 +877,14 @@ Advertising will need to be restarted by the user after calling this as we must
  • - -

    ◆ startAdvertising() [1/2]

    + +

    ◆ start()

    - + @@ -697,14 +892,41 @@ Advertising will need to be restarted by the user after calling this as we must
    bool NimBLEServer::startAdvertising void NimBLEServer::start ( )
    +

    Start the GATT server.

    +

    Required to be called after setup of all services and characteristics / descriptors for the NimBLE host to register them.

    + +
    +
    + +

    ◆ startAdvertising() [1/2]

    + +
    +
    + + + + + + + + +
    bool NimBLEServer::startAdvertising (uint32_t duration = 0) const
    +
    +

    Start advertising.

    +
    Parameters
    + + +
    [in]durationThe duration in milliseconds to advertise for, default = forever.
    +
    +
    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() [2/2]

    + +

    ◆ startAdvertising() [2/2]

    @@ -713,7 +935,7 @@ Advertising will need to be restarted by the user after calling this as we must bool NimBLEServer::startAdvertising ( uint8_t  - inst_id, + instId, @@ -725,12 +947,12 @@ Advertising will need to be restarted by the user after calling this as we must int  - max_events = 0  + maxEvents = 0  ) - + const
    @@ -738,9 +960,9 @@ Advertising will need to be restarted by the user after calling this as we must

    Start advertising.

    Parameters
    - + - +
    [in]inst_idThe extended advertisement instance ID to start.
    [in]instIdThe extended advertisement instance ID to start.
    [in]durationHow long to advertise for in milliseconds, 0 = forever (default).
    [in]max_eventsMaximum number of advertisement events to send, 0 = no limit (default).
    [in]maxEventsMaximum number of advertisement events to send, 0 = no limit (default).
    @@ -749,8 +971,8 @@ Advertising will need to be restarted by the user after calling this as we must
    - -

    ◆ stopAdvertising() [1/2]

    + +

    ◆ stopAdvertising() [1/2]

    @@ -759,7 +981,7 @@ Advertising will need to be restarted by the user after calling this as we must bool NimBLEServer::stopAdvertising ( ) - + const
    @@ -769,8 +991,8 @@ Advertising will need to be restarted by the user after calling this as we must
    - -

    ◆ stopAdvertising() [2/2]

    + +

    ◆ stopAdvertising() [2/2]

    @@ -779,8 +1001,8 @@ Advertising will need to be restarted by the user after calling this as we must bool NimBLEServer::stopAdvertising ( uint8_t  - inst_id) - + instId) + const
    @@ -788,7 +1010,7 @@ Advertising will need to be restarted by the user after calling this as we must

    Convenience function to stop advertising a data set.

    Parameters
    - +
    [in]inst_idThe extended advertisement instance ID to stop advertising.
    [in]instIdThe extended advertisement instance ID to stop advertising.
    @@ -796,8 +1018,8 @@ Advertising will need to be restarted by the user after calling this as we must
    - -

    ◆ updateConnParams()

    + +

    ◆ updateConnParams()

    @@ -806,7 +1028,7 @@ Advertising will need to be restarted by the user after calling this as we must void NimBLEServer::updateConnParams ( uint16_t  - conn_handle, + connHandle, @@ -835,7 +1057,7 @@ Advertising will need to be restarted by the user after calling this as we must ) - + const
    @@ -844,7 +1066,7 @@ Advertising will need to be restarted by the user after calling this as we must
    • Can only be used after a connection has been established.
      Parameters
      - + @@ -855,6 +1077,75 @@ Advertising will need to be restarted by the user after calling this as we must + + + +

      ◆ updatePhy()

      + +
      +
      +
      [in]conn_handleThe connection handle of the peer to send the request to.
      [in]connHandleThe connection handle of the peer to send the request to.
      [in]minIntervalThe minimum connection interval in 1.25ms units.
      [in]maxIntervalThe maximum connection interval in 1.25ms units.
      [in]latencyThe number of packets allowed to skip (extends max interval).
      + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
      bool NimBLEServer::updatePhy (uint16_t connHandle,
      uint8_t txPhyMask,
      uint8_t rxPhyMask,
      uint16_t phyOptions 
      )
      +
    + +

    Request an update to the PHY used for a peer connection.

    +
    Parameters
    + + + + + +
    [in]connHandlethe connection handle to the update the PHY for.
    [in]txPhyMaskTX PHY. Can be mask of following:
      +
    • BLE_GAP_LE_PHY_1M_MASK
    • +
    • BLE_GAP_LE_PHY_2M_MASK
    • +
    • BLE_GAP_LE_PHY_CODED_MASK
    • +
    • BLE_GAP_LE_PHY_ANY_MASK
    • +
    +
    [in]rxPhyMaskRX PHY. Can be mask of following:
      +
    • BLE_GAP_LE_PHY_1M_MASK
    • +
    • BLE_GAP_LE_PHY_2M_MASK
    • +
    • BLE_GAP_LE_PHY_CODED_MASK
    • +
    • BLE_GAP_LE_PHY_ANY_MASK
    • +
    +
    phyOptionsAdditional PHY options. Valid values are:
      +
    • BLE_GAP_LE_PHY_CODED_ANY (default)
    • +
    • BLE_GAP_LE_PHY_CODED_S2
    • +
    • BLE_GAP_LE_PHY_CODED_S8
    • +
    +
    +
    +
    +
    Returns
    True if successful.
    +
    @@ -863,7 +1154,7 @@ Advertising will need to be restarted by the user after calling this as we must diff --git a/class_nim_b_l_e_server.js b/class_nim_b_l_e_server.js index bb46aed..98848a6 100644 --- a/class_nim_b_l_e_server.js +++ b/class_nim_b_l_e_server.js @@ -1,27 +1,33 @@ var class_nim_b_l_e_server = [ [ "addService", "class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56", null ], - [ "advertiseOnDisconnect", "class_nim_b_l_e_server.html#a6bfd923ecd0ea06d5564343ab7209122", null ], + [ "advertiseOnDisconnect", "class_nim_b_l_e_server.html#aecf5b57888c55249a9c207d318a0495b", null ], [ "createService", "class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35", null ], [ "createService", "class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2", null ], - [ "disconnect", "class_nim_b_l_e_server.html#a63c9dce5c4bbc1c6bc720b6c51bcf3e1", null ], - [ "getAdvertising", "class_nim_b_l_e_server.html#ab41d8bb9b334734f95a726f1e15200fc", null ], - [ "getConnectedCount", "class_nim_b_l_e_server.html#a98ea12f57c10c0477b0c1c5efab23ee5", null ], - [ "getPeerDevices", "class_nim_b_l_e_server.html#ab95c428ddc94eb019a26d91e70f5974b", null ], - [ "getPeerIDInfo", "class_nim_b_l_e_server.html#ad241eb42e9775fb2f8aaa87c9fb9a76b", null ], - [ "getPeerInfo", "class_nim_b_l_e_server.html#ad91fbcb2717aa1969329f365692e1072", null ], - [ "getPeerInfo", "class_nim_b_l_e_server.html#a347c74f4ad6e2bcc2e301da11ae13e91", null ], - [ "getPeerMTU", "class_nim_b_l_e_server.html#a9eb1f32b72ac93736585d6d89f393021", null ], - [ "getServiceByHandle", "class_nim_b_l_e_server.html#a1ff39fc5235d1374d99b4f3d3acb5ddb", null ], - [ "getServiceByUUID", "class_nim_b_l_e_server.html#a87ebb3d230e98a6b3cf85bc403d227e0", null ], - [ "getServiceByUUID", "class_nim_b_l_e_server.html#ac28df6ead4d7151df3e84f4fa991eb1f", null ], + [ "deleteClient", "class_nim_b_l_e_server.html#aa7dd69e19e6cb8c22579c68e9731cdea", null ], + [ "disconnect", "class_nim_b_l_e_server.html#a49e1252a2f14732070eb85e78b641646", null ], + [ "disconnect", "class_nim_b_l_e_server.html#ac79e828bcc3c45ae817bf51be914bfc0", null ], + [ "getAdvertising", "class_nim_b_l_e_server.html#a70aafa98cc487c43e11ab30990d5ecb5", null ], + [ "getClient", "class_nim_b_l_e_server.html#a5be3c18cb6728c365ebc23af6b2a95f4", null ], + [ "getClient", "class_nim_b_l_e_server.html#a31f73892bcf7eb66ee540bf1da9c419c", null ], + [ "getConnectedCount", "class_nim_b_l_e_server.html#a4277e57885576664b9adf11f586e75ba", null ], + [ "getPeerDevices", "class_nim_b_l_e_server.html#a1cedae8a9346f605b8319cbc8209f0df", null ], + [ "getPeerInfo", "class_nim_b_l_e_server.html#a55eb6176fd8d0a1e9ba68158dde4f325", null ], + [ "getPeerInfo", "class_nim_b_l_e_server.html#a1513647f2c8a565404410a5dbd71a9ce", null ], + [ "getPeerInfoByHandle", "class_nim_b_l_e_server.html#a08916d16ea00b4718bd6241bd407829f", null ], + [ "getPeerMTU", "class_nim_b_l_e_server.html#a3bedf02970de34eaf7b90a2f37765fe8", null ], + [ "getPhy", "class_nim_b_l_e_server.html#a709eb11532ec43a35f8653845b3158fc", null ], + [ "getServiceByHandle", "class_nim_b_l_e_server.html#a0b009a568399014462a5ba7700b0129e", null ], + [ "getServiceByUUID", "class_nim_b_l_e_server.html#a26af61c030e9ad1108b24df4d3b6b633", null ], + [ "getServiceByUUID", "class_nim_b_l_e_server.html#a6bd0d52090b31cf39e2e9666091b8a61", null ], [ "removeService", "class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75", null ], [ "setCallbacks", "class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9", null ], - [ "setDataLen", "class_nim_b_l_e_server.html#a15112931d1eb6226188c7e383523ba06", null ], + [ "setDataLen", "class_nim_b_l_e_server.html#afbffb933eed8142bd24222e3cacc138a", 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 ], - [ "updateConnParams", "class_nim_b_l_e_server.html#a9b08738766de90d7065263761314030a", null ] + [ "startAdvertising", "class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654", null ], + [ "startAdvertising", "class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33", null ], + [ "stopAdvertising", "class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6", null ], + [ "stopAdvertising", "class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681", null ], + [ "updateConnParams", "class_nim_b_l_e_server.html#a56add4759f7df045f51b70a026897975", null ], + [ "updatePhy", "class_nim_b_l_e_server.html#abfd159ff5f10848bd611733835ddf215", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_server_callbacks-members.html b/class_nim_b_l_e_server_callbacks-members.html index 9d65c88..26de8b0 100644 --- a/class_nim_b_l_e_server_callbacks-members.html +++ b/class_nim_b_l_e_server_callbacks-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,33 +76,40 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_server_callbacks.html'
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEServerCallbacks Member List
    +
    NimBLEServerCallbacks Member List

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

    - - - - - - - - + + + + + + + + +
    onAuthenticationComplete(ble_gap_conn_desc *desc)NimBLEServerCallbacksvirtual
    onConfirmPIN(uint32_t pin)NimBLEServerCallbacksvirtual
    onConnect(NimBLEServer *pServer)NimBLEServerCallbacksvirtual
    onConnect(NimBLEServer *pServer, ble_gap_conn_desc *desc)NimBLEServerCallbacksvirtual
    onDisconnect(NimBLEServer *pServer)NimBLEServerCallbacksvirtual
    onDisconnect(NimBLEServer *pServer, ble_gap_conn_desc *desc)NimBLEServerCallbacksvirtual
    onMTUChange(uint16_t MTU, ble_gap_conn_desc *desc)NimBLEServerCallbacksvirtual
    onPassKeyRequest()NimBLEServerCallbacksvirtual
    onAuthenticationComplete(NimBLEConnInfo &connInfo)NimBLEServerCallbacksvirtual
    onConfirmPassKey(NimBLEConnInfo &connInfo, uint32_t pin)NimBLEServerCallbacksvirtual
    onConnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo)NimBLEServerCallbacksvirtual
    onConnParamsUpdate(NimBLEConnInfo &connInfo)NimBLEServerCallbacksvirtual
    onDisconnect(NimBLEServer *pServer, NimBLEConnInfo &connInfo, int reason)NimBLEServerCallbacksvirtual
    onIdentity(NimBLEConnInfo &connInfo)NimBLEServerCallbacksvirtual
    onMTUChange(uint16_t MTU, NimBLEConnInfo &connInfo)NimBLEServerCallbacksvirtual
    onPassKeyDisplay()NimBLEServerCallbacksvirtual
    onPhyUpdate(NimBLEConnInfo &connInfo, uint8_t txPhy, uint8_t rxPhy)NimBLEServerCallbacksvirtual
    diff --git a/class_nim_b_l_e_server_callbacks.html b/class_nim_b_l_e_server_callbacks.html index 64d6717..927e5e7 100644 --- a/class_nim_b_l_e_server_callbacks.html +++ b/class_nim_b_l_e_server_callbacks.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEServerCallbacks Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,55 +76,66 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_server_callbacks.html'
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEServerCallbacks Class Reference
    +
    NimBLEServerCallbacks Class Reference

    Callbacks associated with the operation of a BLE server. More...

    + +

    #include <NimBLEServer.h>

    - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

    virtual void onConnect (NimBLEServer *pServer)
     Handle a client connection. This is called when a client connects. More...
     
    virtual void onConnect (NimBLEServer *pServer, ble_gap_conn_desc *desc)
     Handle a client connection. This is called when a client connects. More...
     
    virtual void onDisconnect (NimBLEServer *pServer)
     Handle a client disconnection. This is called when a client disconnects. More...
     
    virtual void onDisconnect (NimBLEServer *pServer, ble_gap_conn_desc *desc)
     Handle a client disconnection. This is called when a client discconnects. More...
     
    virtual void onMTUChange (uint16_t MTU, ble_gap_conn_desc *desc)
     Called when the connection MTU changes. More...
     
    virtual uint32_t onPassKeyRequest ()
     Called when a client requests a passkey for pairing. More...
     
    virtual void onAuthenticationComplete (ble_gap_conn_desc *desc)
     Called when the pairing procedure is complete. More...
     
    virtual bool onConfirmPIN (uint32_t pin)
     Called when using numeric comparision for pairing. More...
     
    virtual void onConnect (NimBLEServer *pServer, NimBLEConnInfo &connInfo)
     Handle a client connection. This is called when a client connects.
     
    virtual void onDisconnect (NimBLEServer *pServer, NimBLEConnInfo &connInfo, int reason)
     Handle a client disconnection. This is called when a client disconnects.
     
    virtual void onMTUChange (uint16_t MTU, NimBLEConnInfo &connInfo)
     Called when the connection MTU changes.
     
    virtual uint32_t onPassKeyDisplay ()
     Called when a client requests a passkey for pairing (display).
     
    virtual void onConfirmPassKey (NimBLEConnInfo &connInfo, uint32_t pin)
     Called when using numeric comparision for pairing.
     
    virtual void onAuthenticationComplete (NimBLEConnInfo &connInfo)
     Called when the pairing procedure is complete.
     
    virtual void onIdentity (NimBLEConnInfo &connInfo)
     Called when the peer identity address is resolved.
     
    virtual void onConnParamsUpdate (NimBLEConnInfo &connInfo)
     Called when connection parameters are updated following a request to update via NimBLEServer::updateConnParams.
     
    virtual void onPhyUpdate (NimBLEConnInfo &connInfo, uint8_t txPhy, uint8_t rxPhy)
     Called when the PHY update procedure is complete.
     

    Detailed Description

    Callbacks associated with the operation of a BLE server.

    Member Function Documentation

    - -

    ◆ onAuthenticationComplete()

    + +

    ◆ onAuthenticationComplete()

    @@ -135,8 +146,8 @@ Public Member Functions void NimBLEServerCallbacks::onAuthenticationComplete ( - ble_gap_conn_desc *  - desc) + NimBLEConnInfo &  + connInfo) @@ -150,16 +161,15 @@ Public Member Functions

    Called when the pairing procedure is complete.

    Parameters
    - +
    [in]descA pointer to the struct containing the connection information.
    -This can be used to check the status of the connection encryption/pairing.
    [in]connInfoA reference to a NimBLEConnInfo instance with information about the peer connection parameters.
    - -

    ◆ onConfirmPIN()

    + +

    ◆ onConfirmPassKey()

    @@ -168,11 +178,21 @@ This can be used to check the status of the connection encryption/pairing. - + - - + + + + + + + + + + + +
    bool NimBLEServerCallbacks::onConfirmPIN void NimBLEServerCallbacks::onConfirmPassKey (uint32_t pin)NimBLEConnInfoconnInfo,
    uint32_t pin 
    )
    @@ -185,51 +205,16 @@ This can be used to check the status of the connection encryption/pairing.

    Called when using numeric comparision for pairing.

    Parameters
    +
    [in]connInfoA reference to a NimBLEConnInfo instance with information Should be passed back to NimBLEDevice::injectConfirmPasskey
    [in]pinThe pin to compare with the client.
    -
    Returns
    True to accept the pin.
    - -

    ◆ onConnect() [1/2]

    - -
    -
    - - - - - -
    - - - - - - - - -
    void NimBLEServerCallbacks::onConnect (NimBLEServerpServer)
    -
    -virtual
    -
    - -

    Handle a client connection. This is called when a client connects.

    -
    Parameters
    - - -
    [in]pServerA pointer to the BLE server that received the client connection.
    -
    -
    -

    Default callback handlers

    - -
    -
    - -

    ◆ onConnect() [2/2]

    + +

    ◆ onConnect()

    @@ -246,8 +231,8 @@ This can be used to check the status of the connection encryption/pairing. - ble_gap_conn_desc *  - desc  + NimBLEConnInfo &  + connInfo  @@ -266,15 +251,16 @@ This can be used to check the status of the connection encryption/pairing.
    Parameters
    - +
    [in]pServerA pointer to the BLE server that received the client connection.
    [in]descA pointer to the connection description structure containig information about the connection parameters.
    [in]connInfoA reference to a NimBLEConnInfo instance with information. about the peer connection parameters.
    +

    Default callback handlers

    - -

    ◆ onDisconnect() [1/2]

    + +

    ◆ onConnParamsUpdate()

    @@ -283,10 +269,10 @@ This can be used to check the status of the connection encryption/pairing. - + - - + +
    void NimBLEServerCallbacks::onDisconnect void NimBLEServerCallbacks::onConnParamsUpdate (NimBLEServerpServer)NimBLEConnInfoconnInfo)
    @@ -297,18 +283,18 @@ This can be used to check the status of the connection encryption/pairing.
    -

    Handle a client disconnection. This is called when a client disconnects.

    +

    Called when connection parameters are updated following a request to update via NimBLEServer::updateConnParams.

    Parameters
    - +
    [in]pServerA reference to the BLE server that received the existing client disconnection.
    [in]connInfoA reference to a NimBLEConnInfo instance containing the updated connection parameters.
    - -

    ◆ onDisconnect() [2/2]

    + +

    ◆ onDisconnect()

    @@ -325,8 +311,14 @@ This can be used to check the status of the connection encryption/pairing. - ble_gap_conn_desc *  - desc  + NimBLEConnInfo &  + connInfo, + + + + + int  + reason  @@ -341,19 +333,54 @@ This can be used to check the status of the connection encryption/pairing.
    -

    Handle a client disconnection. This is called when a client discconnects.

    +

    Handle a client disconnection. This is called when a client disconnects.

    Parameters
    - + +
    [in]pServerA pointer to the BLE server that received the client disconnection.
    [in]descA pointer to the connection description structure containing information about the connection.
    [in]connInfoA reference to a NimBLEConnInfo instance with information about the peer connection parameters.
    [in]reasonThe reason code for the disconnection.
    - -

    ◆ onMTUChange()

    + +

    ◆ onIdentity()

    + +
    +
    + + + + + +
    + + + + + + + + +
    void NimBLEServerCallbacks::onIdentity (NimBLEConnInfoconnInfo)
    +
    +virtual
    +
    + +

    Called when the peer identity address is resolved.

    +
    Parameters
    + + +
    [in]connInfoA reference to a NimBLEConnInfo instance with information
    +
    +
    + +
    +
    + +

    ◆ onMTUChange()

    @@ -370,8 +397,8 @@ This can be used to check the status of the connection encryption/pairing. - ble_gap_conn_desc *  - desc  + NimBLEConnInfo &  + connInfo  @@ -390,15 +417,15 @@ This can be used to check the status of the connection encryption/pairing.
    Parameters
    - +
    [in]MTUThe new MTU value.
    [in]descA pointer to the connection description structure containing information about the connection.
    [in]connInfoA reference to a NimBLEConnInfo instance with information about the peer connection parameters.
    - -

    ◆ onPassKeyRequest()

    + +

    ◆ onPassKeyDisplay()

    @@ -407,7 +434,7 @@ This can be used to check the status of the connection encryption/pairing. - + @@ -420,9 +447,66 @@ This can be used to check the status of the connection encryption/pairing.
    uint32_t NimBLEServerCallbacks::onPassKeyRequest uint32_t NimBLEServerCallbacks::onPassKeyDisplay ( )
    -

    Called when a client requests a passkey for pairing.

    +

    Called when a client requests a passkey for pairing (display).

    Returns
    The passkey to be sent to the client.
    +
    +
    + +

    ◆ onPhyUpdate()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    void NimBLEServerCallbacks::onPhyUpdate (NimBLEConnInfoconnInfo,
    uint8_t txPhy,
    uint8_t rxPhy 
    )
    +
    +virtual
    +
    + +

    Called when the PHY update procedure is complete.

    +
    Parameters
    + + + + +
    [in]connInfoA reference to a NimBLEConnInfo instance with information about the peer connection parameters.
    [in]txPhyThe transmit PHY.
    [in]rxPhyThe receive PHY. Possible values:
      +
    • BLE_GAP_LE_PHY_1M
    • +
    • BLE_GAP_LE_PHY_2M
    • +
    • BLE_GAP_LE_PHY_CODED
    • +
    +
    +
    +
    +
    @@ -431,7 +515,7 @@ This can be used to check the status of the connection encryption/pairing. diff --git a/class_nim_b_l_e_server_callbacks.js b/class_nim_b_l_e_server_callbacks.js index a9b77b8..77002f0 100644 --- a/class_nim_b_l_e_server_callbacks.js +++ b/class_nim_b_l_e_server_callbacks.js @@ -1,11 +1,12 @@ var class_nim_b_l_e_server_callbacks = [ - [ "onAuthenticationComplete", "class_nim_b_l_e_server_callbacks.html#a6a18155a8d3fa0980fab51f08ce5de2d", null ], - [ "onConfirmPIN", "class_nim_b_l_e_server_callbacks.html#a5327d11f249e8f020b59529b634e0c91", null ], - [ "onConnect", "class_nim_b_l_e_server_callbacks.html#a80348ab2d08bbec7a6910c96662fc1d4", null ], - [ "onConnect", "class_nim_b_l_e_server_callbacks.html#a76f32bb22a34b33ee2a934f101d925b1", null ], - [ "onDisconnect", "class_nim_b_l_e_server_callbacks.html#a3dbf72280a895e80e0972599a7373ca0", null ], - [ "onDisconnect", "class_nim_b_l_e_server_callbacks.html#a60e1ad35979434000d04fdbb374acc18", null ], - [ "onMTUChange", "class_nim_b_l_e_server_callbacks.html#ab4533f1317b36216c3c86695613c80a6", null ], - [ "onPassKeyRequest", "class_nim_b_l_e_server_callbacks.html#ad2c3035c3a284d03673ff1b5aeaa0fca", null ] + [ "onAuthenticationComplete", "class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523", null ], + [ "onConfirmPassKey", "class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436", null ], + [ "onConnect", "class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5", null ], + [ "onConnParamsUpdate", "class_nim_b_l_e_server_callbacks.html#aa6e5e8ef90a537540d9c72f8744c0199", null ], + [ "onDisconnect", "class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943", null ], + [ "onIdentity", "class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664", null ], + [ "onMTUChange", "class_nim_b_l_e_server_callbacks.html#ab702f73e739b4df72e191f47056c01ff", null ], + [ "onPassKeyDisplay", "class_nim_b_l_e_server_callbacks.html#a45b5fc1c98b287a2ddeab8f2f5b63c4f", null ], + [ "onPhyUpdate", "class_nim_b_l_e_server_callbacks.html#a5096aa8ec49fe1eddb5d9ab18c112b22", null ] ]; \ No newline at end of file diff --git a/class_nim_b_l_e_service-members.html b/class_nim_b_l_e_service-members.html index a90879e..6120adb 100644 --- a/class_nim_b_l_e_service-members.html +++ b/class_nim_b_l_e_service-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,43 +76,57 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_service.html',''); ini
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEService Member List
    +
    NimBLEService Member List

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

    - + - - - - - - - - - - - + + + + + + + + + + + + + + + - - - + + + + + + +
    addCharacteristic(NimBLECharacteristic *pCharacteristic)NimBLEService
    createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEService
    createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEService
    createCharacteristic(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)NimBLEService
    dump()NimBLEService
    getCharacteristic(const char *uuid, uint16_t instanceId=0)NimBLEService
    getCharacteristic(const NimBLEUUID &uuid, uint16_t instanceId=0)NimBLEService
    getCharacteristicByHandle(uint16_t handle)NimBLEService
    getCharacteristics()NimBLEService
    getCharacteristics(const char *uuid)NimBLEService
    getCharacteristics(const NimBLEUUID &uuid)NimBLEService
    getHandle()NimBLEService
    getServer()NimBLEService
    getUUID()NimBLEService
    NimBLEService(const char *uuid)NimBLEService
    dump() constNimBLEService
    getCharacteristic(const char *uuid, uint16_t instanceId=0) constNimBLEService
    getCharacteristic(const NimBLEUUID &uuid, uint16_t instanceId=0) constNimBLEService
    getCharacteristicByHandle(uint16_t handle) constNimBLEService
    getCharacteristics() constNimBLEService
    getCharacteristics(const char *uuid) constNimBLEService
    getCharacteristics(const NimBLEUUID &uuid) constNimBLEService
    getHandle() constNimBLEAttributeinline
    getRemoved() constNimBLELocalAttributeinline
    getServer() constNimBLEService
    getUUID() constNimBLEAttributeinline
    isStarted() constNimBLEService
    NimBLEAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLEAttributeinlineprotected
    NimBLELocalAttribute(const NimBLEUUID &uuid, uint16_t handle)NimBLELocalAttributeinlineprotected
    NimBLEService(const char *uuid)NimBLEService
    NimBLEService(const NimBLEUUID &uuid)NimBLEService
    removeCharacteristic(NimBLECharacteristic *pCharacteristic, bool deleteChr=false)NimBLEService
    start()NimBLEService
    toString()NimBLEService
    removeCharacteristic(NimBLECharacteristic *pCharacteristic, bool deleteChr=false)NimBLEService
    setRemoved(uint8_t removed)NimBLELocalAttributeinlineprotected
    start()NimBLEService
    toString() constNimBLEService
    ~NimBLEAttribute()=defaultNimBLEAttributeprotected
    ~NimBLELocalAttribute()=defaultNimBLELocalAttributeprotected
    ~NimBLEService()NimBLEService
    diff --git a/class_nim_b_l_e_service.html b/class_nim_b_l_e_service.html index 930462a..5b08a08 100644 --- a/class_nim_b_l_e_service.html +++ b/class_nim_b_l_e_service.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEService Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,82 +76,129 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_service.html',''); ini
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEService Class Reference
    +
    NimBLEService Class Reference

    The model of a BLE service. More...

    + +

    #include <NimBLEService.h>

    + +

    Inherits NimBLELocalAttribute.

    - - - + + - - + + - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Public Member Functions

     NimBLEService (const char *uuid)
     Construct an instance of the NimBLEService. More...
     NimBLEService (const char *uuid)
     Construct an instance of the NimBLEService.
     
     NimBLEService (const NimBLEUUID &uuid)
     Construct an instance of the BLEService. More...
     NimBLEService (const NimBLEUUID &uuid)
     Construct an instance of the BLEService.
     
    NimBLEServergetServer ()
     Get the BLE server associated with this service. More...
     
    NimBLEUUID getUUID ()
     Get the UUID of the service. More...
     
    uint16_t getHandle ()
     Get the handle associated with this service. More...
     
    std::string toString ()
     Return a string representation of this service. A service is defined by: More...
     
    void dump ()
     Dump details of this BLE GATT service. More...
     
    bool start ()
     Builds the database of characteristics/descriptors for the service and registers it with the NimBLE stack. More...
    ~NimBLEService ()
     Destructor, make sure we release the resources allocated for the service.
     
    NimBLEServergetServer () const
     Get the BLE server associated with this service.
     
    std::string toString () const
     Return a string representation of this service. A service is defined by:
     
    +void dump () const
     Dump details of this BLE GATT service.
     
    bool isStarted () const
     Checks if the service has been started.
     
    bool start ()
     Builds the database of characteristics/descriptors for the service and registers it with the NimBLE stack.
     
    NimBLECharacteristiccreateCharacteristic (const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Create a new BLE Characteristic associated with this service. More...
    NimBLECharacteristiccreateCharacteristic (const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Create a new BLE Characteristic associated with this service.
     
    NimBLECharacteristiccreateCharacteristic (const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Create a new BLE Characteristic associated with this service. More...
    NimBLECharacteristiccreateCharacteristic (const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)
     Create a new BLE Characteristic associated with this service.
     
    void addCharacteristic (NimBLECharacteristic *pCharacteristic)
     Add a characteristic to the service. More...
    void addCharacteristic (NimBLECharacteristic *pCharacteristic)
     Add a characteristic to the service.
     
    void removeCharacteristic (NimBLECharacteristic *pCharacteristic, bool deleteChr=false)
     Remove a characteristic from the service. More...
    void removeCharacteristic (NimBLECharacteristic *pCharacteristic, bool deleteChr=false)
     Remove a characteristic from the service.
     
    NimBLECharacteristicgetCharacteristic (const char *uuid, uint16_t instanceId=0)
     Get a pointer to the characteristic object with the specified UUID. More...
     
    NimBLECharacteristicgetCharacteristic (const NimBLEUUID &uuid, uint16_t instanceId=0)
     Get a pointer to the characteristic object with the specified UUID. More...
     
    NimBLECharacteristicgetCharacteristicByHandle (uint16_t handle)
     Get a pointer to the characteristic object with the specified handle. More...
     
    std::vector< NimBLECharacteristic * > getCharacteristics ()
     
    std::vector< NimBLECharacteristic * > getCharacteristics (const char *uuid)
     
    std::vector< NimBLECharacteristic * > getCharacteristics (const NimBLEUUID &uuid)
     
    NimBLECharacteristicgetCharacteristic (const char *uuid, uint16_t instanceId=0) const
     Get a pointer to the characteristic object with the specified UUID.
     
    NimBLECharacteristicgetCharacteristic (const NimBLEUUID &uuid, uint16_t instanceId=0) const
     Get a pointer to the characteristic object with the specified UUID.
     
    NimBLECharacteristicgetCharacteristicByHandle (uint16_t handle) const
     Get a pointer to the characteristic object with the specified handle.
     
    const std::vector< NimBLECharacteristic * > & getCharacteristics () const
     
    std::vector< NimBLECharacteristic * > getCharacteristics (const char *uuid) const
     
    std::vector< NimBLECharacteristic * > getCharacteristics (const NimBLEUUID &uuid) const
     
    - Public Member Functions inherited from NimBLELocalAttribute
    uint8_t getRemoved () const
     Get the removed flag.
     
    - Public Member Functions inherited from NimBLEAttribute
    const NimBLEUUIDgetUUID () const
     Get the UUID of the attribute.
     
    +uint16_t getHandle () const
     Get the handle of the attribute.
     
    + + + + + + + + + + + + + + + + + +

    +Additional Inherited Members

    - Protected Member Functions inherited from NimBLELocalAttribute
    NimBLELocalAttribute (const NimBLEUUID &uuid, uint16_t handle)
     Construct a local attribute.
     
    ~NimBLELocalAttribute ()=default
     Destroy the local attribute.
     
    void setRemoved (uint8_t removed)
     Set the removed flag.
     
    - Protected Member Functions inherited from NimBLEAttribute
     NimBLEAttribute (const NimBLEUUID &uuid, uint16_t handle)
     Construct a new NimBLEAttribute object.
     
    ~NimBLEAttribute ()=default
     Destroy the NimBLEAttribute object.
     

    Detailed Description

    The model of a BLE service.

    Constructor & Destructor Documentation

    - -

    ◆ NimBLEService() [1/2]

    + +

    ◆ NimBLEService() [1/2]

    @@ -176,8 +223,8 @@ Public Member Functions
    - -

    ◆ NimBLEService() [2/2]

    + +

    ◆ NimBLEService() [2/2]

    @@ -203,8 +250,8 @@ Public Member Functions

    Member Function Documentation

    - -

    ◆ addCharacteristic()

    + +

    ◆ addCharacteristic()

    @@ -213,7 +260,7 @@ Public Member Functions void NimBLEService::addCharacteristic ( NimBLECharacteristic *  - pCharacteristic) + pChar) @@ -222,15 +269,15 @@ Public Member Functions

    Add a characteristic to the service.

    Parameters
    - +
    [in]pCharacteristicA pointer to the characteristic instance to add to the service.
    [in]pCharA pointer to the characteristic instance to add to the service.
    - -

    ◆ createCharacteristic() [1/2]

    + +

    ◆ createCharacteristic() [1/2]

    @@ -274,8 +321,8 @@ Public Member Functions
    - -

    ◆ createCharacteristic() [2/2]

    + +

    ◆ createCharacteristic() [2/2]

    @@ -319,28 +366,8 @@ Public Member Functions
    - -

    ◆ dump()

    - -
    -
    - - - - - - - -
    void NimBLEService::dump ()
    -
    - -

    Dump details of this BLE GATT service.

    -
    Returns
    N/A.
    - -
    -
    - -

    ◆ getCharacteristic() [1/2]

    + +

    ◆ getCharacteristic() [1/2]

    @@ -355,12 +382,12 @@ Public Member Functions uint16_t  - instanceId = 0  + idx = 0  ) - + const
    @@ -369,7 +396,7 @@ Public Member Functions
    Parameters
    - +
    [in]uuidThe UUID of the characteristic.
    instanceIdThe index of the characteristic to return (used when multiple characteristics have the same UUID).
    idxThe index of the characteristic to return (used when multiple characteristics have the same UUID).
    @@ -377,8 +404,8 @@ Public Member Functions
    - -

    ◆ getCharacteristic() [2/2]

    + +

    ◆ getCharacteristic() [2/2]

    @@ -393,12 +420,12 @@ Public Member Functions uint16_t  - instanceId = 0  + idx = 0  ) - + const
    @@ -407,7 +434,7 @@ Public Member Functions
    Parameters
    - +
    [in]uuidThe UUID of the characteristic.
    instanceIdThe index of the characteristic to return (used when multiple characteristics have the same UUID).
    idxThe index of the characteristic to return (used when multiple characteristics have the same UUID).
    @@ -415,8 +442,8 @@ Public Member Functions
    - -

    ◆ getCharacteristicByHandle()

    + +

    ◆ getCharacteristicByHandle()

    @@ -426,7 +453,7 @@ Public Member Functions ( uint16_t  handle) - + const
    @@ -442,17 +469,17 @@ Public Member Functions
    - -

    ◆ getCharacteristics() [1/3]

    + +

    ◆ getCharacteristics() [1/3]

    - + - +
    std::vector< NimBLECharacteristic * > NimBLEService::getCharacteristics const std::vector< NimBLECharacteristic * > & NimBLEService::getCharacteristics ( ) const
    @@ -460,8 +487,8 @@ Public Member Functions
    - -

    ◆ getCharacteristics() [2/3]

    + +

    ◆ getCharacteristics() [2/3]

    @@ -471,7 +498,7 @@ Public Member Functions ( const char *  uuid) - + const
    @@ -479,8 +506,8 @@ Public Member Functions
    - -

    ◆ getCharacteristics() [3/3]

    + +

    ◆ getCharacteristics() [3/3]

    @@ -490,7 +517,7 @@ Public Member Functions ( const NimBLEUUIDuuid) - + const
    @@ -498,28 +525,8 @@ Public Member Functions
    - -

    ◆ getHandle()

    - -
    -
    - - - - - - - -
    uint16_t NimBLEService::getHandle ()
    -
    - -

    Get the handle associated with this service.

    -
    Returns
    The handle associated with this service.
    - -
    -
    - -

    ◆ getServer()

    + +

    ◆ getServer()

    @@ -528,7 +535,7 @@ Public Member Functions NimBLEServer * NimBLEService::getServer ( ) - + const
    @@ -538,29 +545,28 @@ Public Member Functions
    - -

    ◆ getUUID()

    + +

    ◆ isStarted()

    - + - - +
    NimBLEUUID NimBLEService::getUUID bool NimBLEService::isStarted (void  ) const
    -

    Get the UUID of the service.

    -
    Returns
    the UUID of the service.
    +

    Checks if the service has been started.

    +
    Returns
    True if the service has been started.
    - -

    ◆ removeCharacteristic()

    + +

    ◆ removeCharacteristic()

    @@ -569,7 +575,7 @@ Public Member Functions void NimBLEService::removeCharacteristic ( NimBLECharacteristic *  - pCharacteristic, + pChar, @@ -588,7 +594,7 @@ Public Member Functions

    Remove a characteristic from the service.

    Parameters
    - +
    [in]pCharacteristicA pointer to the characteristic instance to remove from the service.
    [in]pCharA pointer to the characteristic instance to remove from the service.
    [in]deleteChrIf true it will delete the characteristic instance and free it's resources.
    @@ -596,8 +602,8 @@ Public Member Functions
    - -

    ◆ start()

    + +

    ◆ start()

    @@ -616,8 +622,8 @@ Public Member Functions
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -625,9 +631,8 @@ Public Member Functions std::string NimBLEService::toString ( - void  ) - + const
    @@ -647,7 +652,7 @@ Public Member Functions diff --git a/class_nim_b_l_e_service.js b/class_nim_b_l_e_service.js index 93dccea..67f706c 100644 --- a/class_nim_b_l_e_service.js +++ b/class_nim_b_l_e_service.js @@ -2,20 +2,20 @@ var class_nim_b_l_e_service = [ [ "NimBLEService", "class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65", null ], [ "NimBLEService", "class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3", null ], + [ "~NimBLEService", "class_nim_b_l_e_service.html#a8904838e785b967c770a240e6c5099e7", null ], [ "addCharacteristic", "class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8", null ], [ "createCharacteristic", "class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763", null ], [ "createCharacteristic", "class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad", null ], - [ "dump", "class_nim_b_l_e_service.html#a71488881933ae8adbf11c5986f9dfb75", null ], - [ "getCharacteristic", "class_nim_b_l_e_service.html#a305b680286096638a4239620ec2de567", null ], - [ "getCharacteristic", "class_nim_b_l_e_service.html#adfc4e67f79aaabc8f2c6bdb5c6966609", null ], - [ "getCharacteristicByHandle", "class_nim_b_l_e_service.html#a35b56ab3ef7fffb2b299f95d3176d07e", null ], - [ "getCharacteristics", "class_nim_b_l_e_service.html#aa2cba47cb4c935e15c77707643e5e9a5", null ], - [ "getCharacteristics", "class_nim_b_l_e_service.html#a24cf868e9eec7b5ecdf1e88d257e91d9", null ], - [ "getCharacteristics", "class_nim_b_l_e_service.html#a55724788b3bf4614995ea656bf8fe1bb", null ], - [ "getHandle", "class_nim_b_l_e_service.html#a86d65ef61a77bdd660632b4041c2b640", null ], - [ "getServer", "class_nim_b_l_e_service.html#af304386c4e067dd0eeb27b86c0e59d0f", null ], - [ "getUUID", "class_nim_b_l_e_service.html#ab000b7d2b7dbb3978a5a8c1e17b1d649", null ], + [ "dump", "class_nim_b_l_e_service.html#a8fafb0c55e447114daf9ad758218905e", null ], + [ "getCharacteristic", "class_nim_b_l_e_service.html#aeeaa4b0c543230e7819ad92d48432f5e", null ], + [ "getCharacteristic", "class_nim_b_l_e_service.html#a200714f911accd64acfd2fa3d0c6b863", null ], + [ "getCharacteristicByHandle", "class_nim_b_l_e_service.html#a488df9c39d1c49d4b1537abddddb1a7d", null ], + [ "getCharacteristics", "class_nim_b_l_e_service.html#a8219ccefd97180bee485b62572c62e58", null ], + [ "getCharacteristics", "class_nim_b_l_e_service.html#a9bb082780665005271fab6e79416f3ed", null ], + [ "getCharacteristics", "class_nim_b_l_e_service.html#a557ec314a4b2f912b1c1b03e332f9fe1", null ], + [ "getServer", "class_nim_b_l_e_service.html#acfbb7abadee89abd496b89f8fe085f58", null ], + [ "isStarted", "class_nim_b_l_e_service.html#aa9464e97d7e39a4634c5d9bdce1abbac", null ], [ "removeCharacteristic", "class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234", null ], [ "start", "class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985", null ], - [ "toString", "class_nim_b_l_e_service.html#a10d10d14f8c5a970a06915cd407a0a73", null ] + [ "toString", "class_nim_b_l_e_service.html#a819ff207ef7c30f59887af277aa09ce9", null ] ]; \ No newline at end of file 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 a3d1712..72e2085 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 @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,42 +76,51 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_u_u_i_d.html',''); ini
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEUUID Member List
    +
    NimBLEUUID Member List

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

    - + - - - - - - - - - + + + + + + + + + + + - - - - + + + + +
    bitSize() constNimBLEUUID
    equals(const NimBLEUUID &uuid) constNimBLEUUID
    equals(const NimBLEUUID &uuid) constNimBLEUUID
    fromString(const std::string &uuid)NimBLEUUIDstatic
    getNative() constNimBLEUUID
    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, bool msbFirst)NimBLEUUID
    NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)NimBLEUUID
    NimBLEUUID()NimBLEUUID
    operator std::string() constNimBLEUUID
    getBase() constNimBLEUUID
    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
    to128()NimBLEUUID
    to16()NimBLEUUID
    toString() 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 20beada..ad8774a 100644 --- a/class_nim_b_l_e_u_u_i_d.html +++ b/class_nim_b_l_e_u_u_i_d.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEUUID Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,9 +76,16 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_u_u_i_d.html',''); ini
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    @@ -86,78 +93,114 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_u_u_i_d.html',''); ini Public Member Functions | Static Public Member Functions | List of all members
    -
    -
    NimBLEUUID Class Reference
    +
    NimBLEUUID Class Reference

    A model of a BLE UUID. More...

    + +

    #include <NimBLEUUID.h>

    - - - + + + + + + + + - - + + - - + + - - + + - - - - - + + + + + - - - - - + + - - + + + + + + + + - - - - - - - - - - - + + - + + + + + + + + + + - + - - + +

    +

    Public Member Functions

     NimBLEUUID (const std::string &uuid)
     Create a UUID from a string. More...
    NimBLEUUID ()=default
     Created a blank UUID.
     
     NimBLEUUID (const ble_uuid_any_t &uuid)
     Create a UUID from the native UUID.
     
     NimBLEUUID (const std::string &uuid)
     Create a UUID from a string.
     
     NimBLEUUID (uint16_t uuid)
     Create a UUID from the 16bit value. More...
     NimBLEUUID (uint16_t uuid)
     Create a UUID from the 16bit value.
     
     NimBLEUUID (uint32_t uuid)
     Create a UUID from the 32bit value. More...
     NimBLEUUID (uint32_t uuid)
     Create a UUID from the 32bit value.
     
     NimBLEUUID (const ble_uuid128_t *uuid)
     Create a UUID from the native UUID. More...
     NimBLEUUID (const ble_uuid128_t *uuid)
     Create a UUID from the native UUID.
     
     NimBLEUUID (const uint8_t *pData, size_t size, bool msbFirst)
     Create a UUID from 2, 4, 16 bytes of memory. More...
     
     NimBLEUUID (uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)
     Create a UUID from the 128bit value using hex parts instead of string, instead of NimBLEUUID("ebe0ccb0-7a0a-4b0c-8a1a-6ff2997da3a6"), it becomes NimBLEUUID(0xebe0ccb0, 0x7a0a, 0x4b0c, 0x8a1a6ff2997da3a6) More...
     NimBLEUUID (const uint8_t *pData, size_t size)
     Create a UUID from 2, 4, 16 bytes of memory.
     
     NimBLEUUID (uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)
     Create a UUID from the 128bit value using hex parts instead of string, instead of NimBLEUUID("ebe0ccb0-7a0a-4b0c-8a1a-6ff2997da3a6"), it becomes NimBLEUUID(0xebe0ccb0, 0x7a0a, 0x4b0c, 0x8a1a6ff2997da3a6)
     
    NimBLEUUID ()
     Creates an empty UUID.
     
    uint8_t bitSize () const
     Get the number of bits in this uuid. More...
    uint8_t bitSize () const
     Get the bit size of the UUID, 16, 32 or 128.
     
    bool equals (const NimBLEUUID &uuid) const
     Compare a UUID against this UUID. More...
    const uint8_t * getValue () const
     Get the uuid value.
     
    const ble_uuid_t * getBase () const
     Get a pointer to the NimBLE UUID base structure.
     
    bool equals (const NimBLEUUID &uuid) const
     Compare a UUID against this UUID.
     
    const ble_uuid_any_t * getNative () const
     Get the native UUID value. More...
     
    const NimBLEUUIDto128 ()
     Convert a UUID to its 128 bit representation. More...
     
    const NimBLEUUIDto16 ()
     Convert 128 bit UUID to its 16 bit representation. More...
     
    std::string toString () const
     Get a string representation of the UUID. More...
    std::string toString () const
     Get a string representation of the UUID.
     
    -bool operator== (const NimBLEUUID &rhs) const
    const NimBLEUUIDto128 ()
     Convert a UUID to its 128 bit representation.
     
    const NimBLEUUIDto16 ()
     Convert 128 bit UUID to its 16 bit representation.
     
    const NimBLEUUIDreverseByteOrder ()
     Reverse the byte order of the UUID.
     
    +bool operator== (const NimBLEUUID &rhs) const
     Convenience operator to check if this UUID is equal to another.
     
    -bool operator!= (const NimBLEUUID &rhs) const
    +bool operator!= (const NimBLEUUID &rhs) const
     Convenience operator to check if this UUID is not equal to another.
     
     operator std::string () const
     Convenience operator to convert this UUID to string representation. More...
     operator std::string () const
     Convenience operator to convert this UUID to string representation.
     
    - - +

    +

    Static Public Member Functions

    static NimBLEUUID fromString (const std::string &uuid)
    static NimBLEUUID fromString (const std::string &uuid)
     

    Detailed Description

    A model of a BLE UUID.

    Constructor & Destructor Documentation

    - -

    ◆ NimBLEUUID() [1/6]

    + +

    ◆ NimBLEUUID() [1/7]

    + +
    +
    + + + + + + + + +
    NimBLEUUID::NimBLEUUID (const ble_uuid_any_t & uuid)
    +
    + +

    Create a UUID from the native UUID.

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

    ◆ NimBLEUUID() [2/7]

    @@ -187,8 +230,8 @@ Static Public Member Functions
    - -

    ◆ NimBLEUUID() [2/6]

    + +

    ◆ NimBLEUUID() [3/7]

    @@ -213,8 +256,8 @@ Static Public Member Functions
    - -

    ◆ NimBLEUUID() [3/6]

    + +

    ◆ NimBLEUUID() [4/7]

    @@ -239,8 +282,8 @@ Static Public Member Functions
    - -

    ◆ NimBLEUUID() [4/6]

    + +

    ◆ NimBLEUUID() [5/7]

    @@ -265,8 +308,8 @@ Static Public Member Functions
    - -

    ◆ NimBLEUUID() [5/6]

    + +

    ◆ NimBLEUUID() [6/7]

    @@ -281,13 +324,7 @@ Static Public Member Functions size_t  - size, - - - - - bool  - msbFirst  + size  @@ -302,15 +339,14 @@ Static Public Member Functions -
    [in]pDataThe pointer to the start of the UUID.
    [in]sizeThe size of the data.
    [in]msbFirstIs the MSB first in pData memory?
    - -

    ◆ NimBLEUUID() [6/6]

    + +

    ◆ NimBLEUUID() [7/7]

    @@ -361,8 +397,8 @@ Static Public Member Functions

    Member Function Documentation

    - -

    ◆ bitSize()

    + +

    ◆ bitSize()

    @@ -376,13 +412,13 @@ Static Public Member Functions
    -

    Get the number of bits in this uuid.

    -
    Returns
    The number of bits in the UUID. One of 16, 32 or 128.
    +

    Get the bit size of the UUID, 16, 32 or 128.

    +
    Returns
    The bit size of the UUID or 0 if not initialized.
    - -

    ◆ equals()

    + +

    ◆ equals()

    @@ -408,8 +444,8 @@ Static Public Member Functions
    - -

    ◆ fromString()

    + +

    ◆ fromString()

    @@ -441,14 +477,14 @@ Static Public Member Functions
    - -

    ◆ getNative()

    + +

    ◆ getBase()

    - + @@ -456,13 +492,35 @@ Static Public Member Functions
    const ble_uuid_any_t * NimBLEUUID::getNative const ble_uuid_t * NimBLEUUID::getBase ( ) const
    -

    Get the native UUID value.

    -
    Returns
    The native UUID value or nullptr if not set.
    +

    Get a pointer to the NimBLE UUID base structure.

    +
    Returns
    A Read-only pointer to the NimBLE UUID base structure.
    +
    Note
    The type value should be checked, if no 16, 32 or 128 then the UUID is not initialized.
    - -

    ◆ operator std::string()

    + +

    ◆ getValue()

    + +
    +
    + + + + + + + +
    const uint8_t * NimBLEUUID::getValue () const
    +
    + +

    Get the uuid value.

    +
    Returns
    A pointer to the UUID value or nullptr if not initialized.
    +
    Note
    This should be checked with bitSize() before accessing.
    + +
    +
    + +

    ◆ operator std::string()

    @@ -481,8 +539,29 @@ Static Public Member Functions
    - -

    ◆ to128()

    + +

    ◆ reverseByteOrder()

    + +
    +
    + + + + + + + +
    const NimBLEUUID & NimBLEUUID::reverseByteOrder ()
    +
    + +

    Reverse the byte order of the UUID.

    +
    Returns
    The NimBLEUUID with the byte order reversed.
    +

    This is useful when comparing UUIDs or when the advertisement data is reversed.

    + +
    +
    + +

    ◆ to128()

    @@ -501,8 +580,8 @@ Static Public Member Functions
    - -

    ◆ to16()

    + +

    ◆ to16()

    @@ -521,8 +600,8 @@ Static Public Member Functions
    - -

    ◆ toString()

    + +

    ◆ toString()

    @@ -530,7 +609,6 @@ Static Public Member Functions std::string NimBLEUUID::toString ( - void  ) const @@ -540,7 +618,7 @@ Static Public Member Functions

    Get a string representation of the UUID.

    The format of a string is: 01234567 8901 2345 6789 012345678901 0000180d-0000-1000-8000-00805f9b34fb 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5

    Returns
    A string representation of the UUID.
    -
    Deprecated:
    Use std::string() operator instead.
    +
    Deprecated:
    Use std::string() operator instead.
    @@ -550,7 +628,7 @@ Static Public Member Functions 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 719e6a6..45bb6f7 100644 --- a/class_nim_b_l_e_u_u_i_d.js +++ b/class_nim_b_l_e_u_u_i_d.js @@ -1,18 +1,21 @@ 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#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 ], [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286", null ], - [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#a6eda1a14d4590dd25e6a2f7a49ad528e", null ], + [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd", null ], [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1", null ], - [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html#abec7913c5989c3620c423c6717111453", null ], [ "bitSize", "class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6", null ], [ "equals", "class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd", null ], - [ "getNative", "class_nim_b_l_e_u_u_i_d.html#a62e8e924f971c62cc42760d8c7dd6f28", null ], + [ "getBase", "class_nim_b_l_e_u_u_i_d.html#a68c61ae225675ac84d60f76058a5bdd4", null ], + [ "getValue", "class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af", null ], [ "operator std::string", "class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048", null ], [ "operator!=", "class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe", null ], [ "operator==", "class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875", null ], + [ "reverseByteOrder", "class_nim_b_l_e_u_u_i_d.html#a9b96d90463f02f6a21afbaebcc242dd9", null ], [ "to128", "class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c", null ], [ "to16", "class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb", null ], [ "toString", "class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64", null ] diff --git a/class_nim_b_l_e_utils-members.html b/class_nim_b_l_e_utils-members.html index 4e99fad..44f9af2 100644 --- a/class_nim_b_l_e_utils-members.html +++ b/class_nim_b_l_e_utils-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,31 +76,38 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_utils.html',''); initR
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEUtils Member List
    +
    NimBLEUtils Member List

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

    - - - + - + + + +
    advTypeToString(uint8_t advType)NimBLEUtilsstatic
    buildHexData(uint8_t *target, const uint8_t *source, uint8_t length)NimBLEUtilsstatic
    checkConnParams(ble_gap_conn_params *params)NimBLEUtilsstatic
    dumpGapEvent(ble_gap_event *event, void *arg)NimBLEUtilsstatic
    dataToHexString(const uint8_t *source, uint8_t length)NimBLEUtilsstatic
    gapEventToString(uint8_t eventType)NimBLEUtilsstatic
    returnCodeToString(int rc)NimBLEUtilsstatic
    generateAddr(bool nrpa)NimBLEUtilsstatic
    returnCodeToString(int rc)NimBLEUtilsstatic
    taskRelease(const NimBLETaskData &taskData, int rc=0)NimBLEUtilsstatic
    taskWait(const NimBLETaskData &taskData, uint32_t timeout)NimBLEUtilsstatic
    diff --git a/class_nim_b_l_e_utils.html b/class_nim_b_l_e_utils.html index 694c567..9ec1649 100644 --- a/class_nim_b_l_e_utils.html +++ b/class_nim_b_l_e_utils.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: NimBLEUtils Class Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,49 +76,60 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_utils.html',''); initR
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEUtils Class Reference
    +
    NimBLEUtils Class Reference

    A BLE Utility class with methods for debugging and general purpose use. More...

    + +

    #include <NimBLEUtils.h>

    - - - - - - + + - - - - - + + + + + - - + + - - - + + + + + + + + +

    +

    Static Public Member Functions

    static void dumpGapEvent (ble_gap_event *event, void *arg)
     Utility function to log the gap event info. More...
     
    static const char * gapEventToString (uint8_t eventType)
     Convert a GAP event type to a string representation. More...
    static const char * gapEventToString (uint8_t eventType)
     Convert a GAP event type to a string representation.
     
    static char * buildHexData (uint8_t *target, const uint8_t *source, uint8_t length)
     Create a hex representation of data. More...
     
    static const char * advTypeToString (uint8_t advType)
     Convert the advertising type flag to a string. More...
    static std::string dataToHexString (const uint8_t *source, uint8_t length)
     Create a hexadecimal string representation of the input data.
     
    static const char * advTypeToString (uint8_t advType)
     Convert the advertising type flag to a string.
     
    static const char * returnCodeToString (int rc)
     Converts a return code from the NimBLE stack to a text string. More...
    static const char * returnCodeToString (int rc)
     Converts a return code from the NimBLE stack to a text string.
     
    static int checkConnParams (ble_gap_conn_params *params)
     A function for checking validity of connection parameters. More...
     
    static NimBLEAddress generateAddr (bool nrpa)
     Generate a random BLE address.
     
    static bool taskWait (const NimBLETaskData &taskData, uint32_t timeout)
     Blocks the calling task until released or timeout.
     
    static void taskRelease (const NimBLETaskData &taskData, int rc=0)
     Release a task.
     

    Detailed Description

    A BLE Utility class with methods for debugging and general purpose use.

    Member Function Documentation

    - -

    ◆ advTypeToString()

    + +

    ◆ advTypeToString()

    @@ -152,8 +163,8 @@ Static Public Member Functions
    - -

    ◆ buildHexData()

    + +

    ◆ dataToHexString()

    @@ -162,14 +173,8 @@ Static Public Member Functions - + - - - - - - @@ -192,101 +197,20 @@ Static Public Member Functions
    char * NimBLEUtils::buildHexData std::string NimBLEUtils::dataToHexString (uint8_t * target,
    const uint8_t *  source,
    -

    Create a hex representation of data.

    +

    Create a hexadecimal string representation of the input data.

    Parameters
    -
    [in]targetWhere to write the hex string. If this is null, we malloc storage.
    [in]sourceThe start of the binary data.
    [in]lengthThe length of the data to convert.
    -
    Returns
    A pointer to the formatted buffer.
    +
    Returns
    A string representation of the data.
    - -

    ◆ checkConnParams()

    - -
    -
    - - - - - -
    - - - - - - - - -
    int NimBLEUtils::checkConnParams (ble_gap_conn_params * params)
    -
    -static
    -
    - -

    A function for checking validity of connection parameters.

    -
    Parameters
    - - -
    [in]paramsA pointer to the structure containing the parameters to check.
    -
    -
    -
    Returns
    valid == 0 or error code.
    - -
    -
    - -

    ◆ dumpGapEvent()

    - -
    -
    - - - - - -
    - - - - - - - - - - - - - - - - - - -
    void NimBLEUtils::dumpGapEvent (ble_gap_event * event,
    void * arg 
    )
    -
    -static
    -
    - -

    Utility function to log the gap event info.

    -
    Parameters
    - - - -
    [in]eventA pointer to the gap event structure.
    [in]argUnused.
    -
    -
    - -
    -
    - -

    ◆ gapEventToString()

    + +

    ◆ gapEventToString()

    @@ -320,8 +244,43 @@ Static Public Member Functions
    - -

    ◆ returnCodeToString()

    + +

    ◆ generateAddr()

    + +
    +
    + + + + + +
    + + + + + + + + +
    NimBLEAddress NimBLEUtils::generateAddr (bool nrpa)
    +
    +static
    +
    + +

    Generate a random BLE address.

    +
    Parameters
    + + +
    [in]nrpaTrue to generate a non-resolvable private address, false to generate a random static address
    +
    +
    +
    Returns
    The generated address or a NULL address if there was an error.
    + +
    +
    + +

    ◆ returnCodeToString()

    @@ -353,6 +312,97 @@ Static Public Member Functions
    Returns
    A string representation of the return code.
    +
    +
    + +

    ◆ taskRelease()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    void NimBLEUtils::taskRelease (const NimBLETaskDatataskData,
    int flags = 0 
    )
    +
    +static
    +
    + +

    Release a task.

    +
    Parameters
    + + + +
    [in]taskDataA pointer to the task data structure.
    [in]flagsA return value to set in the task data structure.
    +
    +
    + +
    +
    + +

    ◆ taskWait()

    + +
    +
    + + + + + +
    + + + + + + + + + + + + + + + + + + +
    bool NimBLEUtils::taskWait (const NimBLETaskDatataskData,
    uint32_t timeout 
    )
    +
    +static
    +
    + +

    Blocks the calling task until released or timeout.

    +
    Parameters
    + + + +
    [in]taskDataA pointer to the task data structure.
    [in]timeoutThe time to wait in milliseconds.
    +
    +
    +
    Returns
    True if the task completed, false if the timeout was reached.
    +
    @@ -361,7 +411,7 @@ Static Public Member Functions diff --git a/classes.html b/classes.html index b0d02e5..da6e156 100644 --- a/classes.html +++ b/classes.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Index @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,28 +76,34 @@ $(document).ready(function(){initNavTree('classes.html',''); initResizable(); })
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    Class Index
    +
    Class Index
    diff --git a/deprecated.html b/deprecated.html index c880501..44437ba 100644 --- a/deprecated.html +++ b/deprecated.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Deprecated List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,43 +76,27 @@ $(document).ready(function(){initNavTree('deprecated.html',''); initResizable();
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    -
    Deprecated List
    +
    +
    Deprecated List
    Member NimBLEAddress::toString () const
    Use std::string() operator instead.
    -
    Member NimBLECharacteristicCallbacks::Status
    -
    To be removed in the future as the NimBLE stack return code is also provided.
    -
    Member NimBLEDevice::setSecurityCallbacks (NimBLESecurityCallbacks *pCallbacks)
    -
    For backward compatibility, New code should use client/server callback methods.
    -
    Member NimBLERemoteCharacteristic::readUInt16 () __attribute__((deprecated("Use template readValue<uint16_t>()")))
    -
    Use readValue<uint16_t>().
    -
    Member NimBLERemoteCharacteristic::readUInt32 () __attribute__((deprecated("Use template readValue<uint32_t>()")))
    -
    Use readValue<uint32_t>().
    -
    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.
    -
    Member NimBLERemoteDescriptor::readUInt16 () __attribute__((deprecated("Use template readValue<uint16_t>()")))
    -
    Use readValue<uint16_t>().
    -
    Member NimBLERemoteDescriptor::readUInt32 () __attribute__((deprecated("Use template readValue<uint32_t>()")))
    -
    Use readValue<uint32_t>().
    -
    Member NimBLERemoteDescriptor::readUInt8 () __attribute__((deprecated("Use template readValue<uint8_t>()")))
    -
    Use readValue<uint8_t>().
    -
    Class NimBLESecurity
    -
    Use the security methods provided in NimBLEDevice instead.
    -
    Class NimBLESecurityCallbacks
    -
    Use the callbacks provided in NimBLEClientCallbacks and NimBLEServerCallbacks instead.
    Member NimBLEUUID::toString () const
    -
    Use std::string() operator instead.
    +
    Use std::string() operator instead.
    @@ -120,7 +104,7 @@ $(document).ready(function(){initNavTree('deprecated.html',''); initResizable(); diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.html b/dir_68267d1309a1af8e8297ef4c3efbcdba.html index 606f463..1c6395d 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.html +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src Directory Reference @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,20 +76,86 @@ $(document).ready(function(){initNavTree('dir_68267d1309a1af8e8297ef4c3efbcdba.h
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    src Directory Reference
    +
    src Directory Reference
    - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    +

    Files

    file  nimconfig.h [code]
     HIDKeyboardTypes.h
     
     HIDTypes.h
     
     NimBLE2904.h
     
     NimBLEAddress.h
     
     NimBLEAdvertisedDevice.h
     
     NimBLEAdvertisementData.h
     
     NimBLEAdvertising.h
     
     NimBLEAttribute.h
     
     NimBLEAttValue.h
     
     NimBLEBeacon.h
     
     NimBLECharacteristic.h
     
     NimBLEClient.h
     
     NimBLEConnInfo.h
     
     NimBLEDescriptor.h
     
     NimBLEDevice.h
     
     NimBLEEddystoneTLM.h
     
     NimBLEExtAdvertising.h
     
     NimBLEHIDDevice.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
     
     nimconfig.h
     
    @@ -98,7 +164,7 @@ Files diff --git a/dir_68267d1309a1af8e8297ef4c3efbcdba.js b/dir_68267d1309a1af8e8297ef4c3efbcdba.js index ba770d0..09237db 100644 --- a/dir_68267d1309a1af8e8297ef4c3efbcdba.js +++ b/dir_68267d1309a1af8e8297ef4c3efbcdba.js @@ -5,7 +5,9 @@ var dir_68267d1309a1af8e8297ef4c3efbcdba = [ "NimBLE2904.h", "_nim_b_l_e2904_8h_source.html", null ], [ "NimBLEAddress.h", "_nim_b_l_e_address_8h_source.html", null ], [ "NimBLEAdvertisedDevice.h", "_nim_b_l_e_advertised_device_8h_source.html", null ], + [ "NimBLEAdvertisementData.h", "_nim_b_l_e_advertisement_data_8h_source.html", null ], [ "NimBLEAdvertising.h", "_nim_b_l_e_advertising_8h_source.html", null ], + [ "NimBLEAttribute.h", "_nim_b_l_e_attribute_8h_source.html", null ], [ "NimBLEAttValue.h", "_nim_b_l_e_att_value_8h_source.html", null ], [ "NimBLEBeacon.h", "_nim_b_l_e_beacon_8h_source.html", null ], [ "NimBLECharacteristic.h", "_nim_b_l_e_characteristic_8h_source.html", null ], @@ -14,15 +16,16 @@ var dir_68267d1309a1af8e8297ef4c3efbcdba = [ "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 ], - [ "NimBLEEddystoneURL.h", "_nim_b_l_e_eddystone_u_r_l_8h_source.html", null ], [ "NimBLEExtAdvertising.h", "_nim_b_l_e_ext_advertising_8h_source.html", null ], [ "NimBLEHIDDevice.h", "_nim_b_l_e_h_i_d_device_8h_source.html", null ], + [ "NimBLELocalAttribute.h", "_nim_b_l_e_local_attribute_8h_source.html", null ], + [ "NimBLELocalValueAttribute.h", "_nim_b_l_e_local_value_attribute_8h_source.html", null ], [ "NimBLELog.h", "_nim_b_l_e_log_8h_source.html", null ], [ "NimBLERemoteCharacteristic.h", "_nim_b_l_e_remote_characteristic_8h_source.html", null ], [ "NimBLERemoteDescriptor.h", "_nim_b_l_e_remote_descriptor_8h_source.html", null ], [ "NimBLERemoteService.h", "_nim_b_l_e_remote_service_8h_source.html", null ], + [ "NimBLERemoteValueAttribute.h", "_nim_b_l_e_remote_value_attribute_8h_source.html", null ], [ "NimBLEScan.h", "_nim_b_l_e_scan_8h_source.html", null ], - [ "NimBLESecurity.h", "_nim_b_l_e_security_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 ], [ "NimBLEUtils.h", "_nim_b_l_e_utils_8h_source.html", null ], diff --git a/doc.png b/doc.png deleted file mode 100644 index 17edabff95f7b8da13c9516a04efe05493c29501..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 746 zcmeAS@N?(olHy`uVBq!ia0y~yV31&7U=ZVAV_;yoRU6a6z`(T8)5S5Qg7NKKU;p4} ziPrh^ihm{A>qbOr1c~a50+@}UVgXodffY{_m;uoJ7d@^j3pS-JB`&h zF!((>ygX;;j`*bY1qtdDP%r!MD!(AV5Wn7fF-YoiCM4Myw<)2#mb3|8&bvB&rk6gRp zf7qn@<EkbNbI-?3|_`^r^^HbZLlI zutr!Ko5eTF(n-8m7qgeo{`omkn%VZOP4%UPp*?)xi`HwOe465N-c98NtPDoflHu@h-ct?NY9d{GM}{ z?V~dGM=X9H|L^Y7Xw7EM1ore-hZCix + + + + + + + + + + diff --git a/docd.svg b/docd.svg new file mode 100644 index 0000000..ac18b27 --- /dev/null +++ b/docd.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/doxygen.css b/doxygen.css index ffbff02..009a9b5 100644 --- a/doxygen.css +++ b/doxygen.css @@ -1,29 +1,378 @@ -/* The standard CSS for doxygen 1.9.1 */ +/* The standard CSS for doxygen 1.9.8*/ + +html { +/* page base colors */ +--page-background-color: white; +--page-foreground-color: black; +--page-link-color: #3D578C; +--page-visited-link-color: #4665A2; + +/* index */ +--index-odd-item-bg-color: #F8F9FC; +--index-even-item-bg-color: white; +--index-header-color: black; +--index-separator-color: #A0A0A0; + +/* header */ +--header-background-color: #F9FAFC; +--header-separator-color: #C4CFE5; +--header-gradient-image: url('nav_h.png'); +--group-header-separator-color: #879ECB; +--group-header-color: #354C7B; +--inherit-header-color: gray; + +--footer-foreground-color: #2A3D61; +--footer-logo-width: 104px; +--citation-label-color: #334975; +--glow-color: cyan; + +--title-background-color: white; +--title-separator-color: #5373B4; +--directory-separator-color: #9CAFD4; +--separator-color: #4A6AAA; + +--blockquote-background-color: #F7F8FB; +--blockquote-border-color: #9CAFD4; + +--scrollbar-thumb-color: #9CAFD4; +--scrollbar-background-color: #F9FAFC; + +--icon-background-color: #728DC1; +--icon-foreground-color: white; +--icon-doc-image: url('doc.svg'); +--icon-folder-open-image: url('folderopen.svg'); +--icon-folder-closed-image: url('folderclosed.svg'); + +/* brief member declaration list */ +--memdecl-background-color: #F9FAFC; +--memdecl-separator-color: #DEE4F0; +--memdecl-foreground-color: #555; +--memdecl-template-color: #4665A2; + +/* detailed member list */ +--memdef-border-color: #A8B8D9; +--memdef-title-background-color: #E2E8F2; +--memdef-title-gradient-image: url('nav_f.png'); +--memdef-proto-background-color: #DFE5F1; +--memdef-proto-text-color: #253555; +--memdef-proto-text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); +--memdef-doc-background-color: white; +--memdef-param-name-color: #602020; +--memdef-template-color: #4665A2; + +/* tables */ +--table-cell-border-color: #2D4068; +--table-header-background-color: #374F7F; +--table-header-foreground-color: #FFFFFF; + +/* labels */ +--label-background-color: #728DC1; +--label-left-top-border-color: #5373B4; +--label-right-bottom-border-color: #C4CFE5; +--label-foreground-color: white; + +/** navigation bar/tree/menu */ +--nav-background-color: #F9FAFC; +--nav-foreground-color: #364D7C; +--nav-gradient-image: url('tab_b.png'); +--nav-gradient-hover-image: url('tab_h.png'); +--nav-gradient-active-image: url('tab_a.png'); +--nav-gradient-active-image-parent: url("../tab_a.png"); +--nav-separator-image: url('tab_s.png'); +--nav-breadcrumb-image: url('bc_s.png'); +--nav-breadcrumb-border-color: #C2CDE4; +--nav-splitbar-image: url('splitbar.png'); +--nav-font-size-level1: 13px; +--nav-font-size-level2: 10px; +--nav-font-size-level3: 9px; +--nav-text-normal-color: #283A5D; +--nav-text-hover-color: white; +--nav-text-active-color: white; +--nav-text-normal-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); +--nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-menu-button-color: #364D7C; +--nav-menu-background-color: white; +--nav-menu-foreground-color: #555555; +--nav-menu-toggle-color: rgba(255, 255, 255, 0.5); +--nav-arrow-color: #9CAFD4; +--nav-arrow-selected-color: #9CAFD4; + +/* table of contents */ +--toc-background-color: #F4F6FA; +--toc-border-color: #D8DFEE; +--toc-header-color: #4665A2; +--toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); + +/** search field */ +--search-background-color: white; +--search-foreground-color: #909090; +--search-magnification-image: url('mag.svg'); +--search-magnification-select-image: url('mag_sel.svg'); +--search-active-color: black; +--search-filter-background-color: #F9FAFC; +--search-filter-foreground-color: black; +--search-filter-border-color: #90A5CE; +--search-filter-highlight-text-color: white; +--search-filter-highlight-bg-color: #3D578C; +--search-results-foreground-color: #425E97; +--search-results-background-color: #EEF1F7; +--search-results-border-color: black; +--search-box-shadow: inset 0.5px 0.5px 3px 0px #555; + +/** code fragments */ +--code-keyword-color: #008000; +--code-type-keyword-color: #604020; +--code-flow-keyword-color: #E08000; +--code-comment-color: #800000; +--code-preprocessor-color: #806020; +--code-string-literal-color: #002080; +--code-char-literal-color: #008080; +--code-xml-cdata-color: black; +--code-vhdl-digit-color: #FF00FF; +--code-vhdl-char-color: #000000; +--code-vhdl-keyword-color: #700070; +--code-vhdl-logic-color: #FF0000; +--code-link-color: #4665A2; +--code-external-link-color: #4665A2; +--fragment-foreground-color: black; +--fragment-background-color: #FBFCFD; +--fragment-border-color: #C4CFE5; +--fragment-lineno-border-color: #00FF00; +--fragment-lineno-background-color: #E8E8E8; +--fragment-lineno-foreground-color: black; +--fragment-lineno-link-fg-color: #4665A2; +--fragment-lineno-link-bg-color: #D8D8D8; +--fragment-lineno-link-hover-fg-color: #4665A2; +--fragment-lineno-link-hover-bg-color: #C8C8C8; +--tooltip-foreground-color: black; +--tooltip-background-color: white; +--tooltip-border-color: gray; +--tooltip-doc-color: grey; +--tooltip-declaration-color: #006318; +--tooltip-link-color: #4665A2; +--tooltip-shadow: 1px 1px 7px gray; +--fold-line-color: #808080; +--fold-minus-image: url('minus.svg'); +--fold-plus-image: url('plus.svg'); +--fold-minus-image-relpath: url('../../minus.svg'); +--fold-plus-image-relpath: url('../../plus.svg'); + +/** font-family */ +--font-family-normal: Roboto,sans-serif; +--font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; +--font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +--font-family-title: Tahoma,Arial,sans-serif; +--font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; +--font-family-search: Arial,Verdana,sans-serif; +--font-family-icon: Arial,Helvetica; +--font-family-tooltip: Roboto,sans-serif; -body, table, div, p, dl { - font: 400 14px/22px Roboto,sans-serif; } -p.reference, p.definition { - font: 400 14px/22px Roboto,sans-serif; +@media (prefers-color-scheme: dark) { + html:not(.dark-mode) { + color-scheme: dark; + +/* page base colors */ +--page-background-color: black; +--page-foreground-color: #C9D1D9; +--page-link-color: #90A5CE; +--page-visited-link-color: #A3B4D7; + +/* index */ +--index-odd-item-bg-color: #0B101A; +--index-even-item-bg-color: black; +--index-header-color: #C4CFE5; +--index-separator-color: #334975; + +/* header */ +--header-background-color: #070B11; +--header-separator-color: #141C2E; +--header-gradient-image: url('nav_hd.png'); +--group-header-separator-color: #283A5D; +--group-header-color: #90A5CE; +--inherit-header-color: #A0A0A0; + +--footer-foreground-color: #5B7AB7; +--footer-logo-width: 60px; +--citation-label-color: #90A5CE; +--glow-color: cyan; + +--title-background-color: #090D16; +--title-separator-color: #354C79; +--directory-separator-color: #283A5D; +--separator-color: #283A5D; + +--blockquote-background-color: #101826; +--blockquote-border-color: #283A5D; + +--scrollbar-thumb-color: #283A5D; +--scrollbar-background-color: #070B11; + +--icon-background-color: #334975; +--icon-foreground-color: #C4CFE5; +--icon-doc-image: url('docd.svg'); +--icon-folder-open-image: url('folderopend.svg'); +--icon-folder-closed-image: url('folderclosedd.svg'); + +/* brief member declaration list */ +--memdecl-background-color: #0B101A; +--memdecl-separator-color: #2C3F65; +--memdecl-foreground-color: #BBB; +--memdecl-template-color: #7C95C6; + +/* detailed member list */ +--memdef-border-color: #233250; +--memdef-title-background-color: #1B2840; +--memdef-title-gradient-image: url('nav_fd.png'); +--memdef-proto-background-color: #19243A; +--memdef-proto-text-color: #9DB0D4; +--memdef-proto-text-shadow: 0px 1px 1px rgba(0, 0, 0, 0.9); +--memdef-doc-background-color: black; +--memdef-param-name-color: #D28757; +--memdef-template-color: #7C95C6; + +/* tables */ +--table-cell-border-color: #283A5D; +--table-header-background-color: #283A5D; +--table-header-foreground-color: #C4CFE5; + +/* labels */ +--label-background-color: #354C7B; +--label-left-top-border-color: #4665A2; +--label-right-bottom-border-color: #283A5D; +--label-foreground-color: #CCCCCC; + +/** navigation bar/tree/menu */ +--nav-background-color: #101826; +--nav-foreground-color: #364D7C; +--nav-gradient-image: url('tab_bd.png'); +--nav-gradient-hover-image: url('tab_hd.png'); +--nav-gradient-active-image: url('tab_ad.png'); +--nav-gradient-active-image-parent: url("../tab_ad.png"); +--nav-separator-image: url('tab_sd.png'); +--nav-breadcrumb-image: url('bc_sd.png'); +--nav-breadcrumb-border-color: #2A3D61; +--nav-splitbar-image: url('splitbard.png'); +--nav-font-size-level1: 13px; +--nav-font-size-level2: 10px; +--nav-font-size-level3: 9px; +--nav-text-normal-color: #B6C4DF; +--nav-text-hover-color: #DCE2EF; +--nav-text-active-color: #DCE2EF; +--nav-text-normal-shadow: 0px 1px 1px black; +--nav-text-hover-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-text-active-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); +--nav-menu-button-color: #B6C4DF; +--nav-menu-background-color: #05070C; +--nav-menu-foreground-color: #BBBBBB; +--nav-menu-toggle-color: rgba(255, 255, 255, 0.2); +--nav-arrow-color: #334975; +--nav-arrow-selected-color: #90A5CE; + +/* table of contents */ +--toc-background-color: #151E30; +--toc-border-color: #202E4A; +--toc-header-color: #A3B4D7; +--toc-down-arrow-image: url("data:image/svg+xml;utf8,&%238595;"); + +/** search field */ +--search-background-color: black; +--search-foreground-color: #C5C5C5; +--search-magnification-image: url('mag_d.svg'); +--search-magnification-select-image: url('mag_seld.svg'); +--search-active-color: #C5C5C5; +--search-filter-background-color: #101826; +--search-filter-foreground-color: #90A5CE; +--search-filter-border-color: #7C95C6; +--search-filter-highlight-text-color: #BCC9E2; +--search-filter-highlight-bg-color: #283A5D; +--search-results-background-color: #101826; +--search-results-foreground-color: #90A5CE; +--search-results-border-color: #7C95C6; +--search-box-shadow: inset 0.5px 0.5px 3px 0px #2F436C; + +/** code fragments */ +--code-keyword-color: #CC99CD; +--code-type-keyword-color: #AB99CD; +--code-flow-keyword-color: #E08000; +--code-comment-color: #717790; +--code-preprocessor-color: #65CABE; +--code-string-literal-color: #7EC699; +--code-char-literal-color: #00E0F0; +--code-xml-cdata-color: #C9D1D9; +--code-vhdl-digit-color: #FF00FF; +--code-vhdl-char-color: #C0C0C0; +--code-vhdl-keyword-color: #CF53C9; +--code-vhdl-logic-color: #FF0000; +--code-link-color: #79C0FF; +--code-external-link-color: #79C0FF; +--fragment-foreground-color: #C9D1D9; +--fragment-background-color: black; +--fragment-border-color: #30363D; +--fragment-lineno-border-color: #30363D; +--fragment-lineno-background-color: black; +--fragment-lineno-foreground-color: #6E7681; +--fragment-lineno-link-fg-color: #6E7681; +--fragment-lineno-link-bg-color: #303030; +--fragment-lineno-link-hover-fg-color: #8E96A1; +--fragment-lineno-link-hover-bg-color: #505050; +--tooltip-foreground-color: #C9D1D9; +--tooltip-background-color: #202020; +--tooltip-border-color: #C9D1D9; +--tooltip-doc-color: #D9E1E9; +--tooltip-declaration-color: #20C348; +--tooltip-link-color: #79C0FF; +--tooltip-shadow: none; +--fold-line-color: #808080; +--fold-minus-image: url('minusd.svg'); +--fold-plus-image: url('plusd.svg'); +--fold-minus-image-relpath: url('../../minusd.svg'); +--fold-plus-image-relpath: url('../../plusd.svg'); + +/** font-family */ +--font-family-normal: Roboto,sans-serif; +--font-family-monospace: 'JetBrains Mono',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace,fixed; +--font-family-nav: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; +--font-family-title: Tahoma,Arial,sans-serif; +--font-family-toc: Verdana,'DejaVu Sans',Geneva,sans-serif; +--font-family-search: Arial,Verdana,sans-serif; +--font-family-icon: Arial,Helvetica; +--font-family-tooltip: Roboto,sans-serif; + +}} +body { + background-color: var(--page-background-color); + color: var(--page-foreground-color); +} + +body, table, div, p, dl { + font-weight: 400; + font-size: 14px; + font-family: var(--font-family-normal); + line-height: 22px; } /* @group Heading Levels */ -h1.groupheader { - font-size: 150%; -} - .title { - font: 400 14px/28px Roboto,sans-serif; + font-weight: 400; + font-size: 14px; + font-family: var(--font-family-normal); + line-height: 28px; font-size: 150%; font-weight: bold; margin: 10px 2px; } +h1.groupheader { + font-size: 150%; +} + h2.groupheader { - border-bottom: 1px solid #879ECB; - color: #354C7B; + border-bottom: 1px solid var(--group-header-separator-color); + color: var(--group-header-color); font-size: 150%; font-weight: normal; margin-top: 1.75em; @@ -46,22 +395,13 @@ h1, h2, h3, h4, h5, h6 { } h1.glow, h2.glow, h3.glow, h4.glow, h5.glow, h6.glow { - text-shadow: 0 0 15px cyan; + text-shadow: 0 0 15px var(--glow-color); } dt { font-weight: bold; } -ul.multicol { - -moz-column-gap: 1em; - -webkit-column-gap: 1em; - column-gap: 1em; - -moz-column-count: 3; - -webkit-column-count: 3; - column-count: 3; -} - p.startli, p.startdd { margin-top: 2px; } @@ -113,7 +453,6 @@ h3.version { } div.navtab { - border-right: 1px solid #A3B4D7; padding-right: 15px; text-align: right; line-height: 110%; @@ -127,16 +466,17 @@ td.navtab { padding-right: 6px; padding-left: 6px; } + td.navtabHL { - background-image: url('tab_a.png'); + background-image: var(--nav-gradient-active-image); background-repeat:repeat-x; padding-right: 6px; padding-left: 6px; } td.navtabHL a, td.navtabHL a:visited { - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + color: var(--nav-text-hover-color); + text-shadow: var(--nav-text-hover-shadow); } a.navtab { @@ -148,7 +488,13 @@ div.qindex{ width: 100%; line-height: 140%; font-size: 130%; - color: #A0A0A0; + color: var(--index-separator-color); +} + +#main-menu a:focus { + outline: auto; + z-index: 10; + position: relative; } dt.alphachar{ @@ -157,7 +503,7 @@ dt.alphachar{ } .alphachar a{ - color: black; + color: var(--index-header-color); } .alphachar a:hover, .alphachar a:visited{ @@ -176,8 +522,12 @@ dt.alphachar{ line-height: 1.15em; } +.classindex dl.even { + background-color: var(--index-even-item-bg-color); +} + .classindex dl.odd { - background-color: #F8F9FC; + background-color: var(--index-odd-item-bg-color); } @media(min-width: 1120px) { @@ -196,23 +546,19 @@ dt.alphachar{ /* @group Link Styling */ a { - color: #3D578C; + color: var(--page-link-color); font-weight: normal; text-decoration: none; } .contents a:visited { - color: #4665A2; + color: var(--page-visited-link-color); } a:hover { text-decoration: underline; } -.contents a.qindexHL:visited { - color: #FFFFFF; -} - a.el { font-weight: bold; } @@ -221,13 +567,40 @@ a.elRef { } a.code, a.code:visited, a.line, a.line:visited { - color: #4665A2; + color: var(--code-link-color); } a.codeRef, a.codeRef:visited, a.lineRef, a.lineRef:visited { - color: #4665A2; + color: var(--code-external-link-color); } +a.code.hl_class { /* style for links to class names in code snippets */ } +a.code.hl_struct { /* style for links to struct names in code snippets */ } +a.code.hl_union { /* style for links to union names in code snippets */ } +a.code.hl_interface { /* style for links to interface names in code snippets */ } +a.code.hl_protocol { /* style for links to protocol names in code snippets */ } +a.code.hl_category { /* style for links to category names in code snippets */ } +a.code.hl_exception { /* style for links to exception names in code snippets */ } +a.code.hl_service { /* style for links to service names in code snippets */ } +a.code.hl_singleton { /* style for links to singleton names in code snippets */ } +a.code.hl_concept { /* style for links to concept names in code snippets */ } +a.code.hl_namespace { /* style for links to namespace names in code snippets */ } +a.code.hl_package { /* style for links to package names in code snippets */ } +a.code.hl_define { /* style for links to macro names in code snippets */ } +a.code.hl_function { /* style for links to function names in code snippets */ } +a.code.hl_variable { /* style for links to variable names in code snippets */ } +a.code.hl_typedef { /* style for links to typedef names in code snippets */ } +a.code.hl_enumvalue { /* style for links to enum value names in code snippets */ } +a.code.hl_enumeration { /* style for links to enumeration names in code snippets */ } +a.code.hl_signal { /* style for links to Qt signal names in code snippets */ } +a.code.hl_slot { /* style for links to Qt slot names in code snippets */ } +a.code.hl_friend { /* style for links to friend names in code snippets */ } +a.code.hl_dcop { /* style for links to KDE3 DCOP names in code snippets */ } +a.code.hl_property { /* style for links to property names in code snippets */ } +a.code.hl_event { /* style for links to event names in code snippets */ } +a.code.hl_sequence { /* style for links to sequence names in code snippets */ } +a.code.hl_dictionary { /* style for links to dictionary names in code snippets */ } + /* @end */ dl.el { @@ -235,7 +608,17 @@ dl.el { } ul { - overflow: hidden; /*Fixed: list item bullets overlap floating elements*/ + overflow: visible; +} + +ul.multicol { + -moz-column-gap: 1em; + -webkit-column-gap: 1em; + column-gap: 1em; + -moz-column-count: 3; + -webkit-column-count: 3; + column-count: 3; + list-style-type: none; } #side-nav ul { @@ -254,30 +637,32 @@ ul { } pre.fragment { - border: 1px solid #C4CFE5; - background-color: #FBFCFD; + border: 1px solid var(--fragment-border-color); + background-color: var(--fragment-background-color); + color: var(--fragment-foreground-color); padding: 4px 6px; margin: 4px 8px 4px 2px; overflow: auto; word-wrap: break-word; font-size: 9pt; line-height: 125%; - font-family: monospace, fixed; + font-family: var(--font-family-monospace); font-size: 105%; } div.fragment { - padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ - margin: 4px 8px 4px 2px; - background-color: #FBFCFD; - border: 1px solid #C4CFE5; + padding: 0 0 1px 0; /*Fixed: last line underline overlap border*/ + margin: 4px 8px 4px 2px; + color: var(--fragment-foreground-color); + background-color: var(--fragment-background-color); + border: 1px solid var(--fragment-border-color); } div.line { - font-family: monospace, fixed; + font-family: var(--font-family-monospace); font-size: 13px; min-height: 13px; - line-height: 1.0; + line-height: 1.2; text-wrap: unrestricted; white-space: -moz-pre-wrap; /* Moz */ white-space: -pre-wrap; /* Opera 4-6 */ @@ -306,24 +691,40 @@ div.line:after { } div.line.glow { - background-color: cyan; - box-shadow: 0 0 10px cyan; + background-color: var(--glow-color); + box-shadow: 0 0 10px var(--glow-color); } +span.fold { + margin-left: 5px; + margin-right: 1px; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; + display: inline-block; + width: 12px; + height: 12px; + background-repeat:no-repeat; + background-position:center; +} span.lineno { padding-right: 4px; + margin-right: 9px; text-align: right; - border-right: 2px solid #0F0; - background-color: #E8E8E8; + border-right: 2px solid var(--fragment-lineno-border-color); + color: var(--fragment-lineno-foreground-color); + background-color: var(--fragment-lineno-background-color); white-space: pre; } -span.lineno a { - background-color: #D8D8D8; +span.lineno a, span.lineno a:visited { + color: var(--fragment-lineno-link-fg-color); + background-color: var(--fragment-lineno-link-bg-color); } span.lineno a:hover { - background-color: #C8C8C8; + color: var(--fragment-lineno-link-hover-fg-color); + background-color: var(--fragment-lineno-link-hover-bg-color); } .lineno { @@ -335,24 +736,6 @@ span.lineno a:hover { user-select: none; } -div.ah, span.ah { - background-color: black; - font-weight: bold; - color: #FFFFFF; - margin-bottom: 3px; - margin-top: 3px; - padding: 0.2em; - border: solid thin #333; - border-radius: 0.5em; - -webkit-border-radius: .5em; - -moz-border-radius: .5em; - box-shadow: 2px 2px 3px #999; - -webkit-box-shadow: 2px 2px 3px #999; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - background-image: -webkit-gradient(linear, left top, left bottom, from(#eee), to(#000),color-stop(0.3, #444)); - background-image: -moz-linear-gradient(center top, #eee 0%, #444 40%, #000 110%); -} - div.classindex ul { list-style: none; padding-left: 0; @@ -374,8 +757,7 @@ div.groupText { } body { - background-color: white; - color: black; + color: var(--page-foreground-color); margin: 0; } @@ -385,31 +767,17 @@ div.contents { margin-right: 8px; } -td.indexkey { - background-color: #EBEFF6; - font-weight: bold; - border: 1px solid #C4CFE5; - margin: 2px 0px 2px 0; - padding: 2px 10px; - white-space: nowrap; - vertical-align: top; -} - -td.indexvalue { - background-color: #EBEFF6; - border: 1px solid #C4CFE5; - padding: 2px 10px; - margin: 2px 0px; -} - -tr.memlist { - background-color: #EEF1F7; -} - p.formulaDsp { text-align: center; } +img.dark-mode-visible { + display: none; +} +img.light-mode-visible { + display: none; +} + img.formulaDsp { } @@ -437,89 +805,74 @@ address.footer { img.footer { border: 0px; vertical-align: middle; + width: var(--footer-logo-width); +} + +.compoundTemplParams { + color: var(--memdecl-template-color); + font-size: 80%; + line-height: 120%; } /* @group Code Colorization */ span.keyword { - color: #008000 + color: var(--code-keyword-color); } span.keywordtype { - color: #604020 + color: var(--code-type-keyword-color); } span.keywordflow { - color: #e08000 + color: var(--code-flow-keyword-color); } span.comment { - color: #800000 + color: var(--code-comment-color); } span.preprocessor { - color: #806020 + color: var(--code-preprocessor-color); } span.stringliteral { - color: #002080 + color: var(--code-string-literal-color); } span.charliteral { - color: #008080 + color: var(--code-char-literal-color); +} + +span.xmlcdata { + color: var(--code-xml-cdata-color); } span.vhdldigit { - color: #ff00ff + color: var(--code-vhdl-digit-color); } span.vhdlchar { - color: #000000 + color: var(--code-vhdl-char-color); } span.vhdlkeyword { - color: #700070 + color: var(--code-vhdl-keyword-color); } span.vhdllogic { - color: #ff0000 + color: var(--code-vhdl-logic-color); } blockquote { - background-color: #F7F8FB; - border-left: 2px solid #9CAFD4; + background-color: var(--blockquote-background-color); + border-left: 2px solid var(--blockquote-border-color); margin: 0 24px 0 4px; padding: 0 12px 0 16px; } -blockquote.DocNodeRTL { - border-left: 0; - border-right: 2px solid #9CAFD4; - margin: 0 4px 0 24px; - padding: 0 16px 0 12px; -} - /* @end */ -/* -.search { - color: #003399; - font-weight: bold; -} - -form.search { - margin-bottom: 0px; - margin-top: 0px; -} - -input.search { - font-size: 75%; - color: #000080; - font-weight: normal; - background-color: #e8eef2; -} -*/ - td.tiny { font-size: 75%; } @@ -527,18 +880,19 @@ td.tiny { .dirtab { padding: 4px; border-collapse: collapse; - border: 1px solid #A3B4D7; + border: 1px solid var(--table-cell-border-color); } th.dirtab { - background: #EBEFF6; + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); font-weight: bold; } hr { height: 0px; border: none; - border-top: 1px solid #4A6AAA; + border-top: 1px solid var(--separator-color); } hr.footer { @@ -566,14 +920,14 @@ table.memberdecls { } .memberdecls td.glow, .fieldtable tr.glow { - background-color: cyan; - box-shadow: 0 0 15px cyan; + background-color: var(--glow-color); + box-shadow: 0 0 15px var(--glow-color); } .mdescLeft, .mdescRight, .memItemLeft, .memItemRight, .memTemplItemLeft, .memTemplItemRight, .memTemplParams { - background-color: #F9FAFC; + background-color: var(--memdecl-background-color); border: none; margin: 4px; padding: 1px 0 0 8px; @@ -581,11 +935,11 @@ table.memberdecls { .mdescLeft, .mdescRight { padding: 0px 8px 4px 8px; - color: #555; + color: var(--memdecl-foreground-color); } .memSeparator { - border-bottom: 1px solid #DEE4F0; + border-bottom: 1px solid var(--memdecl-separator-color); line-height: 1px; margin: 0px; padding: 0px; @@ -600,7 +954,7 @@ table.memberdecls { } .memTemplParams { - color: #4665A2; + color: var(--memdecl-template-color); white-space: nowrap; font-size: 80%; } @@ -613,15 +967,15 @@ table.memberdecls { .memtitle { padding: 8px; - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-top: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); border-top-right-radius: 4px; border-top-left-radius: 4px; margin-bottom: -1px; - background-image: url('nav_f.png'); + background-image: var(--memdef-title-gradient-image); background-repeat: repeat-x; - background-color: #E2E8F2; + background-color: var(--memdef-title-background-color); line-height: 1.25; font-weight: 300; float:left; @@ -636,20 +990,11 @@ table.memberdecls { .memtemplate { font-size: 80%; - color: #4665A2; + color: var(--memdef-template-color); font-weight: normal; margin-left: 9px; } -.memnav { - background-color: #EBEFF6; - border: 1px solid #A3B4D7; - text-align: center; - margin: 2px; - margin-right: 15px; - padding: 2px; -} - .mempage { width: 100%; } @@ -668,7 +1013,7 @@ table.memberdecls { } .memitem.glow { - box-shadow: 0 0 15px cyan; + box-shadow: 0 0 15px var(--glow-color); } .memname { @@ -681,41 +1026,32 @@ table.memberdecls { } .memproto, dl.reflist dt { - border-top: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-top: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); padding: 6px 0px 6px 0px; - color: #253555; + color: var(--memdef-proto-text-color); font-weight: bold; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - background-color: #DFE5F1; - /* opera specific markup */ + text-shadow: var(--memdef-proto-text-shadow); + background-color: var(--memdef-proto-background-color); box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); border-top-right-radius: 4px; - /* firefox specific markup */ - -moz-box-shadow: rgba(0, 0, 0, 0.15) 5px 5px 5px; - -moz-border-radius-topright: 4px; - /* webkit specific markup */ - -webkit-box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.15); - -webkit-border-top-right-radius: 4px; - } .overload { - font-family: "courier new",courier,monospace; + font-family: var(--font-family-monospace); font-size: 65%; } .memdoc, dl.reflist dd { - border-bottom: 1px solid #A8B8D9; - border-left: 1px solid #A8B8D9; - border-right: 1px solid #A8B8D9; + border-bottom: 1px solid var(--memdef-border-color); + border-left: 1px solid var(--memdef-border-color); + border-right: 1px solid var(--memdef-border-color); padding: 6px 10px 2px 10px; - background-color: #FBFCFD; border-top-width: 0; background-image:url('nav_g.png'); background-repeat:repeat-x; - background-color: #FFFFFF; + background-color: var(--memdef-doc-background-color); /* opera specific markup */ border-bottom-left-radius: 4px; border-bottom-right-radius: 4px; @@ -748,7 +1084,7 @@ dl.reflist dd { } .paramname { - color: #602020; + color: var(--memdef-param-name-color); white-space: nowrap; } .paramname em { @@ -761,20 +1097,20 @@ dl.reflist dd { .params, .retval, .exception, .tparams { margin-left: 0px; padding-left: 0px; -} +} .params .paramname, .retval .paramname, .tparams .paramname, .exception .paramname { font-weight: bold; vertical-align: top; } - + .params .paramtype, .tparams .paramtype { font-style: italic; vertical-align: top; -} - +} + .params .paramdir, .tparams .paramdir { - font-family: "courier new",courier,monospace; + font-family: var(--font-family-monospace); vertical-align: top; } @@ -798,13 +1134,13 @@ span.mlabels { } span.mlabel { - background-color: #728DC1; - border-top:1px solid #5373B4; - border-left:1px solid #5373B4; - border-right:1px solid #C4CFE5; - border-bottom:1px solid #C4CFE5; + background-color: var(--label-background-color); + border-top:1px solid var(--label-left-top-border-color); + border-left:1px solid var(--label-left-top-border-color); + border-right:1px solid var(--label-right-bottom-border-color); + border-bottom:1px solid var(--label-right-bottom-border-color); text-shadow: none; - color: white; + color: var(--label-foreground-color); margin-right: 4px; padding: 2px 3px; border-radius: 3px; @@ -821,8 +1157,8 @@ span.mlabel { div.directory { margin: 10px 0px; - border-top: 1px solid #9CAFD4; - border-bottom: 1px solid #9CAFD4; + border-top: 1px solid var(--directory-separator-color); + border-bottom: 1px solid var(--directory-separator-color); width: 100%; } @@ -858,9 +1194,14 @@ div.directory { border-left: 1px solid rgba(0,0,0,0.05); } +.directory tr.odd { + padding-left: 6px; + background-color: var(--index-odd-item-bg-color); +} + .directory tr.even { padding-left: 6px; - background-color: #F7F8FB; + background-color: var(--index-even-item-bg-color); } .directory img { @@ -878,11 +1219,11 @@ div.directory { cursor: pointer; padding-left: 2px; padding-right: 2px; - color: #3D578C; + color: var(--page-link-color); } .arrow { - color: #9CAFD4; + color: var(--nav-arrow-color); -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; @@ -896,14 +1237,15 @@ div.directory { } .icon { - font-family: Arial, Helvetica; + font-family: var(--font-family-icon); + line-height: normal; font-weight: bold; font-size: 12px; height: 14px; width: 16px; display: inline-block; - background-color: #728DC1; - color: white; + background-color: var(--icon-background-color); + color: var(--icon-foreground-color); text-align: center; border-radius: 4px; margin-left: 2px; @@ -920,8 +1262,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('folderopen.png'); - background-position: 0px -4px; + background-image:var(--icon-folder-open-image); background-repeat: repeat-y; vertical-align:top; display: inline-block; @@ -931,8 +1272,7 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('folderclosed.png'); - background-position: 0px -4px; + background-image:var(--icon-folder-closed-image); background-repeat: repeat-y; vertical-align:top; display: inline-block; @@ -942,17 +1282,13 @@ div.directory { width: 24px; height: 18px; margin-bottom: 4px; - background-image:url('doc.png'); + background-image:var(--icon-doc-image); background-position: 0px -4px; background-repeat: repeat-y; vertical-align:top; display: inline-block; } -table.directory { - font: 400 14px Roboto,sans-serif; -} - /* @end */ div.dynheader { @@ -967,7 +1303,7 @@ div.dynheader { address { font-style: normal; - color: #2A3D61; + color: var(--footer-foreground-color); } table.doxtable caption { @@ -981,28 +1317,23 @@ table.doxtable { } table.doxtable td, table.doxtable th { - border: 1px solid #2D4068; + border: 1px solid var(--table-cell-border-color); padding: 3px 7px 2px; } table.doxtable th { - background-color: #374F7F; - color: #FFFFFF; + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); font-size: 110%; padding-bottom: 4px; padding-top: 5px; } table.fieldtable { - /*width: 100%;*/ margin-bottom: 10px; - border: 1px solid #A8B8D9; + border: 1px solid var(--memdef-border-color); border-spacing: 0px; - -moz-border-radius: 4px; - -webkit-border-radius: 4px; border-radius: 4px; - -moz-box-shadow: rgba(0, 0, 0, 0.15) 2px 2px 2px; - -webkit-box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15); } @@ -1012,8 +1343,8 @@ table.fieldtable { .fieldtable td.fieldtype, .fieldtable td.fieldname { white-space: nowrap; - border-right: 1px solid #A8B8D9; - border-bottom: 1px solid #A8B8D9; + border-right: 1px solid var(--memdef-border-color); + border-bottom: 1px solid var(--memdef-border-color); vertical-align: top; } @@ -1022,14 +1353,13 @@ table.fieldtable { } .fieldtable td.fielddoc { - border-bottom: 1px solid #A8B8D9; - /*width: 100%;*/ + border-bottom: 1px solid var(--memdef-border-color); } .fieldtable td.fielddoc p:first-child { margin-top: 0px; -} - +} + .fieldtable td.fielddoc p:last-child { margin-bottom: 2px; } @@ -1039,22 +1369,18 @@ table.fieldtable { } .fieldtable th { - background-image:url('nav_f.png'); + background-image: var(--memdef-title-gradient-image); background-repeat:repeat-x; - background-color: #E2E8F2; + background-color: var(--memdef-title-background-color); font-size: 90%; - color: #253555; + color: var(--memdef-proto-text-color); padding-bottom: 4px; padding-top: 5px; text-align:left; font-weight: 400; - -moz-border-radius-topleft: 4px; - -moz-border-radius-topright: 4px; - -webkit-border-top-left-radius: 4px; - -webkit-border-top-right-radius: 4px; border-top-left-radius: 4px; border-top-right-radius: 4px; - border-bottom: 1px solid #A8B8D9; + border-bottom: 1px solid var(--memdef-border-color); } @@ -1062,7 +1388,7 @@ table.fieldtable { top: 0px; left: 10px; height: 36px; - background-image: url('tab_b.png'); + background-image: var(--nav-gradient-image); z-index: 101; overflow: hidden; font-size: 13px; @@ -1071,13 +1397,13 @@ table.fieldtable { .navpath ul { font-size: 11px; - background-image:url('tab_b.png'); + background-image: var(--nav-gradient-image); background-repeat:repeat-x; background-position: 0 -5px; height:30px; line-height:30px; - color:#8AA0CC; - border:solid 1px #C2CDE4; + color:var(--nav-text-normal-color); + border:solid 1px var(--nav-breadcrumb-border-color); overflow:hidden; margin:0px; padding:0px; @@ -1089,10 +1415,10 @@ table.fieldtable { float:left; padding-left:10px; padding-right:15px; - background-image:url('bc_s.png'); + background-image:var(--nav-breadcrumb-image); background-repeat:no-repeat; background-position:right; - color:#364D7C; + color: var(--nav-foreground-color); } .navpath li.navelem a @@ -1101,15 +1427,16 @@ table.fieldtable { display:block; text-decoration: none; outline: none; - color: #283A5D; - font-family: 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; - text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.9); - text-decoration: none; + color: var(--nav-text-normal-color); + font-family: var(--font-family-nav); + text-shadow: var(--nav-text-normal-shadow); + text-decoration: none; } .navpath li.navelem a:hover { - color:#6884BD; + color: var(--nav-text-hover-color); + text-shadow: var(--nav-text-hover-shadow); } .navpath li.footer @@ -1121,7 +1448,7 @@ table.fieldtable { background-image:none; background-repeat:no-repeat; background-position:right; - color:#364D7C; + color: var(--footer-foreground-color); font-size: 8pt; } @@ -1133,7 +1460,7 @@ div.summary padding-right: 5px; width: 50%; text-align: right; -} +} div.summary a { @@ -1148,7 +1475,7 @@ table.classindex margin-right: 3%; width: 94%; border: 0; - border-spacing: 0; + border-spacing: 0; padding: 0; } @@ -1166,11 +1493,11 @@ div.ingroups a div.header { - background-image:url('nav_h.png'); + background-image: var(--header-gradient-image); background-repeat:repeat-x; - background-color: #F9FAFC; + background-color: var(--header-background-color); margin: 0px; - border-bottom: 1px solid #C4CFE5; + border-bottom: 1px solid var(--header-separator-color); } div.headertitle @@ -1193,11 +1520,6 @@ dl.section { padding-left: 0px; } -dl.section.DocNodeRTL { - margin-right: 0px; - padding-right: 0px; -} - dl.note { margin-left: -7px; padding-left: 3px; @@ -1205,16 +1527,6 @@ dl.note { border-color: #D0C000; } -dl.note.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #D0C000; -} - dl.warning, dl.attention { margin-left: -7px; padding-left: 3px; @@ -1222,16 +1534,6 @@ dl.warning, dl.attention { border-color: #FF0000; } -dl.warning.DocNodeRTL, dl.attention.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #FF0000; -} - dl.pre, dl.post, dl.invariant { margin-left: -7px; padding-left: 3px; @@ -1239,16 +1541,6 @@ dl.pre, dl.post, dl.invariant { border-color: #00D000; } -dl.pre.DocNodeRTL, dl.post.DocNodeRTL, dl.invariant.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #00D000; -} - dl.deprecated { margin-left: -7px; padding-left: 3px; @@ -1256,16 +1548,6 @@ dl.deprecated { border-color: #505050; } -dl.deprecated.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #505050; -} - dl.todo { margin-left: -7px; padding-left: 3px; @@ -1273,16 +1555,6 @@ dl.todo { border-color: #00C0E0; } -dl.todo.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #00C0E0; -} - dl.test { margin-left: -7px; padding-left: 3px; @@ -1290,16 +1562,6 @@ dl.test { border-color: #3030E0; } -dl.test.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #3030E0; -} - dl.bug { margin-left: -7px; padding-left: 3px; @@ -1307,21 +1569,16 @@ dl.bug { border-color: #C08050; } -dl.bug.DocNodeRTL { - margin-left: 0; - padding-left: 0; - border-left: 0; - margin-right: -7px; - padding-right: 3px; - border-right: 4px solid; - border-color: #C08050; -} - dl.section dd { margin-bottom: 6px; } +#projectrow +{ + height: 56px; +} + #projectlogo { text-align: center; @@ -1337,25 +1594,29 @@ dl.section dd { #projectalign { vertical-align: middle; + padding-left: 0.5em; } #projectname { - font: 300% Tahoma, Arial,sans-serif; + font-size: 200%; + font-family: var(--font-family-title); margin: 0px; padding: 2px 0px; } - + #projectbrief { - font: 120% Tahoma, Arial,sans-serif; + font-size: 90%; + font-family: var(--font-family-title); margin: 0px; padding: 0px; } #projectnumber { - font: 50% Tahoma, Arial,sans-serif; + font-size: 50%; + font-family: 50% var(--font-family-title); margin: 0px; padding: 0px; } @@ -1365,7 +1626,8 @@ dl.section dd { padding: 0px; margin: 0px; width: 100%; - border-bottom: 1px solid #5373B4; + border-bottom: 1px solid var(--title-separator-color); + background-color: var(--title-background-color); } .image @@ -1398,17 +1660,12 @@ dl.section dd { font-weight: bold; } -div.zoom -{ - border: 1px solid #90A5CE; -} - dl.citelist { margin-bottom:50px; } dl.citelist dt { - color:#334975; + color:var(--citation-label-color); float:left; font-weight:bold; margin-right:10px; @@ -1424,8 +1681,8 @@ dl.citelist dd { div.toc { padding: 14px 25px; - background-color: #F4F6FA; - border: 1px solid #D8DFEE; + background-color: var(--toc-background-color); + border: 1px solid var(--toc-border-color); border-radius: 7px 7px 7px 7px; float: right; height: auto; @@ -1433,28 +1690,17 @@ div.toc { width: 200px; } -.PageDocRTL-title div.toc { - float: left !important; - text-align: right; -} - div.toc li { - background: url("bdwn.png") no-repeat scroll 0 5px transparent; - font: 10px/1.2 Verdana,DejaVu Sans,Geneva,sans-serif; + background: var(--toc-down-arrow-image) no-repeat scroll 0 5px transparent; + font: 10px/1.2 var(--font-family-toc); margin-top: 5px; padding-left: 10px; padding-top: 2px; } -.PageDocRTL-title div.toc li { - background-position-x: right !important; - padding-left: 0 !important; - padding-right: 10px; -} - div.toc h3 { - font: bold 12px/1.2 Arial,FreeSans,sans-serif; - color: #4665A2; + font: bold 12px/1.2 var(--font-family-toc); + color: var(--toc-header-color); border-bottom: 0 none; margin: 0; } @@ -1463,7 +1709,7 @@ div.toc ul { list-style: none outside none; border: medium none; padding: 0px; -} +} div.toc li.level1 { margin-left: 0px; @@ -1474,11 +1720,11 @@ div.toc li.level2 { } div.toc li.level3 { - margin-left: 30px; + margin-left: 15px; } div.toc li.level4 { - margin-left: 45px; + margin-left: 15px; } span.emoji { @@ -1487,29 +1733,13 @@ span.emoji { */ } -.PageDocRTL-title div.toc li.level1 { - margin-left: 0 !important; - margin-right: 0; -} - -.PageDocRTL-title div.toc li.level2 { - margin-left: 0 !important; - margin-right: 15px; -} - -.PageDocRTL-title div.toc li.level3 { - margin-left: 0 !important; - margin-right: 30px; -} - -.PageDocRTL-title div.toc li.level4 { - margin-left: 0 !important; - margin-right: 45px; +span.obfuscator { + display: none; } .inherit_header { font-weight: bold; - color: gray; + color: var(--inherit-header-color); cursor: pointer; -webkit-touch-callout: none; -webkit-user-select: none; @@ -1541,11 +1771,12 @@ tr.heading h2 { #powerTip { cursor: default; - white-space: nowrap; - background-color: white; - border: 1px solid gray; + /*white-space: nowrap;*/ + color: var(--tooltip-foreground-color); + background-color: var(--tooltip-background-color); + border: 1px solid var(--tooltip-border-color); border-radius: 4px 4px 4px 4px; - box-shadow: 1px 1px 7px gray; + box-shadow: var(--tooltip-shadow); display: none; font-size: smaller; max-width: 80%; @@ -1556,7 +1787,7 @@ tr.heading h2 { } #powerTip div.ttdoc { - color: grey; + color: var(--tooltip-doc-color); font-style: italic; } @@ -1564,18 +1795,24 @@ tr.heading h2 { font-weight: bold; } +#powerTip a { + color: var(--tooltip-link-color); +} + #powerTip div.ttname { font-weight: bold; } #powerTip div.ttdeci { - color: #006318; + color: var(--tooltip-declaration-color); } #powerTip div { margin: 0px; padding: 0px; - font: 12px/16px Roboto,sans-serif; + font-size: 12px; + font-family: var(--font-family-tooltip); + line-height: 16px; } #powerTip:before, #powerTip:after { @@ -1620,12 +1857,12 @@ tr.heading h2 { } #powerTip.n:after, #powerTip.ne:after, #powerTip.nw:after { - border-top-color: #FFFFFF; + border-top-color: var(--tooltip-background-color); border-width: 10px; margin: 0px -10px; } -#powerTip.n:before { - border-top-color: #808080; +#powerTip.n:before, #powerTip.ne:before, #powerTip.nw:before { + border-top-color: var(--tooltip-border-color); border-width: 11px; margin: 0px -11px; } @@ -1648,13 +1885,13 @@ tr.heading h2 { } #powerTip.s:after, #powerTip.se:after, #powerTip.sw:after { - border-bottom-color: #FFFFFF; + border-bottom-color: var(--tooltip-background-color); border-width: 10px; margin: 0px -10px; } #powerTip.s:before, #powerTip.se:before, #powerTip.sw:before { - border-bottom-color: #808080; + border-bottom-color: var(--tooltip-border-color); border-width: 11px; margin: 0px -11px; } @@ -1675,13 +1912,13 @@ tr.heading h2 { left: 100%; } #powerTip.e:after { - border-left-color: #FFFFFF; + border-left-color: var(--tooltip-border-color); border-width: 10px; top: 50%; margin-top: -10px; } #powerTip.e:before { - border-left-color: #808080; + border-left-color: var(--tooltip-border-color); border-width: 11px; top: 50%; margin-top: -11px; @@ -1691,13 +1928,13 @@ tr.heading h2 { right: 100%; } #powerTip.w:after { - border-right-color: #FFFFFF; + border-right-color: var(--tooltip-border-color); border-width: 10px; top: 50%; margin-top: -10px; } #powerTip.w:before { - border-right-color: #808080; + border-right-color: var(--tooltip-border-color); border-width: 11px; top: 50%; margin-top: -11px; @@ -1731,7 +1968,7 @@ table.markdownTable { } table.markdownTable td, table.markdownTable th { - border: 1px solid #2D4068; + border: 1px solid var(--table-cell-border-color); padding: 3px 7px 2px; } @@ -1739,8 +1976,8 @@ table.markdownTable tr { } th.markdownTableHeadLeft, th.markdownTableHeadRight, th.markdownTableHeadCenter, th.markdownTableHeadNone { - background-color: #374F7F; - color: #FFFFFF; + background-color: var(--table-header-background-color); + color: var(--table-header-foreground-color); font-size: 110%; padding-bottom: 4px; padding-top: 5px; @@ -1758,32 +1995,9 @@ th.markdownTableHeadCenter, td.markdownTableBodyCenter { text-align: center } -.DocNodeRTL { - text-align: right; - direction: rtl; -} - -.DocNodeLTR { - text-align: left; - direction: ltr; -} - -table.DocNodeRTL { - width: auto; - margin-right: 0; - margin-left: auto; -} - -table.DocNodeLTR { - width: auto; - margin-right: auto; - margin-left: 0; -} - tt, code, kbd, samp { display: inline-block; - direction:ltr; } /* @end */ @@ -1791,3 +2005,41 @@ u { text-decoration: underline; } +details>summary { + list-style-type: none; +} + +details > summary::-webkit-details-marker { + display: none; +} + +details>summary::before { + content: "\25ba"; + padding-right:4px; + font-size: 80%; +} + +details[open]>summary::before { + content: "\25bc"; + padding-right:4px; + font-size: 80%; +} + +body { + scrollbar-color: var(--scrollbar-thumb-color) var(--scrollbar-background-color); +} + +::-webkit-scrollbar { + background-color: var(--scrollbar-background-color); + height: 12px; + width: 12px; +} +::-webkit-scrollbar-thumb { + border-radius: 6px; + box-shadow: inset 0 0 12px 12px var(--scrollbar-thumb-color); + border: solid 2px transparent; +} +::-webkit-scrollbar-corner { + background-color: var(--scrollbar-background-color); +} + diff --git a/doxygen.svg b/doxygen.svg index d42dad5..79a7635 100644 --- a/doxygen.svg +++ b/doxygen.svg @@ -1,4 +1,6 @@ + @@ -17,7 +19,7 @@ - + diff --git a/dynsections.js b/dynsections.js index 3174bd7..b73c828 100644 --- a/dynsections.js +++ b/dynsections.js @@ -47,6 +47,8 @@ function updateStripes() { $('table.directory tr'). removeClass('even').filter(':visible:even').addClass('even'); + $('table.directory tr'). + removeClass('odd').filter(':visible:odd').addClass('odd'); } function toggleLevel(level) @@ -118,4 +120,73 @@ function toggleInherit(id) $(img).attr('src',src.substring(0,src.length-10)+'open.png'); } } + +var opened=true; +// in case HTML_COLORSTYLE is LIGHT or DARK the vars will be replaced, so we write them out explicitly and use double quotes +var plusImg = [ "var(--fold-plus-image)", "var(--fold-plus-image-relpath)" ]; +var minusImg = [ "var(--fold-minus-image)", "var(--fold-minus-image-relpath)" ]; + +// toggle all folding blocks +function codefold_toggle_all(relPath) { + if (opened) { + $('#fold_all').css('background-image',plusImg[relPath]); + $('div[id^=foldopen]').hide(); + $('div[id^=foldclosed]').show(); + } else { + $('#fold_all').css('background-image',minusImg[relPath]); + $('div[id^=foldopen]').show(); + $('div[id^=foldclosed]').hide(); + } + opened=!opened; +} + +// toggle single folding block +function codefold_toggle(id) { + $('#foldopen'+id).toggle(); + $('#foldclosed'+id).toggle(); +} +function init_codefold(relPath) { + $('span[class=lineno]').css( + {'padding-right':'4px', + 'margin-right':'2px', + 'display':'inline-block', + 'width':'54px', + 'background':'linear-gradient(var(--fold-line-color),var(--fold-line-color)) no-repeat 46px/2px 100%' + }); + // add global toggle to first line + $('span[class=lineno]:first').append(''); + // add vertical lines to other rows + $('span[class=lineno]').not(':eq(0)').append(''); + // add toggle controls to lines with fold divs + $('div[class=foldopen]').each(function() { + // extract specific id to use + var id = $(this).attr('id').replace('foldopen',''); + // extract start and end foldable fragment attributes + var start = $(this).attr('data-start'); + var end = $(this).attr('data-end'); + // replace normal fold span with controls for the first line of a foldable fragment + $(this).find('span[class=fold]:first').replaceWith(''); + // append div for folded (closed) representation + $(this).after(''); + // extract the first line from the "open" section to represent closed content + var line = $(this).children().first().clone(); + // remove any glow that might still be active on the original line + $(line).removeClass('glow'); + if (start) { + // if line already ends with a start marker (e.g. trailing {), remove it + $(line).html($(line).html().replace(new RegExp('\\s*'+start+'\\s*$','g'),'')); + } + // replace minus with plus symbol + $(line).find('span[class=fold]').css('background-image',plusImg[relPath]); + // append ellipsis + $(line).append(' '+start+''+end); + // insert constructed line into closed div + $('#foldclosed'+id).html(line); + }); +} + /* @license-end */ diff --git a/files.html b/files.html index 563188e..9691c66 100644 --- a/files.html +++ b/files.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: File List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,47 +76,56 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); });
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    File List
    +
    File List
    Here is a list of all documented files with brief descriptions:
    [detail level 12]
    - + - + - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + +
      src
     HIDKeyboardTypes.h
     HIDKeyboardTypes.h
     HIDTypes.h
     NimBLE2904.h
     NimBLE2904.h
     NimBLEAddress.h
     NimBLEAdvertisedDevice.h
     NimBLEAdvertising.h
     NimBLEAttValue.h
     NimBLEBeacon.h
     NimBLECharacteristic.h
     NimBLEClient.h
     NimBLEConnInfo.h
     NimBLEDescriptor.h
     NimBLEDevice.h
     NimBLEEddystoneTLM.h
     NimBLEEddystoneURL.h
     NimBLEExtAdvertising.h
     NimBLEHIDDevice.h
     NimBLELog.h
     NimBLERemoteCharacteristic.h
     NimBLERemoteDescriptor.h
     NimBLERemoteService.h
     NimBLEScan.h
     NimBLESecurity.h
     NimBLEServer.h
     NimBLEService.h
     NimBLEUtils.h
     NimBLEUUID.h
     nimconfig.h
     NimBLEAdvertisedDevice.h
     NimBLEAdvertisementData.h
     NimBLEAdvertising.h
     NimBLEAttribute.h
     NimBLEAttValue.h
     NimBLEBeacon.h
     NimBLECharacteristic.h
     NimBLEClient.h
     NimBLEConnInfo.h
     NimBLEDescriptor.h
     NimBLEDevice.h
     NimBLEEddystoneTLM.h
     NimBLEExtAdvertising.h
     NimBLEHIDDevice.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
     nimconfig.h
    @@ -124,7 +133,7 @@ $(document).ready(function(){initNavTree('files.html',''); initResizable(); }); diff --git a/folderclosed.png b/folderclosed.png deleted file mode 100644 index bb8ab35edce8e97554e360005ee9fc5bffb36e66..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 616 zcmeAS@N?(olHy`uVBq!ia0y~yV31&7U=ZVAV_;yoRU6a6z`&&M>Eakt!T2`T*Z+!x zMBS}lr8g$z6vTdG-mg6SXly{_1Xt&d7|Wl`dnzy9Pq=pE|AWT=2ToRee#E%QSwT&} zw(!CcfnN5-jMK}ap3g1YW}MqN;YM?N**u@$e$Q*~eXqSYcW;!V0E0u`21W({Cw>K7 z43jE8|MTAP@uPG@#ht7v8!U=1GBr$AnA|X@KVDjHPxPU;&z8S;VPH^inkrIRnX3I` z&u?yXWu_v(`8n_ZaAa%o>@&EqCO&0#yvBo%ho^0P@TJO@;bXpYv#0mbC`7D>Bj;!>6saJ1(pm;Cd_1Xbv?Ic z#ko@xl@^pPotwwrpc15HU%gYzW`sHkOzmi8Pog(+QZT$66JI>~%l+tpe1-+|W z3a1oqiCMGy(oB}bX$(CRS33T0;8(h`b-~P6^Irrku4R-^c70GKQ~g`dB2(dA!RA*Q zjxOac%h+96Y+kKNc3mc>!t0T8>WCQ6lwLinn>_A)y37m-Jw8o;_o*-HJYuuNS;lkK zUhA93L!wePX4YEUz4&s!sp`75_x0r#C1MObOZvD9Wu}N(m6rW4n|gQlnoT#$Tp#6C zxA<;%i%8#dCM`qI%S6a=^nig63;?8SjV}a-AgBgB=|M>s^ eVv+g}?khiKem3!}T*$z{z~JfX=d#Wzp$P!>ZX#j; diff --git a/folderclosed.svg b/folderclosed.svg new file mode 100644 index 0000000..b04bed2 --- /dev/null +++ b/folderclosed.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/folderclosedd.svg b/folderclosedd.svg new file mode 100644 index 0000000..52f0166 --- /dev/null +++ b/folderclosedd.svg @@ -0,0 +1,11 @@ + + + + + + + + + + diff --git a/folderopen.png b/folderopen.png deleted file mode 100644 index d6c7f676a3b3ef8c2c307d319dff3c6a604eb227..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 597 zcmeAS@N?(olHy`uVBq!ia0y~yV31&7U=ZVAV_;yoRU6a6z`!Kq>Eakt!T2`TKL2un zz<x}AR=$zQt$$#L0c|y{QD>v87z44Pz$Ky??`WF?k30jRI zTVtC-7P`m<+&W@be!jL-)_S3{wL;?l%X9C~|9$uUyLo%E90eE-to3AL$P4~g+hEDy zG5KuOxvwv_QeX{r{3_4-KHC&iIZo;fX=zyIHn>5GeRiZbq% z+IzF7jpyWQ@!2a6L>@0>P*8L~zF(&7O#9A@H`dMK-q6!@#cd};ZK2%KB)-`1O#J3= zw=)=M-b$Ih@Batg7rSZ$(w;277FlgF^Wq_g+F#GUd^EcK=gM@kkH4P!^>{WNJl>rA z{NOIt#cM*lHh6B%l}_IHg>}Z$Jy(v+{d2ojwzB=@_J0=Us`WK=%bBL< zBFgiwcT9c%yGYg{M}^@>!2co-hQvh4*1LSp)K zN>*hF7;(tDIabKCm+7+k%$F><-XmMU6>`K=pDSi*ahmwsz1BQgVVNP#FMch_k4r8% z`e)B?>EFB0C&f-V)UarY4S!qWzpHaLO}>Abc}C^r#eB;x`>lH3{nS3tzge!~;{zR6 z?s;jO&0hL3bo3r^UF;oNdnZoFT6)`!yr@N`_eIu*2AfRhy}0Ie(%X4{+w^W_FT0Ty za^%}CRk^LJ9&ygiTpxDi)ZI_ZXY!o*Db27$^XGqe=7yP{*mrqxID{;yn8Luoz~JfX K=d#Wzp$PzT5g5Y& diff --git a/folderopen.svg b/folderopen.svg new file mode 100644 index 0000000..f6896dd --- /dev/null +++ b/folderopen.svg @@ -0,0 +1,17 @@ + + + + + + + + + + diff --git a/folderopend.svg b/folderopend.svg new file mode 100644 index 0000000..2d1f06e --- /dev/null +++ b/folderopend.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + diff --git a/functions.html b/functions.html index 92a1da5..f9dbffa 100644 --- a/functions.html +++ b/functions.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,58 +76,38 @@ $(document).ready(function(){initNavTree('functions.html',''); initResizable();
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - a -

    diff --git a/functions_b.html b/functions_b.html index 4b262ac..14d2d49 100644 --- a/functions_b.html +++ b/functions_b.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,44 +76,31 @@ $(document).ready(function(){initNavTree('functions_b.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - b -

    diff --git a/functions_c.html b/functions_c.html index 4710664..51fb0d9 100644 --- a/functions_c.html +++ b/functions_c.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,76 +76,48 @@ $(document).ready(function(){initNavTree('functions_c.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - c -

    diff --git a/functions_d.html b/functions_d.html index 48afd71..716e5d1 100644 --- a/functions_d.html +++ b/functions_d.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,72 +76,44 @@ $(document).ready(function(){initNavTree('functions_d.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - d -

    diff --git a/functions_dup.js b/functions_dup.js index 48701ec..d89482d 100644 --- a/functions_dup.js +++ b/functions_dup.js @@ -13,7 +13,6 @@ var functions_dup = [ "m", "functions_m.html", null ], [ "n", "functions_n.html", null ], [ "o", "functions_o.html", null ], - [ "p", "functions_p.html", null ], [ "r", "functions_r.html", null ], [ "s", "functions_s.html", null ], [ "t", "functions_t.html", null ], diff --git a/functions_e.html b/functions_e.html index 01433cb..83eb7c0 100644 --- a/functions_e.html +++ b/functions_e.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,39 +76,35 @@ $(document).ready(function(){initNavTree('functions_e.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - e -

    diff --git a/functions_enum.html b/functions_enum.html deleted file mode 100644 index 3d43f9b..0000000 --- a/functions_enum.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - - -esp-nimble-cpp: Class Members - Enumerations - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    - - - - diff --git a/functions_f.html b/functions_f.html index 76341f6..c64cbf4 100644 --- a/functions_f.html +++ b/functions_f.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,28 +76,30 @@ $(document).ready(function(){initNavTree('functions_f.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - f -

    diff --git a/functions_func.html b/functions_func.html index e3346ae..8159505 100644 --- a/functions_func.html +++ b/functions_func.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,58 +76,38 @@ $(document).ready(function(){initNavTree('functions_func.html',''); initResizabl
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - a -

    diff --git a/functions_func.js b/functions_func.js index ba1e04b..6a8405e 100644 --- a/functions_func.js +++ b/functions_func.js @@ -13,7 +13,6 @@ var functions_func = [ "m", "functions_func_m.html", null ], [ "n", "functions_func_n.html", null ], [ "o", "functions_func_o.html", null ], - [ "p", "functions_func_p.html", null ], [ "r", "functions_func_r.html", null ], [ "s", "functions_func_s.html", null ], [ "t", "functions_func_t.html", null ], diff --git a/functions_func_b.html b/functions_func_b.html index 346f21d..9cb7d86 100644 --- a/functions_func_b.html +++ b/functions_func_b.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,44 +76,31 @@ $(document).ready(function(){initNavTree('functions_func_b.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - b -

    diff --git a/functions_func_c.html b/functions_func_c.html index 719efdd..02d51d0 100644 --- a/functions_func_c.html +++ b/functions_func_c.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,76 +76,48 @@ $(document).ready(function(){initNavTree('functions_func_c.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - c -

    diff --git a/functions_func_d.html b/functions_func_d.html index 02f6c04..d025f82 100644 --- a/functions_func_d.html +++ b/functions_func_d.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,72 +76,44 @@ $(document).ready(function(){initNavTree('functions_func_d.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - d -

    diff --git a/functions_func_e.html b/functions_func_e.html index fd244fc..deff905 100644 --- a/functions_func_e.html +++ b/functions_func_e.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,39 +76,35 @@ $(document).ready(function(){initNavTree('functions_func_e.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - e -

    diff --git a/functions_func_f.html b/functions_func_f.html index 9dc7960..50ae2c7 100644 --- a/functions_func_f.html +++ b/functions_func_f.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,28 +76,30 @@ $(document).ready(function(){initNavTree('functions_func_f.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - f -

    diff --git a/functions_func_g.html b/functions_func_g.html index e76a3e0..517ef5b 100644 --- a/functions_func_g.html +++ b/functions_func_g.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,361 +76,145 @@ $(document).ready(function(){initNavTree('functions_func_g.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - g -

    diff --git a/functions_func_h.html b/functions_func_h.html index d309930..e497362 100644 --- a/functions_func_h.html +++ b/functions_func_h.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,64 +76,42 @@ $(document).ready(function(){initNavTree('functions_func_h.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - h -

    diff --git a/functions_func_i.html b/functions_func_i.html index d253aa3..ce79bd4 100644 --- a/functions_func_i.html +++ b/functions_func_i.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,72 +76,53 @@ $(document).ready(function(){initNavTree('functions_func_i.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - i -

    diff --git a/functions_func_l.html b/functions_func_l.html index 5b0dfe0..a02d863 100644 --- a/functions_func_l.html +++ b/functions_func_l.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,25 +76,30 @@ $(document).ready(function(){initNavTree('functions_func_l.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - l -

    diff --git a/functions_func_m.html b/functions_func_m.html index 9ba3ac7..1363df0 100644 --- a/functions_func_m.html +++ b/functions_func_m.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,28 +76,30 @@ $(document).ready(function(){initNavTree('functions_func_m.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - m -

    diff --git a/functions_func_n.html b/functions_func_n.html index 91427e2..c355009 100644 --- a/functions_func_n.html +++ b/functions_func_n.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,67 +76,43 @@ $(document).ready(function(){initNavTree('functions_func_n.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - n -

    diff --git a/functions_func_o.html b/functions_func_o.html index 46e2e5f..adcb633 100644 --- a/functions_func_o.html +++ b/functions_func_o.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,122 +76,63 @@ $(document).ready(function(){initNavTree('functions_func_o.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - o -

    diff --git a/functions_func_p.html b/functions_func_p.html deleted file mode 100644 index d5d39ad..0000000 --- a/functions_func_p.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -esp-nimble-cpp: Class Members - Functions - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -  - -

    - p -

    -
    -
    - - - - diff --git a/functions_func_r.html b/functions_func_r.html index 9313fd1..0572151 100644 --- a/functions_func_r.html +++ b/functions_func_r.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,74 +76,41 @@ $(document).ready(function(){initNavTree('functions_func_r.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - r -

    diff --git a/functions_func_s.html b/functions_func_s.html index f19ce28..e583a3f 100644 --- a/functions_func_s.html +++ b/functions_func_s.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,350 +76,128 @@ $(document).ready(function(){initNavTree('functions_func_s.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - s -

    diff --git a/functions_func_t.html b/functions_func_t.html index ee12a3b..b10c7f1 100644 --- a/functions_func_t.html +++ b/functions_func_t.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,42 +76,34 @@ $(document).ready(function(){initNavTree('functions_func_t.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    diff --git a/functions_func_u.html b/functions_func_u.html index 0d03594..c4925c6 100644 --- a/functions_func_u.html +++ b/functions_func_u.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,29 +76,32 @@ $(document).ready(function(){initNavTree('functions_func_u.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - u -

    diff --git a/functions_func_w.html b/functions_func_w.html index 0e28ba9..e0b383e 100644 --- a/functions_func_w.html +++ b/functions_func_w.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,32 +76,31 @@ $(document).ready(function(){initNavTree('functions_func_w.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - w -

    diff --git a/functions_func_~.html b/functions_func_~.html index 460e6db..ce9c53b 100644 --- a/functions_func_~.html +++ b/functions_func_~.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members - Functions @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,40 +76,36 @@ $(document).ready(function(){initNavTree('functions_func_~.html',''); initResiza
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -  +
    Here is a list of all documented functions with links to the class documentation for each member:
    -

    - ~ -

    diff --git a/functions_g.html b/functions_g.html index 9891845..50942de 100644 --- a/functions_g.html +++ b/functions_g.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,361 +76,145 @@ $(document).ready(function(){initNavTree('functions_g.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - g -

    diff --git a/functions_h.html b/functions_h.html index e07d347..d449b1d 100644 --- a/functions_h.html +++ b/functions_h.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,64 +76,42 @@ $(document).ready(function(){initNavTree('functions_h.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - h -

    diff --git a/functions_i.html b/functions_i.html index b0c2139..6c4020e 100644 --- a/functions_i.html +++ b/functions_i.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,72 +76,53 @@ $(document).ready(function(){initNavTree('functions_i.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - i -

    diff --git a/functions_l.html b/functions_l.html index 4f9c057..74a4cbc 100644 --- a/functions_l.html +++ b/functions_l.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,25 +76,30 @@ $(document).ready(function(){initNavTree('functions_l.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - l -

    diff --git a/functions_m.html b/functions_m.html index 1875933..2c9b83e 100644 --- a/functions_m.html +++ b/functions_m.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,28 +76,30 @@ $(document).ready(function(){initNavTree('functions_m.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - m -

    diff --git a/functions_n.html b/functions_n.html index a4a2779..f4ba39b 100644 --- a/functions_n.html +++ b/functions_n.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,67 +76,43 @@ $(document).ready(function(){initNavTree('functions_n.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - n -

    diff --git a/functions_o.html b/functions_o.html index 1acd30e..cabc50b 100644 --- a/functions_o.html +++ b/functions_o.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,122 +76,63 @@ $(document).ready(function(){initNavTree('functions_o.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - o -

    diff --git a/functions_p.html b/functions_p.html deleted file mode 100644 index 784ff8a..0000000 --- a/functions_p.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - - -esp-nimble-cpp: Class Members - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    Here is a list of all documented class members with links to the class documentation for each member:
    - -

    - p -

    -
    -
    - - - - diff --git a/functions_r.html b/functions_r.html index b57a0e7..bc73eb0 100644 --- a/functions_r.html +++ b/functions_r.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,74 +76,41 @@ $(document).ready(function(){initNavTree('functions_r.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - r -

    diff --git a/functions_s.html b/functions_s.html index 8e7b728..7f40d21 100644 --- a/functions_s.html +++ b/functions_s.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,353 +76,128 @@ $(document).ready(function(){initNavTree('functions_s.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - s -

    diff --git a/functions_t.html b/functions_t.html index 26b7783..962543b 100644 --- a/functions_t.html +++ b/functions_t.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,42 +76,34 @@ $(document).ready(function(){initNavTree('functions_t.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    diff --git a/functions_u.html b/functions_u.html index 7b28364..f84814b 100644 --- a/functions_u.html +++ b/functions_u.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,29 +76,32 @@ $(document).ready(function(){initNavTree('functions_u.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - u -

    diff --git a/functions_w.html b/functions_w.html index 10155c9..8ae0114 100644 --- a/functions_w.html +++ b/functions_w.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,32 +76,31 @@ $(document).ready(function(){initNavTree('functions_w.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - w -

    diff --git a/functions_~.html b/functions_~.html index 375d179..1ea2541 100644 --- a/functions_~.html +++ b/functions_~.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,40 +76,36 @@ $(document).ready(function(){initNavTree('functions_~.html',''); initResizable()
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented class members with links to the class documentation for each member:
    -

    - ~ -

    diff --git a/globals.html b/globals.html index d1d1ff9..b77569d 100644 --- a/globals.html +++ b/globals.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: File Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,86 +76,49 @@ $(document).ready(function(){initNavTree('globals.html',''); initResizable(); })
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    Here is a list of all documented file members with links to the documentation:
    diff --git a/globals_defs.html b/globals_defs.html index 9d2dab4..8bfbd37 100644 --- a/globals_defs.html +++ b/globals_defs.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: File Members @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,86 +76,49 @@ $(document).ready(function(){initNavTree('globals_defs.html',''); initResizable(
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
      -
    • CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_LOG_LEVEL -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_MAX_BONDS -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_MAX_CCCDS -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_MAX_CONNECTIONS -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_PINNED_TO_CORE -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_RPA_TIMEOUT -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME -: nimconfig.h -
    • -
    • CONFIG_BT_NIMBLE_TASK_STACK_SIZE -: nimconfig.h -
    • -
    • CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH -: nimconfig.h -
    • -
    • CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED -: nimconfig.h -
    • -
    • CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT -: nimconfig.h -
    • -
    • CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT -: nimconfig.h -
    • -
    • CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT -: nimconfig.h -
    • -
    • CONFIG_NIMBLE_CPP_LOG_LEVEL -: nimconfig.h -
    • +
      Here is a list of all documented macros with links to the documentation:
    diff --git a/hierarchy.html b/hierarchy.html index 4709eae..2d6c9bb 100644 --- a/hierarchy.html +++ b/hierarchy.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Class Hierarchy @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,52 +76,53 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable();
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    Class Hierarchy
    +
    Class Hierarchy
    This inheritance list is sorted roughly, but not completely, alphabetically:
    -
    [detail level 12]
    +
    [detail level 123]
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + +
     CNimBLEAddressA BLE device address
     CNimBLEAdvertisedDeviceA representation of a BLE advertised device found by a scan
     CNimBLEAdvertisedDeviceCallbacksA callback handler for callbacks associated device scanning
     CNimBLEAdvertisementDataAdvertisement data set by the programmer to be published by the BLE server
     CNimBLEAdvertisingPerform and manage BLE advertising
     CNimBLEAttValueA specialized container class to hold BLE attribute values
     CNimBLEBeaconRepresentation of a beacon. See:
     CNimBLECharacteristicThe model of a BLE Characteristic
     CNimBLECharacteristicCallbacksCallbacks that can be associated with a BLE characteristic to inform of events
     CNimBLEClientA model of a BLE client
     CNimBLEClientCallbacksCallbacks associated with a BLE client
     CNimBLEConnInfoConnection information
     CNimBLEDescriptorA model of a BLE descriptor
     CNimBLE2904Descriptor for Characteristic Presentation Format
     CNimBLEDescriptorCallbacksCallbacks that can be associated with a BLE descriptors to inform of events
     CNimBLEDeviceA model of a BLE Device from which all the BLE roles are created
     CNimBLEEddystoneTLMRepresentation of a beacon. See:
     CNimBLEEddystoneURLRepresentation of a beacon. See:
     CNimBLEExtAdvertisementExtended advertisement data
     CNimBLEExtAdvertisingExtended advertising class
     CNimBLEExtAdvertisingCallbacksCallbacks associated with NimBLEExtAdvertising class
     CNimBLEHIDDeviceA model of a BLE Human Interface Device
     CNimBLERemoteCharacteristicA model of a remote BLE characteristic
     CNimBLERemoteDescriptorA model of remote BLE descriptor
     CNimBLERemoteServiceA model of a remote BLE service
     CNimBLEScanPerform and manage BLE scans
     CNimBLEScanResultsA class that contains and operates on the results of a BLE scan
     CNimBLESecurityA class to handle BLE security operations. Deprecated - provided for backward compatibility only.
     CNimBLESecurityCallbacksCallbacks to handle GAP events related to authorization. Deprecated - provided for backward compatibility only.
     CNimBLEServerThe model of a BLE server
     CNimBLEServerCallbacksCallbacks associated with the operation of a BLE server
     CNimBLEServiceThe model of a BLE service
     CNimBLEUtilsA BLE Utility class with methods for debugging and general purpose use
     CNimBLEUUIDA model of a BLE UUID
     CNimBLEAdvertisedDeviceA representation of a BLE advertised device found by a scan
     CNimBLEAdvertisementDataAdvertisement data set by the programmer to be published by the BLE server
     CNimBLEAdvertisingPerform and manage BLE advertising
     CNimBLEAttributeA base class for BLE attributes
     CNimBLELocalAttributeA base class for local BLE attributes
     CNimBLEServiceThe model of a BLE service
     CNimBLERemoteServiceA model of a remote BLE service
     CNimBLEAttValueA specialized container class to hold BLE attribute values
     CNimBLEBeaconRepresentation of a beacon. See:
     CNimBLECharacteristicCallbacksCallbacks that can be associated with a BLE characteristic to inform of events
     CNimBLEClientA model of a BLE client
     CNimBLEClientCallbacksCallbacks associated with a BLE client
     CNimBLEConnInfoConnection information
     CNimBLEDescriptorCallbacksCallbacks that can be associated with a BLE descriptors to inform of events
     CNimBLEDeviceA model of a BLE Device from which all the BLE roles are created
     CNimBLEEddystoneTLMRepresentation of a beacon. See:
     CNimBLEExtAdvertisementExtended advertisement data
     CNimBLEExtAdvertisingExtended advertising class
     CNimBLEExtAdvertisingCallbacksCallbacks associated with NimBLEExtAdvertising class
     CNimBLEHIDDeviceA model of a BLE Human Interface Device
     CNimBLEScanPerform and manage BLE scans
     CNimBLEScanCallbacksA callback handler for callbacks associated device scanning
     CNimBLEScanResultsA class that contains and operates on the results of a BLE scan
     CNimBLEServerThe model of a BLE server
     CNimBLEServerCallbacksCallbacks associated with the operation of a BLE server
     CNimBLETaskDataA structure to hold data for a task that is waiting for a response
     CNimBLEUtilsA BLE Utility class with methods for debugging and general purpose use
     CNimBLEUUIDA model of a BLE UUID
    @@ -129,7 +130,7 @@ $(document).ready(function(){initNavTree('hierarchy.html',''); initResizable(); diff --git a/hierarchy.js b/hierarchy.js index d60db1e..672f9f5 100644 --- a/hierarchy.js +++ b/hierarchy.js @@ -2,37 +2,33 @@ var hierarchy = [ [ "NimBLEAddress", "class_nim_b_l_e_address.html", null ], [ "NimBLEAdvertisedDevice", "class_nim_b_l_e_advertised_device.html", null ], - [ "NimBLEAdvertisedDeviceCallbacks", "class_nim_b_l_e_advertised_device_callbacks.html", null ], [ "NimBLEAdvertisementData", "class_nim_b_l_e_advertisement_data.html", null ], [ "NimBLEAdvertising", "class_nim_b_l_e_advertising.html", null ], + [ "NimBLEAttribute", "class_nim_b_l_e_attribute.html", [ + [ "NimBLELocalAttribute", "class_nim_b_l_e_local_attribute.html", [ + [ "NimBLEService", "class_nim_b_l_e_service.html", null ] + ] ], + [ "NimBLERemoteService", "class_nim_b_l_e_remote_service.html", null ] + ] ], [ "NimBLEAttValue", "class_nim_b_l_e_att_value.html", null ], [ "NimBLEBeacon", "class_nim_b_l_e_beacon.html", null ], - [ "NimBLECharacteristic", "class_nim_b_l_e_characteristic.html", null ], [ "NimBLECharacteristicCallbacks", "class_nim_b_l_e_characteristic_callbacks.html", null ], [ "NimBLEClient", "class_nim_b_l_e_client.html", null ], [ "NimBLEClientCallbacks", "class_nim_b_l_e_client_callbacks.html", null ], [ "NimBLEConnInfo", "class_nim_b_l_e_conn_info.html", null ], - [ "NimBLEDescriptor", "class_nim_b_l_e_descriptor.html", [ - [ "NimBLE2904", "class_nim_b_l_e2904.html", null ] - ] ], [ "NimBLEDescriptorCallbacks", "class_nim_b_l_e_descriptor_callbacks.html", null ], [ "NimBLEDevice", "class_nim_b_l_e_device.html", null ], [ "NimBLEEddystoneTLM", "class_nim_b_l_e_eddystone_t_l_m.html", null ], - [ "NimBLEEddystoneURL", "class_nim_b_l_e_eddystone_u_r_l.html", null ], [ "NimBLEExtAdvertisement", "class_nim_b_l_e_ext_advertisement.html", null ], [ "NimBLEExtAdvertising", "class_nim_b_l_e_ext_advertising.html", null ], [ "NimBLEExtAdvertisingCallbacks", "class_nim_b_l_e_ext_advertising_callbacks.html", null ], [ "NimBLEHIDDevice", "class_nim_b_l_e_h_i_d_device.html", null ], - [ "NimBLERemoteCharacteristic", "class_nim_b_l_e_remote_characteristic.html", null ], - [ "NimBLERemoteDescriptor", "class_nim_b_l_e_remote_descriptor.html", null ], - [ "NimBLERemoteService", "class_nim_b_l_e_remote_service.html", null ], [ "NimBLEScan", "class_nim_b_l_e_scan.html", null ], + [ "NimBLEScanCallbacks", "class_nim_b_l_e_scan_callbacks.html", null ], [ "NimBLEScanResults", "class_nim_b_l_e_scan_results.html", null ], - [ "NimBLESecurity", "class_nim_b_l_e_security.html", null ], - [ "NimBLESecurityCallbacks", "class_nim_b_l_e_security_callbacks.html", null ], [ "NimBLEServer", "class_nim_b_l_e_server.html", null ], [ "NimBLEServerCallbacks", "class_nim_b_l_e_server_callbacks.html", null ], - [ "NimBLEService", "class_nim_b_l_e_service.html", null ], + [ "NimBLETaskData", "struct_nim_b_l_e_task_data.html", null ], [ "NimBLEUtils", "class_nim_b_l_e_utils.html", null ], [ "NimBLEUUID", "class_nim_b_l_e_u_u_i_d.html", null ] ]; \ No newline at end of file diff --git a/index.html b/index.html index ad58af2..b569d31 100644 --- a/index.html +++ b/index.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Overview @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,17 +76,23 @@ $(document).ready(function(){initNavTree('index.html',''); initResizable(); });
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    -
    Overview
    +
    +
    Overview
    -

    This is a C++ BLE library for the ESP32 that uses the NimBLE host stack instead of bluedroid.
    +

    This is a C++ BLE library for the ESP32 that uses the NimBLE host stack instead of bluedroid.
    The aim is to maintain, as much as reasonable, the original bluedroid C++ & Arduino BLE API by while adding new features
    and making improvements in performance, resource use, and stability.

    @@ -94,52 +100,40 @@ $(document).ready(function(){initNavTree('index.html',''); initResizable(); }); Your results may vary

    -

    +

    What is NimBLE?

    NimBLE is a completely open source Bluetooth Low Energy stack produced by Apache.
    It is more suited to resource constrained devices than bluedroid and has now been ported to the ESP32 by Espressif.

    -

    +

    ESP-IDF Installation

    -

    -v4.0+

    +

    +v4.0+

    Download as .zip and extract or clone into the components folder in your esp-idf project.

    Run menuconfig, go to Component config->Bluetooth enable Bluetooth and in Bluetooth host NimBLE.
    Configure settings in NimBLE Options.
    #include "NimBLEDevice.h" in main.cpp.
    - Call NimBLEDevice::init in app_main.
    + Call NimBLEDevice::init in app_main.

    -

    -v3.2 & v3.3

    -

    The NimBLE component does not come with these versions of IDF (now included in 3.3.2 and above).
    - A backport that works in these versions has been created and is available here.
    - Download or clone that repo into your project/components folder and run menuconfig. Configure settings in main menu -> NimBLE Options.
    -

    -

    #include "NimBLEDevice.h" in main.cpp.
    - Call NimBLEDevice::init in app_main.
    -
    -
    -

    -

    +

    Using

    This library is intended to be compatible with the original ESP32 BLE functions and types with minor changes.

    -

    If you have not used the original Bluedroid library please refer to the New user guide.

    -

    If you are familiar with the original library, see: The migration guide for details.
    +

    If you have not used the original Bluedroid library please refer to the New user guide.

    +

    If you are familiar with the original library, see: The migration guide for details.

    -

    Also see Improvements and updates for information about non-breaking changes.
    -

    -

    For more advanced usage see Usage tips for more performance and optimization.
    +

    For more advanced usage see Usage tips for more performance and optimization.

    -

    -Need help? Have a question or suggestion?

    -

    Come chat on gitter or open an issue at NimBLE-Arduino or esp-nimble-cpp
    +

    +Sponsors

    +

    Thank you to all the sponsors who support this project!

    +

    If you use this library for a commercial product please consider sponsoring the development to ensure the continued updates and maintenance.

    -

    +

    Acknowledgments

    • nkolban and chegewara for the original esp32 BLE library this project was derived from.
    • @@ -154,7 +148,7 @@ Acknowledgments diff --git a/index.js b/index.js new file mode 100644 index 0000000..7b97a4b --- /dev/null +++ b/index.js @@ -0,0 +1,10 @@ +var index = +[ + [ "What is NimBLE?", "index.html#what-is-nimble", null ], + [ "ESP-IDF Installation", "index.html#esp-idf-installation", [ + [ "v4.0+", "index.html#v40", null ] + ] ], + [ "Using", "index.html#using", null ], + [ "Sponsors", "index.html#sponsors", null ], + [ "Acknowledgments", "index.html#acknowledgments", null ] +]; \ No newline at end of file diff --git a/jquery.js b/jquery.js index 103c32d..1dffb65 100644 --- a/jquery.js +++ b/jquery.js @@ -1,12 +1,11 @@ -/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */ -!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(C,e){"use strict";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement("script");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?n[o.call(e)]||"object":typeof e}var f="3.4.1",k=function(e,t){return new k.fn.init(e,t)},p=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;function d(e){var t=!!e&&"length"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&("array"===n||0===t||"number"==typeof t&&0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp($),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+$),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ne=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=k),o=(l=h(t)).length;while(o--)l[o]="#"+s+" "+xe(l[o]);c=l.join(","),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute("id")}}}return g(t.replace(B,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+k+"-]").length||v.push("~="),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+k+"+*").length||v.push(".#.+[+~]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",$)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&p(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):"string"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,""],thead:[1,"","
      "],col:[2,"","
      "],tr:[2,"","
      "],td:[3,"","
      "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==("focus"===t)}function Ae(e,t,n,r,i,o){var a,s;if("object"==typeof t){for(s in"string"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return"undefined"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(R)||[""]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||"").match(R)||[""]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,"handle events")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,"events")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\x20\t\r\n\f]*)[^>]*)\/>/gi,qe=/\s*$/g;function Oe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Re(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Gt.pop()||k.expando+"_"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Yt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,"$1"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||k.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument("").body).innerHTML="
      ",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,"position"),c=k(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=k.css(e,"top"),u=k.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===k.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),i.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-k.css(r,"marginTop",!0),left:t.left-i.left-k.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===k.css(e,"position"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each(["top","left"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+"px":t})}),k.each({Height:"height",Width:"width"},function(a,s){k.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){k.fn[n]=function(e,t){return 0+~]|"+M+")"+M+"*"),U=new RegExp(M+"|>"),X=new RegExp(F),V=new RegExp("^"+I+"$"),G={ID:new RegExp("^#("+I+")"),CLASS:new RegExp("^\\.("+I+")"),TAG:new RegExp("^("+I+"|[*])"),ATTR:new RegExp("^"+W),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+R+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\d$/i,K=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ee=/[+~]/,te=new RegExp("\\\\[\\da-fA-F]{1,6}"+M+"?|\\\\([^\\r\\n\\f])","g"),ne=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},re=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ie=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&"fieldset"===e.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{H.apply(t=O.call(p.childNodes),p.childNodes),t[p.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&(T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!N[t+" "]&&(!v||!v.test(t))&&(1!==p||"object"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&(U.test(t)||z.test(t))){(f=ee.test(t)&&ye(e.parentNode)||e)===e&&d.scope||((s=e.getAttribute("id"))?s=s.replace(re,ie):e.setAttribute("id",s=S)),o=(l=h(t)).length;while(o--)l[o]=(s?"#"+s:":scope")+" "+xe(l[o]);c=l.join(",")}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){N(t,!0)}finally{s===S&&e.removeAttribute("id")}}}return g(t.replace($,"$1"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+" ")>b.cacheLength&&delete e[r.shift()],e[t+" "]=n}}function le(e){return e[S]=!0,e}function ce(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split("|"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function ge(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||"HTML")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:p;return r!=C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),p!=C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",oe,!1):n.attachEvent&&n.attachEvent("onunload",oe)),d.scope=ce(function(e){return a.appendChild(e).appendChild(C.createElement("div")),"undefined"!=typeof e.querySelectorAll&&!e.querySelectorAll(":scope fieldset div").length}),d.attributes=ce(function(e){return e.className="i",!e.getAttribute("className")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment("")),!e.getElementsByTagName("*").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=S,!C.getElementsByName||!C.getElementsByName(S).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute("id")===t}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return t&&t.value===n}},b.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){var t;a.appendChild(e).innerHTML="",e.querySelectorAll("[msallowcapture^='']").length&&v.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||v.push("\\["+M+"*(?:value|"+R+")"),e.querySelectorAll("[id~="+S+"-]").length||v.push("~="),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||v.push("\\["+M+"*name"+M+"*="+M+"*(?:''|\"\")"),e.querySelectorAll(":checked").length||v.push(":checked"),e.querySelectorAll("a#"+S+"+*").length||v.push(".#.+[+~]"),e.querySelectorAll("\\\f"),v.push("[\\r\\n\\f]")}),ce(function(e){e.innerHTML="";var t=C.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&v.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&v.push(":enabled",":disabled"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&v.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),v.push(",.*:")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,"*"),c.call(e,"[s!='']:x"),s.push("!=",F)}),v=v.length&&new RegExp(v.join("|")),s=s.length&&new RegExp(s.join("|")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},j=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e==C||e.ownerDocument==p&&y(p,e)?-1:t==C||t.ownerDocument==p&&y(p,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e==C?-1:t==C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]==p?-1:s[r]==p?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if(T(e),d.matchesSelector&&E&&!N[t+" "]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){N(t,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||"").replace(te,ne),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=m[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&m(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,n,r){return m(n)?S.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?S.grep(e,function(e){return e===n!==r}):"string"!=typeof n?S.grep(e,function(e){return-1)[^>]*|#([\w-]+))$/;(S.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||D,"string"==typeof e){if(!(r="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:q.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),N.test(r[1])&&S.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,D=S(E);var L=/^(?:parents|prev(?:Until|All))/,H={children:!0,contents:!0,next:!0,prev:!0};function O(e,t){while((e=e[t])&&1!==e.nodeType);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter(function(){for(var e=0;e\x20\t\r\n\f]*)/i,he=/^$|^module$|\/(?:java|ecma)script/i;ce=E.createDocumentFragment().appendChild(E.createElement("div")),(fe=E.createElement("input")).setAttribute("type","radio"),fe.setAttribute("checked","checked"),fe.setAttribute("name","t"),ce.appendChild(fe),y.checkClone=ce.cloneNode(!0).cloneNode(!0).lastChild.checked,ce.innerHTML="",y.noCloneChecked=!!ce.cloneNode(!0).lastChild.defaultValue,ce.innerHTML="",y.option=!!ce.lastChild;var ge={thead:[1,"","
      "],col:[2,"","
      "],tr:[2,"","
      "],td:[3,"","
      "],_default:[0,"",""]};function ve(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n",""]);var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d\s*$/g;function je(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&S(e).children("tbody")[0]||e}function De(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function qe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Le(e,t){var n,r,i,o,a,s;if(1===t.nodeType){if(Y.hasData(e)&&(s=Y.get(e).events))for(i in Y.remove(t,"handle events"),s)for(n=0,r=s[i].length;n").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on("load error",i=function(e){r.remove(),i=null,e&&t("error"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var _t,zt=[],Ut=/(=)\?(?=&|$)|\?\?/;S.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||S.expando+"_"+wt.guid++;return this[e]=!0,e}}),S.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Ut.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ut.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ut,"$1"+r):!1!==e.jsonp&&(e.url+=(Tt.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||S.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?S(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),"script"}),y.createHTMLDocument=((_t=E.implementation.createHTMLDocument("").body).innerHTML="
      ",2===_t.childNodes.length),S.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument("")).createElement("base")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=N.exec(e))?[t.createElement(i[1])]:(i=xe([e],t,o),o&&o.length&&S(o).remove(),S.merge([],i.childNodes)));var r,i,o},S.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return-1").append(S.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},S.expr.pseudos.animated=function(t){return S.grep(S.timers,function(e){return t===e.elem}).length},S.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=S.css(e,"position"),c=S(e),f={};"static"===l&&(e.style.position="relative"),s=c.offset(),o=S.css(e,"top"),u=S.css(e,"left"),("absolute"===l||"fixed"===l)&&-1<(o+u).indexOf("auto")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,S.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),"using"in t?t.using.call(e,f):c.css(f)}},S.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){S.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===S.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===S.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=S(e).offset()).top+=S.css(e,"borderTopWidth",!0),i.left+=S.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-S.css(r,"marginTop",!0),left:t.left-i.left-S.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===S.css(e,"position"))e=e.offsetParent;return e||re})}}),S.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o="pageYOffset"===i;S.fn[t]=function(e){return $(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),S.each(["top","left"],function(e,n){S.cssHooks[n]=Fe(y.pixelPosition,function(e,t){if(t)return t=We(e,n),Pe.test(t)?S(e).position()[n]+"px":t})}),S.each({Height:"height",Width:"width"},function(a,s){S.each({padding:"inner"+a,content:s,"":"outer"+a},function(r,o){S.fn[o]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return $(this,function(e,t,n){var r;return x(e)?0===o.indexOf("outer")?e["inner"+a]:e.document.documentElement["client"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+a],r["scroll"+a],e.body["offset"+a],r["offset"+a],r["client"+a])):void 0===n?S.css(e,t,i):S.style(e,t,n,i)},s,n?e:void 0,n)}})}),S.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){S.fn[t]=function(e){return this.on(t,e)}}),S.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),S.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,n){S.fn[n]=function(e,t){return 0a;a++)for(i in o[a])n=o[a][i],o[a].hasOwnProperty(i)&&void 0!==n&&(e[i]=t.isPlainObject(n)?t.isPlainObject(e[i])?t.widget.extend({},e[i],n):t.widget.extend({},n):n);return e},t.widget.bridge=function(e,i){var n=i.prototype.widgetFullName||e;t.fn[e]=function(o){var a="string"==typeof o,r=s.call(arguments,1),h=this;return a?this.length||"instance"!==o?this.each(function(){var i,s=t.data(this,n);return"instance"===o?(h=s,!1):s?t.isFunction(s[o])&&"_"!==o.charAt(0)?(i=s[o].apply(s,r),i!==s&&void 0!==i?(h=i&&i.jquery?h.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; "+"attempted to call method '"+o+"'")}):h=void 0:(r.length&&(o=t.widget.extend.apply(null,[o].concat(r))),this.each(function(){var e=t.data(this,n);e?(e.option(o||{}),e._init&&e._init()):t.data(this,n,new i(o,this))})),h}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"
      ",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,s){s=t(s||this.defaultElement||this)[0],this.element=t(s),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},s!==this&&(t.data(s,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===s&&this.destroy()}}),this.document=t(s.style?s.ownerDocument:s.document||s),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,function(t,i){e._removeClass(i,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var s,n,o,a=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(a={},s=e.split("."),e=s.shift(),s.length){for(n=a[e]=t.widget.extend({},this.options[e]),o=0;s.length-1>o;o++)n[s[o]]=n[s[o]]||{},n=n[s[o]];if(e=s.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];a[e]=i}return this._setOptions(a),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var i,s,n;for(i in e)n=this.classesElementLookup[i],e[i]!==this.options.classes[i]&&n&&n.length&&(s=t(n.get()),this._removeClass(n,i),s.addClass(this._classes({element:s,keys:i,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){function i(i,o){var a,r;for(r=0;i.length>r;r++)a=n.classesElementLookup[i[r]]||t(),a=e.add?t(t.unique(a.get().concat(e.element.get()))):t(a.not(e.element).get()),n.classesElementLookup[i[r]]=a,s.push(i[r]),o&&e.classes[i[r]]&&s.push(e.classes[i[r]])}var s=[],n=this;return e=t.extend({element:this.element,classes:this.options.classes||{}},e),this._on(e.element,{remove:"_untrackClassesElement"}),e.keys&&i(e.keys.match(/\S+/g)||[],!0),e.extra&&i(e.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(e){var i=this;t.each(i.classesElementLookup,function(s,n){-1!==t.inArray(e.target,n)&&(i.classesElementLookup[s]=t(n.not(e.target).get()))})},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,s){s="boolean"==typeof s?s:i;var n="string"==typeof t||null===t,o={extra:n?e:i,keys:n?t:e,element:n?this.element:t,add:s};return o.element.toggleClass(this._classes(o),s),this},_on:function(e,i,s){var n,o=this;"boolean"!=typeof e&&(s=i,i=e,e=!1),s?(i=n=t(i),this.bindings=this.bindings.add(i)):(s=i,i=this.element,n=this.widget()),t.each(s,function(s,a){function r(){return e||o.options.disabled!==!0&&!t(this).hasClass("ui-state-disabled")?("string"==typeof a?o[a]:a).apply(o,arguments):void 0}"string"!=typeof a&&(r.guid=a.guid=a.guid||r.guid||t.guid++);var h=s.match(/^([\w:-]*)\s*(.*)$/),l=h[1]+o.eventNamespace,c=h[2];c?n.on(l,c,r):i.on(l,r)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?s[t]:t).apply(s,arguments)}var s=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,s){var n,o,a=this.options[e];if(s=s||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(n in o)n in i||(i[n]=o[n]);return this.element.trigger(i,s),!(t.isFunction(a)&&a.apply(this.element[0],[i].concat(s))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(s,n,o){"string"==typeof n&&(n={effect:n});var a,r=n?n===!0||"number"==typeof n?i:n.effect||i:e;n=n||{},"number"==typeof n&&(n={duration:n}),a=!t.isEmptyObject(n),n.complete=o,n.delay&&s.delay(n.delay),a&&t.effects&&t.effects.effect[r]?s[e](n):r!==e&&s[r]?s[r](n.duration,n.easing,o):s.queue(function(i){t(this)[e](),o&&o.call(s[0]),i()})}}),t.widget,function(){function e(t,e,i){return[parseFloat(t[0])*(u.test(t[0])?e/100:1),parseFloat(t[1])*(u.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function s(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var n,o=Math.max,a=Math.abs,r=/left|center|right/,h=/top|center|bottom/,l=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,u=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==n)return n;var e,i,s=t("
      "),o=s.children()[0];return t("body").append(s),e=o.offsetWidth,s.css("overflow","scroll"),i=o.offsetWidth,e===i&&(i=s[0].clientWidth),s.remove(),n=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),s=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),n="scroll"===i||"auto"===i&&e.widthi?"left":e>0?"right":"center",vertical:0>r?"top":s>0?"bottom":"middle"};l>p&&p>a(e+i)&&(u.horizontal="center"),c>f&&f>a(s+r)&&(u.vertical="middle"),u.important=o(a(e),a(i))>o(a(s),a(r))?"horizontal":"vertical",n.using.call(this,t,u)}),h.offset(t.extend(D,{using:r}))})},t.ui.position={fit:{left:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollLeft:s.offset.left,a=s.width,r=t.left-e.collisionPosition.marginLeft,h=n-r,l=r+e.collisionWidth-a-n;e.collisionWidth>a?h>0&&0>=l?(i=t.left+h+e.collisionWidth-a-n,t.left+=h-i):t.left=l>0&&0>=h?n:h>l?n+a-e.collisionWidth:n:h>0?t.left+=h:l>0?t.left-=l:t.left=o(t.left-r,t.left)},top:function(t,e){var i,s=e.within,n=s.isWindow?s.scrollTop:s.offset.top,a=e.within.height,r=t.top-e.collisionPosition.marginTop,h=n-r,l=r+e.collisionHeight-a-n;e.collisionHeight>a?h>0&&0>=l?(i=t.top+h+e.collisionHeight-a-n,t.top+=h-i):t.top=l>0&&0>=h?n:h>l?n+a-e.collisionHeight:n:h>0?t.top+=h:l>0?t.top-=l:t.top=o(t.top-r,t.top)}},flip:{left:function(t,e){var i,s,n=e.within,o=n.offset.left+n.scrollLeft,r=n.width,h=n.isWindow?n.scrollLeft:n.offset.left,l=t.left-e.collisionPosition.marginLeft,c=l-h,u=l+e.collisionWidth-r-h,d="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,p="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,f=-2*e.offset[0];0>c?(i=t.left+d+p+f+e.collisionWidth-r-o,(0>i||a(c)>i)&&(t.left+=d+p+f)):u>0&&(s=t.left-e.collisionPosition.marginLeft+d+p+f-h,(s>0||u>a(s))&&(t.left+=d+p+f))},top:function(t,e){var i,s,n=e.within,o=n.offset.top+n.scrollTop,r=n.height,h=n.isWindow?n.scrollTop:n.offset.top,l=t.top-e.collisionPosition.marginTop,c=l-h,u=l+e.collisionHeight-r-h,d="top"===e.my[1],p=d?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,f="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,m=-2*e.offset[1];0>c?(s=t.top+p+f+m+e.collisionHeight-r-o,(0>s||a(c)>s)&&(t.top+=p+f+m)):u>0&&(i=t.top-e.collisionPosition.marginTop+p+f+m-h,(i>0||u>a(i))&&(t.top+=p+f+m))}},flipfit:{left:function(){t.ui.position.flip.left.apply(this,arguments),t.ui.position.fit.left.apply(this,arguments)},top:function(){t.ui.position.flip.top.apply(this,arguments),t.ui.position.fit.top.apply(this,arguments)}}}}(),t.ui.position,t.extend(t.expr[":"],{data:t.expr.createPseudo?t.expr.createPseudo(function(e){return function(i){return!!t.data(i,e)}}):function(e,i,s){return!!t.data(e,s[3])}}),t.fn.extend({disableSelection:function(){var t="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}}),t.ui.focusable=function(i,s){var n,o,a,r,h,l=i.nodeName.toLowerCase();return"area"===l?(n=i.parentNode,o=n.name,i.href&&o&&"map"===n.nodeName.toLowerCase()?(a=t("img[usemap='#"+o+"']"),a.length>0&&a.is(":visible")):!1):(/^(input|select|textarea|button|object)$/.test(l)?(r=!i.disabled,r&&(h=t(i).closest("fieldset")[0],h&&(r=!h.disabled))):r="a"===l?i.href||s:s,r&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}}),t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}},"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function s(e,i,s,o){return t.each(n,function(){i-=parseFloat(t.css(e,"padding"+this))||0,s&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),o&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var n="Width"===i?["Left","Right"]:["Top","Bottom"],o=i.toLowerCase(),a={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?a["inner"+i].call(this):this.each(function(){t(this).css(o,s(this,e)+"px")})},t.fn["outer"+i]=function(e,n){return"number"!=typeof e?a["outer"+i].call(this,e):this.each(function(){t(this).css(o,s(this,e,!0,n)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}),t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,./:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,s,n,o;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(n=this.eq(0).parents("label"),s=this.attr("id"),s&&(e=this.eq(0).parents().last(),o=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(s)+"']",n=n.add(o.find(i).addBack(i))),this.pushStack(n))},t.fn.scrollParent=function(e){var i=this.css("position"),s="absolute"===i,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter(function(){var e=t(this);return s&&"static"===e.css("position")?!1:n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&o.length?o:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),s=null!=i;return(!s||i>=0)&&t.ui.focusable(e,s)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase());var n=!1;t(document).on("mouseup",function(){n=!1}),t.widget("ui.mouse",{version:"1.12.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,function(t){return e._mouseDown(t)}).on("click."+this.widgetName,function(i){return!0===t.data(i.target,e.widgetName+".preventClickEvent")?(t.removeData(i.target,e.widgetName+".preventClickEvent"),i.stopImmediatePropagation(),!1):void 0}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){if(!n){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),this._mouseDownEvent=e;var i=this,s=1===e.which,o="string"==typeof this.options.cancel&&e.target.nodeName?t(e.target).closest(this.options.cancel).length:!1;return s&&!o&&this._mouseCapture(e)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){i.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(e)!==!1,!this._mouseStarted)?(e.preventDefault(),!0):(!0===t.data(e.target,this.widgetName+".preventClickEvent")&&t.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return i._mouseMove(t)},this._mouseUpDelegate=function(t){return i._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),n=!0,!0)):!0}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||9>document.documentMode)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,e)!==!1,this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&t.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,n=!1,e.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),t.ui.plugin={add:function(e,i,s){var n,o=t.ui[e].prototype;for(n in s)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([i,s[n]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;o.length>n;n++)t.options[o[n][0]]&&o[n][1].apply(t.element,i)}},t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var s=i&&"left"===i?"scrollLeft":"scrollTop",n=!1;return e[s]>0?!0:(e[s]=1,n=e[s]>0,e[s]=0,n)},_create:function(){var e,i=this.options,s=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("
      ").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(s._removeClass("ui-resizable-autohide"),s._handles.show())}).on("mouseleave",function(){i.disabled||s.resizing||(s._addClass("ui-resizable-autohide"),s._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();var e,i=function(e){t(e).removeData("resizable").removeData("ui-resizable").off(".resizable").find(".ui-resizable-handle").remove()};return this.elementIsWrapper&&(i(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),i(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;default:}},_setupHandles:function(){var e,i,s,n,o,a=this.options,r=this;if(this.handles=a.handles||(t(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=t(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),s=this.handles.split(","),this.handles={},i=0;s.length>i;i++)e=t.trim(s[i]),n="ui-resizable-"+e,o=t("
      "),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:a.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.append(o);this._renderAxis=function(e){var i,s,n,o;e=e||this.element;for(i in this.handles)this.handles[i].constructor===String?this.handles[i]=this.element.children(this.handles[i]).first().show():(this.handles[i].jquery||this.handles[i].nodeType)&&(this.handles[i]=t(this.handles[i]),this._on(this.handles[i],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(s=t(this.handles[i],this.element),o=/sw|ne|nw|se|n|s/.test(i)?s.outerHeight():s.outerWidth(),n=["padding",/ne|nw|n/.test(i)?"Top":/se|sw|s/.test(i)?"Bottom":/^e$/.test(i)?"Right":"Left"].join(""),e.css(n,o),this._proportionallyResize()),this._handles=this._handles.add(this.handles[i])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),a.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(e){var i,s,n=!1;for(i in this.handles)s=t(this.handles[i])[0],(s===e.target||t.contains(s,e.target))&&(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var i,s,n,o=this.options,a=this.element;return this.resizing=!0,this._renderProxy(),i=this._num(this.helper.css("left")),s=this._num(this.helper.css("top")),o.containment&&(i+=t(o.containment).scrollLeft()||0,s+=t(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:i,top:s},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:a.width(),height:a.height()},this.originalSize=this._helper?{width:a.outerWidth(),height:a.outerHeight()}:{width:a.width(),height:a.height()},this.sizeDiff={width:a.outerWidth()-a.width(),height:a.outerHeight()-a.height()},this.originalPosition={left:i,top:s},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=t(".ui-resizable-"+this.axis).css("cursor"),t("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var i,s,n=this.originalMousePosition,o=this.axis,a=e.pageX-n.left||0,r=e.pageY-n.top||0,h=this._change[o];return this._updatePrevProperties(),h?(i=h.apply(this,[e,a,r]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),s=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),t.isEmptyObject(s)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges()),!1):!1},_mouseStop:function(e){this.resizing=!1;var i,s,n,o,a,r,h,l=this.options,c=this;return this._helper&&(i=this._proportionallyResizeElements,s=i.length&&/textarea/i.test(i[0].nodeName),n=s&&this._hasScroll(i[0],"left")?0:c.sizeDiff.height,o=s?0:c.sizeDiff.width,a={width:c.helper.width()-o,height:c.helper.height()-n},r=parseFloat(c.element.css("left"))+(c.position.left-c.originalPosition.left)||null,h=parseFloat(c.element.css("top"))+(c.position.top-c.originalPosition.top)||null,l.animate||this.element.css(t.extend(a,{top:h,left:r})),c.helper.height(c.size.height),c.helper.width(c.size.width),this._helper&&!l.animate&&this._proportionallyResize()),t("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s,n,o,a=this.options;o={minWidth:this._isNumber(a.minWidth)?a.minWidth:0,maxWidth:this._isNumber(a.maxWidth)?a.maxWidth:1/0,minHeight:this._isNumber(a.minHeight)?a.minHeight:0,maxHeight:this._isNumber(a.maxHeight)?a.maxHeight:1/0},(this._aspectRatio||t)&&(e=o.minHeight*this.aspectRatio,s=o.minWidth/this.aspectRatio,i=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,e>o.minWidth&&(o.minWidth=e),s>o.minHeight&&(o.minHeight=s),o.maxWidth>i&&(o.maxWidth=i),o.maxHeight>n&&(o.maxHeight=n)),this._vBoundaries=o},_updateCache:function(t){this.offset=this.helper.offset(),this._isNumber(t.left)&&(this.position.left=t.left),this._isNumber(t.top)&&(this.position.top=t.top),this._isNumber(t.height)&&(this.size.height=t.height),this._isNumber(t.width)&&(this.size.width=t.width)},_updateRatio:function(t){var e=this.position,i=this.size,s=this.axis;return this._isNumber(t.height)?t.width=t.height*this.aspectRatio:this._isNumber(t.width)&&(t.height=t.width/this.aspectRatio),"sw"===s&&(t.left=e.left+(i.width-t.width),t.top=null),"nw"===s&&(t.top=e.top+(i.height-t.height),t.left=e.left+(i.width-t.width)),t},_respectSize:function(t){var e=this._vBoundaries,i=this.axis,s=this._isNumber(t.width)&&e.maxWidth&&e.maxWidtht.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),c=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&c&&(t.top=h-e.minHeight),n&&c&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];4>e;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;this._proportionallyResizeElements.length>e;e++)t=this._proportionallyResizeElements[e],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(t)),t.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,i=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||t("
      "),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++i.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element -},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize,s=this.originalPosition;return{left:s.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize,n=this.originalPosition;return{top:n.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},sw:function(e,i,s){return t.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,i,s]))},ne:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,i,s]))},nw:function(e,i,s){return t.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,i,s]))}},_propagate:function(e,i){t.ui.plugin.call(this,e,[i,this.ui()]),"resize"!==e&&this._trigger(e,i,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),t.ui.plugin.add("resizable","animate",{stop:function(e){var i=t(this).resizable("instance"),s=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),a=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,r=o?0:i.sizeDiff.width,h={width:i.size.width-r,height:i.size.height-a},l=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,c=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(t.extend(h,c&&l?{top:c,left:l}:{}),{duration:s.animateDuration,easing:s.animateEasing,step:function(){var s={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&t(n[0]).css({width:s.width,height:s.height}),i._updateCache(s),i._propagate("resize",e)}})}}),t.ui.plugin.add("resizable","containment",{start:function(){var e,i,s,n,o,a,r,h=t(this).resizable("instance"),l=h.options,c=h.element,u=l.containment,d=u instanceof t?u.get(0):/parent/.test(u)?c.parent().get(0):u;d&&(h.containerElement=t(d),/document/.test(u)||u===document?(h.containerOffset={left:0,top:0},h.containerPosition={left:0,top:0},h.parentData={element:t(document),left:0,top:0,width:t(document).width(),height:t(document).height()||document.body.parentNode.scrollHeight}):(e=t(d),i=[],t(["Top","Right","Left","Bottom"]).each(function(t,s){i[t]=h._num(e.css("padding"+s))}),h.containerOffset=e.offset(),h.containerPosition=e.position(),h.containerSize={height:e.innerHeight()-i[3],width:e.innerWidth()-i[1]},s=h.containerOffset,n=h.containerSize.height,o=h.containerSize.width,a=h._hasScroll(d,"left")?d.scrollWidth:o,r=h._hasScroll(d)?d.scrollHeight:n,h.parentData={element:d,left:s.left,top:s.top,width:a,height:r}))},resize:function(e){var i,s,n,o,a=t(this).resizable("instance"),r=a.options,h=a.containerOffset,l=a.position,c=a._aspectRatio||e.shiftKey,u={top:0,left:0},d=a.containerElement,p=!0;d[0]!==document&&/static/.test(d.css("position"))&&(u=h),l.left<(a._helper?h.left:0)&&(a.size.width=a.size.width+(a._helper?a.position.left-h.left:a.position.left-u.left),c&&(a.size.height=a.size.width/a.aspectRatio,p=!1),a.position.left=r.helper?h.left:0),l.top<(a._helper?h.top:0)&&(a.size.height=a.size.height+(a._helper?a.position.top-h.top:a.position.top),c&&(a.size.width=a.size.height*a.aspectRatio,p=!1),a.position.top=a._helper?h.top:0),n=a.containerElement.get(0)===a.element.parent().get(0),o=/relative|absolute/.test(a.containerElement.css("position")),n&&o?(a.offset.left=a.parentData.left+a.position.left,a.offset.top=a.parentData.top+a.position.top):(a.offset.left=a.element.offset().left,a.offset.top=a.element.offset().top),i=Math.abs(a.sizeDiff.width+(a._helper?a.offset.left-u.left:a.offset.left-h.left)),s=Math.abs(a.sizeDiff.height+(a._helper?a.offset.top-u.top:a.offset.top-h.top)),i+a.size.width>=a.parentData.width&&(a.size.width=a.parentData.width-i,c&&(a.size.height=a.size.width/a.aspectRatio,p=!1)),s+a.size.height>=a.parentData.height&&(a.size.height=a.parentData.height-s,c&&(a.size.width=a.size.height*a.aspectRatio,p=!1)),p||(a.position.left=a.prevPosition.left,a.position.top=a.prevPosition.top,a.size.width=a.prevSize.width,a.size.height=a.prevSize.height)},stop:function(){var e=t(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.containerPosition,o=e.containerElement,a=t(e.helper),r=a.offset(),h=a.outerWidth()-e.sizeDiff.width,l=a.outerHeight()-e.sizeDiff.height;e._helper&&!i.animate&&/relative/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l}),e._helper&&!i.animate&&/static/.test(o.css("position"))&&t(this).css({left:r.left-n.left-s.left,width:h,height:l})}}),t.ui.plugin.add("resizable","alsoResize",{start:function(){var e=t(this).resizable("instance"),i=e.options;t(i.alsoResize).each(function(){var e=t(this);e.data("ui-resizable-alsoresize",{width:parseFloat(e.width()),height:parseFloat(e.height()),left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var s=t(this).resizable("instance"),n=s.options,o=s.originalSize,a=s.originalPosition,r={height:s.size.height-o.height||0,width:s.size.width-o.width||0,top:s.position.top-a.top||0,left:s.position.left-a.left||0};t(n.alsoResize).each(function(){var e=t(this),s=t(this).data("ui-resizable-alsoresize"),n={},o=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];t.each(o,function(t,e){var i=(s[e]||0)+(r[e]||0);i&&i>=0&&(n[e]=i||null)}),e.css(n)})},stop:function(){t(this).removeData("ui-resizable-alsoresize")}}),t.ui.plugin.add("resizable","ghost",{start:function(){var e=t(this).resizable("instance"),i=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:i.height,width:i.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),t.uiBackCompat!==!1&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=t(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=t(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),t.ui.plugin.add("resizable","grid",{resize:function(){var e,i=t(this).resizable("instance"),s=i.options,n=i.size,o=i.originalSize,a=i.originalPosition,r=i.axis,h="number"==typeof s.grid?[s.grid,s.grid]:s.grid,l=h[0]||1,c=h[1]||1,u=Math.round((n.width-o.width)/l)*l,d=Math.round((n.height-o.height)/c)*c,p=o.width+u,f=o.height+d,m=s.maxWidth&&p>s.maxWidth,g=s.maxHeight&&f>s.maxHeight,_=s.minWidth&&s.minWidth>p,v=s.minHeight&&s.minHeight>f;s.grid=h,_&&(p+=l),v&&(f+=c),m&&(p-=l),g&&(f-=c),/^(se|s|e)$/.test(r)?(i.size.width=p,i.size.height=f):/^(ne)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.top=a.top-d):/^(sw)$/.test(r)?(i.size.width=p,i.size.height=f,i.position.left=a.left-u):((0>=f-c||0>=p-l)&&(e=i._getPaddingPlusBorderDimensions(this)),f-c>0?(i.size.height=f,i.position.top=a.top-d):(f=c-e.height,i.size.height=f,i.position.top=a.top+o.height-f),p-l>0?(i.size.width=p,i.position.left=a.left-u):(p=l-e.width,i.size.width=p,i.position.left=a.left+o.width-p))}}),t.ui.resizable});/** +!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(y){"use strict";y.ui=y.ui||{};y.ui.version="1.13.2";var n,i=0,h=Array.prototype.hasOwnProperty,a=Array.prototype.slice;y.cleanData=(n=y.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)(e=y._data(i,"events"))&&e.remove&&y(i).triggerHandler("remove");n(t)}),y.widget=function(t,i,e){var s,n,o,h={},a=t.split(".")[0],r=a+"-"+(t=t.split(".")[1]);return e||(e=i,i=y.Widget),Array.isArray(e)&&(e=y.extend.apply(null,[{}].concat(e))),y.expr.pseudos[r.toLowerCase()]=function(t){return!!y.data(t,r)},y[a]=y[a]||{},s=y[a][t],n=y[a][t]=function(t,e){if(!this||!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},y.extend(n,s,{version:e.version,_proto:y.extend({},e),_childConstructors:[]}),(o=new i).options=y.widget.extend({},o.options),y.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}h[e]="function"==typeof s?function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:s}),n.prototype=y.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},h,{constructor:n,namespace:a,widgetName:t,widgetFullName:r}),s?(y.each(s._childConstructors,function(t,e){var i=e.prototype;y.widget(i.namespace+"."+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),y.widget.bridge(t,n),n},y.widget.extend=function(t){for(var e,i,s=a.call(arguments,1),n=0,o=s.length;n",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=y(e||this.defaultElement||this)[0],this.element=y(e),this.uuid=i++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=y(),this.hoverable=y(),this.focusable=y(),this.classesElementLookup={},e!==this&&(y.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=y(e.style?e.ownerDocument:e.document||e),this.window=y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=y.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:y.noop,_create:y.noop,_init:y.noop,destroy:function(){var i=this;this._destroy(),y.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:y.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return y.widget.extend({},this.options);if("string"==typeof t)if(o={},t=(i=t.split(".")).shift(),i.length){for(s=o[t]=y.widget.extend({},this.options[t]),n=0;n
      "),i=e.children()[0];return y("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.widthx(D(s),D(n))?o.important="horizontal":o.important="vertical",p.using.call(this,t,o)}),h.offset(y.extend(l,{using:t}))})},y.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,h=s-o,a=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),y.ui.plugin={add:function(t,e,i){var s,n=y.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n
      ").css({overflow:"hidden",position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(t),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&y(this.element).on("mouseenter",function(){e.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){e.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function t(t){y(t).removeData("resizable").removeData("ui-resizable").off(".resizable")}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css("position"),width:e.outerWidth(),height:e.outerHeight(),top:e.css("top"),left:e.css("left")}).insertAfter(e),e.remove()),this.originalElement.css("resize",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){switch(this._super(t,e),t){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!e}},_setupHandles:function(){var t,e,i,s,n,o=this.options,h=this;if(this.handles=o.handles||(y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=y(),this._addedHandles=y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},e=0;e"),this._addClass(n,"ui-resizable-handle "+s),n.css({zIndex:o.zIndex}),this.handles[t]=".ui-resizable-"+t,this.element.children(this.handles[t]).length||(this.element.append(n),this._addedHandles=this._addedHandles.add(n));this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=y(this.handles[e]),this._on(this.handles[e],{mousedown:h._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=y(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=["padding",/ne|nw|n/.test(e)?"Top":/se|sw|s/.test(e)?"Bottom":/^e$/.test(e)?"Right":"Left"].join(""),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){h.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),h.axis=n&&n[1]?n[1]:"se")}),o.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=y(this.handles[e])[0])!==t.target&&!y.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),s.containment&&(e+=y(s.containment).scrollLeft()||0,i+=y(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio="number"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=y(".ui-resizable-"+this.axis).css("cursor"),y("body").css("cursor","auto"===s?this.axis+"-resize":s),this._addClass("ui-resizable-resizing"),this._propagate("start",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate("resize",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),y.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger("resize",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css("left"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css("top"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(y.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+"px"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+"px"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+"px"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,h=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,a=this.originalPosition.left+this.originalSize.width,r=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),h&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=a-e.minWidth),s&&l&&(t.left=a-e.maxWidth),h&&i&&(t.top=r-e.minHeight),n&&i&&(t.top=r-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css("borderTopWidth"),t.css("borderRightWidth"),t.css("borderBottomWidth"),t.css("borderLeftWidth")],n=[t.css("paddingTop"),t.css("paddingRight"),t.css("paddingBottom"),t.css("paddingLeft")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e
    ").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++e.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){y.ui.plugin.call(this,t,[e,this.ui()]),"resize"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),y.ui.plugin.add("resizable","animate",{stop:function(e){var i=y(this).resizable("instance"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],"left")?0:i.sizeDiff.height,h=n?0:i.sizeDiff.width,n={width:i.size.width-h,height:i.size.height-o},h=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,o=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(y.extend(n,o&&h?{top:o,left:h}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};s&&s.length&&y(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate("resize",e)}})}}),y.ui.plugin.add("resizable","containment",{start:function(){var i,s,n=y(this).resizable("instance"),t=n.options,e=n.element,o=t.containment,h=o instanceof y?o.get(0):/parent/.test(o)?e.parent().get(0):o;h&&(n.containerElement=y(h),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:y(document),left:0,top:0,width:y(document).width(),height:y(document).height()||document.body.parentNode.scrollHeight}):(i=y(h),s=[],y(["Top","Right","Left","Bottom"]).each(function(t,e){s[t]=n._num(i.css("padding"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(h,"left")?h.scrollWidth:o,e=n._hasScroll(h)?h.scrollHeight:e,n.parentData={element:h,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=y(this).resizable("instance"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,h={top:0,left:0},a=e.containerElement,t=!0;a[0]!==document&&/static/.test(a.css("position"))&&(h=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-h.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css("position")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-h.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-h.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=y(this).resizable("instance"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=y(t.helper),h=o.offset(),a=o.outerWidth()-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o}),t._helper&&!e.animate&&/static/.test(n.css("position"))&&y(this).css({left:h.left-s.left-i.left,width:a,height:o})}}),y.ui.plugin.add("resizable","alsoResize",{start:function(){var t=y(this).resizable("instance").options;y(t.alsoResize).each(function(){var t=y(this);t.data("ui-resizable-alsoresize",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css("left")),top:parseFloat(t.css("top"))})})},resize:function(t,i){var e=y(this).resizable("instance"),s=e.options,n=e.originalSize,o=e.originalPosition,h={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};y(s.alsoResize).each(function(){var t=y(this),s=y(this).data("ui-resizable-alsoresize"),n={},e=t.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];y.each(e,function(t,e){var i=(s[e]||0)+(h[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){y(this).removeData("ui-resizable-alsoresize")}}),y.ui.plugin.add("resizable","ghost",{start:function(){var t=y(this).resizable("instance"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:"block",position:"relative",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,"ui-resizable-ghost"),!1!==y.uiBackCompat&&"string"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=y(this).resizable("instance");t.ghost&&t.ghost.css({position:"relative",height:t.size.height,width:t.size.width})},stop:function(){var t=y(this).resizable("instance");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),y.ui.plugin.add("resizable","grid",{resize:function(){var t,e=y(this).resizable("instance"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,h=e.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,r=a[0]||1,l=a[1]||1,u=Math.round((s.width-n.width)/r)*r,p=Math.round((s.height-n.height)/l)*l,d=n.width+u,c=n.height+p,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>c;i.grid=a,m&&(d+=r),s&&(c+=l),f&&(d-=r),g&&(c-=l),/^(se|s|e)$/.test(h)?(e.size.width=d,e.size.height=c):/^(ne)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.top=o.top-p):/^(sw)$/.test(h)?(e.size.width=d,e.size.height=c,e.position.left=o.left-u):((c-l<=0||d-r<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0 + + + + + + +esp-nimble-cpp: Migrating from 1.x to 2.x + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    esp-nimble-cpp 2.0.0 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    Migrating from 1.x to 2.x
    +
    +
    +

    Nearly all of the codebase has been updated and changed under the surface, which has greatly reduced the resource use of the library and improved it's performance. To be able to support these changes it required various API changes and additions.

    +

    This guide will help you migrate your application code to use the new API.

    +

    The changes listed here are only the required changes that must be made, and a short overview of options for migrating existing applications.

    + +

    +General changes

    +
      +
    • All functions that take a time parameter now require the time in milliseconds instead of seconds, i.e. NimBLEScan::start(10000); // 10 seconds
    • +
    • NimBLESecurity class has been removed it's functionality has been merged into the NimBLEServer and NimBLEClient classes.
    • +
    • All connection oriented callbacks now receive a reference to NimBLEConnInfo and the ble_gap_conn_desc parameter has been replaced with NimBLEConnInfo in the functions that received it.
      + For instance onAuthenticationComplete(ble_gap_conn_desc* desc) signature is now onAuthenticationComplete(NimBLEConnInfo& connInfo) and
      + NimBLEServerCallbacks::onConnect(NimBLEServer* pServer) signature is now NimBLEServerCallbacks::onConnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo).
      +
      +
    • +
    +

    +BLE Device

    +
      +
    • Ignore list functions and vector have been removed, the application should implement this if desired. It was no longer used by the library.
    • +
    • NimBLEDevice::startSecurity now returns a bool, true on success, instead of an int to be consistent with the rest of the library.
    • +
    • NimBLEDevice::getInitialized renamed to NimBLEDevice::isInitialized.
    • +
    • NimBLEDevice::setPower no longer takes the esp_power_level_t and esp_ble_power_type_t, instead only an integer value in dbm units is accepted, so instead of ESP_PWR_LVL_P9 an int8_t value of 9 would be used for the same result.
    • +
    • NimBLEDevice::setOwnAddrType no longer takes a bool nrpa parameter, the random address type will be determined by the bits the in the address instead.
      + Note: If setting a custom address, it should be set with NimBLEDevice::setOwnAddr first before calling NimBLEDevice::setOwnAddrType.
    • +
    • NimBLEDevice::getClientListSize replaced with NimBLEDevice::getCreatedClientCount.
    • +
    • NimBLEDevice::getClientList was removed and NimBLEDevice::getConnectedClients can be used instead which returns a std::vector of pointers to the connected client instances. This was done because internally the clients are managed in a std::array which replaced the 'std::list`.
      +
      +
    • +
    +

    +BLE Addresses

    +

    NimBLEAddress comparisons have changed to now consider the address type. If 2 address values are the same but the type is different then they are no longer considered equal. This is a correction to the 1.x version which did not consider the type, whereas the BLE specification states:

    +

    ‍Whenever two device addresses are compared, the comparison shall include the device address type (i.e. if the two addresses have different types, they are different even if the two 48-bit addresses are the same).

    +
    +

    This means that if in your application you create a NimBLEAddress instance and are comparing a scan result or some other address created by the library and you did not define the address type then the comparison may fail. The default address type is public 0, whereas many devices use a random 1 address type. If you experience this issue please create your address instances with the address type specified, i.e. NimBLEAddress address("11:22:33:44:55:66", TYPE_HERE)

    +

    NimBLEAddress::getNative has been removed and replaced with NimBLEAddress::getBase. This returns a pointer to const ble_addr_t instead of a pointer to the address value that getNative did. The value can be accessed through this struct via ble_addr_t.value and type is in ble_addr_t.type.
    +
    +

    +

    +BLE UUID's

    +
      +
    • NimBLEUUID::getNative method replaced with NimBLEUUID::getBase which returns a read-only pointer to the underlying ble_uuid_t struct.
    • +
    • NimBLEUUID; msbFirst parameter has been removed from constructor, caller should reverse the data first or call the new NimBLEUUID::reverseByteOrder method after.
      +
      +
    • +
    +

    +Server

    + +

    +Services

    + +

    +Characteristics

    + +

    +Characteristic callbacks

    +
      +
    • NimBLECharacteristicCallbacks::onNotify removed as unnecessary, the library does not call notify without app input.
    • +
    • NimBLECharacteristicCallbacks::onStatus No longer takes a status parameter, refer to the return code parameter for success/failure.
      +
      +
    • +
    +

    +Server Security

    + +

    +Client

    +
      +
    • NimBLEClient::getServices now returns a const reference to std::vector<NimBLERemoteService*> instead of a pointer to the internal vector.
    • +
    • NimBLEClient::getConnId has been renamed to getConnHandle to be consistent with bluetooth terminology.
    • +
    • NimBLEClient::disconnect now returns a bool, true on success, instead of an int to be consistent with the rest of the library.
      +
      +
    • +
    +

    +Client callbacks

    + +

    +Remote Services

    + +

    +Remote Characteristics

    +
      +
    • NimBLERemoteCharacteristic::getRemoteService now returns a const NimBLERemoteService* instead of non-const.
    • +
    • NimBLERemoteCharacteristic::registerForNotify, has been removed, the application should use NimBLERemoteCharacteristic::subscribe and NimBLERemoteCharacteristic::unSubscribe.
        `NimBLERemoteCharacteristic::readUInt32`
      +  `NimBLERemoteCharacteristic::readUInt16`
      +  `NimBLERemoteCharacteristic::readUInt8`
      +  `NimBLERemoteCharacteristic::readFloat`
      +
      Have been removed, instead the application should use NimBLERemoteCharacteristic::readValue<type\>.
      +
      +
    • +
    +

    +Scan

    +
      +
    • NimBLEScan::stop will no longer call the onScanEnd callback as the caller should know it has been stopped either by initiating a connection or calling this function itself.
    • +
    • NimBLEScan::clearDuplicateCache has been removed as it was problematic and only for the original esp32. The application should stop and start the scanner for the same effect or call NimBLEScan::start with the new bool restart parameter set to true.
    • +
    • NimBLEScanResults::getDevice methods now return const NimBLEAdvertisedDevice* instead of a non-const pointer.
    • +
    • NimBLEScanResults iterators are now const_iterator.
    • +
    • The callback parameter for NimBLEScan::start has been removed and the blocking overload of NimBLEScan::start has been replaced by an overload of NimBLEScan::getResults with the same parameters.

      +

      So if your code prior was this:

      NimBLEScanResults results = pScan->start(10, false);
      +

      It should now be:

      NimBLEScanResults results = pScan->getResults(10000, false); // note the time is now in milliseconds
      +
    • +
    • NimBLEAdvertisedDeviceCallbacks Has been replaced by NimBLEScanCallbacks which contains the following methods:
    • +
    • - NimBLEScanCallbacks::onResult, functions the same as the old NimBLEAdvertisedDeviceCallbacks::onResult but now takes aa const NimBLEAdvertisedDevice* instead of non-const.
    • +
    • - NimBLEScanCallbacks::onScanEnd, replaces the scanEnded callback passed to NimBLEScan::start and now takes a const NimBLEScanResults& and int reason parameter.
    • +
    • - NimBLEScanCallbacks::onDiscovered, This is called immediately when a device is first scanned, before any scan response data is available and takes a const NimBLEAdvertisedDevice* parameter.
      +
      +
    • +
    +

    +Advertised Device

    +
      +
    • NimBLEAdvertisedDevice::hasRSSI removed as redundant, RSSI is always available.
    • +
    • NimBLEAdvertisedDevice::getPayload now returns const std::vector<uint8_t>& instead of a pointer to internal memory.
    • +
    • NimBLEAdvertisedDevice Timestamp removed, if needed then the app should track the time from the callback.
      +
      +
    • +
    +

    +Advertising

    + +

    +Beacons

    + +

    +Utilities

    +
      +
    • NimBLEUtils::dumpGapEvent function removed.
    • +
    • NimBLEUtils::buildHexData replaced with NimBLEUtils::dataToHexString, which returns a std::string containing the hex string.
      +
      +
    • +
    +
    +
    +
    + + + + 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 new file mode 100644 index 0000000..1e96bce --- /dev/null +++ b/md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html @@ -0,0 +1,538 @@ + + + + + + + +esp-nimble-cpp: Changelog + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    esp-nimble-cpp 2.0.0 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    Changelog
    +
    +
    +

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

    +

    +[2.0.0] 2024-12-14

    +

    +<strong>Breaking changes</strong>

    + +

    +Fixed

    +
      +
    • NimBLEDevice::getPower and NimBLEDevice::getPowerLevel bug worked around for the esp32s3 and esp32c3.
    • +
    • NimBLEDevice::setPower and NimBLEDevice::getPower now support the full power range for all esp devices.
    • +
    • NimBLEDevice::setOwnAddrType will now correctly apply the provided address type for all devices.
    • +
    • NimBLEDevice::getPower (esp32) return value is now calculated to support devices with different min/max ranges.
    • +
    • Crash if NimBLEDevice::deinit is called when the stack has not been initialized.
    • +
    • NimBLEServer service changed notifications will now wait until the changes have taken effect and the server re-started before indicating the change to peers, reducing difficultly for some clients to update their data.
    • +
    • NimBLEService::getHandle will now fetch the handle from the stack if not valid to avoid returning an invalid value.
    • +
    • std::vector input to set/write values template.
    • +
    • NimBLEHIDDevice::pnp will now set the data correctly.
    • +
    • Check for Arduino component
    • +
    • Fixed building with esp-idf version 5.x.
    • +
    • Fixed pairing failing when the process was started by the peer first.
    • +
    • Fixed building with esp-idf and Arduino component.
    • +
    • Workaround for esp32s3 and esp32c3 not returning the correct txPower with some IDF versions.
    • +
    +

    +Changed

    + +

    +Added

    + +

    +[1.4.1] - 2022-10-30

    +

    +Fixed

    +
      +
    • NimBLEDevice::getPower incorrect value when power level is -3db.
    • +
    • Failed pairing when already in progress.
    • +
    +

    +Changed

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

    +Added

    +
      +
    • Added NimBLEHIDDevice::batteryLevel.
    • +
    • Added NimBLEDevice::setDeviceName allowing for changing the device name while the BLE stack is active.
    • +
    • CI Builds
    • +
    +

    +[1.4.0] - 2022-07-31

    +

    +Fixed

    +
      +
    • Fixed missing data from long notification values.
    • +
    • Fixed NimbleCharacteristicCallbacks::onRead not being called when a non-long read command is received.
    • +
    • 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.
    • +
    • Save resources when retrieving descriptors if the characteristic handle is the same as the end handle (no descriptors).
    • +
    • Subscribing to characteristic notifications/indications will now always use write with response, as per BLE specifications.
    • +
    • 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
    • +
    • Alias added for NimBLEServerCallbacks::onMTUChange to onMtuChanged in order to support porting code from original library.
    • +
    • NimBLEAttValue Class added to reduce and control RAM footprint of characteristic/descriptor values and support conversions from Arduino Strings and many other data types.
    • +
    • Bluetooth 5 extended advertising support for capable devices. CODED Phy, 2M Phy, extended advertising data, and multi-advertising are supported, periodic advertising will be implemented in the future.
    • +
    +

    +[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.
    • +
    • IDf version check for data length extension.
    • +
    • Memory leak when server services changed.
    • +
    • Compiler warnings for non-esp32 devices.
    • +
    +

    +[1.3.2] - 2022-01-15

    +

    +Fixed

    +
      +
    • Initialize advertising complete callback in NimBLEAdvertising constructor.
    • +
    • Clear client disconnect timer in constructor before initializing.
    • +
    • Fix missing data when reading large values.
    • +
    • 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.
    • +
    • NimBLECharacteristic::notify : Overload method to send notifications/indications with custom values.
    • +
    • Added conditional checks for ESP32 specific functions/values to support use of the library on non-esp32 devices.
    • +
    • Added an alias to use the callback name from the original library onMtuChanged.
    • +
    • 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.
    • +
    • Removed unnecessary variables in NimBLEService and changed the constructor no no longer accept numHandles and inst_id parameters.
    • +
    +

    +[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

    + +

    +Changed

    +
      +
    • FreeRTOS files have been removed as they are not used by the library.
    • +
    • Services, characteristics and descriptors can now be created statically and added after.
    • +
    • 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.
    • +
    • Corrected bonding failure when reinitializing the BLE stack.
    • +
    • Writing to a characteristic with a std::string value now correctly writes values with null characters.
    • +
    • Retrieving remote descriptors now uses the characteristic end handle correctly.
    • +
    • Missing data in long writes to remote descriptors.
    • +
    • Hanging on task notification when sending an indication from the characteristic callback.
    • +
    • BLE controller memory could be released when using Arduino as a component.
    • +
    • Compile errors with NimBLE release 1.3.0.
    • +
    +

    +[1.2.0] - 2021-02-08

    +

    +Added

    + +

    +Changed

    + +

    +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
    • +
    • New examples for securing and authenticating client/server connections, by mblasee.
    • +
    • NimBLEAdvertising::SetMinPreferred and NimBLEAdvertising::SetMinPreferred re-added.
    • +
    • Conditional checks added for command line config options in nimconfig.h to support custom configuration in platformio.
    • +
    • NimBLEClient::setValue Now takes an extra bool parameter response to enable the use of write with response (default = false).
    • +
    • NimBLEClient::getCharacteristic(uint16_t handle) Enabling the use of the characteristic handle to be used to find the NimBLERemoteCharacteristic object.
    • +
    • NimBLEHIDDevice class added by wakwak-koba.
    • +
    • 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.
    • +
    • Some asserts were removed in NimBLEAdvertising::start and replaced with better return code handling and logging.
    • +
    • If a host reset event occurs, scanning and advertising will now only be restarted if their previous duration was indefinite.
    • +
    • NimBLERemoteCharacteristic::subscribe and NimBLERemoteCharacteristic::registerForNotify will now set the callback regardless of the existence of the CCCD and return true unless the descriptor write operation failed.
    • +
    • 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.
    • +
    • When getting descriptors for a characteristic the end handle of the service was used as a proxy for the characteristic end handle. This would be rejected by some devices and has been changed to use the next characteristic handle as the end when possible.
    • +
    • An exception could occur when deleting a client instance if a notification arrived while the attribute vectors were being deleted. A flag has been added to prevent this.
    • +
    • An exception could occur after a host reset event when the host re-synced if the tasks that were stopped during the event did not finish processing. A yield has been added after re-syncing to allow tasks to finish before proceeding.
    • +
    • Occasionally the controller would fail to send a disconnected event causing the client to indicate it is connected and would be unable to reconnect. A timer has been added to reset the host/controller if it expires.
    • +
    • Occasionally the call to start scanning would get stuck in a loop on BLE_HS_EBUSY, this loop has been removed.
    • +
    • 16bit and 32bit UUID's in some cases were not discovered or compared correctly if the device advertised them as 16/32bit but resolved them to 128bits. Both are now checked.
    • +
    • FreeRTOS compile errors resolved in latest Arduino core and IDF v3.3.
    • +
    • Multiple instances of time() called inside critical sections caused sporadic crashes, these have been moved out of critical regions.
    • +
    • Advertisement type now correctly set when using non-connectable (advertiser only) mode.
    • +
    • Advertising payload length correction, now accounts for appearance.
    • +
    • (Arduino) Ensure controller mode is set to BLE Only.
    • +
    +

    +[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).
    • +
    • (Arduino) Maximum BLE connections can now be altered by only changing the value of CONFIG_BT_NIMBLE_MAX_CONNECTIONS in nimconfig.h. Any changes to the controller max connection settings in sdkconfig.h will now have no effect when using this library.
    • +
    • (Arduino) Revert the previous change to fix the advertising start delay. Instead a replacement fix that routes all BLE controller commands from a task running on core 0 (same as the controller) has been implemented. This improves response times and reliability for all BLE functions.
    • +
    +

    +[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.
    • +
    +

    +[1.0.0] - 2020-08-22

    +

    First stable release.

    +

    All the original library functionality is complete and many extras added with full documentation.

    +
    +
    +
    + + + + diff --git a/md__bluetooth_5_features.html b/md__bluetooth_015_01features.html similarity index 70% rename from md__bluetooth_5_features.html rename to md__bluetooth_015_01features.html index 7ce2677..6e649d9 100644 --- a/md__bluetooth_5_features.html +++ b/md__bluetooth_015_01features.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Bluetooth 5.x features @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,8 +62,8 @@ $(function() {
    @@ -76,17 +76,24 @@ $(document).ready(function(){initNavTree('md__bluetooth_5_features.html',''); in
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    -
    Bluetooth 5.x features
    +
    +
    Bluetooth 5.x features
    -

    +

    +

    About extended advertising

    Extended advertising allows for much more capability and flexibility.

      @@ -96,14 +103,14 @@ About extended advertising


    -

    +

    Enabling extended advertising

    Extended advertising is supported when enabled with the config option CONFIG_BT_NIMBLE_EXT_ADV set to a value of 1. This is done in menuconfig under Component config > Bluetooth > NimBLE options > Enable extended advertising, or set in nimconfig.h for Arduino, or in build_flags in PlatformIO.

    When enabled the following will occur:

    @@ -112,7 +119,7 @@ Enabling extended advertising diff --git a/md__github_workspace__c_h_a_n_g_e_l_o_g.html b/md__github_workspace__c_h_a_n_g_e_l_o_g.html deleted file mode 100644 index 922cd46..0000000 --- a/md__github_workspace__c_h_a_n_g_e_l_o_g.html +++ /dev/null @@ -1,372 +0,0 @@ - - - - - - - -esp-nimble-cpp: Changelog - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    Changelog
    -
    -
    -

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

    -

    -[1.4.1] - 2022-10-30

    -

    -Fixed

    -
      -
    • NimBLEDevice::getPower incorrect value when power level is -3db.
    • -
    • Failed pairing when already in progress.
    • -
    -

    -Changed

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

    -Added

    -
      -
    • Added NimBLEHIDDevice::batteryLevel.
    • -
    • Added NimBLEDevice::setDeviceName allowing for changing the device name while the BLE stack is active.
    • -
    • CI Builds
    • -
    -

    -[1.4.0] - 2022-07-31

    -

    -Fixed

    -
      -
    • Fixed missing data from long notification values.
    • -
    • Fixed NimbleCharacteristicCallbacks::onRead not being called when a non-long read command is received.
    • -
    • 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.
    • -
    • Save resources when retrieving descriptors if the characteristic handle is the same as the end handle (no descriptors).
    • -
    • Subscribing to characteristic notifications/indications will now always use write with response, as per BLE specifications.
    • -
    • 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
    • -
    • Alias added for NimBLEServerCallbacks::onMTUChange to onMtuChanged in order to support porting code from original library.
    • -
    • NimBLEAttValue Class added to reduce and control RAM footprint of characteristic/descriptor values and support conversions from Arduino Strings and many other data types.
    • -
    • Bluetooth 5 extended advertising support for capable devices. CODED Phy, 2M Phy, extended advertising data, and multi-advertising are supported, periodic advertising will be implemented in the future.
    • -
    -

    -[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.
    • -
    • IDf version check for data length extension.
    • -
    • Memory leak when server services changed.
    • -
    • Compiler warnings for non-esp32 devices.
    • -
    -

    -[1.3.2] - 2022-01-15

    -

    -Fixed

    -
      -
    • Initialize advertising complete callback in NimBLEAdvertising constructor.
    • -
    • Clear client disconnect timer in constructor before initializing.
    • -
    • Fix missing data when reading large values.
    • -
    • 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.
    • -
    • NimBLECharacteristic::notify : Overload method to send notifications/indications with custom values.
    • -
    • Added conditional checks for ESP32 specific functions/values to support use of the library on non-esp32 devices.
    • -
    • Added an alias to use the callback name from the original library onMtuChanged.
    • -
    • 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.
    • -
    • Removed unnecessary variables in NimBLEService and changed the constructor no no longer accept numHandles and inst_id parameters.
    • -
    -

    -[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

    - -

    -Changed

    -
      -
    • FreeRTOS files have been removed as they are not used by the library.
    • -
    • Services, characteristics and descriptors can now be created statically and added after.
    • -
    • 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.
    • -
    • Corrected bonding failure when reinitializing the BLE stack.
    • -
    • Writing to a characterisic with a std::string value now correctly writes values with null characters.
    • -
    • Retrieving remote descriptors now uses the characterisic end handle correctly.
    • -
    • Missing data in long writes to remote descriptors.
    • -
    • Hanging on task notification when sending an indication from the characteristic callback.
    • -
    • BLE controller memory could be released when using Arduino as a component.
    • -
    • Complile errors with NimBLE release 1.3.0.
    • -
    -

    -[1.2.0] - 2021-02-08

    -

    -Added

    - -

    -Changed

    - -

    -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
    • -
    • New examples for securing and authenticating client/server connections, by mblasee.
    • -
    • NimBLEAdvertising::SetMinPreferred and NimBLEAdvertising::SetMinPreferred re-added.
    • -
    • Conditional checks added for command line config options in nimconfig.h to support custom configuration in platformio.
    • -
    • NimBLEClient::setValue Now takes an extra bool parameter response to enable the use of write with response (default = false).
    • -
    • NimBLEClient::getCharacteristic(uint16_t handle) Enabling the use of the characteristic handle to be used to find the NimBLERemoteCharacteristic object.
    • -
    • NimBLEHIDDevice class added by wakwak-koba.
    • -
    • 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.
    • -
    • Some asserts were removed in NimBLEAdvertising::start and replaced with better return code handling and logging.
    • -
    • If a host reset event occurs, scanning and advertising will now only be restarted if their previous duration was indefinite.
    • -
    • NimBLERemoteCharacteristic::subscribe and NimBLERemoteCharacteristic::registerForNotify will now set the callback regardless of the existance of the CCCD and return true unless the descriptor write operation failed.
    • -
    • 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.
    • -
    • When getting descriptors for a characterisic the end handle of the service was used as a proxy for the characteristic end handle. This would be rejected by some devices and has been changed to use the next characteristic handle as the end when possible.
    • -
    • An exception could occur when deleting a client instance if a notification arrived while the attribute vectors were being deleted. A flag has been added to prevent this.
    • -
    • An exception could occur after a host reset event when the host re-synced if the tasks that were stopped during the event did not finish processing. A yield has been added after re-syncing to allow tasks to finish before proceeding.
    • -
    • Occasionally the controller would fail to send a disconnected event causing the client to indicate it is connected and would be unable to reconnect. A timer has been added to reset the host/controller if it expires.
    • -
    • Occasionally the call to start scanning would get stuck in a loop on BLE_HS_EBUSY, this loop has been removed.
    • -
    • 16bit and 32bit UUID's in some cases were not discovered or compared correctly if the device advertised them as 16/32bit but resolved them to 128bits. Both are now checked.
    • -
    • FreeRTOS compile errors resolved in latest Ardruino core and IDF v3.3.
    • -
    • Multiple instances of time() called inside critical sections caused sporadic crashes, these have been moved out of critical regions.
    • -
    • Advertisement type now correctly set when using non-connectable (advertiser only) mode.
    • -
    • Advertising payload length correction, now accounts for appearance.
    • -
    • (Arduino) Ensure controller mode is set to BLE Only.
    • -
    -

    -[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 advertsing ends and takes a pointer to a NimBLEAdvertising object (similar to the NimBLEScan::start API).
    • -
    • (Arduino) Maximum BLE connections can now be altered by only changing the value of CONFIG_BT_NIMBLE_MAX_CONNECTIONS in nimconfig.h. Any changes to the controller max connection settings in sdkconfig.h will now have no effect when using this library.
    • -
    • (Arduino) Revert the previous change to fix the advertising start delay. Instead a replacement fix that routes all BLE controller commands from a task running on core 0 (same as the controller) has been implemented. This improves response times and reliability for all BLE functions.
    • -
    -

    -[1.0.1] - 2020-09-02

    -

    -Added

    - -

    -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.
    • -
    -

    -[1.0.0] - 2020-08-22

    -

    First stable release.

    -

    All the original library functionality is complete and many extras added with full documentation.

    -
    -
    -
    - - - - diff --git a/md__improvements_and_updates.html b/md__improvements_and_updates.html deleted file mode 100644 index c287692..0000000 --- a/md__improvements_and_updates.html +++ /dev/null @@ -1,206 +0,0 @@ - - - - - - - -esp-nimble-cpp: Improvements and updates - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    Improvements and updates
    -
    -
    -

    Many improvements have been made to this library vs the original, this is a brief overview of the most significant changes. Refer to the class documentation for further information on class specifics.

    - -

    -

    -Server

    -

    NimBLEService::NimBLEService::createCharacteristic takes a 3rd parameter to specify the maximum data size that can be stored by the characteristic. This allows for limiting the RAM use of the characteristic in cases where small amounts of data are expected.
    -
    -

    -

    NimBLECharacteristic::setValue(const T &s) NimBLEDescriptor::setValue(const T &s)

    -

    Now use the NimbleAttValue class and templates to accommodate standard and custom types/values.

    -

    Example

    struct my_struct {
    -
    uint8_t one;
    -
    uint16_t two;
    -
    uint32_t four;
    -
    uint64_t eight;
    -
    float flt;
    -
    } myStruct;
    -
    -
    myStruct.one = 1;
    -
    myStruct.two = 2;
    -
    myStruct.four = 4;
    -
    myStruct.eight = 8;
    -
    myStruct.flt = 1234.56;
    -
    -
    pCharacteristic->setValue(myStruct);
    -
    -
    // Arduino String support
    -
    String myString = "Hello";
    -
    pCharacteristic->setValue(myString);
    -

    This will send the struct to the receiving client when read or a notification sent.

    -

    NimBLECharacteristic::getValue now takes an optional timestamp parameter which will update it's value with the time the last value was received. In addition an overloaded template has been added to retrieve the value as a type specified by the user.

    -

    Example

    time_t timestamp;
    -
    myStruct = pCharacteristic->getValue<myStruct>(&timestamp); // timestamp optional
    -


    -

    -

    Advertising will automatically start when a client disconnects.

    -

    A new method NimBLEServer::advertiseOnDisconnect(bool) has been implemented to control this, true(default) = enabled.
    -
    -

    -

    NimBLEServer::removeService takes an additional parameter bool deleteSvc that if true will delete the service and all characteristics / descriptors belonging to it and invalidating any pointers to them.

    -

    If false the service is only removed from visibility by clients. The pointers to the service and it's characteristics / descriptors will remain valid and the service can be re-added in the future using NimBLEServer::addService.
    -
    -

    -

    -

    -Advertising

    -

    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).

    -

    This provides an opportunity to update the advertisement data if desired.

    -

    Also now returns a bool value to indicate if advertising successfully started or not.
    -
    -

    -

    -

    -Client

    -

    NimBLERemoteCharacteristic::readValue(time_t\*, bool) NimBLERemoteDescriptor::readValue(bool)

    -

    Have been added as templates to allow reading the values as any specified type.

    -

    Example

    struct my_struct{
    -
    uint8_t one;
    -
    uint16_t two;
    -
    uint32_t four;
    -
    uint64_t eight;
    -
    float flt;
    -
    }myStruct;
    -
    -
    time_t timestamp;
    -
    myStruct = pRemoteCharacteristic->readValue<myStruct>(&timestamp); // timestamp optional
    -


    -

    -

    NimBLERemoteCharacteristic::registerForNotify Has been deprecated as now the internally stored characteristic value is updated when notification/indication is received.

    -

    NimBLERemoteCharacteristic::subscribe and NimBLERemoteCharacteristic::unsubscribe have been implemented to replace it. A callback is no longer required to get the most recent value unless timing is important. Instead, the application can call NimBLERemoteCharacteristic::getValue to get the last updated value any time.
    -
    -

    -

    The notify_callback function is now defined as a std::function to take advantage of using std::bind to specify a class member function for the callback.

    -

    Example:

    using namespace std::placeholders;
    -
    notify_callback callback = std::bind(&<ClassName>::<memberFunctionCallbackName>, this, _1, _2, _3, _4);
    -
    -
    <remoteCharacteristicInstance>->subscribe(true, callback);
    -

    NimBLERemoteCharacteristic::readValue and NimBLERemoteCharacteristic::getValue take an optional timestamp parameter which will update it's value with the time the last value was received.

    -
    -

    NimBLEClient::getService
    - NimBLERemoteService::getCharacteristic
    - NimBLERemoteCharacteristic::getDescriptor

    -
    -

    These methods will now check the respective vectors for the attribute object and, if not found, will retrieve (only) the specified attribute from the peripheral.

    -

    These changes allow more control for the user to manage the resources used for the attributes.
    -
    -

    -

    NimBLEClient::connect() can now be called without an address or advertised device parameter. This will connect to the device with the address previously set when last connected or set with NimBLEDevice::setPeerAddress().

    -

    -

    -General

    -

    To reduce resource use all instances of std::map have been replaced with std::vector.

    -

    Use of FreeRTOS::Semaphore has been removed as it was consuming too much ram, the related files have been left in place to accomodate application use.

    -

    Operators ==, != and std::string have been added to NimBLEAddress and NimBLEUUID for easier comparison and logging.

    -

    New constructor for NimBLEUUID(uint32_t, uint16_t, uint16_t, uint64_t) added to lower memory use vs string construction. See: #21.

    -

    Security/pairing operations are now handled in the respective NimBLEClientCallbacks and NimBLEServerCallbacks classes, NimBLESecurity(deprecated) remains for backward compatibility.

    -

    Configuration options have been added to add or remove debugging information, when disabled (default) significantly reduces binary size. In ESP-IDF the options are in menuconfig: Main menu -> ESP-NimBLE-cpp configuration.
    - For Arduino the options must be commented / uncommented in nimconfig.h.

    -

    Characteristics and descriptors now use the NimBLEAttValue class to store their data. This is a polymorphic container class capable of converting to/from many different types efficiently. See: #286

    -
    -
    -
    - - - - diff --git a/md__migration__guide.html b/md__migration__guide.html new file mode 100644 index 0000000..7d9d25a --- /dev/null +++ b/md__migration__guide.html @@ -0,0 +1,481 @@ + + + + + + + +esp-nimble-cpp: Migrating from Bluedroid to NimBLE + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    esp-nimble-cpp 2.0.0 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    +
    Migrating from Bluedroid to NimBLE
    +
    +
    +

    This guide describes the required changes to existing projects migrating from the original bluedroid API to NimBLE.

    +

    The changes listed here are only the required changes that must be made, and a short overview of options for migrating existing applications.

    +

    For more information on the improvements and additions please refer to the class documentation

    + +

    +General Information

    +

    +Header Files

    +

    All classes are accessible by including NimBLEDevice.h in your application, no further headers need to be included.

    +

    (Mainly for Arduino) You may choose to include NimBLELog.h in your application if you want to use the NIMBLE_LOGx macros for debugging. These macros are used the same way as the ESP_LOGx macros.
    +
    +

    +

    +Class Names

    +

    Class names remain the same as the original with the addition of a "Nim" prefix. For example BLEDevice is now NimBLEDevice and BLEServer is now NimBLEServer etc.

    +

    For convenience definitions have been added to allow applications to use either name for all classes this means no class names need to be changed in existing code and makes migrating easier.
    +
    +

    +

    +BLE Addresses

    +

    BLEAddress (NimBLEAddress) When constructing an address the constructor now takes an *(optional)* uint8_t type parameter to specify the address type. Default is (0) Public static address.

    +

    For example BLEAddress addr(11:22:33:44:55:66, 1) will create the address object with an address type of: 1 (Random).

    +

    As this parameter is optional no changes to existing code are needed, it is mentioned here for information.

    +

    BLEAddress::getNative is now named NimBLEAddress::getBase and returns a pointer to const ble_addr_t instead of a pointer to the address value.
    +
    +

    +

    +Server API

    +

    Creating a BLEServer instance is the same as original, no changes required. For example BLEDevice::createServer() will work just as it did before.

    +

    BLEServerCallbacks (NimBLEServerCallbacks) has new methods for handling security operations.
    +
    +

    +

    BLEServerCallbacks::onConnect (NimBLEServerCallbacks::onConnect) only has a single callback declaration which takes an additional (required) parameter NimBLEConnInfo & connInfo, which has methods to get information about the connected peer.

    void onConnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo)`
    +


    +

    +

    BLEServerCallbacks::onDisconnect (NimBLEServerCallbacks::onDisconnect) only has a single callback declaration which takes 2 additional (required) parameters NimBLEConnInfo & connInfo, which provides information about the peer and int reason, which gives the reason code for disconnection.

    +
    void onDisconnect(NimBLEServer* pServer, NimBLEConnInfo& connInfo, int reason)`
    +


    +

    +

    BLEServerCallbacks::onMtuChanged is now (NimBLEServerCallbacks::onMtuChange) and takes the parameter NimBLEConnInfo & connInfo instead of esp_ble_gatts_cb_param_t, which has methods to get information about the connected peer.

    +
    onMTUChange(uint16_t MTU, NimBLEConnInfo& connInfo)
    +

    Note: All callback methods have default implementations which allows the application to implement only the methods applicable.
    +
    +

    +

    +Services

    +

    Creating a BLEService (NimBLEService) instance is the same as original, no changes required. For example BLEServer::createService(SERVICE_UUID) will work just as it did before.
    +
    +

    +

    +Characteristics

    +

    BLEService::createCharacteristic (NimBLEService::createCharacteristic) is used the same way as originally except the properties parameter has changed.

    +

    When creating a characteristic the properties are now set with NIMBLE_PROPERTY::XXXX instead of BLECharacteristic::XXXX.

    +

    +Originally

    +
    +

    ‍BLECharacteristic::PROPERTY_READ |
    +

    +
    +

    BLECharacteristic::PROPERTY_WRITE

    +

    +Is Now

    +
    +

    ‍NIMBLE_PROPERTY::READ |
    +

    +
    +

    NIMBLE_PROPERTY::WRITE
    +

    +

    +The full list of properties

    +
    +

    ‍NIMBLE_PROPERTY::READ
    +

    +
    +

    NIMBLE_PROPERTY::READ_ENC
    + NIMBLE_PROPERTY::READ_AUTHEN
    + NIMBLE_PROPERTY::READ_AUTHOR
    + NIMBLE_PROPERTY::WRITE
    + NIMBLE_PROPERTY::WRITE_NR
    + NIMBLE_PROPERTY::WRITE_ENC
    + NIMBLE_PROPERTY::WRITE_AUTHEN
    + NIMBLE_PROPERTY::WRITE_AUTHOR
    + NIMBLE_PROPERTY::BROADCAST
    + NIMBLE_PROPERTY::NOTIFY
    + NIMBLE_PROPERTY::INDICATE
    +

    +


    +

    +

    Example:

    BLECharacteristic *pCharacteristic = pService->createCharacteristic(
    +
    CHARACTERISTIC_UUID,
    +
    BLECharacteristic::PROPERTY_READ |
    +
    BLECharacteristic::PROPERTY_WRITE
    +
    );
    +

    Needs to be changed to:

    BLECharacteristic *pCharacteristic = pService->createCharacteristic(
    +
    CHARACTERISTIC_UUID,
    +
    NIMBLE_PROPERTY::READ |
    +
    NIMBLE_PROPERTY::WRITE
    +
    );
    +


    +

    +

    +Characteristic callbacks

    +

    BLECharacteristicCallbacks (NimBLECharacteristicCallbacks) has a new method NimBLECharacteristicCallbacks::onSubscribe which is called when a client subscribes to notifications/indications.

    +

    BLECharacteristicCallbacks::onRead (NimBLECharacteristicCallbacks::onRead) only has a single callback declaration, which takes an additional (required) parameter of NimBLEConnInfo& connInfo, which provides connection information about the peer.

    +

    BLECharacteristicCallbacks::onWrite (NimBLECharacteristicCallbacks::onWrite) only has a single callback declaration, which takes an additional (required) parameter of NimBLEConnInfo& connInfo, which provides connection information about the peer.
    +

    +

    BLECharacteristicCallbacks::onStatus (NimBLECharacteristicCallbacks::onStatus) has had the status parameter removed as it was unnecessary since the status code from the BLE stack was also provided. The status code for success is 0 for notifications and BLE_HS_EDONE for indications, any other value is an error.

    +

    Note: All callback methods have default implementations which allows the application to implement only the methods applicable.
    +
    +

    +
    +

    ‍BLECharacteristic::getData

    +
    +

    Has been removed from the API. Originally this returned a uint8_t* to the internal data, which is volatile. To prevent possibly throwing exceptions this has been removed and NimBLECharacteristic::getValue should be used to get a copy of the data first which can then safely be accessed via pointer.

    +

    Example:

    std::string value = pCharacteristic->getValue();
    +
    uint8_t *pData = (uint8_t*)value.data();
    +

    Alternatively use the getValue template:

    my_struct_t myStruct = pChr->getValue<my_struct_t>();
    +


    +

    +

    +Descriptors

    +

    Descriptors are now created using the NimBLECharacteristic::createDescriptor method.

    +

    BLE2902 or NimBLE2902 class has been removed. NimBLE automatically creates the 0x2902 descriptor if a characteristic has a notification or indication property assigned to it.

    +

    It was no longer useful to have a class for the 0x2902 descriptor as a new callback NimBLECharacteristicCallbacks::onSubscribe was added to handle callback functionality and the client subscription status is handled internally.

    +

    Note: Attempting to create a 0x2902 descriptor will trigger a warning message and flag it internally as removed and will not be functional.

    +

    All other descriptors are now created just as characteristics are by using the NimBLECharacteristic::createDescriptor method (except 0x2904, see below). Which are defined as:

    NimBLEDescriptor* createDescriptor(const char* uuid,
    +
    uint32_t properties =
    +
    NIMBLE_PROPERTY::READ |
    +
    NIMBLE_PROPERTY::WRITE,
    +
    uint16_t max_len = 100);
    +
    +
    NimBLEDescriptor* createDescriptor(NimBLEUUID uuid,
    +
    uint32_t properties =
    +
    NIMBLE_PROPERTY::READ |
    +
    NIMBLE_PROPERTY::WRITE,
    +
    uint16_t max_len = 100);
    +

    +Example

    +
    pDescriptor = pCharacteristic->createDescriptor("ABCD",
    +
    NIMBLE_PROPERTY::READ |
    +
    NIMBLE_PROPERTY::WRITE |
    +
    NIMBLE_PROPERTY::WRITE_ENC,
    +
    25);
    +

    Would create a descriptor with the UUID 0xABCD, publicly readable but only writable if paired/bonded (encrypted) and has a max value length of 25 bytes.
    +

    +

    For the 0x2904, there is a specialized class that is created through NimBLECharacteristic::create2904 which returns a pointer to a NimBLE2904 instance which has specific functions for handling the data expect in the Characteristic Presentation Format Descriptor specification.
    +
    +

    +

    +Descriptor callbacks

    +
    +

    BLEDescriptorCallbacks::onRead (NimBLEDescriptorCallbacks::onRead) BLEDescriptorCallbacks::onWrite (NimBLEDescriptorCallbacks::onWrite)

    +
    +

    The above descriptor callbacks take an additional (required) parameter NimBLEConnInfo& connInfo, which contains the connection information of the peer.
    +

    +

    +Server Security

    +

    Security is set on the characteristic or descriptor properties by applying one of the following:

    +

    ‍NIMBLE_PROPERTY::READ_ENC
    +

    +
    +

    NIMBLE_PROPERTY::READ_AUTHEN
    + NIMBLE_PROPERTY::READ_AUTHOR
    + NIMBLE_PROPERTY::WRITE_ENC
    + NIMBLE_PROPERTY::WRITE_AUTHEN
    + NIMBLE_PROPERTY::WRITE_AUTHOR
    +

    +


    +

    +

    When a peer wants to read or write a characteristic or descriptor with any of these properties applied it will trigger the pairing process. By default the "just-works" pairing will be performed automatically.

    +

    This can be changed to use passkey authentication or numeric comparison. See Security API for details.
    +
    +

    +

    +Advertising API

    +

    Advertising works the same as the original API except:

    +

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

    +
    +

    ‍BLEAdvertising::start (NimBLEAdvertising::start)

    +
    +

    Now takes 2 optional parameters, the first is the duration to advertise for (in milliseconds), the second NimBLEAddress to direct advertising to a specific device.
    +
    +

    +

    +Client API

    +

    Client instances are created just as before with BLEDevice::createClient (NimBLEDevice::createClient).

    +

    Multiple client instances can be created, up to the maximum number of connections set in the config file (default: 3). To delete a client instance you must use NimBLEDevice::deleteClient.

    +

    BLEClient::connect(NimBLEClient::connect) Has had it's parameters altered. Defined as:

    +

    NimBLEClient::connect(bool deleteServices = true, , bool asyncConnect = false, bool exchangeMTU = true);
    + NimBLEClient::connect(const NimBLEAddress& address, bool deleteAttributes = true, bool asyncConnect = false, bool exchangeMTU = true);
    + NimBLEClient::connect(const NimBLEAdvertisedDevice* device, bool deleteServices = true, bool asyncConnect = false, bool exchangeMTU = true);

    +
    +

    The type parameter has been removed and a new bool parameter has been added to indicate if the client should delete the attribute database previously retrieved (if applicable) for the peripheral, default value is true.

    +

    If set to false the client will use the attribute database it retrieved from the peripheral when previously connected. This allows for faster connections and power saving if the devices dropped connection and are reconnecting.
    +

    +

    The parameter bool asyncConnect if true, will cause the client to send the connect command to the stack and return immediately without blocking. The return value will represent wether the command was sent successfully or not and the NimBLEClientCallbacks::onConnect or NimBLEClientCallbacks::onConnectFail will be called when the operation is complete.
    +

    +

    The parameter bool exchangeMTU if true, will cause the client to perform the exchange MTU process upon connecting. If false the MTU exchange will need to be performed by the application by calling NimBLEClient::exchangeMTU. If the connection is only sending small payloads it may be advantageous to not exchange the MTU to gain performance in the connection process.
    +
    +

    +
    +

    BLEClient::getServices (NimBLEClient::getServices)

    +
    +

    This method now takes an optional (bool) parameter to indicate if the services should be retrieved from the server (true) or the currently known database returned (false : default). Also now returns a pointer to std::vector instead of std::map.
    +
    +

    +

    Removed: the automatic discovery of all peripheral attributes as they consumed time and resources for data the user may not be interested in.

    +

    Added: NimBLEClient::discoverAttributes for the user to discover all the peripheral attributes to replace the the removed automatic functionality.
    +
    +

    +

    +Remote Services

    +

    BLERemoteService (NimBLERemoteService) Methods remain mostly unchanged with the exceptions of:

    +
    +

    ‍BLERemoteService::getCharacteristicsByHandle

    +
    +

    This method has been removed.
    +
    +

    +
    +

    BLERemoteService::getCharacteristics (NimBLERemoteService::getCharacteristics)

    +
    +

    This method now takes an optional (bool) parameter to indicate if the characteristics should be retrieved from the server (true) or the currently known database returned, default = false.
    + Also now returns a pointer to std::vector instead of std::map.
    +
    +

    +

    +Remote Characteristics

    +

    BLERemoteCharacteristic (NimBLERemoteCharacteristic) There have been a few changes to the methods in this class:

    +
    +

    BLERemoteCharacteristic::writeValue (NimBLERemoteCharacteristic::writeValue)

    +
    +

    Now returns true or false to indicate success or failure so you can choose to disconnect or try again.
    +
    +

    +
    +

    BLERemoteCharacteristic::registerForNotify

    +
    +

    Has been removed.

    +
    +

    NimBLERemoteCharacteristic::subscribe
    + NimBLERemoteCharacteristic::unsubscribe
    +

    +
    +

    Are the new methods added to replace it.
    +
    +

    +
    +

    BLERemoteCharacteristic::readUInt8 (NimBLERemoteCharacteristic::readUInt8)
    + BLERemoteCharacteristic::readUInt16 (NimBLERemoteCharacteristic::readUInt16)
    + BLERemoteCharacteristic::readUInt32 (NimBLERemoteCharacteristic::readUInt32)
    + BLERemoteCharacteristic::readFloat (NimBLERemoteCharacteristic::readFloat)

    +
    +

    Are removed a template: NimBLERemoteCharacteristic::readValue<type\>(time_t\*, bool) has been added to replace them.
    +
    +

    +
    +

    BLERemoteCharacteristic::readRawData

    +
    +

    Has been removed from the API Originally it stored an unnecessary copy of the data and was returning a uint8_t pointer to volatile internal data. The user application should use NimBLERemoteCharacteristic::readValue or NimBLERemoteCharacteristic::getValue. To obtain a copy of the data as a NimBLEAttValue instance and use the NimBLEAttValue::data member function to obtain the pointer.

    NimBLEAttValue value = pChr->readValue();
    +
    const uint8_t *data = value.data();
    +

    Alternatively use the readValue template:

    my_struct_t myStruct = pChr->readValue<my_struct_t>();
    +


    +

    +
    +

    BLERemoteCharacteristic::getDescriptors (NimBLERemoteCharacteristic::getDescriptors)

    +
    +

    This method now takes an optional (bool) parameter to indicate if the descriptors should be retrieved from the server (true) or the currently known database returned, default = false. Also now returns a pointer to std::vector instead of std::map.
    +
    +

    +

    +Client callbacks

    +
    +

    BLEClientCallbacks::onDisconnect (NimBLEClientCallbacks::onDisconnect)

    +
    +

    This now takes a second parameter int reason which provides the reason code for disconnection.
    +
    +

    +

    +Client Security

    +

    The client will automatically initiate security when the peripheral responds that it's required. The default configuration will use "just-works" pairing with no bonding, if you wish to enable bonding see below.
    +
    +

    +

    +BLE Scan

    +

    The scan API is mostly unchanged from the original except for NimBLEScan::start, which has the following changes:
    +

      +
    • The duration parameter is now in milliseconds instead of seconds.
    • +
    • The callback parameter has been removed.
    • +
    • A new parameter bool restart has been added, when set to true to restart the scan if already in progress and clear the duplicate cache.

      +

      The blocking overload of NimBLEScan::start has been replaced by an overload of NimBLEScan::getResults with the same parameters.
      +

      +
    • +
    +

    +Security API

    +

    Security operations have been moved to BLEDevice (NimBLEDevice).
    + The security callback methods are now incorporated in the NimBLEServerCallbacks / NimBLEClientCallbacks classes.

    +

    The callback methods are:

    +
    +

    bool onConfirmPasskey(NimBLEConnInfo& connInfo, uint32_t pin)

    +
    +

    Receives the pin when using numeric comparison authentication. Call NimBLEDevice::injectConfirmPasskey(connInfo, true); to accept or NimBLEDevice::injectConfirmPasskey(connInfo, false); to reject.
    +

    +
    +

    void onPassKeyEntry(NimBLEConnInfo& connInfo)

    +
    +

    Client callback; client should respond with the passkey (pin) by calling NimBLEDevice::injectPassKey(connInfo, 123456);
    +

    +
    +

    uint32_t onPassKeyDisplay()

    +
    +

    Server callback; should return the passkey (pin) expected from the client.
    +

    +
    +

    void onAuthenticationComplete(NimBLEConnInfo& connInfo)

    +
    +

    Authentication complete, success or failed information is available from the NimBLEConnInfo methods.
    +
    +

    +

    Security settings and IO capabilities are now set by the following methods of NimBLEDevice.

    +

    NimBLEDevice::setSecurityAuth(bool bonding, bool mitm, bool sc) NimBLEDevice::setSecurityAuth(uint8_t auth_req)

    +
    +

    Sets the authorization mode for this device.
    +
    +

    +
    +

    NimBLEDevice::setSecurityIOCap(uint8_t iocap)

    +
    +

    Sets the Input/Output capabilities of this device.
    +
    +

    +
    +

    NimBLEDevice::setSecurityInitKey(uint8_t init_key)

    +
    +

    If we are the initiator of the security procedure this sets the keys we will distribute.
    +
    +

    +
    +

    NimBLEDevice::setSecurityRespKey(uint8_t resp_key)

    +
    +

    Sets the keys we are willing to accept from the peer during pairing.
    +
    +

    +

    +Arduino Configuration

    +

    Unlike the original library pre-packaged in the esp32-arduino, this library has all the configuration options that are normally set in menuconfig available in the src/nimconfig.h file.

    +

    This allows Arduino users to fully customize the build, such as increasing max connections or loading the BLE stack into external PSRAM.

    +

    For details on the options, they are fully commented in nimconfig.h
    +
    +

    +
    +
    +
    + + + + diff --git a/md__migration_guide.html b/md__migration_guide.html deleted file mode 100644 index 58402b8..0000000 --- a/md__migration_guide.html +++ /dev/null @@ -1,378 +0,0 @@ - - - - - - - -esp-nimble-cpp: Migrating from Bluedroid to NimBLE - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    Migrating from Bluedroid to NimBLE
    -
    -
    -

    This guide describes the required changes to existing projects migrating from the original bluedroid API to NimBLE.

    -

    The changes listed here are only the required changes that must be made, and a short overview of options for migrating existing applications.

    -

    For more information on the improvements and additions please refer to the class documentation and Improvements and updates

    - -

    -

    -General Information

    -

    -Header Files

    -

    All classes are accessible by including NimBLEDevice.h in your application, no further headers need to be included.

    -

    (Mainly for Arduino) You may choose to include NimBLELog.h in your application if you want to use the NIMBLE_LOGx macros for debugging. These macros are used the same way as the ESP_LOGx macros.
    -

    -

    -Class Names

    -

    Class names remain the same as the original with the addition of a "Nim" prefix. For example BLEDevice is now NimBLEDevice and BLEServer is now NimBLEServer etc.

    -

    For convenience definitions have been added to allow applications to use either name for all classes this means no class names need to be changed in existing code and makes migrating easier.
    -

    -

    -BLE Addresses

    -

    BLEAddress (NimBLEAddress) When constructing an address the constructor now takes an *(optional)* uint8_t type parameter to specify the address type. Default is (0) Public static address.

    -

    For example BLEAddress addr(11:22:33:44:55:66, 1) will create the address object with an address type of: 1 (Random).

    -

    As this parameter is optional no changes to existing code are needed, it is mentioned here for information.

    -

    BLEAddress::getNative (NimBLEAddress::getNative) returns a uint8_t pointer to the native address byte array. In this library the address bytes are stored in reverse order from the original library. This is due to the way the NimBLE stack expects addresses to be presented to it. All other functions such as toString are not affected as the endian change is made within them.
    -

    -

    -

    -Server API

    -

    Creating a BLEServer instance is the same as original, no changes required. For example BLEDevice::createServer() will work just as it did before.

    -

    BLEServerCallbacks (NimBLEServerCallbacks) has new methods for handling security operations. Note: All callback methods have default implementations which allows the application to implement only the methods applicable.
    -

    -

    -

    -Services

    -

    Creating a BLEService (NimBLEService) instance is the same as original, no changes required. For example BLEServer::createService(SERVICE_UUID) will work just as it did before.

    -

    -

    -Characteristics

    -

    BLEService::createCharacteristic (NimBLEService::createCharacteristic) is used the same way as originally except the properties parameter has changed.

    -

    When creating a characteristic the properties are now set with NIMBLE_PROPERTY::XXXX instead of BLECharacteristic::XXXX.

    -

    -Originally

    -
    -

    BLECharacteristic::PROPERTY_READ | BLECharacteristic::PROPERTY_WRITE

    -
    -

    -Is Now

    -
    -

    NIMBLE_PROPERTY::READ | NIMBLE_PROPERTY::WRITE

    -
    -


    -

    -

    -The full list of properties

    -
    -

    NIMBLE_PROPERTY::READ NIMBLE_PROPERTY::READ_ENC NIMBLE_PROPERTY::READ_AUTHEN NIMBLE_PROPERTY::READ_AUTHOR NIMBLE_PROPERTY::WRITE NIMBLE_PROPERTY::WRITE_NR NIMBLE_PROPERTY::WRITE_ENC NIMBLE_PROPERTY::WRITE_AUTHEN NIMBLE_PROPERTY::WRITE_AUTHOR NIMBLE_PROPERTY::BROADCAST NIMBLE_PROPERTY::NOTIFY NIMBLE_PROPERTY::INDICATE

    -
    -


    -

    -

    Example:

    BLECharacteristic *pCharacteristic = pService->createCharacteristic(
    -
    CHARACTERISTIC_UUID,
    -
    BLECharacteristic::PROPERTY_READ |
    -
    BLECharacteristic::PROPERTY_WRITE
    -
    );
    -

    Needs to be changed to:

    BLECharacteristic *pCharacteristic = pService->createCharacteristic(
    -
    CHARACTERISTIC_UUID,
    -
    NIMBLE_PROPERTY::READ |
    -
    NIMBLE_PROPERTY::WRITE
    -
    );
    -


    -

    -

    BLECharacteristicCallbacks (NimBLECharacteristicCallbacks) has a new method NimBLECharacteristicCallbacks::onSubscribe which is called when a client subscribes to notifications/indications.

    -

    Note: All callback methods have default implementations which allows the application to implement only the methods applicable.
    -

    -
    -

    BLECharacteristic::getData

    -
    -

    Has been removed from the API. Originally this returned a uint8_t* to the internal data, which is volatile. To prevent possibly throwing exceptions this has been removed and NimBLECharacteristic::getValue should be used to get a copy of the data first which can then safely be accessed via pointer.

    -

    Example:

    std::string value = pCharacteristic->getValue();
    -
    uint8_t *pData = (uint8_t*)value.data();
    -

    Alternatively use the getValue template:

    my_struct_t myStruct = pChr->getValue<my_struct_t>();
    -


    -

    -

    -

    -Descriptors

    -

    Descriptors are now created using the NimBLECharacteristic::createDescriptor method.

    -

    BLE2902 or NimBLE2902 class has been removed. NimBLE automatically creates the 0x2902 descriptor if a characteristic has a notification or indication property assigned to it.

    -

    It was no longer useful to have a class for the 0x2902 descriptor as a new callback NimBLECharacteristicCallbacks::onSubscribe was added to handle callback functionality and the client subscription status is handled internally.

    -

    Note: Attempting to create a 0x2902 descriptor will trigger an assert to notify the error, allowing the creation of it would cause a fault in the NimBLE stack.

    -

    All other descriptors are now created just as characteristics are by using the NimBLECharacteristic::createDescriptor method (except 0x2904, see below). Which are defined as:

    NimBLEDescriptor* createDescriptor(const char* uuid,
    -
    uint32_t properties =
    -
    NIMBLE_PROPERTY::READ |
    -
    NIMBLE_PROPERTY::WRITE,
    -
    uint16_t max_len = 100);
    -
    -
    NimBLEDescriptor* createDescriptor(NimBLEUUID uuid,
    -
    uint32_t properties =
    -
    NIMBLE_PROPERTY::READ |
    -
    NIMBLE_PROPERTY::WRITE,
    -
    uint16_t max_len = 100);
    -

    -Example

    -
    pDescriptor = pCharacteristic->createDescriptor("ABCD",
    -
    NIMBLE_PROPERTY::READ |
    -
    NIMBLE_PROPERTY::WRITE |
    -
    NIMBLE_PROPERTY::WRITE_ENC,
    -
    25);
    -

    Would create a descriptor with the UUID 0xABCD, publicly readable but only writable if paired/bonded (encrypted) and has a max value length of 25 bytes.
    -

    -

    For the 0x2904, there is a special class that is created when you call `createDescriptor("2904").

    -

    The pointer returned is of the base class NimBLEDescriptor but the call will create the derived class of NimBLE2904 so you must cast the returned pointer to NimBLE2904 to access the specific class methods.

    -

    -Example

    -
    p2904 = (NimBLE2904*)pCharacteristic->createDescriptor("2904");
    -


    -

    -

    -

    -Server Security

    -

    Security is set on the characteristic or descriptor properties by applying one of the following:

    -

    NIMBLE_PROPERTY::READ_ENC NIMBLE_PROPERTY::READ_AUTHEN NIMBLE_PROPERTY::READ_AUTHOR NIMBLE_PROPERTY::WRITE_ENC NIMBLE_PROPERTY::WRITE_AUTHEN NIMBLE_PROPERTY::WRITE_AUTHOR

    -
    -


    -

    -

    When a peer wants to read or write a characteristic or descriptor with any of these properties applied it will trigger the pairing process. By default the "just-works" pairing will be performed automatically.

    -

    This can be changed to use passkey authentication or numeric comparison. See Security API for details.
    -

    -

    -

    -Advertising API

    -

    Advertising works the same as the original API except:

    -

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

    -
    -

    BLEAdvertising::start (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). This provides an opportunity to update the advertisement data if desired.
    -

    -

    -

    -Client API

    -

    Client instances are created just as before with BLEDevice::createClient (NimBLEDevice::createClient).

    -

    Multiple client instances can be created, up to the maximum number of connections set in the config file (default: 3). To delete a client instance you must use NimBLEDevice::deleteClient.

    -

    BLEClient::connect(NimBLEClient::connect) Has had it's parameters altered. Defined as:

    -

    NimBLEClient::connect(bool deleteServices = true); NimBLEClient::connect(NimBLEAdvertisedDevice* device, bool deleteServices = true); NimBLEClient::connect(NimBLEAddress address, bool deleteServices = true);

    -
    -

    The type parameter has been removed and a new bool parameter has been added to indicate if the client should delete the attribute database previously retrieved (if applicable) for the peripheral, default value is true.

    -

    If set to false the client will use the attribute database it retrieved from the peripheral when previously connected.

    -

    This allows for faster connections and power saving if the devices dropped connection and are reconnecting.
    -

    -
    -

    BLEClient::getServices (NimBLEClient::getServices)

    -
    -

    This method now takes an optional (bool) parameter to indicate if the services should be retrieved from the server (true) or the currently known database returned (false : default). Also now returns a pointer to std::vector instead of std::map.
    -

    -

    Removed: the automatic discovery of all peripheral attributes as they consumed time and resources for data the user may not be interested in.

    -

    Added: NimBLEClient::discoverAttributes for the user to discover all the peripheral attributes to replace the the removed automatic functionality.
    -

    -

    -

    -Remote Services

    -

    BLERemoteService (NimBLERemoteService) Methods remain mostly unchanged with the exceptions of:

    -
    -

    BLERemoteService::getCharacteristicsByHandle

    -
    -

    This method has been removed.
    -

    -
    -

    BLERemoteService::getCharacteristics (NimBLERemoteService::getCharacteristics)

    -
    -

    This method now takes an optional (bool) parameter to indicate if the characteristics should be retrieved from the server (true) or the currently known database returned (false : default). Also now returns a pointer to std::vector instead of std::map.
    -

    -

    -

    -Remote Characteristics

    -

    BLERemoteCharacteristic (NimBLERemoteCharacteristic) There have been a few changes to the methods in this class:

    -
    -

    BLERemoteCharacteristic::writeValue (NimBLERemoteCharacteristic::writeValue) BLERemoteCharacteristic::registerForNotify (NimBLERemoteCharacteristic::registerForNotify)

    -
    -

    Now return true or false to indicate success or failure so you can choose to disconnect or try again.
    -

    -
    -

    BLERemoteCharacteristic::registerForNotify (NimBLERemoteCharacteristic::registerForNotify)

    -
    -

    Is now deprecated.

    -

    NimBLERemoteCharacteristic::subscribe NimBLERemoteCharacteristic::unsubscribe

    -
    -

    Are the new methods added to replace it.
    -

    -
    -

    BLERemoteCharacteristic::readUInt8 (NimBLERemoteCharacteristic::readUInt8) BLERemoteCharacteristic::readUInt16 (NimBLERemoteCharacteristic::readUInt16) BLERemoteCharacteristic::readUInt32 (NimBLERemoteCharacteristic::readUInt32) BLERemoteCharacteristic::readFloat (NimBLERemoteCharacteristic::readFloat)

    -
    -

    Are deprecated a template: NimBLERemoteCharacteristic::readValue<type\>(time_t\*, bool) has been added to replace them.
    -

    -
    -

    BLERemoteCharacteristic::readRawData

    -
    -

    Has been removed from the API Originally it stored an unnecessary copy of the data and was returning a uint8_t pointer to volatile internal data. The user application should use NimBLERemoteCharacteristic::readValue or NimBLERemoteCharacteristic::getValue. To obtain a copy of the data, then cast the returned std::string to the type required such as:

    std::string value = pChr->readValue();
    -
    uint8_t *data = (uint8_t*)value.data();
    -

    Alternatively use the readValue template:

    my_struct_t myStruct = pChr->readValue<my_struct_t>();
    -


    -

    -
    -

    BLERemoteCharacteristic::getDescriptors (NimBLERemoteCharacteristic::getDescriptors)

    -
    -

    This method now takes an optional (bool) parameter to indicate if the descriptors should be retrieved from the server (true) or the currently known database returned (false : default). Also now returns a pointer to std::vector instead of std::map.
    -

    -

    -

    -Client Security

    -

    The client will automatically initiate security when the peripheral responds that it's required. The default configuration will use "just-works" pairing with no bonding, if you wish to enable bonding see below.
    -

    -

    -

    -Security API

    -

    Security operations have been moved to BLEDevice (NimBLEDevice).

    -

    Also security callback methods are now incorporated in the NimBLEServerCallbacks / NimBLEClientCallbacks classes. However backward compatibility with the original BLESecurity (NimBLESecurity) class is retained to minimize application code changes.

    -

    The callback methods are:

    -
    -

    bool onConfirmPIN(uint32_t pin)

    -
    -

    Receives the pin when using numeric comparison authentication, return true; to accept.
    -

    -
    -

    uint32_t onPassKeyRequest()

    -
    -

    For server callback; return the passkey expected from the client. For client callback; return the passkey to send to the server.
    -

    -
    -

    void onAuthenticationComplete(ble_gap_conn_desc\* desc)

    -
    -

    Authentication complete, success or failed information is in desc.
    -

    -

    Security settings and IO capabilities are now set by the following methods of NimBLEDevice.

    -

    NimBLEDevice::setSecurityAuth(bool bonding, bool mitm, bool sc) NimBLEDevice::setSecurityAuth(uint8_t auth_req)

    -
    -

    Sets the authorization mode for this device.
    -

    -
    -

    NimBLEDevice::setSecurityIOCap(uint8_t iocap)

    -
    -

    Sets the Input/Output capabilities of this device.
    -

    -
    -

    NimBLEDevice::setSecurityInitKey(uint8_t init_key)

    -
    -

    If we are the initiator of the security procedure this sets the keys we will distribute.
    -

    -
    -

    NimBLEDevice::setSecurityRespKey(uint8_t resp_key)

    -
    -

    Sets the keys we are willing to accept from the peer during pairing.
    -

    -

    -

    -Arduino Configuration

    -

    Unlike the original library pre-packaged in the esp32-arduino, this library has all the configuration options that are normally set in menuconfig available in the src/nimconfig.h file.

    -

    This allows Arduino users to fully customize the build, such as increasing max connections or loading the BLE stack into external PSRAM.

    -

    For details on the options, they are fully commented in nimconfig.h
    -

    -
    -
    -
    - - - - diff --git a/md__new_user_guide.html b/md__new__user__guide.html similarity index 87% rename from md__new_user_guide.html rename to md__new__user__guide.html index c2b3c5f..1048217 100644 --- a/md__new_user_guide.html +++ b/md__new__user__guide.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: New User Guide @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,8 +62,8 @@ $(function() {
    @@ -76,47 +76,52 @@ $(document).ready(function(){initNavTree('md__new_user_guide.html',''); initResi
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    -
    New User Guide
    +
    +
    New User Guide
    -

    Note: If you are migrating an existing project from the original Bluedroid library please see the Migration Guide.
    +

    Note: If you are migrating an existing project from the original Bluedroid library please see the Migration Guide.

    If you are a new user this will guide you through a simple server and client application.

    -

    +

    Include Files

    At the top of your application file add #include NimBLEDevice.h, this is the only header required and provides access to all classes.

    -

    +

    Using the Library

    In order to perform any BLE tasks you must first initialize the library, this prepares the NimBLE stack to be ready for commands.

    -

    To do this you must call NimBLEDevice::init("your device name here"), the parameter passed is a character string containing the name you want to advertise.
    +

    To do this you must call NimBLEDevice::init("your device name here"), the parameter passed is a character string containing the name you want to advertise.
    If you're not creating a server or do not want to advertise a name, simply pass an empty string for the parameter.

    This can be called any time you wish to use BLE functions and does not need to be called from app_main(IDF) or setup(Arduino) but usually is.

    -

    -

    +

    Creating a Server

    BLE servers perform 2 tasks, they advertise their existence for clients to find them and they provide services which contain information for the connecting client.

    -

    After initializing the NimBLE stack we create a server by calling NimBLEDevice::createServer(), this will create a server instance and return a pointer to it.
    +

    After initializing the NimBLE stack we create a server by calling NimBLEDevice::createServer(), this will create a server instance and return a pointer to it.

    Once we have created the server we need to tell it the services it hosts.
    To do this we call NimBLEServer::createService(const char* uuid). Which returns a pointer to an instance of NimBLEService.
    @@ -146,7 +151,7 @@ Creating a Server

    Here is the list of options:

    -

    NIMBLE_PROPERTY::READ
    +

    ‍NIMBLE_PROPERTY::READ
    NIMBLE_PROPERTY::READ_ENC
    NIMBLE_PROPERTY::READ_AUTHEN
    NIMBLE_PROPERTY::READ_AUTHOR
    @@ -180,7 +185,7 @@ Creating a Server

    All that's left to do now is start the service, give the characteristic a value and start advertising for clients.

    Fist we start the service by calling NimBLEService::start().

    -

    Next we need to call NimBLECharacteristic::setValue to set the characteristic value that the client will read.
    +

    Next we need to call NimBLECharacteristic::setValue to set the characteristic value that the client will read.
    There are many different types you can send as parameters for the value but for this example we will use a simple string. pCharacteristic->setValue("Hello BLE");

    Next we need to advertise for connections.
    @@ -216,15 +221,14 @@ Creating a Server

    For more advanced features and options please see the server examples in the examples folder.

    -

    -

    +

    Creating a Client

    BLE clients perform 2 tasks, they scan for advertising servers and form connections to them to read and write to their characteristics/descriptors.

    After initializing the NimBLE stack we create a scan instance by calling NimBLEDevice::getScan(), this will create a NimBLEScan instance and return a pointer to it.

    Once we have created the scan we can start looking for advertising servers.

    -

    To do this we call NimBLEScan::start(duration), the duration parameter is a uint32_t that specifies the number of seconds to scan for,
    +

    To do this we call NimBLEScan::start(duration), the duration parameter is a uint32_t that specifies the number of milliseconds to scan for,
    passing 0 will scan forever.

    In this example we will scan for 10 seconds. This is a blocking function (a non blocking overload is also available).
    @@ -239,7 +243,7 @@ Creating a Client

    NimBLEDevice::init("");
    NimBLEScan *pScan = NimBLEDevice::getScan();
    -
    NimBLEScanResults results = pScan->start(10);
    +
    NimBLEScanResults results = pScan->getResults(10 * 1000);
    }


    @@ -247,7 +251,7 @@ Creating a Client

    To do this we iterate through the results and check if any of the devices found are advertising the service we want ABCD.
    Each result in NimBLEScanResults is a NimBLEAdvertisedDevice instance that we can access data from.

    -

    We will check each device found for the ABCD service by calling NimBLEAdvertisedDevice::isAdvertisingService.
    +

    We will check each device found for the ABCD service by calling NimBLEAdvertisedDevice::isAdvertisingService.
    This takes an instance of NimBLEUUID as a parameter so we will need to create one.

    The code for this looks like:

    NimBLEUUID serviceUuid("ABCD");
    @@ -263,9 +267,9 @@ Creating a Client

    Now that we can scan and parse advertisers we need to be able to create a NimBLEClient instance and use it to connect.

    -

    To do this we call NimBLEDevice::createClient which creates the NimBLEClient instance and returns a pointer to it.
    +

    To do this we call NimBLEDevice::createClient which creates the NimBLEClient instance and returns a pointer to it.

    -

    After this we call NimBLEClient::connect to connect to the advertiser.
    +

    After this we call NimBLEClient::connect to connect to the advertiser.
    This takes a pointer to the NimBLEAdvertisedDevice and returns true if successful.

    Lets do that now:

    NimBLEUUID serviceUuid("ABCD");
    @@ -282,17 +286,17 @@ Creating a Client
    }
    }
    }
    -

    As shown, the call to NimBLEClient::connect should have it's return value tested to make sure it succeeded before proceeding to get data.
    +

    As shown, the call to NimBLEClient::connect should have it's return value tested to make sure it succeeded before proceeding to get data.

    Next we need to access the servers data by asking it for the service and the characteristic we are interested in, then read the characteristic value.

    To do this we call NimBLEClient::getService, which takes as a parameter the UUID of the service and returns
    a pointer an instance to NimBLERemoteService or nullptr if the service was not found.

    -

    Next we will call NimBLERemoteService::getCharacteristic which takes as a parameter the UUID of the service and returns
    +

    Next we will call NimBLERemoteService::getCharacteristic which takes as a parameter the UUID of the service and returns
    a pointer to an instance of NimBLERemoteCharacteristic or nullptr if not found.

    -

    Finally we will read the characteristic value with NimBLERemoteCharacteristic::readValue().
    +

    Finally we will read the characteristic value with NimBLERemoteCharacteristic::readValue().

    Here is what that looks like:

    NimBLEUUID serviceUuid("ABCD");
    @@ -361,7 +365,7 @@ Creating a Client
    NimBLEDevice::init("");
    NimBLEScan *pScan = NimBLEDevice::getScan();
    -
    NimBLEScanResults results = pScan->start(10);
    +
    NimBLEScanResults results = pScan->start(10 * 1000);
    NimBLEUUID serviceUuid("ABCD");
    @@ -401,7 +405,7 @@ Creating a Client diff --git a/md__usage_tips.html b/md__usage__tips.html similarity index 77% rename from md__usage_tips.html rename to md__usage__tips.html index ff12a23..fdc6af7 100644 --- a/md__usage_tips.html +++ b/md__usage__tips.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Usage Tips @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,8 +62,8 @@ $(function() {
    @@ -76,24 +76,31 @@ $(document).ready(function(){initNavTree('md__usage_tips.html',''); initResizabl
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    -
    Usage Tips
    +
    +
    Usage Tips
    -

    +

    +

    Put BLE functions in a task running on the NimBLE stack core

    When commands are sent to the stack from a different core they can experience delays in execution.
    This library detects this and invokes the esp32 IPC to reroute these commands through the correct core but this also increases overhead.
    Therefore it is highly recommended to create tasks for BLE to run on the same core, the macro CONFIG_BT_NIMBLE_PINNED_TO_CORE can be used to set the core.

    -

    +

    Do not delete client instances unless necessary or unused

    When a client instance has been created and has connected to a peer device and it has retrieved service/characteristic information it will store that data for the life of the client instance.
    If you are periodically connecting to the same devices and you have deleted the client instance or the services when connecting again it will cause a retrieval of that information from the peer again.
    @@ -105,23 +112,23 @@ Do not delete client instances unless necessary or unused



    -

    +

    Only retrieve the services and characteristics needed

    -

    As a client the use of NimBLEClient::getServices or NimBLERemoteService::getCharacteristics and using true for the parameter should be limited to devices that are not known.
    +

    As a client the use of NimBLEClient::getServices or NimBLERemoteService::getCharacteristics and using true for the parameter should be limited to devices that are not known.
    Instead NimBLEClient::getService(NimBLEUUID) or NimBLERemoteService::getCharacteristic(NimBLEUUID) should be used to access certain attributes that are useful to the application.
    This reduces energy consumed, heap allocated, connection time and improves overall efficiency.


    -

    +

    Check return values

    -

    Many user issues can be avoided by checking if a function returned successfully, by either testing for true/false such as when calling NimBLEClient::connect,
    +

    Many user issues can be avoided by checking if a function returned successfully, by either testing for true/false such as when calling NimBLEClient::connect,
    or nullptr such as when calling NimBLEClient::getService. The latter being a must, as calling a method on a nullptr will surely result in a crash.
    Most of the functions in this library return something that should be checked before proceeding.


    -

    +

    There will be bugs - please report them

    No code is bug free and unit testing will not find them all on it's own. If you encounter a bug, please report it along with any logs and decoded backtrace if applicable.
    Best efforts will be made to correct any errors ASAP.
    @@ -134,7 +141,7 @@ There will be bugs - please report them

    diff --git a/menu.js b/menu.js index 2fe2214..b0b2693 100644 --- a/menu.js +++ b/menu.js @@ -28,7 +28,15 @@ function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { if ('children' in data) { result+='
      '; for (var i in data.children) { - result+='
    • '+ + var url; + var link; + link = data.children[i].url; + if (link.substring(0,1)=='^') { + url = link.substring(1); + } else { + url = relPath+link; + } + result+='
    • '+ data.children[i].text+''+ makeTree(data.children[i],relPath)+'
    • '; } @@ -36,16 +44,93 @@ function initMenu(relPath,searchEnabled,serverSide,searchPage,search) { } return result; } - - $('#main-nav').append(makeTree(menudata,relPath)); - $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + var searchBoxHtml; if (searchEnabled) { if (serverSide) { - $('#main-menu').append('
    • '); + searchBoxHtml='
      '+ + '
      '+ + '
       '+ + ''+ + '
      '+ + '
      '+ + '
      '+ + '
      '; } else { - $('#main-menu').append('
    • '); + searchBoxHtml='
      '+ + ''+ + ' '+ + ''+ + ''+ + ''+ + ''+ + ''+ + '
      '; } } + + $('#main-nav').before('
      '+ + ''+ + ''+ + '
      '); + $('#main-nav').append(makeTree(menudata,relPath)); + $('#main-nav').children(':first').addClass('sm sm-dox').attr('id','main-menu'); + if (searchBoxHtml) { + $('#main-menu').append('
    • '); + } + var $mainMenuState = $('#main-menu-state'); + var prevWidth = 0; + if ($mainMenuState.length) { + function initResizableIfExists() { + if (typeof initResizable==='function') initResizable(); + } + // animate mobile menu + $mainMenuState.change(function(e) { + var $menu = $('#main-menu'); + var options = { duration: 250, step: initResizableIfExists }; + if (this.checked) { + options['complete'] = function() { $menu.css('display', 'block') }; + $menu.hide().slideDown(options); + } else { + options['complete'] = function() { $menu.css('display', 'none') }; + $menu.show().slideUp(options); + } + }); + // set default menu visibility + function resetState() { + var $menu = $('#main-menu'); + var $mainMenuState = $('#main-menu-state'); + var newWidth = $(window).outerWidth(); + if (newWidth!=prevWidth) { + if ($(window).outerWidth()<768) { + $mainMenuState.prop('checked',false); $menu.hide(); + $('#searchBoxPos1').html(searchBoxHtml); + $('#searchBoxPos2').hide(); + } else { + $menu.show(); + $('#searchBoxPos1').empty(); + $('#searchBoxPos2').html(searchBoxHtml); + $('#searchBoxPos2').show(); + } + if (typeof searchBox!=='undefined') { + searchBox.CloseResultsWindow(); + } + prevWidth = newWidth; + } + } + $(window).ready(function() { resetState(); initResizableIfExists(); }); + $(window).resize(resetState); + } $('#main-menu').smartmenus(); } /* @license-end */ diff --git a/menudata.js b/menudata.js index 5e88403..e49b9fd 100644 --- a/menudata.js +++ b/menudata.js @@ -44,7 +44,6 @@ var menudata={children:[ {text:"m",url:"functions_m.html#index_m"}, {text:"n",url:"functions_n.html#index_n"}, {text:"o",url:"functions_o.html#index_o"}, -{text:"p",url:"functions_p.html#index_p"}, {text:"r",url:"functions_r.html#index_r"}, {text:"s",url:"functions_s.html#index_s"}, {text:"t",url:"functions_t.html#index_t"}, @@ -65,14 +64,12 @@ var menudata={children:[ {text:"m",url:"functions_func_m.html#index_m"}, {text:"n",url:"functions_func_n.html#index_n"}, {text:"o",url:"functions_func_o.html#index_o"}, -{text:"p",url:"functions_func_p.html#index_p"}, {text:"r",url:"functions_func_r.html#index_r"}, {text:"s",url:"functions_func_s.html#index_s"}, {text:"t",url:"functions_func_t.html#index_t"}, {text:"u",url:"functions_func_u.html#index_u"}, {text:"w",url:"functions_func_w.html#index_w"}, -{text:"~",url:"functions_func_~.html#index__7E"}]}, -{text:"Enumerations",url:"functions_enum.html"}]}]}, +{text:"~",url:"functions_func_~.html#index__7E"}]}]}]}, {text:"Files",url:"files.html",children:[ {text:"File List",url:"files.html"}, {text:"File Members",url:"globals.html",children:[ diff --git a/minus.svg b/minus.svg new file mode 100644 index 0000000..f70d0c1 --- /dev/null +++ b/minus.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/minusd.svg b/minusd.svg new file mode 100644 index 0000000..5f8e879 --- /dev/null +++ b/minusd.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/nav_fd.png b/nav_fd.png new file mode 100644 index 0000000000000000000000000000000000000000..032fbdd4c54f54fa9a2e6423b94ef4b2ebdfaceb GIT binary patch literal 169 zcmeAS@N?(olHy`uVBq!ia0y~yU|?imV6fm|Vqjp{%*48zfq|jG)5S5Qg7NKKU%qAq z0XO!2Q@J&oG_rix_(s=1V%^jIeLw4z4X+kS^?#UTZk+$l;qkU&F1cs>4sG%N!f^M@ zM9xavrP1%~0^ZGy3Dv)IDm}$x?H2wMi`q4+{O&ow;G4N+PKVw>3H!Oi_SRy}i~pT} aFJ9>&IM?xu_j?8g1_n=8KbLh*2~7Ziyg+dP literal 0 HcmV?d00001 diff --git a/nav_hd.png b/nav_hd.png new file mode 100644 index 0000000000000000000000000000000000000000..de80f18ad6488b9990303f267a76fdc83f0ffd80 GIT binary patch literal 114 zcmeAS@N?(olHy`uVBq!ia0y~yU|?imVBq0kVqjpEakt!T9#>ZovZz zJS>5{?JWZG)b0Sj! literal 0 HcmV?d00001 diff --git a/navtree.css b/navtree.css index 33341a6..69211d4 100644 --- a/navtree.css +++ b/navtree.css @@ -22,8 +22,13 @@ #nav-tree .selected { background-image: url('tab_a.png'); background-repeat:repeat-x; - color: #fff; - text-shadow: 0px 1px 1px rgba(0, 0, 0, 1.0); + color: var(--nav-text-active-color); + text-shadow: var(--nav-text-active-shadow); +} + +#nav-tree .selected .arrow { + color: var(--nav-arrow-selected-color); + text-shadow: none; } #nav-tree img { @@ -37,13 +42,12 @@ text-decoration:none; padding:0px; margin:0px; - outline:none; } #nav-tree .label { margin:0px; padding:0px; - font: 12px 'Lucida Grande',Geneva,Helvetica,Arial,sans-serif; + font: 12px var(--font-family-nav); } #nav-tree .label a { @@ -52,7 +56,7 @@ #nav-tree .selected a { text-decoration:none; - color:#fff; + color:var(--nav-text-active-color); } #nav-tree .children_ul { @@ -67,7 +71,6 @@ #nav-tree { padding: 0px 0px; - background-color: #FAFAFF; font-size:14px; overflow:auto; } @@ -86,7 +89,8 @@ display:block; position: absolute; left: 0px; - width: 250px; + width: $width; + overflow : hidden; } .ui-resizable .ui-resizable-handle { @@ -94,7 +98,7 @@ } .ui-resizable-e { - background-image:url("splitbar.png"); + background-image:var(--nav-splitbar-image); background-size:100%; background-repeat:repeat-y; background-attachment: scroll; @@ -117,9 +121,8 @@ } #nav-tree { - background-image:url('nav_h.png'); background-repeat:repeat-x; - background-color: #F9FAFC; + background-color: var(--nav-background-color); -webkit-overflow-scrolling : touch; /* iOS 5+ */ } diff --git a/navtree.js b/navtree.js index 1e272d3..93dd3d4 100644 --- a/navtree.js +++ b/navtree.js @@ -94,7 +94,7 @@ function cachedLink() } } -function getScript(scriptName,func,show) +function getScript(scriptName,func) { var head = document.getElementsByTagName("head")[0]; var script = document.createElement('script'); @@ -124,7 +124,7 @@ function createIndent(o,domNode,node,level) node.plus_img.innerHTML=arrowRight; node.expanded = false; } else { - expandNode(o, node, false, false); + expandNode(o, node, false, true); } } node.expandToggle.appendChild(imgNode); @@ -265,15 +265,15 @@ function showRoot() })(); } -function expandNode(o, node, imm, showRoot) +function expandNode(o, node, imm, setFocus) { if (node.childrenData && !node.expanded) { if (typeof(node.childrenData)==='string') { var varName = node.childrenData; getScript(node.relpath+varName,function(){ node.childrenData = getData(varName); - expandNode(o, node, imm, showRoot); - }, showRoot); + expandNode(o, node, imm, setFocus); + }); } else { if (!node.childrenVisited) { getNode(o, node); @@ -281,6 +281,9 @@ function expandNode(o, node, imm, showRoot) $(node.getChildrenUL()).slideDown("fast"); node.plus_img.innerHTML = arrowDown; node.expanded = true; + if (setFocus) { + $(node.expandToggle).focus(); + } } } } @@ -325,11 +328,14 @@ function selectAndHighlight(hash,n) $(n.itemDiv).addClass('selected'); $(n.itemDiv).attr('id','selected'); } - if ($('#nav-tree-contents .item:first').hasClass('selected')) { - $('#nav-sync').css('top','30px'); - } else { - $('#nav-sync').css('top','5px'); + var topOffset=5; + if (typeof page_layout!=='undefined' && page_layout==1) { + topOffset+=$('#top').outerHeight(); } + if ($('#nav-tree-contents .item:first').hasClass('selected')) { + topOffset+=25; + } + $('#nav-sync').css('top',topOffset+'px'); showRoot(); } @@ -341,7 +347,7 @@ function showNode(o, node, index, hash) getScript(node.relpath+varName,function(){ node.childrenData = getData(varName); showNode(o,node,index,hash); - },true); + }); } else { if (!node.childrenVisited) { getNode(o, node); @@ -359,11 +365,11 @@ function showNode(o, node, index, hash) n.childrenData = getData(varName); node.expanded=false; showNode(o,node,index,hash); // retry with child node expanded - },true); + }); } else { var rootBase = stripPath(o.toroot.replace(/\..+$/, '')); if (rootBase=="index" || rootBase=="pages" || rootBase=="search") { - expandNode(o, n, true, true); + expandNode(o, n, true, false); } selectAndHighlight(hash,n); } @@ -441,7 +447,7 @@ function navTo(o,root,hash,relpath) if (navTreeSubIndices[i]) { gotoNode(o,i,root,hash,relpath); } - },true); + }); } } @@ -542,5 +548,12 @@ function initNavTree(toroot,relpath) navTo(o,toroot,hashUrl(),relpath); } }) + + $("div.toc a[href]").click(function(e) { + e.preventDefault(); + var docContent = $('#doc-content'); + var aname = $(this).attr("href"); + gotoAnchor($(aname),aname,true); + }) } /* @license-end */ diff --git a/navtreedata.js b/navtreedata.js index f404d3d..a18c2a8 100644 --- a/navtreedata.js +++ b/navtreedata.js @@ -25,121 +25,141 @@ var NAVTREE = [ [ "esp-nimble-cpp", "index.html", [ - [ "Overview", "index.html", [ - [ "What is NimBLE?", "index.html#autotoc_md46", null ], - [ "ESP-IDF Installation", "index.html#autotoc_md47", null ], - [ "Using", "index.html#autotoc_md50", null ], - [ "Need help? Have a question or suggestion?", "index.html#autotoc_md51", null ], - [ "Acknowledgments", "index.html#autotoc_md52", null ] + [ "Overview", "index.html", "index" ], + [ "Changelog", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html", [ + [ "[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", [ + [ "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 ] + ] ], + [ "[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-1", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1", null ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1", null ] + ] ], + [ "[1.4.0] - 2022-07-31", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31", [ + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2", null ], + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2", 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-3", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3", 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-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-4", 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-5", 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-4", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-6", 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", [ + [ "Added", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-7", 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-6", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8", 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-8", 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-7", null ], + [ "Changed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9", null ], + [ "Fixed", "md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9", 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 ] ] ], - [ "Changelog", "md__github_workspace__c_h_a_n_g_e_l_o_g.html", [ - [ "[1.4.1] - 2022-10-30", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md1", [ - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md2", null ], - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md3", null ], - [ "Added", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md4", null ] - ] ], - [ "[1.4.0] - 2022-07-31", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md5", [ - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md6", null ], - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md7", null ], - [ "Added", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md8", null ] - ] ], - [ "[1.3.3] - 2022-02-15", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md9", [ - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md10", null ], - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md11", null ] - ] ], - [ "[1.3.2] - 2022-01-15", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md12", [ - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md13", null ], - [ "Added", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md14", null ], - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md15", null ] - ] ], - [ "[1.3.1] - 2021-08-04", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md16", [ - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md17", null ] - ] ], - [ "[1.3.0] - 2021-08-02", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md18", [ - [ "Added", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md19", null ], - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md20", null ], - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md21", null ] - ] ], - [ "[1.2.0] - 2021-02-08", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md22", [ - [ "Added", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md23", null ], - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md24", null ], - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md25", null ] - ] ], - [ "[1.1.0] - 2021-01-20", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md26", [ - [ "Added", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md27", null ], - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md28", null ], - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md29", null ] - ] ], - [ "[1.0.2] - 2020-09-13", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md30", [ - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md31", null ] - ] ], - [ "[1.0.1] - 2020-09-02", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md32", [ - [ "Added", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md33", null ], - [ "Changed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md34", null ], - [ "Fixed", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md35", null ] - ] ], - [ "[1.0.0] - 2020-08-22", "md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md36", null ] - ] ], - [ "Bluetooth 5.x features", "md__bluetooth_5_features.html", [ - [ "About extended advertising", "md__bluetooth_5_features.html#autotoc_md38", null ], - [ "Enabling extended advertising", "md__bluetooth_5_features.html#autotoc_md39", null ] - ] ], - [ "Improvements and updates", "md__improvements_and_updates.html", [ - [ "Server", "md__improvements_and_updates.html#autotoc_md41", null ], - [ "Advertising", "md__improvements_and_updates.html#autotoc_md42", null ], - [ "Client", "md__improvements_and_updates.html#autotoc_md43", null ], - [ "General", "md__improvements_and_updates.html#autotoc_md44", null ] - ] ], - [ "Migrating from Bluedroid to NimBLE", "md__migration_guide.html", [ - [ "General Information", "md__migration_guide.html#autotoc_md54", [ - [ "Header Files", "md__migration_guide.html#autotoc_md55", null ], - [ "Class Names", "md__migration_guide.html#autotoc_md56", null ], - [ "BLE Addresses", "md__migration_guide.html#autotoc_md57", null ] - ] ], - [ "Server API", "md__migration_guide.html#autotoc_md58", [ - [ "Services", "md__migration_guide.html#autotoc_md59", null ], - [ "Characteristics", "md__migration_guide.html#autotoc_md60", [ - [ "v4.0+", "index.html#autotoc_md48", null ], - [ "v3.2 & v3.3", "index.html#autotoc_md49", null ], - [ "Originally", "md__migration_guide.html#autotoc_md61", null ], - [ "Is Now", "md__migration_guide.html#autotoc_md62", null ], - [ "The full list of properties", "md__migration_guide.html#autotoc_md63", null ] + [ "Migrating from 1.x to 2.x", "md_1_8x__to2_8x__migration__guide.html", [ + [ "General changes", "md_1_8x__to2_8x__migration__guide.html#general-changes", null ], + [ "BLE Device", "md_1_8x__to2_8x__migration__guide.html#ble-device", null ], + [ "BLE Addresses", "md_1_8x__to2_8x__migration__guide.html#ble-addresses", null ], + [ "BLE UUID's", "md_1_8x__to2_8x__migration__guide.html#ble-uuids", null ], + [ "Server", "md_1_8x__to2_8x__migration__guide.html#server", [ + [ "Services", "md_1_8x__to2_8x__migration__guide.html#services", null ], + [ "Characteristics", "md_1_8x__to2_8x__migration__guide.html#characteristics", [ + [ "Characteristic callbacks", "md_1_8x__to2_8x__migration__guide.html#characteristic-callbacks", null ] ] ], - [ "Descriptors", "md__migration_guide.html#autotoc_md64", null ], - [ "Server Security", "md__migration_guide.html#autotoc_md67", null ] + [ "Server Security", "md_1_8x__to2_8x__migration__guide.html#server-security", null ] ] ], - [ "Advertising API", "md__migration_guide.html#autotoc_md68", null ], - [ "Client API", "md__migration_guide.html#autotoc_md69", [ - [ "Remote Services", "md__migration_guide.html#autotoc_md70", null ], - [ "Remote Characteristics", "md__migration_guide.html#autotoc_md71", null ], - [ "Client Security", "md__migration_guide.html#autotoc_md72", null ] + [ "Client", "md_1_8x__to2_8x__migration__guide.html#client", [ + [ "Client callbacks", "md_1_8x__to2_8x__migration__guide.html#client-callbacks", null ], + [ "Remote Services", "md_1_8x__to2_8x__migration__guide.html#remote-services", null ], + [ "Remote Characteristics", "md_1_8x__to2_8x__migration__guide.html#remote-characteristics", null ] ] ], - [ "Security API", "md__migration_guide.html#autotoc_md73", null ], - [ "Arduino Configuration", "md__migration_guide.html#autotoc_md74", null ] + [ "Scan", "md_1_8x__to2_8x__migration__guide.html#scan", [ + [ "Advertised Device", "md_1_8x__to2_8x__migration__guide.html#advertised-device", null ] + ] ], + [ "Advertising", "md_1_8x__to2_8x__migration__guide.html#advertising", null ], + [ "Beacons", "md_1_8x__to2_8x__migration__guide.html#beacons", null ], + [ "Utilities", "md_1_8x__to2_8x__migration__guide.html#utilities", null ] ] ], - [ "New User Guide", "md__new_user_guide.html", [ - [ "Include Files", "md__new_user_guide.html#autotoc_md76", null ], - [ "Using the Library", "md__new_user_guide.html#autotoc_md77", null ], - [ "Creating a Server", "md__new_user_guide.html#autotoc_md78", null ], - [ "Creating a Client", "md__new_user_guide.html#autotoc_md79", null ] + [ "Bluetooth 5.x features", "md__bluetooth_015_01features.html", [ + [ "About extended advertising", "md__bluetooth_015_01features.html#about-extended-advertising", null ], + [ "Enabling extended advertising", "md__bluetooth_015_01features.html#enabling-extended-advertising", null ] ] ], - [ "Usage Tips", "md__usage_tips.html", [ - [ "Put BLE functions in a task running on the NimBLE stack core", "md__usage_tips.html#autotoc_md81", null ], - [ "Do not delete client instances unless necessary or unused", "md__usage_tips.html#autotoc_md82", null ], - [ "Only retrieve the services and characteristics needed", "md__usage_tips.html#autotoc_md83", null ], - [ "Check return values", "md__usage_tips.html#autotoc_md84", null ], - [ "There will be bugs - please report them", "md__usage_tips.html#autotoc_md85", null ] + [ "Migrating from Bluedroid to NimBLE", "md__migration__guide.html", [ + [ "General Information", "md__migration__guide.html#general-information", [ + [ "Header Files", "md__migration__guide.html#header-files", null ], + [ "Class Names", "md__migration__guide.html#class-names", null ], + [ "BLE Addresses", "md__migration__guide.html#ble-addresses-1", null ] + ] ], + [ "Server API", "md__migration__guide.html#server-api", [ + [ "Services", "md__migration__guide.html#services-1", null ], + [ "Characteristics", "md__migration__guide.html#characteristics-1", [ + [ "Originally", "md__migration__guide.html#originally", null ], + [ "Is Now", "md__migration__guide.html#is-now", null ], + [ "The full list of properties", "md__migration__guide.html#the-full-list-of-properties", null ], + [ "Characteristic callbacks", "md__migration__guide.html#characteristic-callbacks-1", null ] + ] ], + [ "Descriptors", "md__migration__guide.html#descriptors", [ + [ "Example", "md__migration__guide.html#example", null ], + [ "Descriptor callbacks", "md__migration__guide.html#descriptor-callbacks", null ] + ] ], + [ "Server Security", "md__migration__guide.html#server-security-1", null ] + ] ], + [ "Advertising API", "md__migration__guide.html#advertising-api", null ], + [ "Client API", "md__migration__guide.html#client-api", [ + [ "Remote Services", "md__migration__guide.html#remote-services-1", null ], + [ "Remote Characteristics", "md__migration__guide.html#remote-characteristics-1", null ], + [ "Client callbacks", "md__migration__guide.html#client-callbacks-1", null ], + [ "Client Security", "md__migration__guide.html#client-security", null ] + ] ], + [ "BLE Scan", "md__migration__guide.html#ble-scan", null ], + [ "Security API", "md__migration__guide.html#security-api", null ], + [ "Arduino Configuration", "md__migration__guide.html#arduino-configuration", null ] + ] ], + [ "New User Guide", "md__new__user__guide.html", [ + [ "Include Files", "md__new__user__guide.html#include-files", null ], + [ "Using the Library", "md__new__user__guide.html#using-the-library", null ], + [ "Creating a Server", "md__new__user__guide.html#creating-a-server", null ], + [ "Creating a Client", "md__new__user__guide.html#creating-a-client", null ] + ] ], + [ "Usage Tips", "md__usage__tips.html", [ + [ "Put BLE functions in a task running on the NimBLE stack core", "md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core", null ], + [ "Do not delete client instances unless necessary or unused", "md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused", null ], + [ "Only retrieve the services and characteristics needed", "md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed", null ], + [ "Check return values", "md__usage__tips.html#check-return-values", null ], + [ "There will be bugs - please report them", "md__usage__tips.html#there-will-be-bugs---please-report-them", null ] ] ], [ "Deprecated List", "deprecated.html", null ], - [ "Todo List", "todo.html", null ], [ "Classes", "annotated.html", [ [ "Class List", "annotated.html", "annotated_dup" ], [ "Class Index", "classes.html", null ], [ "Class Hierarchy", "hierarchy.html", "hierarchy" ], [ "Class Members", "functions.html", [ [ "All", "functions.html", "functions_dup" ], - [ "Functions", "functions_func.html", "functions_func" ], - [ "Enumerations", "functions_enum.html", null ] + [ "Functions", "functions_func.html", "functions_func" ] ] ] ] ], [ "Files", "files.html", [ @@ -155,8 +175,9 @@ var NAVTREE = var NAVTREEINDEX = [ "_h_i_d_keyboard_types_8h_source.html", -"class_nim_b_l_e_client.html#a668d476de250055a106a9f46bb7719f3", -"class_nim_b_l_e_security.html#ab2be50284a325ec8937abdab0baafd4b" +"class_nim_b_l_e_characteristic.html#ab05a81528522e7f12acff65fa86f9a28", +"class_nim_b_l_e_scan_callbacks.html", +"nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242" ]; var SYNCONMSG = 'click to disable panel synchronisation'; diff --git a/navtreeindex0.js b/navtreeindex0.js index fe87cbf..580619c 100644 --- a/navtreeindex0.js +++ b/navtreeindex0.js @@ -1,253 +1,253 @@ var NAVTREEINDEX0 = { -"_h_i_d_keyboard_types_8h_source.html":[10,0,0,0], -"_h_i_d_types_8h_source.html":[10,0,0,1], -"_nim_b_l_e2904_8h_source.html":[10,0,0,2], -"_nim_b_l_e_address_8h_source.html":[10,0,0,3], -"_nim_b_l_e_advertised_device_8h_source.html":[10,0,0,4], -"_nim_b_l_e_advertising_8h_source.html":[10,0,0,5], -"_nim_b_l_e_att_value_8h_source.html":[10,0,0,6], -"_nim_b_l_e_beacon_8h_source.html":[10,0,0,7], -"_nim_b_l_e_characteristic_8h_source.html":[10,0,0,8], -"_nim_b_l_e_client_8h_source.html":[10,0,0,9], -"_nim_b_l_e_conn_info_8h_source.html":[10,0,0,10], -"_nim_b_l_e_descriptor_8h_source.html":[10,0,0,11], -"_nim_b_l_e_device_8h_source.html":[10,0,0,12], -"_nim_b_l_e_eddystone_t_l_m_8h_source.html":[10,0,0,13], -"_nim_b_l_e_eddystone_u_r_l_8h_source.html":[10,0,0,14], -"_nim_b_l_e_ext_advertising_8h_source.html":[10,0,0,15], -"_nim_b_l_e_h_i_d_device_8h_source.html":[10,0,0,16], -"_nim_b_l_e_log_8h_source.html":[10,0,0,17], -"_nim_b_l_e_remote_characteristic_8h_source.html":[10,0,0,18], -"_nim_b_l_e_remote_descriptor_8h_source.html":[10,0,0,19], -"_nim_b_l_e_remote_service_8h_source.html":[10,0,0,20], -"_nim_b_l_e_scan_8h_source.html":[10,0,0,21], -"_nim_b_l_e_security_8h_source.html":[10,0,0,22], -"_nim_b_l_e_server_8h_source.html":[10,0,0,23], -"_nim_b_l_e_service_8h_source.html":[10,0,0,24], -"_nim_b_l_e_u_u_i_d_8h_source.html":[10,0,0,26], -"_nim_b_l_e_utils_8h_source.html":[10,0,0,25], -"annotated.html":[9,0], -"class_nim_b_l_e2904.html":[9,0,0], -"class_nim_b_l_e2904.html#a2206274c217d43a8ba121e1d279f8962":[9,0,0,3], -"class_nim_b_l_e2904.html#a498c863cb3fbf92eecc23f9f8856037c":[9,0,0,0], -"class_nim_b_l_e2904.html#ab1c53f99246f67dca1d63b812bef631d":[9,0,0,1], -"class_nim_b_l_e2904.html#ab7f21651b4493fd3daaa0f1545032ff1":[9,0,0,2], -"class_nim_b_l_e2904.html#ad0cf78a2a1c3418be9a39beaa0c826ee":[9,0,0,4], -"class_nim_b_l_e_address.html":[9,0,1], -"class_nim_b_l_e_address.html#a139790cf03d8297e253e5353a0213bff":[9,0,1,4], -"class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb":[9,0,1,7], -"class_nim_b_l_e_address.html#a19058addb94417e2921cade37a79d04c":[9,0,1,0], -"class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a":[9,0,1,8], -"class_nim_b_l_e_address.html#a826fe8850cbc7d54f0696b8af4637169":[9,0,1,5], -"class_nim_b_l_e_address.html#a87e8ccc81c2d83bf0503166939319164":[9,0,1,11], -"class_nim_b_l_e_address.html#a92637adc75c8010bcf34e2dd8f16cd94":[9,0,1,2], -"class_nim_b_l_e_address.html#aa7d5d8d323d2846bf2082b83381bd7c8":[9,0,1,9], -"class_nim_b_l_e_address.html#ab8c9105b825ed0be5d1bbab966f2a0cf":[9,0,1,1], -"class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6":[9,0,1,12], -"class_nim_b_l_e_address.html#adef69a03a08303957d7e40eef07b4d80":[9,0,1,6], -"class_nim_b_l_e_address.html#ae243127c78af69b26dfa225effd806ce":[9,0,1,10], -"class_nim_b_l_e_address.html#aeb6dafff197dc01e2713bbf43e21f1f3":[9,0,1,3], -"class_nim_b_l_e_advertised_device.html":[9,0,2], -"class_nim_b_l_e_advertised_device.html#a1172d33a77bc018e314be78664b222b9":[9,0,2,41], -"class_nim_b_l_e_advertised_device.html#a1602b70c37fb9a5f2f7ca4eacbf01091":[9,0,2,23], -"class_nim_b_l_e_advertised_device.html#a1855415f3c60bc88d62e9206fe6ed75a":[9,0,2,30], -"class_nim_b_l_e_advertised_device.html#a1efd77b20e3198ef148282bf75ff3e22":[9,0,2,18], -"class_nim_b_l_e_advertised_device.html#a228afa5e43421b4d96d9c08241718309":[9,0,2,6], -"class_nim_b_l_e_advertised_device.html#a3274624943c942f357c6f8d489481bc8":[9,0,2,35], -"class_nim_b_l_e_advertised_device.html#a33fcdc3bf5107c157b10ad4519938c9f":[9,0,2,10], -"class_nim_b_l_e_advertised_device.html#a3684969e3e10cd0af9ecaf342847ea71":[9,0,2,46], -"class_nim_b_l_e_advertised_device.html#a37ad095c066aa231a52a7259734c9bce":[9,0,2,44], -"class_nim_b_l_e_advertised_device.html#a450eca96c605f199d2786a044612db17":[9,0,2,9], -"class_nim_b_l_e_advertised_device.html#a4f89e99dffdfde45c1cafff74a20a95f":[9,0,2,24], -"class_nim_b_l_e_advertised_device.html#a54917b2644c433977e24a10a63d7431a":[9,0,2,45], -"class_nim_b_l_e_advertised_device.html#a599cad9a3f3d535049c87a911bc1b14d":[9,0,2,28], -"class_nim_b_l_e_advertised_device.html#a5c4aae7e27c27201846ba4e15448e557":[9,0,2,40], -"class_nim_b_l_e_advertised_device.html#a5ca6792d1ee559470ae8edccc1aea20d":[9,0,2,26], -"class_nim_b_l_e_advertised_device.html#a611802e8898e422842d60486b60b8c42":[9,0,2,38], -"class_nim_b_l_e_advertised_device.html#a6361e2b275cc45578f1000b5fd1b3c29":[9,0,2,27], -"class_nim_b_l_e_advertised_device.html#a83ebd08b512dc936b1059db7a69b9ead":[9,0,2,43], -"class_nim_b_l_e_advertised_device.html#a86805fecd4432335feecf77bb6a0f12e":[9,0,2,37], -"class_nim_b_l_e_advertised_device.html#a9017ce5b59bdae3cebf33c54f28cee70":[9,0,2,22], -"class_nim_b_l_e_advertised_device.html#a9a7a36e9937e16ffab4f1543ea54073f":[9,0,2,3], -"class_nim_b_l_e_advertised_device.html#a9b4ad695a4f035512d4d17313d8c5d3b":[9,0,2,15], -"class_nim_b_l_e_advertised_device.html#a9ca1c022e10764ec72850ff3a011b009":[9,0,2,20], -"class_nim_b_l_e_advertised_device.html#a9d07ee4c38de4170db24a5e01663ee6d":[9,0,2,5], -"class_nim_b_l_e_advertised_device.html#aa60721a7b5b44a3bb66980f003517579":[9,0,2,1], -"class_nim_b_l_e_advertised_device.html#aa8b4660e5d123f16a07e0fefa3bcf4bc":[9,0,2,33], -"class_nim_b_l_e_advertised_device.html#ab53f862df15953d19ba7a45d4cf51b46":[9,0,2,25], -"class_nim_b_l_e_advertised_device.html#ab8972714ecd578fca51fb63d9834a34e":[9,0,2,0], -"class_nim_b_l_e_advertised_device.html#abe58f5fde119d8c0a8fb85ba1e8cc5c9":[9,0,2,36], -"class_nim_b_l_e_advertised_device.html#ac1b8ff0f2897abda335743d55668fcd9":[9,0,2,47], -"class_nim_b_l_e_advertised_device.html#ac7879f4aa0f2b069b1d3aff4809ae62c":[9,0,2,13], -"class_nim_b_l_e_advertised_device.html#accc6713f85db6174cfe8436059aa8bf1":[9,0,2,34], -"class_nim_b_l_e_advertised_device.html#acd42dfbc92a43fc90e933df975c029f3":[9,0,2,16], -"class_nim_b_l_e_advertised_device.html#acf4398ca81f800445092ccc77deaf00b":[9,0,2,19], -"class_nim_b_l_e_advertised_device.html#ad3931c72aaded3b594896c29b3691562":[9,0,2,17], -"class_nim_b_l_e_advertised_device.html#ad65f8040a142f8d6d0763d4876f0d22e":[9,0,2,32], -"class_nim_b_l_e_advertised_device.html#ad9c5b9ffda267ddbcaef6b0f236846f9":[9,0,2,14], -"class_nim_b_l_e_advertised_device.html#ae2256f6b4da4c11cf75cb773a6b7f223":[9,0,2,29], -"class_nim_b_l_e_advertised_device.html#ae6c6b48369d71a5998c1393c0d6a0179":[9,0,2,11], -"class_nim_b_l_e_advertised_device.html#ae960e43434bf62ec83e9230d7bf7046c":[9,0,2,4], -"class_nim_b_l_e_advertised_device.html#ae9a586e46a555cf5fc817c9fe301b295":[9,0,2,8], -"class_nim_b_l_e_advertised_device.html#aecb3e30a94abd59401cafb70a5903abb":[9,0,2,21], -"class_nim_b_l_e_advertised_device.html#af5293030ef439856c195caa3aba86543":[9,0,2,42], -"class_nim_b_l_e_advertised_device.html#afa334006230601cc5c6429b18819a2e2":[9,0,2,7], -"class_nim_b_l_e_advertised_device.html#afacf7717a15b36af184cd957d397e384":[9,0,2,12], -"class_nim_b_l_e_advertised_device.html#afba3425cfcfc12eca219a1abe5f6732c":[9,0,2,39], -"class_nim_b_l_e_advertised_device.html#afc79cdc087c81b34643d70c8259eb9a3":[9,0,2,2], -"class_nim_b_l_e_advertised_device.html#afee346437447173eed1b9edf1de70f34":[9,0,2,31], -"class_nim_b_l_e_advertised_device_callbacks.html":[9,0,3], -"class_nim_b_l_e_advertised_device_callbacks.html#af6a25e1bb773a147536b1785b2aae606":[9,0,3,0], -"class_nim_b_l_e_advertisement_data.html":[9,0,4], -"class_nim_b_l_e_advertisement_data.html#a0f209913ef9f3dfb5be8db39567b4f32":[9,0,4,4], -"class_nim_b_l_e_advertisement_data.html#a0ff5a72bccd349e551270ceadf528306":[9,0,4,13], -"class_nim_b_l_e_advertisement_data.html#a2328f7df89a11d58818e98a6c889c8d4":[9,0,4,0], -"class_nim_b_l_e_advertisement_data.html#a480ffc91f212e877ae31ab47190006c3":[9,0,4,2], -"class_nim_b_l_e_advertisement_data.html#a50063c7ffa24f0f0407366a450e23ae4":[9,0,4,12], -"class_nim_b_l_e_advertisement_data.html#a50a2584346208ef28274eeecc5befffb":[9,0,4,6], -"class_nim_b_l_e_advertisement_data.html#a58ba06eb062a47cc58ba2829af8aafa5":[9,0,4,14], -"class_nim_b_l_e_advertisement_data.html#a67fd95e586559b73964d5739051f3822":[9,0,4,5], -"class_nim_b_l_e_advertisement_data.html#a712aa09a4d7f2b3cae9b2f1f1be6372f":[9,0,4,7], -"class_nim_b_l_e_advertisement_data.html#a73766a872477512bd750c773d96ca4e2":[9,0,4,8], -"class_nim_b_l_e_advertisement_data.html#a885b4ed75dd71c4c19b86048c16350bf":[9,0,4,10], -"class_nim_b_l_e_advertisement_data.html#aa003bc4cf9bff2b2bcac9b742ec97a36":[9,0,4,17], -"class_nim_b_l_e_advertisement_data.html#aa4df88b578782cda2bd77368b50f2d27":[9,0,4,9], -"class_nim_b_l_e_advertisement_data.html#acbd638708c8b8b4663c09107bc38feb1":[9,0,4,3], -"class_nim_b_l_e_advertisement_data.html#ae5b514ad9be6552727f1c7a744a29ae5":[9,0,4,16], -"class_nim_b_l_e_advertisement_data.html#aec5f567059c4b4fd0f6b5fc74a0ce870":[9,0,4,1], -"class_nim_b_l_e_advertisement_data.html#aee4fdb5af06fcda9cab9fad3f5bf80d5":[9,0,4,15], -"class_nim_b_l_e_advertisement_data.html#af52546d7c3b733a831f6232a845bef85":[9,0,4,11], -"class_nim_b_l_e_advertising.html":[9,0,5], -"class_nim_b_l_e_advertising.html#a04a51a0c639a70295a9b671f73b34358":[9,0,5,19], -"class_nim_b_l_e_advertising.html#a16bd135cab3f06bc0ba81c2aec19cbbc":[9,0,5,14], -"class_nim_b_l_e_advertising.html#a1eff592870a47b0f62b0f0894efadbd4":[9,0,5,11], -"class_nim_b_l_e_advertising.html#a3382cdf80f5ae46a52e3b9159f8e1b66":[9,0,5,13], -"class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800":[9,0,5,23], -"class_nim_b_l_e_advertising.html#a3bc158da1f732361df69cf16ca1cfd42":[9,0,5,15], -"class_nim_b_l_e_advertising.html#a4de7bf016a086a2d3f6f14ae134678f2":[9,0,5,4], -"class_nim_b_l_e_advertising.html#a4f334752ea04223185292fe9ab524b69":[9,0,5,2], -"class_nim_b_l_e_advertising.html#a545b505ea76396c33133d41a78fad5b8":[9,0,5,7], -"class_nim_b_l_e_advertising.html#a5e596e8dfa9268554a5b189380405d5c":[9,0,5,1], -"class_nim_b_l_e_advertising.html#a6495d7c9ad80a8c2a5edf974705f8103":[9,0,5,21], -"class_nim_b_l_e_advertising.html#a68d54f11b47b9993322efec1d07c3519":[9,0,5,9], -"class_nim_b_l_e_advertising.html#a6fb4d9ad3949928ac83d3e74857ab91f":[9,0,5,18], -"class_nim_b_l_e_advertising.html#a725437c00152ff57ef1e21bdf7be980d":[9,0,5,6], -"class_nim_b_l_e_advertising.html#a994e43e9e4ace6ce64c57e57d0575781":[9,0,5,20], -"class_nim_b_l_e_advertising.html#aa0d30dfb57670cc8180e17dffddad416":[9,0,5,10], -"class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790":[9,0,5,17], -"class_nim_b_l_e_advertising.html#aab512576d8873fbbb631bac8ada19530":[9,0,5,12], -"class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd":[9,0,5,0], -"class_nim_b_l_e_advertising.html#ac257ab68520a244cb6494d793f9b6c2a":[9,0,5,5], -"class_nim_b_l_e_advertising.html#ac4ff0af45d1f7ed5bc208612852bc43a":[9,0,5,3], -"class_nim_b_l_e_advertising.html#add2ecd09877d7e4548b11ec7cb8c7a47":[9,0,5,16], -"class_nim_b_l_e_advertising.html#aeeee5a131b42a4f76010751f4c182e4f":[9,0,5,22], -"class_nim_b_l_e_advertising.html#af7083f58717b7e76d90d367f00a0ef08":[9,0,5,8], -"class_nim_b_l_e_att_value.html":[9,0,6], -"class_nim_b_l_e_att_value.html#a03347eab1f3df449762902a4256d2b1c":[9,0,6,5], -"class_nim_b_l_e_att_value.html#a08f3b04d05cf0c2b76a24cc37cd1f8ab":[9,0,6,8], -"class_nim_b_l_e_att_value.html#a0e6691f9660a2b78e038e87e99914696":[9,0,6,23], -"class_nim_b_l_e_att_value.html#a1aca76279ea3f0d8cb06ff5540a326e3":[9,0,6,16], -"class_nim_b_l_e_att_value.html#a35df29c514613b1d00841abd6fffa320":[9,0,6,17], -"class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b":[9,0,6,19], -"class_nim_b_l_e_att_value.html#a3af3b6efb528b1063df2de409c64a0d6":[9,0,6,21], -"class_nim_b_l_e_att_value.html#a4322572d778438318f5750f6df5fdb35":[9,0,6,3], -"class_nim_b_l_e_att_value.html#a47d30a61ba65f5d9a21fa593cf15d4b9":[9,0,6,26], -"class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2":[9,0,6,12], -"class_nim_b_l_e_att_value.html#a4f797f89e9c2d55dc7bee7ec8993952e":[9,0,6,14], -"class_nim_b_l_e_att_value.html#a584cac329cd5d3c0a14aa855e6e6143e":[9,0,6,4], -"class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa":[9,0,6,32], -"class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371":[9,0,6,20], -"class_nim_b_l_e_att_value.html#a60fb3dc7057d4ec800c3ef6fd2480a69":[9,0,6,15], -"class_nim_b_l_e_att_value.html#a6167f1cbc50a81a4ca0708e273bbb63e":[9,0,6,10], -"class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df":[9,0,6,2], -"class_nim_b_l_e_att_value.html#a7473ad95c2240e0d1ce5c2d57f8914c2":[9,0,6,6], -"class_nim_b_l_e_att_value.html#a778d1da5334049292fdfba221bcd5772":[9,0,6,7], -"class_nim_b_l_e_att_value.html#a8ca8d07c06a79e30bf6279e6817e4881":[9,0,6,28], -"class_nim_b_l_e_att_value.html#a9634dd47ea705ec8d10f29482e572bbf":[9,0,6,27], -"class_nim_b_l_e_att_value.html#a9c0f67d150d198c5bcad6eafafee21b6":[9,0,6,29], -"class_nim_b_l_e_att_value.html#a9dc3bc75c3a0cedf76bed59ef2d0d289":[9,0,6,22], -"class_nim_b_l_e_att_value.html#a9e595630f7959b4002f6fb64c69ae123":[9,0,6,13], -"class_nim_b_l_e_att_value.html#aa0545edd766dc4ca6e3ebfac5efa384e":[9,0,6,25], -"class_nim_b_l_e_att_value.html#aa217dfc649daed50eb75c7168442f86e":[9,0,6,9], -"class_nim_b_l_e_att_value.html#aa2c18949ffc2e7d2d2f288c1b2b2f0ed":[9,0,6,11], -"class_nim_b_l_e_att_value.html#aa53ee00be956c25596cf7cce71b502ba":[9,0,6,24], -"class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294":[9,0,6,0], -"class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c":[9,0,6,33], -"class_nim_b_l_e_att_value.html#ac7abc6cd08adb0b654e051d62af725d5":[9,0,6,18], -"class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8":[9,0,6,30], -"class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8":[9,0,6,31], -"class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c":[9,0,6,1], -"class_nim_b_l_e_beacon.html":[9,0,7], -"class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9":[9,0,7,9], -"class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e":[9,0,7,10], -"class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788":[9,0,7,4], -"class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668":[9,0,7,6], -"class_nim_b_l_e_beacon.html#a7f33ffc298285d1ab02088b2584f2256":[9,0,7,11], -"class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40":[9,0,7,3], -"class_nim_b_l_e_beacon.html#a92292c8b1f5ba0097f063ff6e60934ff":[9,0,7,7], -"class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad":[9,0,7,5], -"class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c":[9,0,7,2], -"class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea":[9,0,7,8], -"class_nim_b_l_e_beacon.html#ac99e1fb4ef4795785a655b117dabdd37":[9,0,7,0], -"class_nim_b_l_e_beacon.html#ae2458f7db169b696e6368802d5ece0d9":[9,0,7,1], -"class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0":[9,0,7,12], -"class_nim_b_l_e_characteristic.html":[9,0,8], -"class_nim_b_l_e_characteristic.html#a062f52918f13c49a37ce8e58b9e7382a":[9,0,8,8], -"class_nim_b_l_e_characteristic.html#a15a9f056e5a3e85d5cb0bdc7adbdd970":[9,0,8,23], -"class_nim_b_l_e_characteristic.html#a1747ac4889c7adbb93a2d88a10327a47":[9,0,8,6], -"class_nim_b_l_e_characteristic.html#a1fc55adb9d62d8b5fe1be2b172686353":[9,0,8,4], -"class_nim_b_l_e_characteristic.html#a28b03617fe753133582ba4e58c60e52e":[9,0,8,15], -"class_nim_b_l_e_characteristic.html#a29dc2505e1d3b4a7d6800d1547965d17":[9,0,8,27], -"class_nim_b_l_e_characteristic.html#a2c0ed8932ee257a8632e3d72e353489b":[9,0,8,26], -"class_nim_b_l_e_characteristic.html#a2ce9f62ecc3d1644ef4d58efe7a3c434":[9,0,8,18], -"class_nim_b_l_e_characteristic.html#a2e827aba484add48e52c8eebf80b4a78":[9,0,8,19], -"class_nim_b_l_e_characteristic.html#a4fa6b8ed011d12e2b1f16e92a02b9a89":[9,0,8,31], -"class_nim_b_l_e_characteristic.html#a580ad0133fd82a673027c91cbb1c74fa":[9,0,8,7], -"class_nim_b_l_e_characteristic.html#a67a1fb8bddfbd47007ccb8b6f5e5611a":[9,0,8,5], -"class_nim_b_l_e_characteristic.html#a78484a01350300176033a09180f7207f":[9,0,8,16], -"class_nim_b_l_e_characteristic.html#a79759a98d9bdb761cb12c1ea6f601afc":[9,0,8,12], -"class_nim_b_l_e_characteristic.html#a7cd211a8bb9a0c2ffaed57f2af273677":[9,0,8,30], -"class_nim_b_l_e_characteristic.html#a7d09c29b26362f6ddcaf51a9c9dc8be4":[9,0,8,17], -"class_nim_b_l_e_characteristic.html#a7fe29c5ec571d0513c51b8cbac942f4a":[9,0,8,2], -"class_nim_b_l_e_characteristic.html#a84aa251a612810ec8d07e77ab03cb483":[9,0,8,13], -"class_nim_b_l_e_characteristic.html#a8c1875611a1beb192e6c24dff35d0655":[9,0,8,21], -"class_nim_b_l_e_characteristic.html#a9ce09408a307a6b62a91418ea7723ebf":[9,0,8,25], -"class_nim_b_l_e_characteristic.html#a9daeb13599265cb0f8ea94b7ac4ef053":[9,0,8,28], -"class_nim_b_l_e_characteristic.html#aa32224e69115e9ba60ac614e8f37a871":[9,0,8,0], -"class_nim_b_l_e_characteristic.html#aa45461059e1992c816e32c371d17e813":[9,0,8,22], -"class_nim_b_l_e_characteristic.html#aba05898f446e31222fbe509fa357c730":[9,0,8,29], -"class_nim_b_l_e_characteristic.html#abc5f4819e4d2c0956857ddd7a1064189":[9,0,8,9], -"class_nim_b_l_e_characteristic.html#acc3ea122771cd447103adfce22537379":[9,0,8,11], -"class_nim_b_l_e_characteristic.html#aced225d46153b6969f6ded30c0190e39":[9,0,8,14], -"class_nim_b_l_e_characteristic.html#ae2053d941cf8574acbdceb8b549b8264":[9,0,8,1], -"class_nim_b_l_e_characteristic.html#ae310b081d2d7d2a52ab2ddc11d5dbd99":[9,0,8,10], -"class_nim_b_l_e_characteristic.html#aed1432c11fadec203104b13aaaf7060d":[9,0,8,24], -"class_nim_b_l_e_characteristic.html#aed4b2241c89ad2a8f49117e2b9433e5b":[9,0,8,3], -"class_nim_b_l_e_characteristic.html#af2940e8c314a1ecee1750d20a60c459d":[9,0,8,20], -"class_nim_b_l_e_characteristic_callbacks.html":[9,0,9], -"class_nim_b_l_e_characteristic_callbacks.html#a104baba3c4bbdee7aa28273d265e4c6f":[9,0,9,0], -"class_nim_b_l_e_characteristic_callbacks.html#a185eb5298cc042f1aceeba21caf0dcc9":[9,0,9,1], -"class_nim_b_l_e_characteristic_callbacks.html#a303a44a2efad76d54d67955fcb7b05d7":[9,0,9,7], -"class_nim_b_l_e_characteristic_callbacks.html#a3c0c0f524bc0d00d24a7c5ea92c5cb7e":[9,0,9,5], -"class_nim_b_l_e_characteristic_callbacks.html#a523904b8d39e364db094f623403bad93":[9,0,9,2], -"class_nim_b_l_e_characteristic_callbacks.html#aac7caf4a80da061b5beda5ebcd214fc3":[9,0,9,6], -"class_nim_b_l_e_characteristic_callbacks.html#ab17e7c61723a33cd3c922e3ca9c20f1e":[9,0,9,4], -"class_nim_b_l_e_characteristic_callbacks.html#acae83420ae378277c225ce465f979f88":[9,0,9,3], -"class_nim_b_l_e_client.html":[9,0,10], -"class_nim_b_l_e_client.html#a026d7e04557b4821a7da2c1a1caa46eb":[9,0,10,2], -"class_nim_b_l_e_client.html#a0477ba593f0b7c0cfc4697efdba703eb":[9,0,10,14], -"class_nim_b_l_e_client.html#a0accd665926ea77d85ecb483b2b853fe":[9,0,10,8], -"class_nim_b_l_e_client.html#a0f940c51807469db1f1802b742180beb":[9,0,10,4], -"class_nim_b_l_e_client.html#a1019178a12799ca2c3a84f523b3a7db9":[9,0,10,7], -"class_nim_b_l_e_client.html#a17718339f76eb621db0d7919c73b9267":[9,0,10,23], -"class_nim_b_l_e_client.html#a178d06bed13028e4ae0384923062d18d":[9,0,10,12], -"class_nim_b_l_e_client.html#a1f9d4ad6d3d03b819bfad82d1f39b684":[9,0,10,1], -"class_nim_b_l_e_client.html#a2fc46f43a71dd0df63a377961baf8009":[9,0,10,9], -"class_nim_b_l_e_client.html#a33a0114a126e0e58f7b4359c74f4ed41":[9,0,10,26], -"class_nim_b_l_e_client.html#a3903fb7589e2b8b781f8f81f9e0f2a83":[9,0,10,19], -"class_nim_b_l_e_client.html#a3ab0a864d8fc7f91ea27f459e2c76b9e":[9,0,10,24], -"class_nim_b_l_e_client.html#a4068b29a9bd12e3110465908864dd20e":[9,0,10,25], -"class_nim_b_l_e_client.html#a566207f548c6b799792fc092f1748267":[9,0,10,11], -"class_nim_b_l_e_client.html#a5f77999664cc8a83f3cdb603ba4a5c8c":[9,0,10,6] +"_h_i_d_keyboard_types_8h_source.html":[9,0,0,0], +"_h_i_d_types_8h_source.html":[9,0,0,1], +"_nim_b_l_e2904_8h_source.html":[9,0,0,2], +"_nim_b_l_e_address_8h_source.html":[9,0,0,3], +"_nim_b_l_e_advertised_device_8h_source.html":[9,0,0,4], +"_nim_b_l_e_advertisement_data_8h_source.html":[9,0,0,5], +"_nim_b_l_e_advertising_8h_source.html":[9,0,0,6], +"_nim_b_l_e_att_value_8h_source.html":[9,0,0,8], +"_nim_b_l_e_attribute_8h_source.html":[9,0,0,7], +"_nim_b_l_e_beacon_8h_source.html":[9,0,0,9], +"_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_local_attribute_8h_source.html":[9,0,0,18], +"_nim_b_l_e_local_value_attribute_8h_source.html":[9,0,0,19], +"_nim_b_l_e_log_8h_source.html":[9,0,0,20], +"_nim_b_l_e_remote_characteristic_8h_source.html":[9,0,0,21], +"_nim_b_l_e_remote_descriptor_8h_source.html":[9,0,0,22], +"_nim_b_l_e_remote_service_8h_source.html":[9,0,0,23], +"_nim_b_l_e_remote_value_attribute_8h_source.html":[9,0,0,24], +"_nim_b_l_e_scan_8h_source.html":[9,0,0,25], +"_nim_b_l_e_server_8h_source.html":[9,0,0,26], +"_nim_b_l_e_service_8h_source.html":[9,0,0,27], +"_nim_b_l_e_u_u_i_d_8h_source.html":[9,0,0,29], +"_nim_b_l_e_utils_8h_source.html":[9,0,0,28], +"annotated.html":[8,0], +"class_nim_b_l_e2904.html":[8,0,0], +"class_nim_b_l_e2904.html#a2206274c217d43a8ba121e1d279f8962":[8,0,0,3], +"class_nim_b_l_e2904.html#a498c863cb3fbf92eecc23f9f8856037c":[8,0,0,0], +"class_nim_b_l_e2904.html#ab1c53f99246f67dca1d63b812bef631d":[8,0,0,1], +"class_nim_b_l_e2904.html#ab7f21651b4493fd3daaa0f1545032ff1":[8,0,0,2], +"class_nim_b_l_e2904.html#ad0cf78a2a1c3418be9a39beaa0c826ee":[8,0,0,4], +"class_nim_b_l_e_address.html":[8,0,1], +"class_nim_b_l_e_address.html#a0f390fb5f422db8ced1938bd40f87c4d":[8,0,1,18], +"class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb":[8,0,1,7], +"class_nim_b_l_e_address.html#a196801fb1ad972085e748c90159e858e":[8,0,1,8], +"class_nim_b_l_e_address.html#a31b466293f6cb752d5aba6b6ffb95351":[8,0,1,6], +"class_nim_b_l_e_address.html#a409e3ef141526c8f5c5fad99bd95b660":[8,0,1,13], +"class_nim_b_l_e_address.html#a4339a4ba2a68932000b2168547a37b35":[8,0,1,3], +"class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a":[8,0,1,14], +"class_nim_b_l_e_address.html#a567542a3cf8324810751cdd4d92703ab":[8,0,1,2], +"class_nim_b_l_e_address.html#a7154780415ae201a1fcdf86298b6116c":[8,0,1,11], +"class_nim_b_l_e_address.html#a826fe8850cbc7d54f0696b8af4637169":[8,0,1,5], +"class_nim_b_l_e_address.html#a87e8ccc81c2d83bf0503166939319164":[8,0,1,17], +"class_nim_b_l_e_address.html#a96fba1524ed8ab43f59f5f650e8fd3c8":[8,0,1,12], +"class_nim_b_l_e_address.html#a9af65abe3c02a16307b8cffa3b1bcac1":[8,0,1,9], +"class_nim_b_l_e_address.html#aa05f35ab6724a00c65dd096006dba2bb":[8,0,1,10], +"class_nim_b_l_e_address.html#aa7d5d8d323d2846bf2082b83381bd7c8":[8,0,1,15], +"class_nim_b_l_e_address.html#ac1bad3b929b3a694402cc7354635775e":[8,0,1,1], +"class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6":[8,0,1,19], +"class_nim_b_l_e_address.html#adc38af9709f212868a89e52ea700a417":[8,0,1,0], +"class_nim_b_l_e_address.html#adde06cf0cd99fed05b199fcd8df665a9":[8,0,1,4], +"class_nim_b_l_e_address.html#ae243127c78af69b26dfa225effd806ce":[8,0,1,16], +"class_nim_b_l_e_advertised_device.html":[8,0,2], +"class_nim_b_l_e_advertised_device.html#a08c0fb778eedde4c4004410d124799f1":[8,0,2,11], +"class_nim_b_l_e_advertised_device.html#a12971984cf749647c659b659bdfeda5d":[8,0,2,15], +"class_nim_b_l_e_advertised_device.html#a16738b3a745d29edff39bb4bbf4dfb28":[8,0,2,32], +"class_nim_b_l_e_advertised_device.html#a1e61faae3ba0bdbb1bc197d1ca113f61":[8,0,2,41], +"class_nim_b_l_e_advertised_device.html#a29f6e671bffb6d431d183a63074709b3":[8,0,2,20], +"class_nim_b_l_e_advertised_device.html#a2c0a851fe464217ae7ace84148d8849a":[8,0,2,25], +"class_nim_b_l_e_advertised_device.html#a2e127b14ea79ebe88d291d7c8cc91b5a":[8,0,2,45], +"class_nim_b_l_e_advertised_device.html#a3ce52d33ea39b9c8b6b96cc19a2a3170":[8,0,2,9], +"class_nim_b_l_e_advertised_device.html#a455ebaf550d1e7e025ada171cb611503":[8,0,2,3], +"class_nim_b_l_e_advertised_device.html#a4738e8e37b3509f62b63afb592c9b73e":[8,0,2,21], +"class_nim_b_l_e_advertised_device.html#a47b8224e031fd6ab5db93b457ec35b33":[8,0,2,33], +"class_nim_b_l_e_advertised_device.html#a49b445130f028b49175d01cd3f6db050":[8,0,2,48], +"class_nim_b_l_e_advertised_device.html#a52fff852e23293d807a6719527eceff2":[8,0,2,27], +"class_nim_b_l_e_advertised_device.html#a56d07a328ebdea4112087dc02dac4fc2":[8,0,2,34], +"class_nim_b_l_e_advertised_device.html#a6bb91e0c3b66a54ef9f53496fba1d748":[8,0,2,37], +"class_nim_b_l_e_advertised_device.html#a6e7a4b9be93386e393addaa4a732e516":[8,0,2,42], +"class_nim_b_l_e_advertised_device.html#a6f55263d4a86d3e2f6b23b71eb68ef98":[8,0,2,49], +"class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392":[8,0,2,19], +"class_nim_b_l_e_advertised_device.html#a74be6cf94bbc2e69d04de25a37d28153":[8,0,2,16], +"class_nim_b_l_e_advertised_device.html#a778d8b099f7e006d8e213cf638276a81":[8,0,2,8], +"class_nim_b_l_e_advertised_device.html#a8530d1dfdb57cb2f9fc9a917f12797e6":[8,0,2,1], +"class_nim_b_l_e_advertised_device.html#a899abd2a02e0c9bf941a998f4184a9ee":[8,0,2,17], +"class_nim_b_l_e_advertised_device.html#a89e65eba150a40326fe1c12f2be9fbea":[8,0,2,36], +"class_nim_b_l_e_advertised_device.html#a8f4fc5c352487f816598796fb5430865":[8,0,2,44], +"class_nim_b_l_e_advertised_device.html#a927a8418e4078107e5bf457c0bb56cbc":[8,0,2,18], +"class_nim_b_l_e_advertised_device.html#a94ac18b573bace31613339e573076a70":[8,0,2,24], +"class_nim_b_l_e_advertised_device.html#a99d902853af4e0d5d3b7c7222f11eba0":[8,0,2,26], +"class_nim_b_l_e_advertised_device.html#a9b6ff6bd4e530dc9b5c76f9333d4420f":[8,0,2,35], +"class_nim_b_l_e_advertised_device.html#aabb14f9df146ebe6fb50d74a4ec8a878":[8,0,2,0], +"class_nim_b_l_e_advertised_device.html#aaf936703902681e7af785d7b751e68e0":[8,0,2,10], +"class_nim_b_l_e_advertised_device.html#ab348469f8d9325e6bb619dce9bbd4e24":[8,0,2,7], +"class_nim_b_l_e_advertised_device.html#ab91aaf87b4bd03a6599f466b1a6c3299":[8,0,2,40], +"class_nim_b_l_e_advertised_device.html#ab9710a6c3a141b6413d5159dfe4a4040":[8,0,2,47], +"class_nim_b_l_e_advertised_device.html#acb3c376962b317b91628fb96ad215923":[8,0,2,2], +"class_nim_b_l_e_advertised_device.html#acbdfac3f9febbe11d1a1317bc7524810":[8,0,2,4], +"class_nim_b_l_e_advertised_device.html#accf2225a99742fdeb86a1b4738eac164":[8,0,2,13], +"class_nim_b_l_e_advertised_device.html#acf7ec676680fd4eb800b85779a220b67":[8,0,2,14], +"class_nim_b_l_e_advertised_device.html#ad006b08552281a3e6c9d9444e7942709":[8,0,2,46], +"class_nim_b_l_e_advertised_device.html#ad06e4e81a8d568199d1145f437175749":[8,0,2,5], +"class_nim_b_l_e_advertised_device.html#ad46b9300d435e3d20997fbafa5305148":[8,0,2,50], +"class_nim_b_l_e_advertised_device.html#ad68b1b03f59266f4aac9070e5e33d15f":[8,0,2,38], +"class_nim_b_l_e_advertised_device.html#ad7313053fa990a9aa8f4bc832f35ee13":[8,0,2,30], +"class_nim_b_l_e_advertised_device.html#adbdb381a86c556344e676a1e4e654d9f":[8,0,2,29], +"class_nim_b_l_e_advertised_device.html#adc0e859c8403906c12196906b3c514c8":[8,0,2,22], +"class_nim_b_l_e_advertised_device.html#ae1c188511703f101eaa3995c7b4a5aac":[8,0,2,23], +"class_nim_b_l_e_advertised_device.html#ae44d13d47f80ed0499be7d84239f7ecb":[8,0,2,28], +"class_nim_b_l_e_advertised_device.html#aeef5bef4ba2e1afb5f0a6838ab9762d3":[8,0,2,12], +"class_nim_b_l_e_advertised_device.html#aefa0142915204ace20ecb56a539396a2":[8,0,2,39], +"class_nim_b_l_e_advertised_device.html#af51c0ff723dcb7bb1bc03460a9f0a25b":[8,0,2,31], +"class_nim_b_l_e_advertised_device.html#afb7a089c220e4987852ea1d7a0b5dca4":[8,0,2,6], +"class_nim_b_l_e_advertised_device.html#afde2edb305d4d78804b4750d1bc7aa38":[8,0,2,43], +"class_nim_b_l_e_advertisement_data.html":[8,0,3], +"class_nim_b_l_e_advertisement_data.html#a00c9c605b9a1054ad056fc0f0f7ebf0d":[8,0,3,16], +"class_nim_b_l_e_advertisement_data.html#a0399149f6359d33ca4781c8282844394":[8,0,3,27], +"class_nim_b_l_e_advertisement_data.html#a043d49566c5d7a3e0808554587ad051b":[8,0,3,17], +"class_nim_b_l_e_advertisement_data.html#a051d8f4ae66d2caa39351af8277bf0ed":[8,0,3,0], +"class_nim_b_l_e_advertisement_data.html#a0a4102da7495d39e8a0033e1661b76a6":[8,0,3,21], +"class_nim_b_l_e_advertisement_data.html#a0b076298058755149b4351727d70b198":[8,0,3,19], +"class_nim_b_l_e_advertisement_data.html#a2efe483f50ee2013d1eea015c90ba4f5":[8,0,3,26], +"class_nim_b_l_e_advertisement_data.html#a2f6960683e8b98d1c3ecf88bb5ec56eb":[8,0,3,7], +"class_nim_b_l_e_advertisement_data.html#a32922b53631443b92463c8942b8d0839":[8,0,3,28], +"class_nim_b_l_e_advertisement_data.html#a3f227c597ec00f639e4bd26b80ce404b":[8,0,3,4], +"class_nim_b_l_e_advertisement_data.html#a4119cfc1dafeee9c32f9a08dbb213139":[8,0,3,2], +"class_nim_b_l_e_advertisement_data.html#a57d4ece891cc23b2079ccc4e06d477b2":[8,0,3,6], +"class_nim_b_l_e_advertisement_data.html#a62963648edf361ed7d3f24027dd41a9d":[8,0,3,10], +"class_nim_b_l_e_advertisement_data.html#a63dca8c3219f682569db26eddbc8880c":[8,0,3,12], +"class_nim_b_l_e_advertisement_data.html#a67f4d6869eb2797bc78389adf20cb59e":[8,0,3,1], +"class_nim_b_l_e_advertisement_data.html#a6ff7fc36a9f5966792f354d2586714a6":[8,0,3,30], +"class_nim_b_l_e_advertisement_data.html#a736480e1e778ed93890d2071f558f186":[8,0,3,23], +"class_nim_b_l_e_advertisement_data.html#a852969e05a7884faf6cfcd2001f80ec9":[8,0,3,29], +"class_nim_b_l_e_advertisement_data.html#a89c45ddb804600bd6b6175687f6c1bb0":[8,0,3,14], +"class_nim_b_l_e_advertisement_data.html#a91671d595cfed4547df670884633a7a4":[8,0,3,22], +"class_nim_b_l_e_advertisement_data.html#a9eb01ecb3973fa592effe6fdce39f602":[8,0,3,18], +"class_nim_b_l_e_advertisement_data.html#aafa437cd95751da68d6b8691ce3eea46":[8,0,3,13], +"class_nim_b_l_e_advertisement_data.html#ac0f2238cf17bf3e8bbef8b0ef0d61dcf":[8,0,3,5], +"class_nim_b_l_e_advertisement_data.html#acbea9f95711b329a427919ecd9cbeb23":[8,0,3,3], +"class_nim_b_l_e_advertisement_data.html#acee3a78f4c8d69a1dc3df1f9af16632f":[8,0,3,24], +"class_nim_b_l_e_advertisement_data.html#acf839da2c36a9ac5ef53e86b57d73874":[8,0,3,8], +"class_nim_b_l_e_advertisement_data.html#ad22fa3253134dd5bfd3e76f8c31bef2e":[8,0,3,11], +"class_nim_b_l_e_advertisement_data.html#adf8f35c7735f8a29130482b302f04006":[8,0,3,20], +"class_nim_b_l_e_advertisement_data.html#ae179e55a5a133a66858047b29343bd75":[8,0,3,25], +"class_nim_b_l_e_advertisement_data.html#aef5e7a5b2d3dd9c09b6a55582d7d22d6":[8,0,3,15], +"class_nim_b_l_e_advertisement_data.html#aff30e0d0dc95e1dc8bb1cb6858a4e813":[8,0,3,9], +"class_nim_b_l_e_advertising.html":[8,0,4], +"class_nim_b_l_e_advertising.html#a0d3c5cb3a93416a4206abb1f8e443ebf":[8,0,4,3], +"class_nim_b_l_e_advertising.html#a1bacfa32690f7e0c6f1172ea03c68c0d":[8,0,4,1], +"class_nim_b_l_e_advertising.html#a1e23657839038e5219f9c009cf360a32":[8,0,4,6], +"class_nim_b_l_e_advertising.html#a1f4e1ae9552400fb2bb3cd73b2a483b0":[8,0,4,17], +"class_nim_b_l_e_advertising.html#a28c082bb540325ada66b4e203ae6998a":[8,0,4,16], +"class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800":[8,0,4,34], +"class_nim_b_l_e_advertising.html#a3e81d7d3aa2b72b8db58427d4a42727b":[8,0,4,15], +"class_nim_b_l_e_advertising.html#a65123182c5218758433e4acf0432fc84":[8,0,4,30], +"class_nim_b_l_e_advertising.html#a67c9589dff7e0ee3ec24f2c930d56c06":[8,0,4,2], +"class_nim_b_l_e_advertising.html#a6b5be947a5e188d512e3338d36a039cb":[8,0,4,24], +"class_nim_b_l_e_advertising.html#a6badd669ddf4ff8507561d5041d093d6":[8,0,4,5], +"class_nim_b_l_e_advertising.html#a708384c4b9af3006893afbdef74362bc":[8,0,4,29], +"class_nim_b_l_e_advertising.html#a710eacfc97ecea1bf9a9a3569c58d410":[8,0,4,19], +"class_nim_b_l_e_advertising.html#a7fb4b74eb7acb1f46e57ff772baccd88":[8,0,4,25], +"class_nim_b_l_e_advertising.html#a815faed49fb4f29337fda94bd39c0bbc":[8,0,4,31], +"class_nim_b_l_e_advertising.html#a8a5c880ee36fd44e0c72c14c47c8e15e":[8,0,4,33], +"class_nim_b_l_e_advertising.html#a91cde5680de36840fc18f6fd76665af7":[8,0,4,13], +"class_nim_b_l_e_advertising.html#a94452c2f9f7233611246827ce62f6a2b":[8,0,4,11], +"class_nim_b_l_e_advertising.html#a97798e6d9d7721eb588c5e67d54e97ef":[8,0,4,28], +"class_nim_b_l_e_advertising.html#a97bf63603b9aabdf0a5284269dfc5549":[8,0,4,23], +"class_nim_b_l_e_advertising.html#a9dbb66ca66aa040731fcfd737f881469":[8,0,4,26], +"class_nim_b_l_e_advertising.html#a9fe23a52ac3f699095d84d2ba8f90c28":[8,0,4,32], +"class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790":[8,0,4,27], +"class_nim_b_l_e_advertising.html#aac1b5e560aa497a274985a22083bfc97":[8,0,4,21], +"class_nim_b_l_e_advertising.html#ab8afd94479ebac3996fa3712d3d92325":[8,0,4,14], +"class_nim_b_l_e_advertising.html#aba383012133dd694f56cf86966b2d80a":[8,0,4,12], +"class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd":[8,0,4,0], +"class_nim_b_l_e_advertising.html#ac257ab68520a244cb6494d793f9b6c2a":[8,0,4,8], +"class_nim_b_l_e_advertising.html#ac433e3458ac5259ae21c4bdbd1198781":[8,0,4,22], +"class_nim_b_l_e_advertising.html#ac9f3a7270e1cefedf8547c5188d06120":[8,0,4,20], +"class_nim_b_l_e_advertising.html#ad159c2e2a65d9bc7dcc5babed146936d":[8,0,4,10], +"class_nim_b_l_e_advertising.html#ad899be16fa054a01908692a504af9832":[8,0,4,9], +"class_nim_b_l_e_advertising.html#ae0e7d64d51882830750bcb87e2d9678c":[8,0,4,7], +"class_nim_b_l_e_advertising.html#ae49d2bd91cabca46ec7c4bbd7fc49407":[8,0,4,18], +"class_nim_b_l_e_advertising.html#af7cee42f24ad38872936a0bbc9e2ac1e":[8,0,4,4], +"class_nim_b_l_e_att_value.html":[8,0,6], +"class_nim_b_l_e_att_value.html#a03347eab1f3df449762902a4256d2b1c":[8,0,6,5], +"class_nim_b_l_e_att_value.html#a08f3b04d05cf0c2b76a24cc37cd1f8ab":[8,0,6,8], +"class_nim_b_l_e_att_value.html#a35df29c514613b1d00841abd6fffa320":[8,0,6,16], +"class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b":[8,0,6,18], +"class_nim_b_l_e_att_value.html#a3af3b6efb528b1063df2de409c64a0d6":[8,0,6,20], +"class_nim_b_l_e_att_value.html#a4322572d778438318f5750f6df5fdb35":[8,0,6,2], +"class_nim_b_l_e_att_value.html#a47d30a61ba65f5d9a21fa593cf15d4b9":[8,0,6,25], +"class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2":[8,0,6,12], +"class_nim_b_l_e_att_value.html#a4d18b6e6839afc943f11200e76414c17":[8,0,6,11], +"class_nim_b_l_e_att_value.html#a584cac329cd5d3c0a14aa855e6e6143e":[8,0,6,4], +"class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa":[8,0,6,32], +"class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371":[8,0,6,19], +"class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df":[8,0,6,3], +"class_nim_b_l_e_att_value.html#a643f989881afd01a25f9d102421c36ec":[8,0,6,22], +"class_nim_b_l_e_att_value.html#a7473ad95c2240e0d1ce5c2d57f8914c2":[8,0,6,6], +"class_nim_b_l_e_att_value.html#a778d1da5334049292fdfba221bcd5772":[8,0,6,7], +"class_nim_b_l_e_att_value.html#a86acbb5ab3a35b3d5692c2e05fdccadd":[8,0,6,13], +"class_nim_b_l_e_att_value.html#a8ca8d07c06a79e30bf6279e6817e4881":[8,0,6,27], +"class_nim_b_l_e_att_value.html#a91cbe0ba44781943390a80514383ee58":[8,0,6,14], +"class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79":[8,0,6,30], +"class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79":[8,0,6,31], +"class_nim_b_l_e_att_value.html#aa217dfc649daed50eb75c7168442f86e":[8,0,6,9], +"class_nim_b_l_e_att_value.html#aa53ee00be956c25596cf7cce71b502ba":[8,0,6,23], +"class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294":[8,0,6,0], +"class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c":[8,0,6,33], +"class_nim_b_l_e_att_value.html#aade512f55c6f962941aee7078677356b":[8,0,6,28], +"class_nim_b_l_e_att_value.html#ab16b9901e6ff9374c7d2e1afa5aa4671":[8,0,6,15], +"class_nim_b_l_e_att_value.html#ac7abc6cd08adb0b654e051d62af725d5":[8,0,6,17], +"class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8":[8,0,6,29], +"class_nim_b_l_e_att_value.html#ad01c8ae4ce617b5ed31733ac245b2e91":[8,0,6,26], +"class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c":[8,0,6,1], +"class_nim_b_l_e_att_value.html#add319bc80a9a7569f42c8568879c8be9":[8,0,6,24], +"class_nim_b_l_e_att_value.html#aec41d0fe983f8c4ded137d7d5017bcb7":[8,0,6,10], +"class_nim_b_l_e_att_value.html#afda6ab2bce142146bad453249bd0dc43":[8,0,6,21], +"class_nim_b_l_e_attribute.html":[8,0,5], +"class_nim_b_l_e_attribute.html#a51ce8e9cd9609f42b9b9248a0b6c642c":[8,0,5,0], +"class_nim_b_l_e_attribute.html#a7907cb5b0a2d0f8cd9eb016a4ed876d1":[8,0,5,2], +"class_nim_b_l_e_attribute.html#a8a060f480742cfb09ed47c1f5421d00f":[8,0,5,1], +"class_nim_b_l_e_attribute.html#afd4500e543c9480c52ca994ed5473e49":[8,0,5,3], +"class_nim_b_l_e_beacon.html":[8,0,7], +"class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9":[8,0,7,9], +"class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e":[8,0,7,10], +"class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788":[8,0,7,3], +"class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668":[8,0,7,5], +"class_nim_b_l_e_beacon.html#a7f33ffc298285d1ab02088b2584f2256":[8,0,7,11], +"class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40":[8,0,7,2], +"class_nim_b_l_e_beacon.html#a8ac2cd99dd5a8a996f3556f9e5d20bbb":[8,0,7,0], +"class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad":[8,0,7,4], +"class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c":[8,0,7,1], +"class_nim_b_l_e_beacon.html#ab204f2a919c5da7308e74bd3590a29c3":[8,0,7,6], +"class_nim_b_l_e_beacon.html#ab6475aaa5d8a93e24401da3b4b272496":[8,0,7,7], +"class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea":[8,0,7,8], +"class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0":[8,0,7,12], +"class_nim_b_l_e_characteristic.html":[8,0,8], +"class_nim_b_l_e_characteristic.html#a0a7d8e25403d4045f0790a4baeb5248c":[8,0,8,11], +"class_nim_b_l_e_characteristic.html#a15d9945ee9549e60db77666a2ef5d0c8":[8,0,8,10], +"class_nim_b_l_e_characteristic.html#a283bd1661b5865dd247b1b59bcbf46d6":[8,0,8,8], +"class_nim_b_l_e_characteristic.html#a29dc2505e1d3b4a7d6800d1547965d17":[8,0,8,24], +"class_nim_b_l_e_characteristic.html#a2c0ed8932ee257a8632e3d72e353489b":[8,0,8,23], +"class_nim_b_l_e_characteristic.html#a3ae5959f98c503de42660e195470192b":[8,0,8,13], +"class_nim_b_l_e_characteristic.html#a3dd5745ea2cd75e12d27c51fc90b4914":[8,0,8,9], +"class_nim_b_l_e_characteristic.html#a7676bd1b73979101c394471299d71c0b":[8,0,8,21], +"class_nim_b_l_e_characteristic.html#a7fe29c5ec571d0513c51b8cbac942f4a":[8,0,8,2], +"class_nim_b_l_e_characteristic.html#a8afe29701cd595d8b3c34cc59400b86b":[8,0,8,12], +"class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954":[8,0,8,19], +"class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954":[8,0,8,20], +"class_nim_b_l_e_characteristic.html#aa5eb7de28ee6ec5661acac5c07abb11c":[8,0,8,16], +"class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31":[8,0,8,15], +"class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31":[8,0,8,14], +"class_nim_b_l_e_characteristic.html#aa9817ffdcc2d57e65e4ec3d88836af3f":[8,0,8,5], +"class_nim_b_l_e_characteristic.html#aabdc2745d2523239a9ab3f02e39aa3cf":[8,0,8,17] }; diff --git a/navtreeindex1.js b/navtreeindex1.js index 58c1d48..1e02dd0 100644 --- a/navtreeindex1.js +++ b/navtreeindex1.js @@ -1,253 +1,253 @@ var NAVTREEINDEX1 = { -"class_nim_b_l_e_client.html#a668d476de250055a106a9f46bb7719f3":[9,0,10,5], -"class_nim_b_l_e_client.html#a79935ecbe94f2a41e0106d011edafac4":[9,0,10,21], -"class_nim_b_l_e_client.html#a93b5b7c01e58a95dcea335f837d81d07":[9,0,10,27], -"class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2":[9,0,10,28], -"class_nim_b_l_e_client.html#aa09466a7050bf08bab2390da66007896":[9,0,10,10], -"class_nim_b_l_e_client.html#ab09639b499fdcd0021a2432b2b8203f5":[9,0,10,0], -"class_nim_b_l_e_client.html#ab971537eec4e53d621598eb1c760af3a":[9,0,10,13], -"class_nim_b_l_e_client.html#aba9ae035357776514b61c2b6286ce1ab":[9,0,10,29], -"class_nim_b_l_e_client.html#acb9007569b3bb13b3b49f3c4cb47b21a":[9,0,10,18], -"class_nim_b_l_e_client.html#ad8ba10522d79af1136019606802f0978":[9,0,10,17], -"class_nim_b_l_e_client.html#ae216993cf4eeb5780a104a8b14044f78":[9,0,10,15], -"class_nim_b_l_e_client.html#ae22379ab10bd82932d2303fb3753c366":[9,0,10,16], -"class_nim_b_l_e_client.html#ae9b3e8a9b47c7eaad040b485bda958a1":[9,0,10,3], -"class_nim_b_l_e_client.html#aeede4deef7421b9121387a786c07820c":[9,0,10,22], -"class_nim_b_l_e_client.html#af1603da59b829f75b162ac4a65ce181c":[9,0,10,20], -"class_nim_b_l_e_client.html#aff7d389ec48567286ea732c54d320526":[9,0,10,30], -"class_nim_b_l_e_client_callbacks.html":[9,0,11], -"class_nim_b_l_e_client_callbacks.html#a3e5571e4d5ee53c5c4b25ceaac66b808":[9,0,11,4], -"class_nim_b_l_e_client_callbacks.html#a40fb2013fc4ebe51f770699377922065":[9,0,11,0], -"class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6":[9,0,11,3], -"class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae":[9,0,11,2], -"class_nim_b_l_e_client_callbacks.html#a9850764aec546747537c6baa2a4622f5":[9,0,11,5], -"class_nim_b_l_e_client_callbacks.html#ace39ee838319e415bd0fc5c72a653ff0":[9,0,11,1], -"class_nim_b_l_e_conn_info.html":[9,0,12], -"class_nim_b_l_e_conn_info.html#a10c6093ca2f92ea61b82815909106430":[9,0,12,3], -"class_nim_b_l_e_conn_info.html#a278a8456f9d7df9cea7d776e61b36782":[9,0,12,7], -"class_nim_b_l_e_conn_info.html#a63ff245a8848bf1cc5839adee7aa41c4":[9,0,12,11], -"class_nim_b_l_e_conn_info.html#a7229e53d21c9c6b5b9fb5bd232862c89":[9,0,12,8], -"class_nim_b_l_e_conn_info.html#a77e212f3e236b05da0978ea482e3efb4":[9,0,12,1], -"class_nim_b_l_e_conn_info.html#a7bc23f09eb7dd53be902cb67d2ba745a":[9,0,12,5], -"class_nim_b_l_e_conn_info.html#a8e885d340f1ab4e477c69ed7ea99b082":[9,0,12,4], -"class_nim_b_l_e_conn_info.html#a8ecf3c58da6ffb529215ce6f13c96744":[9,0,12,10], -"class_nim_b_l_e_conn_info.html#a94796b6446ef40c0ae0d1f8af1ff9462":[9,0,12,6], -"class_nim_b_l_e_conn_info.html#aa43374d84b7564f6d187fd0c637b1049":[9,0,12,2], -"class_nim_b_l_e_conn_info.html#abfb91b833cb200f795bc63d5affff6af":[9,0,12,12], -"class_nim_b_l_e_conn_info.html#af17023ca06c3d1b9e142dcd5f8c54847":[9,0,12,0], -"class_nim_b_l_e_conn_info.html#af281a25921d36dc75cf1e37561940125":[9,0,12,9], -"class_nim_b_l_e_descriptor.html":[9,0,13], -"class_nim_b_l_e_descriptor.html#a378346f59afb706d4c1d961227b98c5d":[9,0,13,5], -"class_nim_b_l_e_descriptor.html#a3cf995352eb1b1c212a7911a05c33b25":[9,0,13,0], -"class_nim_b_l_e_descriptor.html#a412b3735186d94e9ddcf37a06c2055e1":[9,0,13,3], -"class_nim_b_l_e_descriptor.html#a486af6799753dfa60b3faddfac2adbcd":[9,0,13,4], -"class_nim_b_l_e_descriptor.html#a61062547f21ca8e102ec5d8e0843c9f9":[9,0,13,9], -"class_nim_b_l_e_descriptor.html#a644f739b6621702856be8db93035e9a0":[9,0,13,11], -"class_nim_b_l_e_descriptor.html#a7153e051e5808469c23e2207fa6711db":[9,0,13,6], -"class_nim_b_l_e_descriptor.html#a7ecb634b7d6390677cad232bd6be6638":[9,0,13,1], -"class_nim_b_l_e_descriptor.html#a8f64c733c8848948fe9123bd7cd3fd53":[9,0,13,8], -"class_nim_b_l_e_descriptor.html#a9136cc9e4b41110b3dd99d1c9553a477":[9,0,13,12], -"class_nim_b_l_e_descriptor.html#a9447cee9092dc516266f7764131ba923":[9,0,13,13], -"class_nim_b_l_e_descriptor.html#aa9cb8727f9e17cf8050cf619e5fe3096":[9,0,13,10], -"class_nim_b_l_e_descriptor.html#abc5398a570edc197fbadad3f5b45e186":[9,0,13,7], -"class_nim_b_l_e_descriptor.html#ac15dc6c9c24d280c4b0eb766080497e5":[9,0,13,14], -"class_nim_b_l_e_descriptor.html#ad110851335bc7b225f5bea9ac11bedcc":[9,0,13,2], -"class_nim_b_l_e_descriptor_callbacks.html":[9,0,14], -"class_nim_b_l_e_descriptor_callbacks.html#a6b13d2a8447f50a089b869cea9fcdcbc":[9,0,14,0], -"class_nim_b_l_e_descriptor_callbacks.html#a7081bf2c4f22225c4715e09762be40ed":[9,0,14,1], -"class_nim_b_l_e_device.html":[9,0,15], -"class_nim_b_l_e_eddystone_t_l_m.html":[9,0,16], -"class_nim_b_l_e_eddystone_t_l_m.html#a160e33218dc7fb33f678cda1605da52e":[9,0,16,9], -"class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63":[9,0,16,13], -"class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291":[9,0,16,12], -"class_nim_b_l_e_eddystone_t_l_m.html#a4d87d0b11420af2ae04bc4e6ce2f8607":[9,0,16,0], -"class_nim_b_l_e_eddystone_t_l_m.html#a556a6b6a75693997390f3bacf6e5ca5e":[9,0,16,1], -"class_nim_b_l_e_eddystone_t_l_m.html#a6d033c09a513b2dfdad6f1b962b906a8":[9,0,16,8], -"class_nim_b_l_e_eddystone_t_l_m.html#a8e8ee8fff10730089a370f9da7b6a691":[9,0,16,10], -"class_nim_b_l_e_eddystone_t_l_m.html#a970ba10424567d17c961ed3b3ef83d8e":[9,0,16,15], -"class_nim_b_l_e_eddystone_t_l_m.html#a999d53f4bad59c2ebc688403f66474b1":[9,0,16,11], -"class_nim_b_l_e_eddystone_t_l_m.html#aa511375f22952c0f5846a51e6c2511c5":[9,0,16,5], -"class_nim_b_l_e_eddystone_t_l_m.html#ab1c4a13c2f57a6e0293810dd09be3db3":[9,0,16,4], -"class_nim_b_l_e_eddystone_t_l_m.html#abda56940f7d9f7ccef2629b75880dd5f":[9,0,16,3], -"class_nim_b_l_e_eddystone_t_l_m.html#ad69af8fe47502d922203916357f6c206":[9,0,16,14], -"class_nim_b_l_e_eddystone_t_l_m.html#ae146a8f066ef3fc6994070654ec5d7ea":[9,0,16,2], -"class_nim_b_l_e_eddystone_t_l_m.html#ae9f17d2c1e4150775881babb73f0b10c":[9,0,16,6], -"class_nim_b_l_e_eddystone_t_l_m.html#af9862f983df6f48a96220e936d13d17b":[9,0,16,7], -"class_nim_b_l_e_eddystone_u_r_l.html":[9,0,17], -"class_nim_b_l_e_eddystone_u_r_l.html#a0109874399f3e70a72ee9f4a909710e1":[9,0,17,4], -"class_nim_b_l_e_eddystone_u_r_l.html#a1fde0fcf7d90f79e0eb718967518247a":[9,0,17,5], -"class_nim_b_l_e_eddystone_u_r_l.html#a42583c740bbdb9591422e8770f8bd0d5":[9,0,17,3], -"class_nim_b_l_e_eddystone_u_r_l.html#a8038c895e8da7c7ac861557ea0a9d91b":[9,0,17,7], -"class_nim_b_l_e_eddystone_u_r_l.html#a8102533ff1e7b6527ea744279f8f64ca":[9,0,17,8], -"class_nim_b_l_e_eddystone_u_r_l.html#a8b68cc96a84da85e20d8583ba375c2ff":[9,0,17,2], -"class_nim_b_l_e_eddystone_u_r_l.html#ac32c7066ce1ee8d495a35ec870f0e7bf":[9,0,17,1], -"class_nim_b_l_e_eddystone_u_r_l.html#ada3ac4a544b8565635871f39f1593811":[9,0,17,6], -"class_nim_b_l_e_eddystone_u_r_l.html#ae102214d20e32e31c9c84d723f67df15":[9,0,17,0], -"class_nim_b_l_e_eddystone_u_r_l.html#af183e8483ae81fff65d909e67986fcad":[9,0,17,9], -"class_nim_b_l_e_ext_advertisement.html":[9,0,18], -"class_nim_b_l_e_ext_advertisement.html#a01f8e18204071c11eb47ab243893fc53":[9,0,18,10], -"class_nim_b_l_e_ext_advertisement.html#a02fe1652f994e5bf76dc03381e47b39e":[9,0,18,7], -"class_nim_b_l_e_ext_advertisement.html#a07b1589ad58a9e09b6ba7269fec87df0":[9,0,18,30], -"class_nim_b_l_e_ext_advertisement.html#a08a31a938ccd10fad61e1115c1db6274":[9,0,18,14], -"class_nim_b_l_e_ext_advertisement.html#a0a1f0c1facf52f3688b53158e95153b6":[9,0,18,11], -"class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af":[9,0,18,4], -"class_nim_b_l_e_ext_advertisement.html#a1a4fd6883b11c339e397fc52f75c9ebb":[9,0,18,32], -"class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138":[9,0,18,29], -"class_nim_b_l_e_ext_advertisement.html#a2b29a03b9a8b3a30245ff5468f239887":[9,0,18,15], -"class_nim_b_l_e_ext_advertisement.html#a31ef2860f84d44a110f2a6d2d8eda3fc":[9,0,18,12], -"class_nim_b_l_e_ext_advertisement.html#a3700ef4fd9078cf6dfd8c1eea4c520ba":[9,0,18,8], -"class_nim_b_l_e_ext_advertisement.html#a4c339022b5523d20cc7fa956c5dbe1be":[9,0,18,20], -"class_nim_b_l_e_ext_advertisement.html#a52ee2ff1ccd011ed3410d52c0518728e":[9,0,18,16], -"class_nim_b_l_e_ext_advertisement.html#a5536d30615b87b68ec0c0f01292f5df9":[9,0,18,17], -"class_nim_b_l_e_ext_advertisement.html#a5e90a75173354fe9c6959004eb43b20a":[9,0,18,19], -"class_nim_b_l_e_ext_advertisement.html#a6162f7b7692b5ddabf7e015893b0ffa2":[9,0,18,13], -"class_nim_b_l_e_ext_advertisement.html#a6220b378a1f2361c6dc76ba125936c51":[9,0,18,33], -"class_nim_b_l_e_ext_advertisement.html#a62d44c4e1e41d9c6a470a7ebb0b7b038":[9,0,18,2], -"class_nim_b_l_e_ext_advertisement.html#a63c2f5900752edad428304c5342b8458":[9,0,18,34], -"class_nim_b_l_e_ext_advertisement.html#a6a0bcbde65ccb9e49aa93d31514c8225":[9,0,18,18], -"class_nim_b_l_e_ext_advertisement.html#a747ef73a02df72709cf9bd89aabc08b3":[9,0,18,24], -"class_nim_b_l_e_ext_advertisement.html#a74d0b2a236d144c5bce05536ec6b8509":[9,0,18,1], -"class_nim_b_l_e_ext_advertisement.html#a7d7d57268d7c54fe5492e92bc7af33d8":[9,0,18,22], -"class_nim_b_l_e_ext_advertisement.html#a852b96ea8e349caea04941adbe6d24b4":[9,0,18,9], -"class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c":[9,0,18,0], -"class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506":[9,0,18,31], -"class_nim_b_l_e_ext_advertisement.html#aaf6c44bc23f03a72bc02c3d45a9adf1d":[9,0,18,5], -"class_nim_b_l_e_ext_advertisement.html#ab6103c5e86949d0e334101353b109775":[9,0,18,27], -"class_nim_b_l_e_ext_advertisement.html#ab76aa4b9fb743e5269cfbbae8215d8a8":[9,0,18,23], -"class_nim_b_l_e_ext_advertisement.html#abb66ffe5783f91f03301fc705701569f":[9,0,18,26], -"class_nim_b_l_e_ext_advertisement.html#ac9f82eb0112544b977eb1947ed308525":[9,0,18,3], -"class_nim_b_l_e_ext_advertisement.html#ad3bd08736cc70700c00432ec9ccfe94d":[9,0,18,25], -"class_nim_b_l_e_ext_advertisement.html#ad8522542b90067e3a53076823d2087c3":[9,0,18,28], -"class_nim_b_l_e_ext_advertisement.html#ae9777a0c544be6c674f4e39d56e930b8":[9,0,18,21], -"class_nim_b_l_e_ext_advertisement.html#aec383f3f61780ee5bda3599543c84dd8":[9,0,18,6], -"class_nim_b_l_e_ext_advertisement.html#af25522e956cfeb64bd6beca881d8786e":[9,0,18,35], -"class_nim_b_l_e_ext_advertising.html":[9,0,19], -"class_nim_b_l_e_ext_advertising.html#a02b4e33908456341fb98753d51316609":[9,0,19,11], -"class_nim_b_l_e_ext_advertising.html#a321fb75a0ffacedfb54da4cc00484b7c":[9,0,19,7], -"class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109":[9,0,19,10], -"class_nim_b_l_e_ext_advertising.html#a477c57db99ce3b5e987d6838b661808f":[9,0,19,1], -"class_nim_b_l_e_ext_advertising.html#a8044a281a37f4d7c96166ce6f0851159":[9,0,19,9], -"class_nim_b_l_e_ext_advertising.html#a88ebe0b664cf22449e1a4311fc3b9b01":[9,0,19,2], -"class_nim_b_l_e_ext_advertising.html#a8c4df0be35301c90a39491b9e98d3e24":[9,0,19,4], -"class_nim_b_l_e_ext_advertising.html#a9395a0087e96329591ed2515cc21456b":[9,0,19,8], -"class_nim_b_l_e_ext_advertising.html#abd7d35653a6831e75700eb5ac9ab5789":[9,0,19,3], -"class_nim_b_l_e_ext_advertising.html#add623162d46c952d692e26888c9f8826":[9,0,19,6], -"class_nim_b_l_e_ext_advertising.html#af7f4225f33f03d17efba1d4de0684eef":[9,0,19,5], -"class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3":[9,0,19,0], -"class_nim_b_l_e_ext_advertising_callbacks.html":[9,0,20], -"class_nim_b_l_e_ext_advertising_callbacks.html#a07004fd4e849aa8e9bd7106cbf6ab94b":[9,0,20,1], -"class_nim_b_l_e_ext_advertising_callbacks.html#a92af7bd791095cf91438b7af4c26263f":[9,0,20,0], -"class_nim_b_l_e_h_i_d_device.html":[9,0,21], -"class_nim_b_l_e_h_i_d_device.html#a033c4ad91f1bc165ac6a322b4dcc1699":[9,0,21,4], -"class_nim_b_l_e_h_i_d_device.html#a1118c1e730f38b8b17795c8eb41a0861":[9,0,21,14], -"class_nim_b_l_e_h_i_d_device.html#a24498f7b714574ab4a90288f7e4d58b7":[9,0,21,1], -"class_nim_b_l_e_h_i_d_device.html#a33fc2bfc990ecd250859ca8f34a4314e":[9,0,21,7], -"class_nim_b_l_e_h_i_d_device.html#a3e5b8291ca88d85a352429415abaec9c":[9,0,21,10], -"class_nim_b_l_e_h_i_d_device.html#a45ca7d4547dfea9a64987065d83653bd":[9,0,21,2], -"class_nim_b_l_e_h_i_d_device.html#a468e599c7d75e691f8d34e1b24db8a38":[9,0,21,5], -"class_nim_b_l_e_h_i_d_device.html#a5309df317aa42de7ced2e34219b6666a":[9,0,21,13], -"class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235":[9,0,21,17], -"class_nim_b_l_e_h_i_d_device.html#a5c42da43e0b8dfcd1d045e8a86d0b5a2":[9,0,21,6], -"class_nim_b_l_e_h_i_d_device.html#a5e996a1668785f7a978f9874b4ff3b3e":[9,0,21,15], -"class_nim_b_l_e_h_i_d_device.html#a84e3127a05f7e6a44761ec4a9e7668e3":[9,0,21,16], -"class_nim_b_l_e_h_i_d_device.html#a91cfe81b47cea229e9bbe3c55be33701":[9,0,21,9], -"class_nim_b_l_e_h_i_d_device.html#a95b4935280494ffa24bfae89753f199a":[9,0,21,0], -"class_nim_b_l_e_h_i_d_device.html#ac04ed297cf6adbec210873739d2dc74d":[9,0,21,11], -"class_nim_b_l_e_h_i_d_device.html#ac1e63972c6a77665a6bbc76f9ff4a717":[9,0,21,12], -"class_nim_b_l_e_h_i_d_device.html#ace0141db690f1afec1b266f9ac9aa0f0":[9,0,21,3], -"class_nim_b_l_e_h_i_d_device.html#ae80cf58c481c25bd6d7392a43b6fa48b":[9,0,21,8], -"class_nim_b_l_e_remote_characteristic.html":[9,0,22], -"class_nim_b_l_e_remote_characteristic.html#a0eb6655635394268a76c68e845d14135":[9,0,22,5], -"class_nim_b_l_e_remote_characteristic.html#a181c54862bc422d8ad0b326af675922d":[9,0,22,20], -"class_nim_b_l_e_remote_characteristic.html#a19362aaf357835e1f771c78f0c4cd9dd":[9,0,22,29], -"class_nim_b_l_e_remote_characteristic.html#a2614c7f437b52f385fc4fd29abe358eb":[9,0,22,7], -"class_nim_b_l_e_remote_characteristic.html#a333adea9c9f243774c6a2f13beabd873":[9,0,22,10], -"class_nim_b_l_e_remote_characteristic.html#a3c8d1fd77dd074df866c091c614eafb3":[9,0,22,33], -"class_nim_b_l_e_remote_characteristic.html#a417bb44d000758535253488f4d77774a":[9,0,22,23], -"class_nim_b_l_e_remote_characteristic.html#a463760cabc9ca104a6fe094eb942fec0":[9,0,22,24], -"class_nim_b_l_e_remote_characteristic.html#a4b86a1f600a61036487f5161f1f1726a":[9,0,22,27], -"class_nim_b_l_e_remote_characteristic.html#a53322384b295a2548b3399e2c63d76f4":[9,0,22,3], -"class_nim_b_l_e_remote_characteristic.html#a5f0a51b4a7fb2244d236dcb96fcf5205":[9,0,22,9], -"class_nim_b_l_e_remote_characteristic.html#a6178e1c58361b957be3c48548c1c4366":[9,0,22,12], -"class_nim_b_l_e_remote_characteristic.html#a6d0779ffe7e89449121428e7fd6083d8":[9,0,22,17], -"class_nim_b_l_e_remote_characteristic.html#a6e331afdbdbc32bf461c9866236a97aa":[9,0,22,28], -"class_nim_b_l_e_remote_characteristic.html#a7163009a9f0ff718b5856d19cb4a3568":[9,0,22,2], -"class_nim_b_l_e_remote_characteristic.html#a71793454ffab034f87af3a5e9677a63d":[9,0,22,21], -"class_nim_b_l_e_remote_characteristic.html#a74ad8484cbc88d8eb36d4684233c538b":[9,0,22,18], -"class_nim_b_l_e_remote_characteristic.html#a78ac88ca25d71dfe31b95898b79b0442":[9,0,22,1], -"class_nim_b_l_e_remote_characteristic.html#a81f39759d48a8fb792c94e4b3b455eef":[9,0,22,19], -"class_nim_b_l_e_remote_characteristic.html#a855d591de111b09013ae83c4043d06ed":[9,0,22,0], -"class_nim_b_l_e_remote_characteristic.html#a943183a55b020de9e09ac2cfaebcde32":[9,0,22,15], -"class_nim_b_l_e_remote_characteristic.html#a94ae59940fcd128efeaf339b282b7ef9":[9,0,22,30], -"class_nim_b_l_e_remote_characteristic.html#a9c41acdbf23dc036f321d4f0a66d40d1":[9,0,22,4], -"class_nim_b_l_e_remote_characteristic.html#aa08b2f62376568e1fc833e4ff91e8aa7":[9,0,22,26], -"class_nim_b_l_e_remote_characteristic.html#aad0ba99cad9779b33ea7cd4e94349099":[9,0,22,8], -"class_nim_b_l_e_remote_characteristic.html#aae71c20d300ead52770e66fb8a1a47ea":[9,0,22,6], -"class_nim_b_l_e_remote_characteristic.html#ab46121a8f5000c40d521e7ee5d92bee6":[9,0,22,14], -"class_nim_b_l_e_remote_characteristic.html#ab4f54eabe90a416546b7b3fc3477f49c":[9,0,22,25], -"class_nim_b_l_e_remote_characteristic.html#acf11d225fe5a25327742349e9d6061f9":[9,0,22,13], -"class_nim_b_l_e_remote_characteristic.html#acf8bcf2cf94ca8bd8cf0c7c39f9883ae":[9,0,22,31], -"class_nim_b_l_e_remote_characteristic.html#acf8bcf2cf94ca8bd8cf0c7c39f9883ae":[9,0,22,32], -"class_nim_b_l_e_remote_characteristic.html#ad62c63468995a24d736c4176c9607eeb":[9,0,22,16], -"class_nim_b_l_e_remote_characteristic.html#ade5c6ae280c3cf36c9905be23df8f080":[9,0,22,22], -"class_nim_b_l_e_remote_characteristic.html#aebbcd36740e49d7e29eb5b21d6802380":[9,0,22,11], -"class_nim_b_l_e_remote_descriptor.html":[9,0,23], -"class_nim_b_l_e_remote_descriptor.html#a008795a09d1fbe8533c2e9d0e8deb33a":[9,0,23,8], -"class_nim_b_l_e_remote_descriptor.html#a0d3fb6424b2c86730e1a292281cd836e":[9,0,23,13], -"class_nim_b_l_e_remote_descriptor.html#a14351ea51b7b04f91b71e388881edd53":[9,0,23,3], -"class_nim_b_l_e_remote_descriptor.html#a1abc84a09001537dffd13c810a503b9c":[9,0,23,11], -"class_nim_b_l_e_remote_descriptor.html#a1abc84a09001537dffd13c810a503b9c":[9,0,23,12], -"class_nim_b_l_e_remote_descriptor.html#a219606f84d63bc02f093051d66f05204":[9,0,23,4], -"class_nim_b_l_e_remote_descriptor.html#a529e80c6731f68f3598e015df7618cfe":[9,0,23,1], -"class_nim_b_l_e_remote_descriptor.html#a7c7c07e6ccd969de568b5bda72ec52d7":[9,0,23,6], -"class_nim_b_l_e_remote_descriptor.html#ab07e86707a91e48f68e9de55686e939b":[9,0,23,5], -"class_nim_b_l_e_remote_descriptor.html#ab1654a0b1dc86fe042b3d5b983fbd08c":[9,0,23,10], -"class_nim_b_l_e_remote_descriptor.html#ab7cab188f311f44d06638434117938e7":[9,0,23,9], -"class_nim_b_l_e_remote_descriptor.html#ab8a774ebc69c0fb7ea17f926a82dba21":[9,0,23,0], -"class_nim_b_l_e_remote_descriptor.html#ac4e3a21818903b69ace41c36a58d3c46":[9,0,23,7], -"class_nim_b_l_e_remote_descriptor.html#ace6b19cd3d9aa8226b4c17371616ad58":[9,0,23,2], -"class_nim_b_l_e_remote_service.html":[9,0,24], -"class_nim_b_l_e_remote_service.html#a10fe635fe9a0661d26c33021faaec53b":[9,0,24,4], -"class_nim_b_l_e_remote_service.html#a15b3b750b073f334c3be680a99ce2e02":[9,0,24,2], -"class_nim_b_l_e_remote_service.html#a221069047193f8d25f7112b44bbcb28f":[9,0,24,3], -"class_nim_b_l_e_remote_service.html#a2803aa5cdfdb622ae8fe255dc939cb1d":[9,0,24,0], -"class_nim_b_l_e_remote_service.html#a2c9e91c842598a6a9576c7b87af0863a":[9,0,24,7], -"class_nim_b_l_e_remote_service.html#a3d1e7db457a9f3774eaa5e641dcc716e":[9,0,24,8], -"class_nim_b_l_e_remote_service.html#a49bb3134b570db877fac67e6ed077aa2":[9,0,24,1], -"class_nim_b_l_e_remote_service.html#a4a9b63b4e5cedb51a7748a88daeb518b":[9,0,24,10], -"class_nim_b_l_e_remote_service.html#a4bb8c7c85580d86fd9ab7be5c3933b72":[9,0,24,11], -"class_nim_b_l_e_remote_service.html#a565ed7d306645772d4e03ca65a07f7e5":[9,0,24,9], -"class_nim_b_l_e_remote_service.html#a7ff4fc7bfb77adc33003dd6eb8e16957":[9,0,24,6], -"class_nim_b_l_e_remote_service.html#aaf106a37f24a51b967dd0984c973750f":[9,0,24,12], -"class_nim_b_l_e_remote_service.html#ab12d195a2239a3808d60457184f0c487":[9,0,24,5], -"class_nim_b_l_e_scan.html":[9,0,25], -"class_nim_b_l_e_scan.html#a21b1e27816717b77533755f31dfaa820":[9,0,25,14], -"class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61":[9,0,25,3], -"class_nim_b_l_e_scan.html#a3f3e30d8b79aeb4d64af10d5f9d33788":[9,0,25,9], -"class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967":[9,0,25,8], -"class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1":[9,0,25,2], -"class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1":[9,0,25,15], -"class_nim_b_l_e_scan.html#a6a97fd1c7f16fccd7f19994592b6dfe6":[9,0,25,0], -"class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1":[9,0,25,10], -"class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910":[9,0,25,5], -"class_nim_b_l_e_scan.html#a8459a1c69476fcdfd6370a1d10e0e159":[9,0,25,13], -"class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81":[9,0,25,11], -"class_nim_b_l_e_scan.html#ab275a9fec35c8957acf47689056d94af":[9,0,25,6], -"class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016":[9,0,25,4], -"class_nim_b_l_e_scan.html#ac2e8c921413f1ad217f45fecf63c0d22":[9,0,25,12], -"class_nim_b_l_e_scan.html#ac40563af803f3b9ab88398c7f30e21bb":[9,0,25,7], -"class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b":[9,0,25,1], -"class_nim_b_l_e_scan_results.html":[9,0,26], -"class_nim_b_l_e_scan_results.html#a2bbead75105733d04796b69e10c56cd4":[9,0,26,1], -"class_nim_b_l_e_scan_results.html#a44e183a7ce0c9fb587d11910ce5ef200":[9,0,26,2], -"class_nim_b_l_e_scan_results.html#a68aa3ebffb1be785497f228c1d11e500":[9,0,26,5], -"class_nim_b_l_e_scan_results.html#ac2356f6c1b8384ebc061d4b7953a9374":[9,0,26,4], -"class_nim_b_l_e_scan_results.html#ad426f221e8c18c0c3f5784786710e8f0":[9,0,26,0], -"class_nim_b_l_e_scan_results.html#ae4796dd6ce1845c46f66bc1a36ad746a":[9,0,26,3], -"class_nim_b_l_e_security.html":[9,0,27], -"class_nim_b_l_e_security.html#a0bb1535e1b0d48566c17f681b7539f82":[9,0,27,5], -"class_nim_b_l_e_security.html#a1bb7902d5ceffaca86bd7638a74e35e3":[9,0,27,1], -"class_nim_b_l_e_security.html#a5cf0d3672a16f557032bcbf39a9e22f2":[9,0,27,0], -"class_nim_b_l_e_security.html#aac8434faa02a6813b7efd87224e04714":[9,0,27,4] +"class_nim_b_l_e_characteristic.html#ab05a81528522e7f12acff65fa86f9a28":[8,0,8,18], +"class_nim_b_l_e_characteristic.html#ac194f58f909f9e447949a41c2a7cdf00":[8,0,8,7], +"class_nim_b_l_e_characteristic.html#ac4482e038124724d8bb6d147bcdb5481":[8,0,8,22], +"class_nim_b_l_e_characteristic.html#ac7c63b770d181de28869fda0f4d902fa":[8,0,8,6], +"class_nim_b_l_e_characteristic.html#acc3402da680a988f6fa38100d9c98275":[8,0,8,4], +"class_nim_b_l_e_characteristic.html#ad136cb471195c1889804542afe0f628b":[8,0,8,0], +"class_nim_b_l_e_characteristic.html#aed4b2241c89ad2a8f49117e2b9433e5b":[8,0,8,3], +"class_nim_b_l_e_characteristic.html#af5bacf6c6f1cf033897b6a99ef98438f":[8,0,8,1], +"class_nim_b_l_e_characteristic.html#afd70c1d2f95f78e01dbdb92cd009559a":[8,0,8,25], +"class_nim_b_l_e_characteristic_callbacks.html":[8,0,9], +"class_nim_b_l_e_characteristic_callbacks.html#a024951384bb777d7ee71bfd1d5eff185":[8,0,9,2], +"class_nim_b_l_e_characteristic_callbacks.html#a120d3dade06fbc941a93edbdc0e4d830":[8,0,9,0], +"class_nim_b_l_e_characteristic_callbacks.html#a6f9b1f0f15492e3d47662e5e2ff0baee":[8,0,9,1], +"class_nim_b_l_e_characteristic_callbacks.html#ab4edbb758f0212fd190dedad6c9b8ec9":[8,0,9,3], +"class_nim_b_l_e_client.html":[8,0,10], +"class_nim_b_l_e_client.html#a004a85999b1ee4283e1e8e1e31090cca":[8,0,10,29], +"class_nim_b_l_e_client.html#a0accd665926ea77d85ecb483b2b853fe":[8,0,10,9], +"class_nim_b_l_e_client.html#a0bdaf55b06367d1abd6f59bfbe1e8689":[8,0,10,24], +"class_nim_b_l_e_client.html#a0f940c51807469db1f1802b742180beb":[8,0,10,5], +"class_nim_b_l_e_client.html#a1019178a12799ca2c3a84f523b3a7db9":[8,0,10,8], +"class_nim_b_l_e_client.html#a165957953c2773dacc6a203c969f6069":[8,0,10,37], +"class_nim_b_l_e_client.html#a17718339f76eb621db0d7919c73b9267":[8,0,10,28], +"class_nim_b_l_e_client.html#a19d97b47f01f0862e04f3011752b2f2f":[8,0,10,10], +"class_nim_b_l_e_client.html#a2645d4a2f8e381bf9bbffdfca846ae17":[8,0,10,19], +"class_nim_b_l_e_client.html#a26c8117d56d8b637780390a6506716be":[8,0,10,2], +"class_nim_b_l_e_client.html#a27e53c3746bc2d20ea7cfcea1a123cbf":[8,0,10,3], +"class_nim_b_l_e_client.html#a2b49bc73802bf716cf3df3b5a93f0543":[8,0,10,4], +"class_nim_b_l_e_client.html#a2dac3bd373134ae6d22e3b5c96ed65ef":[8,0,10,25], +"class_nim_b_l_e_client.html#a36b298b70a42d32b8d578869b0763140":[8,0,10,7], +"class_nim_b_l_e_client.html#a3903fb7589e2b8b781f8f81f9e0f2a83":[8,0,10,23], +"class_nim_b_l_e_client.html#a44a6f7f9379e2fc129c37915636db61f":[8,0,10,17], +"class_nim_b_l_e_client.html#a4e8b16bb2c8ba3534bbd04803a411911":[8,0,10,31], +"class_nim_b_l_e_client.html#a50b691f395c4dcf4b633efede0783805":[8,0,10,14], +"class_nim_b_l_e_client.html#a665a5ef97b3ab0307bccc54872d3c218":[8,0,10,33], +"class_nim_b_l_e_client.html#a668d476de250055a106a9f46bb7719f3":[8,0,10,6], +"class_nim_b_l_e_client.html#a6b801e91a37745445499dadfb4c38597":[8,0,10,11], +"class_nim_b_l_e_client.html#a6ca4e212d5b69d4759bd695def020525":[8,0,10,18], +"class_nim_b_l_e_client.html#a7f3230e45ac77bd4cb50b5c270f9c74c":[8,0,10,16], +"class_nim_b_l_e_client.html#a89d5aee4deaba953b8f77af75e3ee910":[8,0,10,32], +"class_nim_b_l_e_client.html#a8ead2efdfdf23db4f7847a133939cd75":[8,0,10,35], +"class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2":[8,0,10,34], +"class_nim_b_l_e_client.html#ab09639b499fdcd0021a2432b2b8203f5":[8,0,10,0], +"class_nim_b_l_e_client.html#ac053fba7c84201dc6e7455231cf99f4a":[8,0,10,12], +"class_nim_b_l_e_client.html#ac1e517e5a57b0bd05d4bafa66a17f1bd":[8,0,10,13], +"class_nim_b_l_e_client.html#ad168d34de0f57f91824a78688b88b2b8":[8,0,10,36], +"class_nim_b_l_e_client.html#ad89d8202400ecb573ce0e2ec5fc801dc":[8,0,10,27], +"class_nim_b_l_e_client.html#ad8ba10522d79af1136019606802f0978":[8,0,10,21], +"class_nim_b_l_e_client.html#adefe48b87e8a814e1643cdb8c3759298":[8,0,10,22], +"class_nim_b_l_e_client.html#ae22379ab10bd82932d2303fb3753c366":[8,0,10,20], +"class_nim_b_l_e_client.html#aeb0593ebffa7e8833e5854480e41cce5":[8,0,10,15], +"class_nim_b_l_e_client.html#aeb3675ab243ae6f0e4e7165cd07f7b80":[8,0,10,30], +"class_nim_b_l_e_client.html#aeede4deef7421b9121387a786c07820c":[8,0,10,26], +"class_nim_b_l_e_client.html#af77b2a5390ea811e9405ff81dba8ecac":[8,0,10,1], +"class_nim_b_l_e_client_callbacks.html":[8,0,11], +"class_nim_b_l_e_client_callbacks.html#a4e91ebb66e46b7f3ccc6291ece0b549c":[8,0,11,9], +"class_nim_b_l_e_client_callbacks.html#a6e7cfa81cd43420f78d6da727c67928b":[8,0,11,1], +"class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6":[8,0,11,4], +"class_nim_b_l_e_client_callbacks.html#a92662eb9ecf882b2c55bc6d9b4de97bc":[8,0,11,7], +"class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae":[8,0,11,2], +"class_nim_b_l_e_client_callbacks.html#aacb0b757e6e7c7984d8389c83fe1937d":[8,0,11,8], +"class_nim_b_l_e_client_callbacks.html#ac03333d26d570e55b285da460c0def76":[8,0,11,6], +"class_nim_b_l_e_client_callbacks.html#ad0eb6bee07ef8c41dd8924aaca3bc71e":[8,0,11,3], +"class_nim_b_l_e_client_callbacks.html#ad618179ade926482a7f2d94b0deabd69":[8,0,11,5], +"class_nim_b_l_e_client_callbacks.html#ae8e2abef6949ac87abf5ecad1a4dfe35":[8,0,11,0], +"class_nim_b_l_e_conn_info.html":[8,0,12], +"class_nim_b_l_e_conn_info.html#a012bd655ebd9726762be76d30ebdb17e":[8,0,12,3], +"class_nim_b_l_e_conn_info.html#a11564eb72e1a4d28a0430a5f13582c1f":[8,0,12,0], +"class_nim_b_l_e_conn_info.html#a17e29d0af7978f15e41933994a7a9c8f":[8,0,12,6], +"class_nim_b_l_e_conn_info.html#a18e3b5d45183c8ef20f0d2475c947442":[8,0,12,5], +"class_nim_b_l_e_conn_info.html#a1a29242623a50989c7a03ee209ac2cf4":[8,0,12,10], +"class_nim_b_l_e_conn_info.html#a3a555ccfc6fe678a2603942022a8cd5c":[8,0,12,7], +"class_nim_b_l_e_conn_info.html#a5f91ef30d5ff92ad26f07feb31a5cd20":[8,0,12,11], +"class_nim_b_l_e_conn_info.html#a8a1174d706ae36e99adc9498bf30d68f":[8,0,12,8], +"class_nim_b_l_e_conn_info.html#aa3ffb5995fb9961a6f04117f538a8f28":[8,0,12,1], +"class_nim_b_l_e_conn_info.html#aa8c39ebf9d346b3334b0a067ffe082a5":[8,0,12,4], +"class_nim_b_l_e_conn_info.html#aca6b24e741bcf03d4b9bdc28b008b8c6":[8,0,12,2], +"class_nim_b_l_e_conn_info.html#ad91de04bdad64019950a1d095baf0e43":[8,0,12,12], +"class_nim_b_l_e_conn_info.html#afefcdd1c560a307632c15394497c436f":[8,0,12,9], +"class_nim_b_l_e_descriptor.html":[8,0,13], +"class_nim_b_l_e_descriptor.html#a83b589a2022bbd86743b0ee4c3670a37":[8,0,13,4], +"class_nim_b_l_e_descriptor.html#a9b371ae4807648762cad1346ba6fd3c3":[8,0,13,1], +"class_nim_b_l_e_descriptor.html#aa61b5f14156e9f378688ec875cf48309":[8,0,13,2], +"class_nim_b_l_e_descriptor.html#aa9cb8727f9e17cf8050cf619e5fe3096":[8,0,13,3], +"class_nim_b_l_e_descriptor.html#acdae256772e6ba433df5ff3217335a1b":[8,0,13,0], +"class_nim_b_l_e_descriptor_callbacks.html":[8,0,14], +"class_nim_b_l_e_descriptor_callbacks.html#a061576b56702a6aca62a38f2ba27ba98":[8,0,14,0], +"class_nim_b_l_e_descriptor_callbacks.html#a2872d9e602d4e23cc63f55f5b2f76dd7":[8,0,14,1], +"class_nim_b_l_e_device.html":[8,0,15], +"class_nim_b_l_e_eddystone_t_l_m.html":[8,0,16], +"class_nim_b_l_e_eddystone_t_l_m.html#a05989cc6df5d5dc423c878d2317ddb89":[8,0,16,9], +"class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63":[8,0,16,13], +"class_nim_b_l_e_eddystone_t_l_m.html#a32c448f92ce2e61a9589d1cb0d149d07":[8,0,16,1], +"class_nim_b_l_e_eddystone_t_l_m.html#a394d96131aecd687905fbff05196d4e6":[8,0,16,8], +"class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291":[8,0,16,12], +"class_nim_b_l_e_eddystone_t_l_m.html#a556a6b6a75693997390f3bacf6e5ca5e":[8,0,16,0], +"class_nim_b_l_e_eddystone_t_l_m.html#a6d033c09a513b2dfdad6f1b962b906a8":[8,0,16,7], +"class_nim_b_l_e_eddystone_t_l_m.html#a72589029e329c3939b05f9df5e8113ce":[8,0,16,2], +"class_nim_b_l_e_eddystone_t_l_m.html#a970ba10424567d17c961ed3b3ef83d8e":[8,0,16,15], +"class_nim_b_l_e_eddystone_t_l_m.html#a999d53f4bad59c2ebc688403f66474b1":[8,0,16,11], +"class_nim_b_l_e_eddystone_t_l_m.html#aa511375f22952c0f5846a51e6c2511c5":[8,0,16,4], +"class_nim_b_l_e_eddystone_t_l_m.html#ab1c4a13c2f57a6e0293810dd09be3db3":[8,0,16,3], +"class_nim_b_l_e_eddystone_t_l_m.html#ad69af8fe47502d922203916357f6c206":[8,0,16,14], +"class_nim_b_l_e_eddystone_t_l_m.html#ae9f17d2c1e4150775881babb73f0b10c":[8,0,16,5], +"class_nim_b_l_e_eddystone_t_l_m.html#af5ff73359f3c7f7e76395d32f4efe575":[8,0,16,10], +"class_nim_b_l_e_eddystone_t_l_m.html#af9862f983df6f48a96220e936d13d17b":[8,0,16,6], +"class_nim_b_l_e_ext_advertisement.html":[8,0,17], +"class_nim_b_l_e_ext_advertisement.html#a02fe1652f994e5bf76dc03381e47b39e":[8,0,17,14], +"class_nim_b_l_e_ext_advertisement.html#a048872d3793e7e0884f958b7c0719b9f":[8,0,17,16], +"class_nim_b_l_e_ext_advertisement.html#a0707d6393d91e1e8912cff65e3d030ca":[8,0,17,24], +"class_nim_b_l_e_ext_advertisement.html#a0e7a8731b021ba8813a3a9024171e926":[8,0,17,4], +"class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af":[8,0,17,6], +"class_nim_b_l_e_ext_advertisement.html#a1b1c9d52252b651163826b0c6c098439":[8,0,17,15], +"class_nim_b_l_e_ext_advertisement.html#a1ef0dd63c99b5cab049a61c75c8e1ac2":[8,0,17,34], +"class_nim_b_l_e_ext_advertisement.html#a1f449f67deca3d7ef66c07d61c12d28e":[8,0,17,2], +"class_nim_b_l_e_ext_advertisement.html#a1fd2471e3ffd6dca56133eeb195a7662":[8,0,17,18], +"class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138":[8,0,17,38], +"class_nim_b_l_e_ext_advertisement.html#a28a6b771e81c043d471d87a6aa5a7622":[8,0,17,10], +"class_nim_b_l_e_ext_advertisement.html#a2bcfe468c00347e93c0f4ac2b46654be":[8,0,17,43], +"class_nim_b_l_e_ext_advertisement.html#a2d95f2975f229386023348749305df43":[8,0,17,35], +"class_nim_b_l_e_ext_advertisement.html#a3a597fa81719aa3bbea590ee7b8c10fe":[8,0,17,25], +"class_nim_b_l_e_ext_advertisement.html#a45a7838bb2ca27edac22b02d77072e3c":[8,0,17,32], +"class_nim_b_l_e_ext_advertisement.html#a4b4bea2600ee592ffe6877fe8eac7872":[8,0,17,3], +"class_nim_b_l_e_ext_advertisement.html#a4c339022b5523d20cc7fa956c5dbe1be":[8,0,17,29], +"class_nim_b_l_e_ext_advertisement.html#a4d994e568031faf320eb988b9a2a372e":[8,0,17,28], +"class_nim_b_l_e_ext_advertisement.html#a4f8da0cb7cf2b3e18543e78b15b46918":[8,0,17,44], +"class_nim_b_l_e_ext_advertisement.html#a50dceb2c296b11957fc837a6dc420503":[8,0,17,27], +"class_nim_b_l_e_ext_advertisement.html#a52ee2ff1ccd011ed3410d52c0518728e":[8,0,17,23], +"class_nim_b_l_e_ext_advertisement.html#a54d2bb1e314a975643bcd7d038f1c164":[8,0,17,47], +"class_nim_b_l_e_ext_advertisement.html#a56418c5b331cecae3c5b644567329c56":[8,0,17,41], +"class_nim_b_l_e_ext_advertisement.html#a5ddd5bc3a96406518580bc33aab62a84":[8,0,17,13], +"class_nim_b_l_e_ext_advertisement.html#a63c2f5900752edad428304c5342b8458":[8,0,17,45], +"class_nim_b_l_e_ext_advertisement.html#a691335b073c8385b3e2e75c6962fbe3f":[8,0,17,46], +"class_nim_b_l_e_ext_advertisement.html#a6f4e01c26ab1d26123d81dfbc0f6f9f8":[8,0,17,42], +"class_nim_b_l_e_ext_advertisement.html#a7cb10f1b8cbfe6706144a20ee3258c63":[8,0,17,12], +"class_nim_b_l_e_ext_advertisement.html#a7cf145aa6be376efaddadc507f5018d0":[8,0,17,8], +"class_nim_b_l_e_ext_advertisement.html#a8388496cf91818138b10e898c7fc2bfc":[8,0,17,31], +"class_nim_b_l_e_ext_advertisement.html#a97eb35f2d1942178bc56e1a13fc0fc8b":[8,0,17,26], +"class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c":[8,0,17,0], +"class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506":[8,0,17,40], +"class_nim_b_l_e_ext_advertisement.html#aaaebae05827e8264f2ca6d4f23828bdf":[8,0,17,19], +"class_nim_b_l_e_ext_advertisement.html#aaf6c44bc23f03a72bc02c3d45a9adf1d":[8,0,17,7], +"class_nim_b_l_e_ext_advertisement.html#ab387e2739a3b8b207b965ba0cda70595":[8,0,17,1], +"class_nim_b_l_e_ext_advertisement.html#ab6103c5e86949d0e334101353b109775":[8,0,17,36], +"class_nim_b_l_e_ext_advertisement.html#ab71e5616a011eae51c58b4edfbd3bc71":[8,0,17,11], +"class_nim_b_l_e_ext_advertisement.html#abd02fa34228263fef2d2b875e6576316":[8,0,17,20], +"class_nim_b_l_e_ext_advertisement.html#ac9f82eb0112544b977eb1947ed308525":[8,0,17,5], +"class_nim_b_l_e_ext_advertisement.html#ad8522542b90067e3a53076823d2087c3":[8,0,17,37], +"class_nim_b_l_e_ext_advertisement.html#ad968d1999c50acd24170be9d8d3ba095":[8,0,17,33], +"class_nim_b_l_e_ext_advertisement.html#adc868da6e3e33c3e21f78ac386e9eb50":[8,0,17,39], +"class_nim_b_l_e_ext_advertisement.html#ae3f915131471deba63c1275fc8557aa2":[8,0,17,9], +"class_nim_b_l_e_ext_advertisement.html#ae9777a0c544be6c674f4e39d56e930b8":[8,0,17,30], +"class_nim_b_l_e_ext_advertisement.html#af254895a52b1ee65f47ace003039514a":[8,0,17,17], +"class_nim_b_l_e_ext_advertisement.html#af7a99ce4a6fab8034435e6719e27e934":[8,0,17,22], +"class_nim_b_l_e_ext_advertisement.html#afbc963aac74110423c22537f905ca259":[8,0,17,21], +"class_nim_b_l_e_ext_advertising.html":[8,0,18], +"class_nim_b_l_e_ext_advertising.html#a1dd95b432a8dfdfda20974a25da21953":[8,0,18,11], +"class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109":[8,0,18,10], +"class_nim_b_l_e_ext_advertising.html#a477c57db99ce3b5e987d6838b661808f":[8,0,18,1], +"class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a":[8,0,18,9], +"class_nim_b_l_e_ext_advertising.html#a6fd8c8fff9fcb8be80c76774be031104":[8,0,18,2], +"class_nim_b_l_e_ext_advertising.html#a8c4df0be35301c90a39491b9e98d3e24":[8,0,18,4], +"class_nim_b_l_e_ext_advertising.html#abd7d35653a6831e75700eb5ac9ab5789":[8,0,18,3], +"class_nim_b_l_e_ext_advertising.html#ac669489f8d7d67fe8dfc48ef15c7985f":[8,0,18,8], +"class_nim_b_l_e_ext_advertising.html#acace5e9e195b65b61041f7007f9359ab":[8,0,18,5], +"class_nim_b_l_e_ext_advertising.html#add623162d46c952d692e26888c9f8826":[8,0,18,6], +"class_nim_b_l_e_ext_advertising.html#afbb3b7ea90d4a5b84bdc796c5844203e":[8,0,18,7], +"class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3":[8,0,18,0], +"class_nim_b_l_e_ext_advertising_callbacks.html":[8,0,19], +"class_nim_b_l_e_ext_advertising_callbacks.html#add0646acf63c19e96c499b737144d8fe":[8,0,19,1], +"class_nim_b_l_e_ext_advertising_callbacks.html#aeec59f9c28ef5e257e4e8fd306d92ccd":[8,0,19,0], +"class_nim_b_l_e_h_i_d_device.html":[8,0,20], +"class_nim_b_l_e_h_i_d_device.html#a1bdd21f3cc61d0128b06cdfd9588d6f5":[8,0,20,13], +"class_nim_b_l_e_h_i_d_device.html#a21aa774e08a344fc98e217c79c9ddf12":[8,0,20,8], +"class_nim_b_l_e_h_i_d_device.html#a2aea1e924f327152db713834bc2ad5a6":[8,0,20,9], +"class_nim_b_l_e_h_i_d_device.html#a323892b69461ac6fc081432f633eda3e":[8,0,20,1], +"class_nim_b_l_e_h_i_d_device.html#a33821f02034b8ed47f3cd0555ac9e949":[8,0,20,0], +"class_nim_b_l_e_h_i_d_device.html#a35c42432a5a8f5b3286293bea1b9f397":[8,0,20,17], +"class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235":[8,0,20,20], +"class_nim_b_l_e_h_i_d_device.html#a7d6592bba748b4be7ed1e4fb9275d346":[8,0,20,5], +"class_nim_b_l_e_h_i_d_device.html#a956ea4caa4f5bac7cda3bdb152ac1176":[8,0,20,3], +"class_nim_b_l_e_h_i_d_device.html#ab0495fb5fbee85277a14a0b9476a0239":[8,0,20,18], +"class_nim_b_l_e_h_i_d_device.html#ab24968002ba94c2029e9d55364e1ec2b":[8,0,20,15], +"class_nim_b_l_e_h_i_d_device.html#ab29c3d71cd592aa867b8c6655d586f24":[8,0,20,7], +"class_nim_b_l_e_h_i_d_device.html#abda5099d23c7111e99d8d755565be84a":[8,0,20,12], +"class_nim_b_l_e_h_i_d_device.html#abdc7efa80e3a1cc9c35bcce012c1d37c":[8,0,20,19], +"class_nim_b_l_e_h_i_d_device.html#ac34cb2703dc655220270604e2a28cf41":[8,0,20,6], +"class_nim_b_l_e_h_i_d_device.html#ace0ea997b5c986bb8a56cd8673163203":[8,0,20,11], +"class_nim_b_l_e_h_i_d_device.html#ad2584be6dfe497dc83686a51ff0194f6":[8,0,20,4], +"class_nim_b_l_e_h_i_d_device.html#adce27e45dc04de669c512f6550efadc7":[8,0,20,2], +"class_nim_b_l_e_h_i_d_device.html#aea007674892608877cdbf9122208ba28":[8,0,20,16], +"class_nim_b_l_e_h_i_d_device.html#af2f973843304c2d513963a9dbbc48714":[8,0,20,10], +"class_nim_b_l_e_h_i_d_device.html#afe75c42779aef757cd3ba84ec281efb5":[8,0,20,14], +"class_nim_b_l_e_local_attribute.html":[8,0,21], +"class_nim_b_l_e_local_attribute.html#a4d8b3828536a49051311bc236157a8a4":[8,0,21,3], +"class_nim_b_l_e_local_attribute.html#a7664b8e5353f33ebfcff20a63273fe55":[8,0,21,2], +"class_nim_b_l_e_local_attribute.html#a9fd2c2130f8bea42f86ee0d3263e9788":[8,0,21,0], +"class_nim_b_l_e_local_attribute.html#af3a224e382c76e2bc2040d033e4f165b":[8,0,21,1], +"class_nim_b_l_e_remote_characteristic.html":[8,0,22], +"class_nim_b_l_e_remote_characteristic.html#a03c4da5f5fc36bd5f66c39aed3feb6f2":[8,0,22,8], +"class_nim_b_l_e_remote_characteristic.html#a0920d576b12ee1e20a724a7da836d153":[8,0,22,6], +"class_nim_b_l_e_remote_characteristic.html#a0d8e8ae12a89d64d0ca52dd3b3b7c67d":[8,0,22,1], +"class_nim_b_l_e_remote_characteristic.html#a160cf1b93ae583038606d27b258156e9":[8,0,22,0], +"class_nim_b_l_e_remote_characteristic.html#a17aea026b6a795dbb6bcdc27bbe3d17e":[8,0,22,10], +"class_nim_b_l_e_remote_characteristic.html#a1b021f9ca0501abed573daee878b51eb":[8,0,22,9], +"class_nim_b_l_e_remote_characteristic.html#a1b3bbd1bcdde6dd952ee69ebad0ffc58":[8,0,22,13], +"class_nim_b_l_e_remote_characteristic.html#a27746c8b2405beb1d44567e2c1f85f87":[8,0,22,12], +"class_nim_b_l_e_remote_characteristic.html#a3ba2263c976bd4ece81a6b37e09fa121":[8,0,22,5], +"class_nim_b_l_e_remote_characteristic.html#a4be19e1a3a82f3db0fa8a7236638b737":[8,0,22,4], +"class_nim_b_l_e_remote_characteristic.html#a64a74ffc6612cf4a42f33836e34887f0":[8,0,22,17], +"class_nim_b_l_e_remote_characteristic.html#a79dbe281933d8cab342a5506746b9ded":[8,0,22,2], +"class_nim_b_l_e_remote_characteristic.html#a8a2e29de02b97c99e88ce1a56e54cdd7":[8,0,22,11], +"class_nim_b_l_e_remote_characteristic.html#ad77a00c64a83dd58e985e3bbefd87ce2":[8,0,22,16], +"class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a":[8,0,22,15], +"class_nim_b_l_e_remote_characteristic.html#ae3b10383d5b72bdf241bb2f215836772":[8,0,22,3], +"class_nim_b_l_e_remote_characteristic.html#afb07f80d83e41768d228b92210b83657":[8,0,22,7], +"class_nim_b_l_e_remote_characteristic.html#aff5a242abcba3f239bd177cebc69e1cb":[8,0,22,14], +"class_nim_b_l_e_remote_descriptor.html":[8,0,23], +"class_nim_b_l_e_remote_descriptor.html#a05befb3c020c14f6b49439fd784a868c":[8,0,23,0], +"class_nim_b_l_e_remote_descriptor.html#aeea50cff665118bfa5ac755934755735":[8,0,23,1], +"class_nim_b_l_e_remote_service.html":[8,0,24], +"class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed":[8,0,24,9], +"class_nim_b_l_e_remote_service.html#a2f56031169ebeefcd834fff971a972c2":[8,0,24,7], +"class_nim_b_l_e_remote_service.html#a347e848039121cbf3005349f9aa50680":[8,0,24,10], +"class_nim_b_l_e_remote_service.html#a404ee02ca3ecf8c9d244029ede066bda":[8,0,24,5], +"class_nim_b_l_e_remote_service.html#a4c00a195d20c8eba714979427f90c239":[8,0,24,3], +"class_nim_b_l_e_remote_service.html#a5b07f0756c401d40396886e80d64b03b":[8,0,24,6], +"class_nim_b_l_e_remote_service.html#a7248e58b58753d8b44c420617d854408":[8,0,24,2], +"class_nim_b_l_e_remote_service.html#a828d57a4691d25e9e0e6124c3b0f1ac2":[8,0,24,1], +"class_nim_b_l_e_remote_service.html#a99e6d6a6fba063b2c165cf8adb19d6e3":[8,0,24,0], +"class_nim_b_l_e_remote_service.html#ac2f19f76f0c0ac9b0efe2baa2ad2f7ec":[8,0,24,8], +"class_nim_b_l_e_remote_service.html#ae10ddb56bc48bd06538ab49e4a561594":[8,0,24,4], +"class_nim_b_l_e_scan.html":[8,0,25], +"class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316":[8,0,25,15], +"class_nim_b_l_e_scan.html#a17f2f775b5e6793f06a412f840d5dceb":[8,0,25,13], +"class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61":[8,0,25,3], +"class_nim_b_l_e_scan.html#a3b0d41fc5d9113a02357c1b2a43c5d1d":[8,0,25,14], +"class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967":[8,0,25,8], +"class_nim_b_l_e_scan.html#a4c3e1794c3e56acba76ee269ffb1393e":[8,0,25,9], +"class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1":[8,0,25,1], +"class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1":[8,0,25,17], +"class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1":[8,0,25,10], +"class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910":[8,0,25,6], +"class_nim_b_l_e_scan.html#aaace4d0b128b6294276347f6790f3f8b":[8,0,25,12], +"class_nim_b_l_e_scan.html#aabbf3f1804a844a7db0284ecc2b78408":[8,0,25,7], +"class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81":[8,0,25,11], +"class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016":[8,0,25,5], +"class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c":[8,0,25,16], +"class_nim_b_l_e_scan.html#acaa40328d16e040e9f92cba4819cb045":[8,0,25,2], +"class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b":[8,0,25,0], +"class_nim_b_l_e_scan.html#ade1492b5d1b5d97efa76cd41583bfc96":[8,0,25,4] }; diff --git a/navtreeindex2.js b/navtreeindex2.js index 0c4b33f..993028a 100644 --- a/navtreeindex2.js +++ b/navtreeindex2.js @@ -1,245 +1,253 @@ var NAVTREEINDEX2 = { -"class_nim_b_l_e_security.html#ab2be50284a325ec8937abdab0baafd4b":[9,0,27,3], -"class_nim_b_l_e_security.html#adfc3caa3e1a5aedc3be5c0f1dc5c99ac":[9,0,27,2], -"class_nim_b_l_e_security_callbacks.html":[9,0,28], -"class_nim_b_l_e_security_callbacks.html#a1cfc9c48c02aece1736f9070dc6ff90f":[9,0,28,3], -"class_nim_b_l_e_security_callbacks.html#a22a8079906070a13583daafd1521a125":[9,0,28,0], -"class_nim_b_l_e_security_callbacks.html#a2ce6a03693a43a55e51598d8b2654a92":[9,0,28,1], -"class_nim_b_l_e_security_callbacks.html#a620de166c3fe26027871d18535839cdd":[9,0,28,4], -"class_nim_b_l_e_security_callbacks.html#aa984ec6f29741b49bdd7dbfde60177be":[9,0,28,2], -"class_nim_b_l_e_server.html":[9,0,29], -"class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75":[9,0,29,15], -"class_nim_b_l_e_server.html#a15112931d1eb6226188c7e383523ba06":[9,0,29,17], -"class_nim_b_l_e_server.html#a1ff39fc5235d1374d99b4f3d3acb5ddb":[9,0,29,12], -"class_nim_b_l_e_server.html#a347c74f4ad6e2bcc2e301da11ae13e91":[9,0,29,10], -"class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9":[9,0,29,16], -"class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2":[9,0,29,3], -"class_nim_b_l_e_server.html#a63c9dce5c4bbc1c6bc720b6c51bcf3e1":[9,0,29,4], -"class_nim_b_l_e_server.html#a6bfd923ecd0ea06d5564343ab7209122":[9,0,29,1], -"class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56":[9,0,29,0], -"class_nim_b_l_e_server.html#a7a4c114b572675e82700604db29e6e25":[9,0,29,21], -"class_nim_b_l_e_server.html#a87ebb3d230e98a6b3cf85bc403d227e0":[9,0,29,13], -"class_nim_b_l_e_server.html#a8f4b6c2fc5602f5ec34f963df6a21f75":[9,0,29,20], -"class_nim_b_l_e_server.html#a98ea12f57c10c0477b0c1c5efab23ee5":[9,0,29,6], -"class_nim_b_l_e_server.html#a9b08738766de90d7065263761314030a":[9,0,29,23], -"class_nim_b_l_e_server.html#a9eb1f32b72ac93736585d6d89f393021":[9,0,29,11], -"class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35":[9,0,29,2], -"class_nim_b_l_e_server.html#ab41d8bb9b334734f95a726f1e15200fc":[9,0,29,5], -"class_nim_b_l_e_server.html#ab95c428ddc94eb019a26d91e70f5974b":[9,0,29,7], -"class_nim_b_l_e_server.html#ac28df6ead4d7151df3e84f4fa991eb1f":[9,0,29,14], -"class_nim_b_l_e_server.html#ad241eb42e9775fb2f8aaa87c9fb9a76b":[9,0,29,8], -"class_nim_b_l_e_server.html#ad91fbcb2717aa1969329f365692e1072":[9,0,29,9], -"class_nim_b_l_e_server.html#adb1e37c174a5b62f6fd674376fac99d0":[9,0,29,19], -"class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb":[9,0,29,18], -"class_nim_b_l_e_server.html#af827ef8988c1584795447a634502f0df":[9,0,29,22], -"class_nim_b_l_e_server_callbacks.html":[9,0,30], -"class_nim_b_l_e_server_callbacks.html#a3dbf72280a895e80e0972599a7373ca0":[9,0,30,4], -"class_nim_b_l_e_server_callbacks.html#a5327d11f249e8f020b59529b634e0c91":[9,0,30,1], -"class_nim_b_l_e_server_callbacks.html#a60e1ad35979434000d04fdbb374acc18":[9,0,30,5], -"class_nim_b_l_e_server_callbacks.html#a6a18155a8d3fa0980fab51f08ce5de2d":[9,0,30,0], -"class_nim_b_l_e_server_callbacks.html#a76f32bb22a34b33ee2a934f101d925b1":[9,0,30,3], -"class_nim_b_l_e_server_callbacks.html#a80348ab2d08bbec7a6910c96662fc1d4":[9,0,30,2], -"class_nim_b_l_e_server_callbacks.html#ab4533f1317b36216c3c86695613c80a6":[9,0,30,6], -"class_nim_b_l_e_server_callbacks.html#ad2c3035c3a284d03673ff1b5aeaa0fca":[9,0,30,7], -"class_nim_b_l_e_service.html":[9,0,31], -"class_nim_b_l_e_service.html#a10d10d14f8c5a970a06915cd407a0a73":[9,0,31,17], -"class_nim_b_l_e_service.html#a24cf868e9eec7b5ecdf1e88d257e91d9":[9,0,31,10], -"class_nim_b_l_e_service.html#a305b680286096638a4239620ec2de567":[9,0,31,6], -"class_nim_b_l_e_service.html#a35b56ab3ef7fffb2b299f95d3176d07e":[9,0,31,8], -"class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763":[9,0,31,3], -"class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65":[9,0,31,0], -"class_nim_b_l_e_service.html#a55724788b3bf4614995ea656bf8fe1bb":[9,0,31,11], -"class_nim_b_l_e_service.html#a71488881933ae8adbf11c5986f9dfb75":[9,0,31,5], -"class_nim_b_l_e_service.html#a86d65ef61a77bdd660632b4041c2b640":[9,0,31,12], -"class_nim_b_l_e_service.html#aa2cba47cb4c935e15c77707643e5e9a5":[9,0,31,9], -"class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad":[9,0,31,4], -"class_nim_b_l_e_service.html#ab000b7d2b7dbb3978a5a8c1e17b1d649":[9,0,31,14], -"class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985":[9,0,31,16], -"class_nim_b_l_e_service.html#adfc4e67f79aaabc8f2c6bdb5c6966609":[9,0,31,7], -"class_nim_b_l_e_service.html#af304386c4e067dd0eeb27b86c0e59d0f":[9,0,31,13], -"class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3":[9,0,31,1], -"class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8":[9,0,31,2], -"class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234":[9,0,31,15], -"class_nim_b_l_e_u_u_i_d.html":[9,0,33], -"class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1":[9,0,33,5], -"class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd":[9,0,33,8], -"class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048":[9,0,33,10], -"class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875":[9,0,33,12], -"class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb":[9,0,33,14], -"class_nim_b_l_e_u_u_i_d.html#a62e8e924f971c62cc42760d8c7dd6f28":[9,0,33,9], -"class_nim_b_l_e_u_u_i_d.html#a6eda1a14d4590dd25e6a2f7a49ad528e":[9,0,33,4], -"class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac":[9,0,33,0], -"class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c":[9,0,33,13], -"class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64":[9,0,33,15], -"class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92":[9,0,33,1], -"class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461":[9,0,33,2], -"class_nim_b_l_e_u_u_i_d.html#abec7913c5989c3620c423c6717111453":[9,0,33,6], -"class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe":[9,0,33,11], -"class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286":[9,0,33,3], -"class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6":[9,0,33,7], -"class_nim_b_l_e_utils.html":[9,0,32], -"classes.html":[9,1], +"class_nim_b_l_e_scan_callbacks.html":[8,0,26], +"class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277":[8,0,26,0], +"class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375":[8,0,26,2], +"class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283":[8,0,26,1], +"class_nim_b_l_e_scan_results.html":[8,0,27], +"class_nim_b_l_e_scan_results.html#a2547ebc0f9f0e1f48346ff0188ed6479":[8,0,27,2], +"class_nim_b_l_e_scan_results.html#a59c62c0825917ebb26bcb1efa2a98f4d":[8,0,27,3], +"class_nim_b_l_e_scan_results.html#a5a0b1dc434c4ad68ae5ce233eeacc230":[8,0,27,0], +"class_nim_b_l_e_scan_results.html#a98b106a3929919bf2c80cc0dfff59ba1":[8,0,27,5], +"class_nim_b_l_e_scan_results.html#aa96e8a647f0db95e2fa8cfae44f6d92e":[8,0,27,4], +"class_nim_b_l_e_scan_results.html#af143b1aa3bd67157dd263fcbeb4827ba":[8,0,27,1], +"class_nim_b_l_e_server.html":[8,0,28], +"class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75":[8,0,28,20], +"class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654":[8,0,28,24], +"class_nim_b_l_e_server.html#a08916d16ea00b4718bd6241bd407829f":[8,0,28,14], +"class_nim_b_l_e_server.html#a0b009a568399014462a5ba7700b0129e":[8,0,28,17], +"class_nim_b_l_e_server.html#a1513647f2c8a565404410a5dbd71a9ce":[8,0,28,13], +"class_nim_b_l_e_server.html#a1cedae8a9346f605b8319cbc8209f0df":[8,0,28,11], +"class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6":[8,0,28,26], +"class_nim_b_l_e_server.html#a26af61c030e9ad1108b24df4d3b6b633":[8,0,28,18], +"class_nim_b_l_e_server.html#a31f73892bcf7eb66ee540bf1da9c419c":[8,0,28,9], +"class_nim_b_l_e_server.html#a3bedf02970de34eaf7b90a2f37765fe8":[8,0,28,15], +"class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681":[8,0,28,27], +"class_nim_b_l_e_server.html#a4277e57885576664b9adf11f586e75ba":[8,0,28,10], +"class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9":[8,0,28,21], +"class_nim_b_l_e_server.html#a49e1252a2f14732070eb85e78b641646":[8,0,28,5], +"class_nim_b_l_e_server.html#a55eb6176fd8d0a1e9ba68158dde4f325":[8,0,28,12], +"class_nim_b_l_e_server.html#a56add4759f7df045f51b70a026897975":[8,0,28,28], +"class_nim_b_l_e_server.html#a5be3c18cb6728c365ebc23af6b2a95f4":[8,0,28,8], +"class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2":[8,0,28,3], +"class_nim_b_l_e_server.html#a6bd0d52090b31cf39e2e9666091b8a61":[8,0,28,19], +"class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56":[8,0,28,0], +"class_nim_b_l_e_server.html#a709eb11532ec43a35f8653845b3158fc":[8,0,28,16], +"class_nim_b_l_e_server.html#a70aafa98cc487c43e11ab30990d5ecb5":[8,0,28,7], +"class_nim_b_l_e_server.html#aa7dd69e19e6cb8c22579c68e9731cdea":[8,0,28,4], +"class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35":[8,0,28,2], +"class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33":[8,0,28,25], +"class_nim_b_l_e_server.html#abfd159ff5f10848bd611733835ddf215":[8,0,28,29], +"class_nim_b_l_e_server.html#ac79e828bcc3c45ae817bf51be914bfc0":[8,0,28,6], +"class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb":[8,0,28,23], +"class_nim_b_l_e_server.html#aecf5b57888c55249a9c207d318a0495b":[8,0,28,1], +"class_nim_b_l_e_server.html#afbffb933eed8142bd24222e3cacc138a":[8,0,28,22], +"class_nim_b_l_e_server_callbacks.html":[8,0,29], +"class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5":[8,0,29,2], +"class_nim_b_l_e_server_callbacks.html#a45b5fc1c98b287a2ddeab8f2f5b63c4f":[8,0,29,7], +"class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943":[8,0,29,4], +"class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436":[8,0,29,1], +"class_nim_b_l_e_server_callbacks.html#a5096aa8ec49fe1eddb5d9ab18c112b22":[8,0,29,8], +"class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523":[8,0,29,0], +"class_nim_b_l_e_server_callbacks.html#aa6e5e8ef90a537540d9c72f8744c0199":[8,0,29,3], +"class_nim_b_l_e_server_callbacks.html#ab702f73e739b4df72e191f47056c01ff":[8,0,29,6], +"class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664":[8,0,29,5], +"class_nim_b_l_e_service.html":[8,0,30], +"class_nim_b_l_e_service.html#a200714f911accd64acfd2fa3d0c6b863":[8,0,30,8], +"class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763":[8,0,30,4], +"class_nim_b_l_e_service.html#a488df9c39d1c49d4b1537abddddb1a7d":[8,0,30,9], +"class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65":[8,0,30,0], +"class_nim_b_l_e_service.html#a557ec314a4b2f912b1c1b03e332f9fe1":[8,0,30,12], +"class_nim_b_l_e_service.html#a819ff207ef7c30f59887af277aa09ce9":[8,0,30,17], +"class_nim_b_l_e_service.html#a8219ccefd97180bee485b62572c62e58":[8,0,30,10], +"class_nim_b_l_e_service.html#a8904838e785b967c770a240e6c5099e7":[8,0,30,2], +"class_nim_b_l_e_service.html#a8fafb0c55e447114daf9ad758218905e":[8,0,30,6], +"class_nim_b_l_e_service.html#a9bb082780665005271fab6e79416f3ed":[8,0,30,11], +"class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad":[8,0,30,5], +"class_nim_b_l_e_service.html#aa9464e97d7e39a4634c5d9bdce1abbac":[8,0,30,14], +"class_nim_b_l_e_service.html#acfbb7abadee89abd496b89f8fe085f58":[8,0,30,13], +"class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985":[8,0,30,16], +"class_nim_b_l_e_service.html#aeeaa4b0c543230e7819ad92d48432f5e":[8,0,30,7], +"class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3":[8,0,30,1], +"class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8":[8,0,30,3], +"class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234":[8,0,30,15], +"class_nim_b_l_e_u_u_i_d.html":[8,0,33], +"class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d":[8,0,33,1], +"class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1":[8,0,33,7], +"class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd":[8,0,33,9], +"class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048":[8,0,33,12], +"class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875":[8,0,33,14], +"class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb":[8,0,33,17], +"class_nim_b_l_e_u_u_i_d.html#a68c61ae225675ac84d60f76058a5bdd4":[8,0,33,10], +"class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac":[8,0,33,2], +"class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c":[8,0,33,16], +"class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc":[8,0,33,0], +"class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64":[8,0,33,18], +"class_nim_b_l_e_u_u_i_d.html#a9b96d90463f02f6a21afbaebcc242dd9":[8,0,33,15], +"class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92":[8,0,33,3], +"class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461":[8,0,33,4], +"class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe":[8,0,33,13], +"class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286":[8,0,33,5], +"class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd":[8,0,33,6], +"class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af":[8,0,33,11], +"class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6":[8,0,33,8], +"class_nim_b_l_e_utils.html":[8,0,32], +"classes.html":[8,1], "deprecated.html":[7], -"dir_68267d1309a1af8e8297ef4c3efbcdba.html":[10,0,0], -"files.html":[10,0], -"functions.html":[9,3,0,0], -"functions.html":[9,3,0], -"functions_b.html":[9,3,0,1], -"functions_c.html":[9,3,0,2], -"functions_d.html":[9,3,0,3], -"functions_e.html":[9,3,0,4], -"functions_enum.html":[9,3,2], -"functions_f.html":[9,3,0,5], -"functions_func.html":[9,3,1], -"functions_func.html":[9,3,1,0], -"functions_func_b.html":[9,3,1,1], -"functions_func_c.html":[9,3,1,2], -"functions_func_d.html":[9,3,1,3], -"functions_func_e.html":[9,3,1,4], -"functions_func_f.html":[9,3,1,5], -"functions_func_g.html":[9,3,1,6], -"functions_func_h.html":[9,3,1,7], -"functions_func_i.html":[9,3,1,8], -"functions_func_l.html":[9,3,1,9], -"functions_func_m.html":[9,3,1,10], -"functions_func_n.html":[9,3,1,11], -"functions_func_o.html":[9,3,1,12], -"functions_func_p.html":[9,3,1,13], -"functions_func_r.html":[9,3,1,14], -"functions_func_s.html":[9,3,1,15], -"functions_func_t.html":[9,3,1,16], -"functions_func_u.html":[9,3,1,17], -"functions_func_w.html":[9,3,1,18], -"functions_func_~.html":[9,3,1,19], -"functions_g.html":[9,3,0,6], -"functions_h.html":[9,3,0,7], -"functions_i.html":[9,3,0,8], -"functions_l.html":[9,3,0,9], -"functions_m.html":[9,3,0,10], -"functions_n.html":[9,3,0,11], -"functions_o.html":[9,3,0,12], -"functions_p.html":[9,3,0,13], -"functions_r.html":[9,3,0,14], -"functions_s.html":[9,3,0,15], -"functions_t.html":[9,3,0,16], -"functions_u.html":[9,3,0,17], -"functions_w.html":[9,3,0,18], -"functions_~.html":[9,3,0,19], -"globals.html":[10,1,0], -"globals_defs.html":[10,1,1], -"hierarchy.html":[9,2], -"index.html":[0], +"dir_68267d1309a1af8e8297ef4c3efbcdba.html":[9,0,0], +"files.html":[9,0], +"functions.html":[8,3,0,0], +"functions.html":[8,3,0], +"functions_b.html":[8,3,0,1], +"functions_c.html":[8,3,0,2], +"functions_d.html":[8,3,0,3], +"functions_e.html":[8,3,0,4], +"functions_f.html":[8,3,0,5], +"functions_func.html":[8,3,1], +"functions_func.html":[8,3,1,0], +"functions_func_b.html":[8,3,1,1], +"functions_func_c.html":[8,3,1,2], +"functions_func_d.html":[8,3,1,3], +"functions_func_e.html":[8,3,1,4], +"functions_func_f.html":[8,3,1,5], +"functions_func_g.html":[8,3,1,6], +"functions_func_h.html":[8,3,1,7], +"functions_func_i.html":[8,3,1,8], +"functions_func_l.html":[8,3,1,9], +"functions_func_m.html":[8,3,1,10], +"functions_func_n.html":[8,3,1,11], +"functions_func_o.html":[8,3,1,12], +"functions_func_r.html":[8,3,1,13], +"functions_func_s.html":[8,3,1,14], +"functions_func_t.html":[8,3,1,15], +"functions_func_u.html":[8,3,1,16], +"functions_func_w.html":[8,3,1,17], +"functions_func_~.html":[8,3,1,18], +"functions_g.html":[8,3,0,6], +"functions_h.html":[8,3,0,7], +"functions_i.html":[8,3,0,8], +"functions_l.html":[8,3,0,9], +"functions_m.html":[8,3,0,10], +"functions_n.html":[8,3,0,11], +"functions_o.html":[8,3,0,12], +"functions_r.html":[8,3,0,13], +"functions_s.html":[8,3,0,14], +"functions_t.html":[8,3,0,15], +"functions_u.html":[8,3,0,16], +"functions_w.html":[8,3,0,17], +"functions_~.html":[8,3,0,18], +"globals.html":[9,1,0], +"globals_defs.html":[9,1,1], +"hierarchy.html":[8,2], "index.html":[], -"index.html#autotoc_md46":[0,0], -"index.html#autotoc_md47":[0,1], -"index.html#autotoc_md48":[0], -"index.html#autotoc_md49":[1], -"index.html#autotoc_md50":[0,2], -"index.html#autotoc_md51":[0,3], -"index.html#autotoc_md52":[0,4], -"md__bluetooth_5_features.html":[2], -"md__bluetooth_5_features.html#autotoc_md38":[2,0], -"md__bluetooth_5_features.html#autotoc_md39":[2,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html":[1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md1":[1,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md10":[1,2,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md11":[1,2,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md12":[1,3], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md13":[1,3,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md14":[1,3,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md15":[1,3,2], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md16":[1,4], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md17":[1,4,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md18":[1,5], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md19":[1,5,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md2":[1,0,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md20":[1,5,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md21":[1,5,2], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md22":[1,6], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md23":[1,6,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md24":[1,6,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md25":[1,6,2], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md26":[1,7], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md27":[1,7,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md28":[1,7,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md29":[1,7,2], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md3":[1,0,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md30":[1,8], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md31":[1,8,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md32":[1,9], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md33":[1,9,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md34":[1,9,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md35":[1,9,2], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md36":[1,10], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md4":[1,0,2], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md5":[1,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md6":[1,1,0], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md7":[1,1,1], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md8":[1,1,2], -"md__github_workspace__c_h_a_n_g_e_l_o_g.html#autotoc_md9":[1,2], -"md__improvements_and_updates.html":[3], -"md__improvements_and_updates.html#autotoc_md41":[3,0], -"md__improvements_and_updates.html#autotoc_md42":[3,1], -"md__improvements_and_updates.html#autotoc_md43":[3,2], -"md__improvements_and_updates.html#autotoc_md44":[3,3], -"md__migration_guide.html":[4], -"md__migration_guide.html#autotoc_md54":[4,0], -"md__migration_guide.html#autotoc_md55":[4,0,0], -"md__migration_guide.html#autotoc_md56":[4,0,1], -"md__migration_guide.html#autotoc_md57":[4,0,2], -"md__migration_guide.html#autotoc_md58":[4,1], -"md__migration_guide.html#autotoc_md59":[4,1,0], -"md__migration_guide.html#autotoc_md60":[4,1,1], -"md__migration_guide.html#autotoc_md61":[4,1,1,2], -"md__migration_guide.html#autotoc_md62":[4,1,1,3], -"md__migration_guide.html#autotoc_md63":[4,1,1,4], -"md__migration_guide.html#autotoc_md64":[4,1,2], -"md__migration_guide.html#autotoc_md65":[0], -"md__migration_guide.html#autotoc_md66":[1], -"md__migration_guide.html#autotoc_md67":[4,1,3], -"md__migration_guide.html#autotoc_md68":[4,2], -"md__migration_guide.html#autotoc_md69":[4,3], -"md__migration_guide.html#autotoc_md70":[4,3,0], -"md__migration_guide.html#autotoc_md71":[4,3,1], -"md__migration_guide.html#autotoc_md72":[4,3,2], -"md__migration_guide.html#autotoc_md73":[4,4], -"md__migration_guide.html#autotoc_md74":[4,5], -"md__new_user_guide.html":[5], -"md__new_user_guide.html#autotoc_md76":[5,0], -"md__new_user_guide.html#autotoc_md77":[5,1], -"md__new_user_guide.html#autotoc_md78":[5,2], -"md__new_user_guide.html#autotoc_md79":[5,3], -"md__usage_tips.html":[6], -"md__usage_tips.html#autotoc_md81":[6,0], -"md__usage_tips.html#autotoc_md82":[6,1], -"md__usage_tips.html#autotoc_md83":[6,2], -"md__usage_tips.html#autotoc_md84":[6,3], -"md__usage_tips.html#autotoc_md85":[6,4], -"nimconfig_8h.html":[10,0,0,27], -"nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880":[10,0,0,27,18], -"nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964":[10,0,0,27,2], -"nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242":[10,0,0,27,20], -"nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df":[10,0,0,27,1], -"nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b":[10,0,0,27,5], -"nimconfig_8h.html#a227a536958a284235daf409b2b3d1766":[10,0,0,27,15], -"nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda":[10,0,0,27,8], -"nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9":[10,0,0,27,4], -"nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441":[10,0,0,27,6], -"nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb":[10,0,0,27,13], -"nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f":[10,0,0,27,21], -"nimconfig_8h.html#a4d4ea715325f75455b43c7dbaa69d7a0":[10,0,0,27,16], -"nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0":[10,0,0,27,11], -"nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d":[10,0,0,27,9], -"nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a":[10,0,0,27,14], -"nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578":[10,0,0,27,0], -"nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb":[10,0,0,27,19], -"nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24":[10,0,0,27,12], -"nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8":[10,0,0,27,7], -"nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829":[10,0,0,27,10], -"nimconfig_8h.html#abdc3219ca772a22427beed33477ea252":[10,0,0,27,3], -"nimconfig_8h.html#abe2e5c7dbca929d3ed6cf70a73aced23":[10,0,0,27,17], -"nimconfig_8h_source.html":[10,0,0,27], -"pages.html":[], -"todo.html":[8] +"index.html":[0], +"index.html#acknowledgments":[0,4], +"index.html#esp-idf-installation":[0,1], +"index.html#sponsors":[0,3], +"index.html#using":[0,2], +"index.html#v40":[0,1,0], +"index.html#what-is-nimble":[0,0], +"md_1_8x__to2_8x__migration__guide.html":[2], +"md_1_8x__to2_8x__migration__guide.html#advertised-device":[2,6,0], +"md_1_8x__to2_8x__migration__guide.html#advertising":[2,7], +"md_1_8x__to2_8x__migration__guide.html#beacons":[2,8], +"md_1_8x__to2_8x__migration__guide.html#ble-addresses":[2,2], +"md_1_8x__to2_8x__migration__guide.html#ble-device":[2,1], +"md_1_8x__to2_8x__migration__guide.html#ble-uuids":[2,3], +"md_1_8x__to2_8x__migration__guide.html#characteristic-callbacks":[2,4,1,0], +"md_1_8x__to2_8x__migration__guide.html#characteristics":[2,4,1], +"md_1_8x__to2_8x__migration__guide.html#client":[2,5], +"md_1_8x__to2_8x__migration__guide.html#client-callbacks":[2,5,0], +"md_1_8x__to2_8x__migration__guide.html#general-changes":[2,0], +"md_1_8x__to2_8x__migration__guide.html#remote-characteristics":[2,5,2], +"md_1_8x__to2_8x__migration__guide.html#remote-services":[2,5,1], +"md_1_8x__to2_8x__migration__guide.html#scan":[2,6], +"md_1_8x__to2_8x__migration__guide.html#server":[2,4], +"md_1_8x__to2_8x__migration__guide.html#server-security":[2,4,2], +"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,2,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1":[1,3,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2":[1,4,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3":[1,6,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4":[1,8,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5":[1,9,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6":[1,10,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7":[1,12,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md100---2020-08-22":[1,13], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md101---2020-09-02":[1,12], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13":[1,11], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md110---2021-01-20":[1,10], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08":[1,9], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02":[1,8], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04":[1,7], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15":[1,6], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15":[1,5], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31":[1,4], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30":[1,3], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14":[1,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes":[1,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed":[1,2,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-1":[1,3,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-2":[1,4,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-3":[1,5,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-4":[1,6,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-5":[1,8,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-6":[1,9,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-7":[1,10,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-8":[1,11,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed-9":[1,12,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed":[1,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-1":[1,3,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-2":[1,4,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-3":[1,5,1], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-4":[1,6,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-5":[1,7,0], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-6":[1,8,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-7":[1,9,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-8":[1,10,2], +"md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9":[1,12,2], +"md__bluetooth_015_01features.html":[3], +"md__bluetooth_015_01features.html#about-extended-advertising":[3,0], +"md__bluetooth_015_01features.html#enabling-extended-advertising":[3,1], +"md__migration__guide.html":[4], +"md__migration__guide.html#advertising-api":[4,2], +"md__migration__guide.html#arduino-configuration":[4,6], +"md__migration__guide.html#ble-addresses-1":[4,0,2], +"md__migration__guide.html#ble-scan":[4,4], +"md__migration__guide.html#characteristic-callbacks-1":[4,1,1,3], +"md__migration__guide.html#characteristics-1":[4,1,1], +"md__migration__guide.html#class-names":[4,0,1], +"md__migration__guide.html#client-api":[4,3], +"md__migration__guide.html#client-callbacks-1":[4,3,2], +"md__migration__guide.html#client-security":[4,3,3], +"md__migration__guide.html#descriptor-callbacks":[4,1,2,1], +"md__migration__guide.html#descriptors":[4,1,2], +"md__migration__guide.html#example":[4,1,2,0], +"md__migration__guide.html#general-information":[4,0], +"md__migration__guide.html#header-files":[4,0,0], +"md__migration__guide.html#is-now":[4,1,1,1], +"md__migration__guide.html#originally":[4,1,1,0], +"md__migration__guide.html#remote-characteristics-1":[4,3,1], +"md__migration__guide.html#remote-services-1":[4,3,0], +"md__migration__guide.html#security-api":[4,5], +"md__migration__guide.html#server-api":[4,1], +"md__migration__guide.html#server-security-1":[4,1,3], +"md__migration__guide.html#services-1":[4,1,0], +"md__migration__guide.html#the-full-list-of-properties":[4,1,1,2], +"md__new__user__guide.html":[5], +"md__new__user__guide.html#creating-a-client":[5,3], +"md__new__user__guide.html#creating-a-server":[5,2], +"md__new__user__guide.html#include-files":[5,0], +"md__new__user__guide.html#using-the-library":[5,1], +"md__usage__tips.html":[6], +"md__usage__tips.html#check-return-values":[6,3], +"md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused":[6,1], +"md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed":[6,2], +"md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core":[6,0], +"md__usage__tips.html#there-will-be-bugs---please-report-them":[6,4], +"nimconfig_8h.html":[9,0,0,30], +"nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880":[9,0,0,30,18], +"nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964":[9,0,0,30,2] }; diff --git a/navtreeindex3.js b/navtreeindex3.js new file mode 100644 index 0000000..d9133f2 --- /dev/null +++ b/navtreeindex3.js @@ -0,0 +1,28 @@ +var NAVTREEINDEX3 = +{ +"nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242":[9,0,0,30,20], +"nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df":[9,0,0,30,1], +"nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b":[9,0,0,30,5], +"nimconfig_8h.html#a227a536958a284235daf409b2b3d1766":[9,0,0,30,15], +"nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda":[9,0,0,30,8], +"nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9":[9,0,0,30,4], +"nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441":[9,0,0,30,6], +"nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb":[9,0,0,30,13], +"nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f":[9,0,0,30,21], +"nimconfig_8h.html#a4d4ea715325f75455b43c7dbaa69d7a0":[9,0,0,30,16], +"nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0":[9,0,0,30,11], +"nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d":[9,0,0,30,9], +"nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a":[9,0,0,30,14], +"nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578":[9,0,0,30,0], +"nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb":[9,0,0,30,19], +"nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24":[9,0,0,30,12], +"nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8":[9,0,0,30,7], +"nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829":[9,0,0,30,10], +"nimconfig_8h.html#abdc3219ca772a22427beed33477ea252":[9,0,0,30,3], +"nimconfig_8h.html#abe2e5c7dbca929d3ed6cf70a73aced23":[9,0,0,30,17], +"nimconfig_8h_source.html":[9,0,0,30], +"pages.html":[], +"struct_nim_b_l_e_task_data.html":[8,0,31], +"struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4":[8,0,31,0], +"struct_nim_b_l_e_task_data.html#af2d5d10d7cc8801cf4d001f89bf301c6":[8,0,31,1] +}; diff --git a/nimconfig_8h.html b/nimconfig_8h.html index 9f0a361..1fc13d7 100644 --- a/nimconfig_8h.html +++ b/nimconfig_8h.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/nimconfig.h File Reference @@ -23,10 +23,9 @@
      - - + @@ -34,21 +33,22 @@
      -
      esp-nimble-cpp -  1.4.1 +
      +
      esp-nimble-cpp 2.0.0
      - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,124 +76,130 @@ $(document).ready(function(){initNavTree('nimconfig_8h.html',''); initResizable(
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    nimconfig.h File Reference
    +
    nimconfig.h File Reference

    Go to the source code of this file.

    - - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - +

    +

    Macros

    -#define CONFIG_BT_NIMBLE_MAX_CONNECTIONS   3
    +#define CONFIG_BT_NIMBLE_MAX_CONNECTIONS   3
     Un-comment to change the number of simultaneous connections (esp controller max is 9)
     
    -#define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED   0
    +#define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED   0
     Un-comment to enable storing the timestamp when an attribute value is updated
    This allows for checking the last update time using getTimeStamp() or getValue(time_t*)
    If disabled, the timestamp returned from these functions will be 0.
    Disabling timestamps will reduce the memory used for each value.
    1 = Enabled, 0 = Disabled; Default = Disabled.
     
    -#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH   20
    +#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH   20
     Uncomment to set the default allocation size (bytes) for each attribute if
    not specified when the constructor is called. This is also the size used when a remote
    characteristic or descriptor is constructed before a value is read/notifed.
    Increasing this will reduce reallocations but increase memory footprint.
    Default value is 20. Range: 1 : 512 (BLE_ATT_ATTR_MAX_LEN)
     
    -#define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU   255
    +#define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU   255
     Un-comment to change the default MTU size.
     
    -#define CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME   "nimble"
    +#define CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME   "nimble"
     Un-comment to change default device name.
     
    -#define CONFIG_BT_NIMBLE_LOG_LEVEL   5
    +#define CONFIG_BT_NIMBLE_LOG_LEVEL   5
     Un-comment to set the debug log messages level from the NimBLE host stack.
    Values: 0 = DEBUG, 1 = INFO, 2 = WARNING, 3 = ERROR, 4 = CRITICAL, 5+ = NONE
    Uses approx. 32kB of flash memory.
     
    -#define CONFIG_NIMBLE_CPP_LOG_LEVEL   0
    +#define CONFIG_NIMBLE_CPP_LOG_LEVEL   0
     Un-comment to set the debug log messages level from the NimBLE CPP Wrapper.
    Values: 0 = NONE, 1 = ERROR, 2 = WARNING, 3 = INFO, 4+ = DEBUG
    Uses approx. 32kB of flash memory.
     
    -#define CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT
    +#define CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT
     Un-comment to see NimBLE host return codes as text debug log messages. Uses approx. 7kB of flash memory.
     
    -#define CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT
    +#define CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT
     Un-comment to see GAP event codes as text in debug log messages. Uses approx. 1kB of flash memory.
     
    -#define CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT
    +#define CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT
     Un-comment to see advertisment types as text while scanning in debug log messages. Uses approx. 250 bytes of flash memory.
     
    -#define CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE   0x0
    +#define CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE   0x0
     Un-comment to change the default GAP appearance.
     
    -#define CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
    +#define CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
     Un-comment if not using NimBLE Client functions
    Reduces flash size by approx. 7kB.
     
    -#define CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED
    +#define CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED
     Un-comment if not using NimBLE Scan functions
    Reduces flash size by approx. 26kB.
     
    -#define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
    +#define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
     Un-comment if not using NimBLE Server functions
    Reduces flash size by approx. 16kB.
     
    -#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED
    +#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED
     Un-comment if not using NimBLE Advertising functions
    Reduces flash size by approx. 5kB.
     
    -#define CONFIG_BT_NIMBLE_MAX_BONDS   3
    +#define CONFIG_BT_NIMBLE_MAX_BONDS   3
     Un-comment to change the number of devices allowed to store/bond with.
     
    -#define CONFIG_BT_NIMBLE_MAX_CCCDS   8
    +#define CONFIG_BT_NIMBLE_MAX_CCCDS   8
     Un-comment to change the maximum number of CCCD subscriptions to store.
     
    -#define CONFIG_BT_NIMBLE_RPA_TIMEOUT   900
    +#define CONFIG_BT_NIMBLE_RPA_TIMEOUT   900
     Un-comment to change the random address refresh time (in seconds)
     
    #define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT   12
     Un-comment to change the number of MSYS buffers available. More...
    #define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT   12
     Un-comment to change the number of MSYS buffers available.
     
    -#define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL   1
    +#define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL   1
     Un-comment to use external PSRAM for the NimBLE host.
     
    -#define CONFIG_BT_NIMBLE_PINNED_TO_CORE   0
    +#define CONFIG_BT_NIMBLE_PINNED_TO_CORE   0
     Un-comment to change the core NimBLE host runs on.
     
    -#define CONFIG_BT_NIMBLE_TASK_STACK_SIZE   4096
    +#define CONFIG_BT_NIMBLE_TASK_STACK_SIZE   4096
     Un-comment to change the stack size for the NimBLE host task.
     
    @@ -201,8 +207,8 @@ Reduces flash size by approx. 5kB.

    IGNORE THIS FILE IF USING ESP-IDF, USE MENUCONFIG TO SET NIMBLE OPTIONS.

    The config options here are for doxygen documentation only.

    Macro Definition Documentation

    - -

    ◆ CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT

    + +

    ◆ CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT

    @@ -226,7 +232,7 @@ you are sending large blocks of data with a low MTU. E.g: 512 bytes with 23 MTU diff --git a/nimconfig_8h_source.html b/nimconfig_8h_source.html index ac5e987..3370941 100644 --- a/nimconfig_8h_source.html +++ b/nimconfig_8h_source.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: /github/workspace/src/nimconfig.h Source File @@ -23,10 +23,9 @@
    - - + @@ -34,22 +33,28 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ + +
    @@ -76,100 +81,118 @@ $(document).ready(function(){initNavTree('nimconfig_8h_source.html',''); initRes
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    nimconfig.h
    +
    nimconfig.h
    -Go to the documentation of this file.
    1 
    -
    8 #pragma once
    -
    9 
    -
    10 #include "sdkconfig.h"
    -
    11 #include "nimconfig_rename.h"
    -
    12 
    -
    13 #if defined(CONFIG_BT_ENABLED)
    -
    14 
    -
    15 // Allows cpp wrapper to select the correct include paths when using esp-idf
    -
    16 #define CONFIG_NIMBLE_CPP_IDF
    -
    17 
    -
    18 /* Cannot use client without scan */
    -
    19 #if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) && !defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
    -
    20 #define CONFIG_BT_NIMBLE_ROLE_OBSERVER
    -
    21 #endif
    -
    22 
    -
    23 /* Cannot use server without advertise */
    -
    24 #if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) && !defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
    -
    25 #define CONFIG_BT_NIMBLE_ROLE_BROADCASTER
    -
    26 #endif
    -
    27 
    -
    28 /* Enables the use of Arduino String class for attribute values */
    -
    29 #if defined __has_include
    -
    30 # if __has_include (<Arduino.h>)
    -
    31 # define NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
    -
    32 # endif
    -
    33 #endif
    -
    34 
    -
    35 #endif /* CONFIG_BT_ENABLED */
    -
    36 
    -
    37 #ifdef _DOXYGEN_
    -
    38 
    -
    40 #define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 3
    -
    41 
    -
    48 #define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED 0
    -
    49 
    -
    56 #define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH 20
    -
    57 
    -
    59 #define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU 255
    -
    60 
    -
    62 #define CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME "nimble"
    -
    63 
    -
    68 #define CONFIG_BT_NIMBLE_LOG_LEVEL 5
    -
    69 
    -
    74 #define CONFIG_NIMBLE_CPP_LOG_LEVEL 0
    -
    75 
    -
    79 #define CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT
    -
    80 
    -
    84 #define CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT
    -
    85 
    -
    89 #define CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT
    -
    90 
    -
    92 #define CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE 0x0
    -
    93 
    -
    97 #define CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
    -
    98 
    -
    102 #define CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED
    -
    103 
    -
    107 #define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
    -
    108 
    -
    112 #define CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED
    -
    113 
    -
    115 #define CONFIG_BT_NIMBLE_MAX_BONDS 3
    -
    116 
    -
    118 #define CONFIG_BT_NIMBLE_MAX_CCCDS 8
    -
    119 
    -
    121 #define CONFIG_BT_NIMBLE_RPA_TIMEOUT 900
    -
    122 
    -
    129 #define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT 12
    -
    130 
    -
    132 #define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL 1
    -
    133 
    -
    135 #define CONFIG_BT_NIMBLE_PINNED_TO_CORE 0
    -
    136 
    -
    138 #define CONFIG_BT_NIMBLE_TASK_STACK_SIZE 4096
    -
    139 
    -
    140 #endif // _DOXYGEN_
    +Go to the documentation of this file.
    1
    +
    8#pragma once
    +
    9
    +
    10#include "sdkconfig.h"
    +
    11#include "nimconfig_rename.h"
    +
    12
    +
    13#if defined(CONFIG_BT_ENABLED)
    +
    14
    +
    15// Allows cpp wrapper to select the correct include paths when using esp-idf
    +
    16#define CONFIG_NIMBLE_CPP_IDF
    +
    17
    +
    18/* Cannot use client without scan */
    +
    19#if defined(CONFIG_BT_NIMBLE_ROLE_CENTRAL) && !defined(CONFIG_BT_NIMBLE_ROLE_OBSERVER)
    +
    20#define CONFIG_BT_NIMBLE_ROLE_OBSERVER
    +
    21#endif
    +
    22
    +
    23/* Cannot use server without advertise */
    +
    24#if defined(CONFIG_BT_NIMBLE_ROLE_PERIPHERAL) && !defined(CONFIG_BT_NIMBLE_ROLE_BROADCASTER)
    +
    25#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER
    +
    26#endif
    +
    27
    +
    28/* Enables the use of Arduino String class for attribute values */
    +
    29#if defined __has_include
    +
    30# if __has_include (<Arduino.h>)
    +
    31# define NIMBLE_CPP_ARDUINO_STRING_AVAILABLE
    +
    32# endif
    +
    33#endif
    +
    34
    +
    35#if CONFIG_NIMBLE_CPP_DEBUG_ASSERT_ENABLED && !defined NDEBUG
    +
    36void nimble_cpp_assert(const char *file, unsigned line) __attribute((weak, noreturn));
    +
    37# define NIMBLE_ATT_VAL_FILE (__builtin_strrchr(__FILE__, '/') ? \
    +
    38 __builtin_strrchr (__FILE__, '/') + 1 : __FILE__)
    +
    39# define NIMBLE_CPP_DEBUG_ASSERT(cond) \
    +
    40 if (!(cond)) { \
    +
    41 nimble_cpp_assert(NIMBLE_ATT_VAL_FILE, __LINE__); \
    +
    42 }
    +
    43#else
    +
    44# define NIMBLE_CPP_DEBUG_ASSERT(cond) (void(0))
    +
    45#endif
    +
    46
    +
    47#endif /* CONFIG_BT_ENABLED */
    +
    48
    +
    49#ifdef _DOXYGEN_
    +
    50
    +
    52#define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 3
    +
    53
    +
    60#define CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED 0
    +
    61
    +
    68#define CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH 20
    +
    69
    +
    71#define CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU 255
    +
    72
    +
    74#define CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME "nimble"
    +
    75
    +
    80#define CONFIG_BT_NIMBLE_LOG_LEVEL 5
    +
    81
    +
    86#define CONFIG_NIMBLE_CPP_LOG_LEVEL 0
    +
    87
    +
    91#define CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT
    +
    92
    +
    96#define CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT
    +
    97
    +
    101#define CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT
    +
    102
    +
    104#define CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE 0x0
    +
    105
    +
    109#define CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED
    +
    110
    +
    114#define CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED
    +
    115
    +
    119#define CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED
    +
    120
    +
    124#define CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED
    +
    125
    +
    127#define CONFIG_BT_NIMBLE_MAX_BONDS 3
    +
    128
    +
    130#define CONFIG_BT_NIMBLE_MAX_CCCDS 8
    +
    131
    +
    133#define CONFIG_BT_NIMBLE_RPA_TIMEOUT 900
    +
    134
    +
    141#define CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT 12
    +
    142
    +
    144#define CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL 1
    +
    145
    +
    147#define CONFIG_BT_NIMBLE_PINNED_TO_CORE 0
    +
    148
    +
    150#define CONFIG_BT_NIMBLE_TASK_STACK_SIZE 4096
    +
    151
    +
    152#endif // _DOXYGEN_
    diff --git a/pages.html b/pages.html index 5e1c6ff..c5a6626 100644 --- a/pages.html +++ b/pages.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Related Pages @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
    @@ -62,7 +62,7 @@ $(function() {
    @@ -76,26 +76,31 @@ $(document).ready(function(){initNavTree('pages.html',''); initResizable(); });
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    Related Pages
    +
    Related Pages
    @@ -103,7 +108,7 @@ $(document).ready(function(){initNavTree('pages.html',''); initResizable(); }); diff --git a/plus.svg b/plus.svg new file mode 100644 index 0000000..0752016 --- /dev/null +++ b/plus.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/plusd.svg b/plusd.svg new file mode 100644 index 0000000..0c65bfe --- /dev/null +++ b/plusd.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/resize.js b/resize.js index e1ad0fe..aaeb6fc 100644 --- a/resize.js +++ b/resize.js @@ -22,38 +22,45 @@ @licend The above is the entire license notice for the JavaScript code in this file */ +var once=1; function initResizable() { var cookie_namespace = 'doxygen'; - var sidenav,navtree,content,header,collapsed,collapsedWidth=0,barWidth=6,desktop_vp=768,titleHeight; + var sidenav,navtree,content,header,barWidth=6,desktop_vp=768,titleHeight; - function readCookie(cookie) + function readSetting(cookie) { - var myCookie = cookie_namespace+"_"+cookie+"="; - if (document.cookie) { - var index = document.cookie.indexOf(myCookie); - if (index != -1) { - var valStart = index + myCookie.length; - var valEnd = document.cookie.indexOf(";", valStart); - if (valEnd == -1) { - valEnd = document.cookie.length; + if (window.chrome) { + var val = localStorage.getItem(cookie_namespace+'_width'); + if (val) return val; + } else { + var myCookie = cookie_namespace+"_"+cookie+"="; + if (document.cookie) { + var index = document.cookie.indexOf(myCookie); + if (index != -1) { + var valStart = index + myCookie.length; + var valEnd = document.cookie.indexOf(";", valStart); + if (valEnd == -1) { + valEnd = document.cookie.length; + } + var val = document.cookie.substring(valStart, valEnd); + return val; } - var val = document.cookie.substring(valStart, valEnd); - return val; } } - return 0; + return 250; } - function writeCookie(cookie, val, expiration) + function writeSetting(cookie, val) { - if (val==undefined) return; - if (expiration == null) { + if (window.chrome) { + localStorage.setItem(cookie_namespace+"_width",val); + } else { var date = new Date(); date.setTime(date.getTime()+(10*365*24*60*60*1000)); // default expiration is one week expiration = date.toGMTString(); + document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; SameSite=Lax; expires=" + expiration+"; path=/"; } - document.cookie = cookie_namespace + "_" + cookie + "=" + val + "; expires=" + expiration+"; path=/"; } function resizeWidth() @@ -61,13 +68,19 @@ function initResizable() var windowWidth = $(window).width() + "px"; var sidenavWidth = $(sidenav).outerWidth(); content.css({marginLeft:parseInt(sidenavWidth)+"px"}); - writeCookie('width',sidenavWidth-barWidth, null); + if (typeof page_layout!=='undefined' && page_layout==1) { + footer.css({marginLeft:parseInt(sidenavWidth)+"px"}); + } + writeSetting('width',sidenavWidth-barWidth); } function restoreWidth(navWidth) { var windowWidth = $(window).width() + "px"; content.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); + if (typeof page_layout!=='undefined' && page_layout==1) { + footer.css({marginLeft:parseInt(navWidth)+barWidth+"px"}); + } sidenav.css({width:navWidth + "px"}); } @@ -75,23 +88,20 @@ function initResizable() { var headerHeight = header.outerHeight(); var footerHeight = footer.outerHeight(); - var windowHeight = $(window).height() - headerHeight - footerHeight; - content.css({height:windowHeight + "px"}); - navtree.css({height:windowHeight + "px"}); - sidenav.css({height:windowHeight + "px"}); - var width=$(window).width(); - if (width!=collapsedWidth) { - if (width=desktop_vp) { - if (!collapsed) { - collapseExpand(); - } - } else if (width>desktop_vp && collapsedWidth0) { - restoreWidth(0); - collapsed=true; + newWidth=0; } else { - var width = readCookie('width'); - if (width>200 && width<$(window).width()) { restoreWidth(width); } else { restoreWidth(200); } - collapsed=false; + var width = readSetting('width'); + newWidth = (width>250 && width<$(window).width()) ? width : 250; } + restoreWidth(newWidth); + var sidenavWidth = $(sidenav).outerWidth(); + writeSetting('width',sidenavWidth-barWidth); } header = $("#top"); @@ -126,7 +138,7 @@ function initResizable() $('#nav-sync').css({ right:'34px' }); barWidth=20; } - var width = readCookie('width'); + var width = readSetting('width'); if (width) { restoreWidth(width); } else { resizeWidth(); } resizeHeight(); var url = location.href; @@ -134,7 +146,10 @@ function initResizable() if (i>=0) window.location.hash=url.substr(i); var _preventDefault = function(evt) { evt.preventDefault(); }; $("#splitbar").bind("dragstart", _preventDefault).bind("selectstart", _preventDefault); - $(".ui-resizable-handle").dblclick(collapseExpand); + if (once) { + $(".ui-resizable-handle").dblclick(collapseExpand); + once=0 + } $(window).on('load',resizeHeight); } /* @license-end */ diff --git a/search/all_0.html b/search/all_0.html deleted file mode 100644 index 1ec5b2d..0000000 --- a/search/all_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_0.js b/search/all_0.js index 2850c7a..3b93244 100644 --- a/search/all_0.js +++ b/search/all_0.js @@ -1,14 +1,25 @@ var searchData= [ - ['addcharacteristic_0',['addCharacteristic',['../class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8',1,'NimBLEService']]], - ['adddata_1',['addData',['../class_nim_b_l_e_advertisement_data.html#aec5f567059c4b4fd0f6b5fc74a0ce870',1,'NimBLEAdvertisementData::addData(const std::string &data)'],['../class_nim_b_l_e_advertisement_data.html#a2328f7df89a11d58818e98a6c889c8d4',1,'NimBLEAdvertisementData::addData(char *data, size_t length)'],['../class_nim_b_l_e_ext_advertisement.html#a74d0b2a236d144c5bce05536ec6b8509',1,'NimBLEExtAdvertisement::addData(const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a62d44c4e1e41d9c6a470a7ebb0b7b038',1,'NimBLEExtAdvertisement::addData(const uint8_t *data, size_t length)']]], - ['adddescriptor_2',['addDescriptor',['../class_nim_b_l_e_characteristic.html#aed4b2241c89ad2a8f49117e2b9433e5b',1,'NimBLECharacteristic']]], - ['addignored_3',['addIgnored',['../class_nim_b_l_e_device.html#a732425c5c5f5b5b4730c1689700346c0',1,'NimBLEDevice']]], - ['addservice_4',['addService',['../class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56',1,'NimBLEServer']]], - ['addserviceuuid_5',['addServiceUUID',['../class_nim_b_l_e_advertising.html#a4f334752ea04223185292fe9ab524b69',1,'NimBLEAdvertising::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertising.html#a5e596e8dfa9268554a5b189380405d5c',1,'NimBLEAdvertising::addServiceUUID(const char *serviceUUID)']]], - ['addtxpower_6',['addTxPower',['../class_nim_b_l_e_advertisement_data.html#a480ffc91f212e877ae31ab47190006c3',1,'NimBLEAdvertisementData::addTxPower()'],['../class_nim_b_l_e_advertising.html#ac4ff0af45d1f7ed5bc208612852bc43a',1,'NimBLEAdvertising::addTxPower()'],['../class_nim_b_l_e_ext_advertisement.html#ac9f82eb0112544b977eb1947ed308525',1,'NimBLEExtAdvertisement::addTxPower()']]], - ['advcompletecb_7',['advCompleteCB',['../class_nim_b_l_e_advertising.html#a4de7bf016a086a2d3f6f14ae134678f2',1,'NimBLEAdvertising']]], - ['advertiseondisconnect_8',['advertiseOnDisconnect',['../class_nim_b_l_e_server.html#a6bfd923ecd0ea06d5564343ab7209122',1,'NimBLEServer']]], - ['advtypetostring_9',['advTypeToString',['../class_nim_b_l_e_utils.html#a6de9354eeba9f126aa14cfa7ed43cda4',1,'NimBLEUtils']]], - ['append_10',['append',['../class_nim_b_l_e_att_value.html#aa217dfc649daed50eb75c7168442f86e',1,'NimBLEAttValue']]] + ['0_0',['v4.0+',['../index.html#v40',1,'']]], + ['0_200_202020_2008_2022_1',['[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,'']]], + ['0_200_202024_2012_2014_2',['[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,'']]], + ['0_201_202020_2009_2002_3',['[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,'']]], + ['0_202_202020_2009_2013_4',['[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_202021_2001_2020_5',['[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,'']]], + ['0_202021_2002_2008_6',['[1.2.0] - 2021-02-08',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08',1,'']]], + ['0_202021_2008_2002_7',['[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,'']]], + ['0_202022_2007_2031_8',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]], + ['01_2015_9',['[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_10',['[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,'']]], + ['02_11',['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']]], + ['02_2008_12',['[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_13',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], + ['04_14',['[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,'']]], + ['07_2031_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',1,'']]], + ['08_16',['[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_17',['[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_18',['[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_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,'']]], + ['09_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,'']]], + ['09_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,'']]] ]; diff --git a/search/all_1.html b/search/all_1.html deleted file mode 100644 index 9f80e90..0000000 --- a/search/all_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_1.js b/search/all_1.js index 7cd46b4..28d6ebd 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -1,10 +1,20 @@ var searchData= [ - ['batteryservice_11',['batteryService',['../class_nim_b_l_e_h_i_d_device.html#a24498f7b714574ab4a90288f7e4d58b7',1,'NimBLEHIDDevice']]], - ['begin_12',['begin',['../class_nim_b_l_e_att_value.html#a6167f1cbc50a81a4ca0708e273bbb63e',1,'NimBLEAttValue::begin()'],['../class_nim_b_l_e_client.html#ab09639b499fdcd0021a2432b2b8203f5',1,'NimBLEClient::begin()'],['../class_nim_b_l_e_remote_characteristic.html#a78ac88ca25d71dfe31b95898b79b0442',1,'NimBLERemoteCharacteristic::begin()'],['../class_nim_b_l_e_remote_service.html#a49bb3134b570db877fac67e6ed077aa2',1,'NimBLERemoteService::begin()'],['../class_nim_b_l_e_scan_results.html#ad426f221e8c18c0c3f5784786710e8f0',1,'NimBLEScanResults::begin()']]], - ['bitsize_13',['bitSize',['../class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6',1,'NimBLEUUID']]], - ['bluetooth_205_2ex_20features_14',['Bluetooth 5.x features',['../md__bluetooth_5_features.html',1,'']]], - ['bootinput_15',['bootInput',['../class_nim_b_l_e_h_i_d_device.html#a45ca7d4547dfea9a64987065d83653bd',1,'NimBLEHIDDevice']]], - ['bootoutput_16',['bootOutput',['../class_nim_b_l_e_h_i_d_device.html#ace0141db690f1afec1b266f9ac9aa0f0',1,'NimBLEHIDDevice']]], - ['buildhexdata_17',['buildHexData',['../class_nim_b_l_e_utils.html#a6382edb7e8e4030b4fc65d463fa2a886',1,'NimBLEUtils']]] + ['1_200_200_202020_2008_2022_0',['[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,'']]], + ['1_200_201_202020_2009_2002_1',['[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,'']]], + ['1_200_202_202020_2009_2013_2',['[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,'']]], + ['1_201_200_202021_2001_2020_3',['[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,'']]], + ['1_202_200_202021_2002_2008_4',['[1.2.0] - 2021-02-08',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md120---2021-02-08',1,'']]], + ['1_203_200_202021_2008_2002_5',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], + ['1_203_201_202021_2008_2004_6',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], + ['1_203_202_202022_2001_2015_7',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], + ['1_203_203_202022_2002_2015_8',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], + ['1_204_200_202022_2007_2031_9',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]], + ['1_204_201_202022_2010_2030_10',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], + ['1_20x_20to_202_20x_11',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['10_2030_12',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], + ['12_2014_13',['[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,'']]], + ['13_14',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]], + ['14_15',['[2.0.0] 2024-12-14',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md200-2024-12-14',1,'']]], + ['15_16',['15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'[1.3.2] - 2022-01-15'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'[1.3.3] - 2022-02-15']]] ]; diff --git a/search/all_10.html b/search/all_10.html deleted file mode 100644 index 3bf1196..0000000 --- a/search/all_10.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_10.js b/search/all_10.js index 462f78b..28ed4af 100644 --- a/search/all_10.js +++ b/search/all_10.js @@ -1,7 +1,6 @@ var searchData= [ - ['to128_399',['to128',['../class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c',1,'NimBLEUUID']]], - ['to16_400',['to16',['../class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb',1,'NimBLEUUID']]], - ['todo_20list_401',['Todo List',['../todo.html',1,'']]], - ['tostring_402',['toString',['../class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6',1,'NimBLEAddress::toString()'],['../class_nim_b_l_e_advertised_device.html#ac1b8ff0f2897abda335743d55668fcd9',1,'NimBLEAdvertisedDevice::toString()'],['../class_nim_b_l_e_characteristic.html#a4fa6b8ed011d12e2b1f16e92a02b9a89',1,'NimBLECharacteristic::toString()'],['../class_nim_b_l_e_client.html#aba9ae035357776514b61c2b6286ce1ab',1,'NimBLEClient::toString()'],['../class_nim_b_l_e_descriptor.html#ac15dc6c9c24d280c4b0eb766080497e5',1,'NimBLEDescriptor::toString()'],['../class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961',1,'NimBLEDevice::toString()'],['../class_nim_b_l_e_eddystone_t_l_m.html#a970ba10424567d17c961ed3b3ef83d8e',1,'NimBLEEddystoneTLM::toString()'],['../class_nim_b_l_e_remote_characteristic.html#a4b86a1f600a61036487f5161f1f1726a',1,'NimBLERemoteCharacteristic::toString()'],['../class_nim_b_l_e_remote_descriptor.html#a008795a09d1fbe8533c2e9d0e8deb33a',1,'NimBLERemoteDescriptor::toString()'],['../class_nim_b_l_e_remote_service.html#aaf106a37f24a51b967dd0984c973750f',1,'NimBLERemoteService::toString()'],['../class_nim_b_l_e_service.html#a10d10d14f8c5a970a06915cd407a0a73',1,'NimBLEService::toString()'],['../class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64',1,'NimBLEUUID::toString()']]] + ['max_5fsize_0',['max_size',['../class_nim_b_l_e_att_value.html#ac7abc6cd08adb0b654e051d62af725d5',1,'NimBLEAttValue']]], + ['migrating_20from_201_20x_20to_202_20x_1',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['migrating_20from_20bluedroid_20to_20nimble_2',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]] ]; diff --git a/search/all_11.html b/search/all_11.html deleted file mode 100644 index c9f79d2..0000000 --- a/search/all_11.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_11.js b/search/all_11.js index 5b916ba..aa6b083 100644 --- a/search/all_11.js +++ b/search/all_11.js @@ -1,6 +1,47 @@ var searchData= [ - ['unsubscribe_403',['unsubscribe',['../class_nim_b_l_e_remote_characteristic.html#a6e331afdbdbc32bf461c9866236a97aa',1,'NimBLERemoteCharacteristic']]], - ['updateconnparams_404',['updateConnParams',['../class_nim_b_l_e_client.html#aff7d389ec48567286ea732c54d320526',1,'NimBLEClient::updateConnParams()'],['../class_nim_b_l_e_server.html#a9b08738766de90d7065263761314030a',1,'NimBLEServer::updateConnParams()']]], - ['usage_20tips_405',['Usage Tips',['../md__usage_tips.html',1,'']]] + ['names_0',['Class Names',['../md__migration__guide.html#class-names',1,'']]], + ['necessary_20or_20unused_1',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['needed_2',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], + ['new_20user_20guide_3',['New User Guide',['../md__new__user__guide.html',1,'']]], + ['nimble_4',['nimble',['../md__migration__guide.html',1,'Migrating from Bluedroid to NimBLE'],['../index.html#what-is-nimble',1,'What is NimBLE?']]], + ['nimble_20stack_20core_5',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['nimble2904_6',['NimBLE2904',['../class_nim_b_l_e2904.html',1,'']]], + ['nimbleaddress_7',['nimbleaddress',['../class_nim_b_l_e_address.html',1,'NimBLEAddress'],['../class_nim_b_l_e_address.html#adde06cf0cd99fed05b199fcd8df665a9',1,'NimBLEAddress::NimBLEAddress(const uint64_t &address, uint8_t type)'],['../class_nim_b_l_e_address.html#a4339a4ba2a68932000b2168547a37b35',1,'NimBLEAddress::NimBLEAddress(const std::string &stringAddress, uint8_t type)'],['../class_nim_b_l_e_address.html#a567542a3cf8324810751cdd4d92703ab',1,'NimBLEAddress::NimBLEAddress(const uint8_t address[BLE_DEV_ADDR_LEN], uint8_t type)'],['../class_nim_b_l_e_address.html#ac1bad3b929b3a694402cc7354635775e',1,'NimBLEAddress::NimBLEAddress(const ble_addr_t address)'],['../class_nim_b_l_e_address.html#adc38af9709f212868a89e52ea700a417',1,'NimBLEAddress::NimBLEAddress()=default']]], + ['nimbleadvertiseddevice_8',['NimBLEAdvertisedDevice',['../class_nim_b_l_e_advertised_device.html',1,'']]], + ['nimbleadvertisementdata_9',['NimBLEAdvertisementData',['../class_nim_b_l_e_advertisement_data.html',1,'']]], + ['nimbleadvertising_10',['nimbleadvertising',['../class_nim_b_l_e_advertising.html',1,'NimBLEAdvertising'],['../class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd',1,'NimBLEAdvertising::NimBLEAdvertising()']]], + ['nimbleattribute_11',['nimbleattribute',['../class_nim_b_l_e_attribute.html',1,'NimBLEAttribute'],['../class_nim_b_l_e_attribute.html#a51ce8e9cd9609f42b9b9248a0b6c642c',1,'NimBLEAttribute::NimBLEAttribute()']]], + ['nimbleattvalue_12',['nimbleattvalue',['../class_nim_b_l_e_att_value.html#a7473ad95c2240e0d1ce5c2d57f8914c2',1,'NimBLEAttValue::NimBLEAttValue()'],['../class_nim_b_l_e_att_value.html',1,'NimBLEAttValue'],['../class_nim_b_l_e_att_value.html#a778d1da5334049292fdfba221bcd5772',1,'NimBLEAttValue::NimBLEAttValue(NimBLEAttValue &&source)'],['../class_nim_b_l_e_att_value.html#a03347eab1f3df449762902a4256d2b1c',1,'NimBLEAttValue::NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a584cac329cd5d3c0a14aa855e6e6143e',1,'NimBLEAttValue::NimBLEAttValue(const std::string str, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df',1,'NimBLEAttValue::NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a4322572d778438318f5750f6df5fdb35',1,'NimBLEAttValue::NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c',1,'NimBLEAttValue::NimBLEAttValue(const uint8_t *value, uint16_t len, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], + ['nimblebeacon_13',['NimBLEBeacon',['../class_nim_b_l_e_beacon.html',1,'']]], + ['nimblecharacteristic_14',['nimblecharacteristic',['../class_nim_b_l_e_characteristic.html#ad136cb471195c1889804542afe0f628b',1,'NimBLECharacteristic::NimBLECharacteristic(const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)'],['../class_nim_b_l_e_characteristic.html#af5bacf6c6f1cf033897b6a99ef98438f',1,'NimBLECharacteristic::NimBLECharacteristic(const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)'],['../class_nim_b_l_e_characteristic.html',1,'NimBLECharacteristic']]], + ['nimblecharacteristiccallbacks_15',['NimBLECharacteristicCallbacks',['../class_nim_b_l_e_characteristic_callbacks.html',1,'']]], + ['nimbleclient_16',['NimBLEClient',['../class_nim_b_l_e_client.html',1,'']]], + ['nimbleclientcallbacks_17',['NimBLEClientCallbacks',['../class_nim_b_l_e_client_callbacks.html',1,'']]], + ['nimbleconninfo_18',['NimBLEConnInfo',['../class_nim_b_l_e_conn_info.html',1,'']]], + ['nimbledescriptor_19',['nimbledescriptor',['../class_nim_b_l_e_descriptor.html#acdae256772e6ba433df5ff3217335a1b',1,'NimBLEDescriptor::NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)'],['../class_nim_b_l_e_descriptor.html#a9b371ae4807648762cad1346ba6fd3c3',1,'NimBLEDescriptor::NimBLEDescriptor(const NimBLEUUID &uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)'],['../class_nim_b_l_e_descriptor.html',1,'NimBLEDescriptor']]], + ['nimbledescriptorcallbacks_20',['NimBLEDescriptorCallbacks',['../class_nim_b_l_e_descriptor_callbacks.html',1,'']]], + ['nimbledevice_21',['NimBLEDevice',['../class_nim_b_l_e_device.html',1,'']]], + ['nimbleeddystonetlm_22',['NimBLEEddystoneTLM',['../class_nim_b_l_e_eddystone_t_l_m.html',1,'']]], + ['nimbleextadvertisement_23',['nimbleextadvertisement',['../class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c',1,'NimBLEExtAdvertisement::NimBLEExtAdvertisement()'],['../class_nim_b_l_e_ext_advertisement.html',1,'NimBLEExtAdvertisement']]], + ['nimbleextadvertising_24',['nimbleextadvertising',['../class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3',1,'NimBLEExtAdvertising::NimBLEExtAdvertising()'],['../class_nim_b_l_e_ext_advertising.html',1,'NimBLEExtAdvertising']]], + ['nimbleextadvertisingcallbacks_25',['NimBLEExtAdvertisingCallbacks',['../class_nim_b_l_e_ext_advertising_callbacks.html',1,'']]], + ['nimblehiddevice_26',['nimblehiddevice',['../class_nim_b_l_e_h_i_d_device.html#a33821f02034b8ed47f3cd0555ac9e949',1,'NimBLEHIDDevice::NimBLEHIDDevice()'],['../class_nim_b_l_e_h_i_d_device.html',1,'NimBLEHIDDevice']]], + ['nimblelocalattribute_27',['nimblelocalattribute',['../class_nim_b_l_e_local_attribute.html',1,'NimBLELocalAttribute'],['../class_nim_b_l_e_local_attribute.html#a9fd2c2130f8bea42f86ee0d3263e9788',1,'NimBLELocalAttribute::NimBLELocalAttribute()']]], + ['nimbleremotecharacteristic_28',['NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html',1,'']]], + ['nimbleremotedescriptor_29',['NimBLERemoteDescriptor',['../class_nim_b_l_e_remote_descriptor.html',1,'']]], + ['nimbleremoteservice_30',['NimBLERemoteService',['../class_nim_b_l_e_remote_service.html',1,'']]], + ['nimblescan_31',['NimBLEScan',['../class_nim_b_l_e_scan.html',1,'']]], + ['nimblescancallbacks_32',['NimBLEScanCallbacks',['../class_nim_b_l_e_scan_callbacks.html',1,'']]], + ['nimblescanresults_33',['NimBLEScanResults',['../class_nim_b_l_e_scan_results.html',1,'']]], + ['nimbleserver_34',['NimBLEServer',['../class_nim_b_l_e_server.html',1,'']]], + ['nimbleservercallbacks_35',['NimBLEServerCallbacks',['../class_nim_b_l_e_server_callbacks.html',1,'']]], + ['nimbleservice_36',['nimbleservice',['../class_nim_b_l_e_service.html',1,'NimBLEService'],['../class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65',1,'NimBLEService::NimBLEService(const char *uuid)'],['../class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3',1,'NimBLEService::NimBLEService(const NimBLEUUID &uuid)']]], + ['nimbletaskdata_37',['nimbletaskdata',['../struct_nim_b_l_e_task_data.html',1,'NimBLETaskData'],['../struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4',1,'NimBLETaskData::NimBLETaskData()']]], + ['nimbleutils_38',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], + ['nimbleuuid_39',['nimbleuuid',['../class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d',1,'NimBLEUUID::NimBLEUUID()'],['../class_nim_b_l_e_u_u_i_d.html',1,'NimBLEUUID'],['../class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1',1,'NimBLEUUID::NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)'],['../class_nim_b_l_e_u_u_i_d.html#aca27c0b572bb65ff9559f3b7ce8541fd',1,'NimBLEUUID::NimBLEUUID(const uint8_t *pData, size_t size)'],['../class_nim_b_l_e_u_u_i_d.html#ac9fbd00e7ffeb334571016c61bca9286',1,'NimBLEUUID::NimBLEUUID(const ble_uuid128_t *uuid)'],['../class_nim_b_l_e_u_u_i_d.html#ab4e1658b1c414edb9aea5cf5140fa461',1,'NimBLEUUID::NimBLEUUID(uint32_t uuid)'],['../class_nim_b_l_e_u_u_i_d.html#aadbfc5504e63cd91c59c778607b8dd92',1,'NimBLEUUID::NimBLEUUID(uint16_t uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a6fd3849062c96cee3d6cd00544fadfac',1,'NimBLEUUID::NimBLEUUID(const std::string &uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc',1,'NimBLEUUID::NimBLEUUID()=default']]], + ['nimconfig_2eh_40',['nimconfig.h',['../nimconfig_8h.html',1,'']]], + ['not_20delete_20client_20instances_20unless_20necessary_20or_20unused_41',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['notify_42',['notify',['../class_nim_b_l_e_characteristic.html#ac4482e038124724d8bb6d147bcdb5481',1,'NimBLECharacteristic::notify(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a7676bd1b73979101c394471299d71c0b',1,'NimBLECharacteristic::notify(const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954',1,'NimBLECharacteristic::notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#ab05a81528522e7f12acff65fa86f9a28',1,'NimBLECharacteristic::notify(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954',1,'NimBLECharacteristic::notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const']]], + ['now_43',['Is Now',['../md__migration__guide.html#is-now',1,'']]] ]; diff --git a/search/all_12.html b/search/all_12.html deleted file mode 100644 index ab93472..0000000 --- a/search/all_12.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_12.js b/search/all_12.js index c5cb5cf..ebf2a7f 100644 --- a/search/all_12.js +++ b/search/all_12.js @@ -1,6 +1,42 @@ var searchData= [ - ['whitelistadd_406',['whiteListAdd',['../class_nim_b_l_e_device.html#aabc68166b6dd4a744a98f94e569f37db',1,'NimBLEDevice']]], - ['whitelistremove_407',['whiteListRemove',['../class_nim_b_l_e_device.html#a81abbad5e371fe1cdd91c002b42cc654',1,'NimBLEDevice']]], - ['writevalue_408',['writeValue',['../class_nim_b_l_e_remote_characteristic.html#a3c8d1fd77dd074df866c091c614eafb3',1,'NimBLERemoteCharacteristic::writeValue(const uint8_t *data, size_t length, bool response=false)'],['../class_nim_b_l_e_remote_characteristic.html#a94ae59940fcd128efeaf339b282b7ef9',1,'NimBLERemoteCharacteristic::writeValue(const std::vector< uint8_t > &v, bool response=false)'],['../class_nim_b_l_e_remote_characteristic.html#a19362aaf357835e1f771c78f0c4cd9dd',1,'NimBLERemoteCharacteristic::writeValue(const char *s, bool response=false)'],['../class_nim_b_l_e_remote_characteristic.html#acf8bcf2cf94ca8bd8cf0c7c39f9883ae',1,'NimBLERemoteCharacteristic::writeValue(const T &s, bool response=false)'],['../class_nim_b_l_e_remote_characteristic.html#acf8bcf2cf94ca8bd8cf0c7c39f9883ae',1,'NimBLERemoteCharacteristic::writeValue(const T &s, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#a0d3fb6424b2c86730e1a292281cd836e',1,'NimBLERemoteDescriptor::writeValue(const uint8_t *data, size_t length, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#ab1654a0b1dc86fe042b3d5b983fbd08c',1,'NimBLERemoteDescriptor::writeValue(const std::vector< uint8_t > &v, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#ab7cab188f311f44d06638434117938e7',1,'NimBLERemoteDescriptor::writeValue(const char *s, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#a1abc84a09001537dffd13c810a503b9c',1,'NimBLERemoteDescriptor::writeValue(const T &s, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#a1abc84a09001537dffd13c810a503b9c',1,'NimBLERemoteDescriptor::writeValue(const T &s, bool response=false)']]] + ['of_20properties_0',['The full list of properties',['../md__migration__guide.html#the-full-list-of-properties',1,'']]], + ['on_20the_20nimble_20stack_20core_1',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['onauthenticationcomplete_2',['onauthenticationcomplete',['../class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523',1,'NimBLEServerCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_client_callbacks.html#ae8e2abef6949ac87abf5ecad1a4dfe35',1,'NimBLEClientCallbacks::onAuthenticationComplete()']]], + ['onconfirmpasskey_3',['onconfirmpasskey',['../class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436',1,'NimBLEServerCallbacks::onConfirmPassKey()'],['../class_nim_b_l_e_client_callbacks.html#a6e7cfa81cd43420f78d6da727c67928b',1,'NimBLEClientCallbacks::onConfirmPasskey(NimBLEConnInfo &connInfo, uint32_t pin)']]], + ['onconnect_4',['onconnect',['../class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae',1,'NimBLEClientCallbacks::onConnect()'],['../class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5',1,'NimBLEServerCallbacks::onConnect()']]], + ['onconnectfail_5',['onConnectFail',['../class_nim_b_l_e_client_callbacks.html#ad0eb6bee07ef8c41dd8924aaca3bc71e',1,'NimBLEClientCallbacks']]], + ['onconnparamsupdate_6',['onConnParamsUpdate',['../class_nim_b_l_e_server_callbacks.html#aa6e5e8ef90a537540d9c72f8744c0199',1,'NimBLEServerCallbacks']]], + ['onconnparamsupdaterequest_7',['onConnParamsUpdateRequest',['../class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6',1,'NimBLEClientCallbacks']]], + ['ondisconnect_8',['ondisconnect',['../class_nim_b_l_e_client_callbacks.html#ad618179ade926482a7f2d94b0deabd69',1,'NimBLEClientCallbacks::onDisconnect()'],['../class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943',1,'NimBLEServerCallbacks::onDisconnect()']]], + ['ondiscovered_9',['onDiscovered',['../class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277',1,'NimBLEScanCallbacks']]], + ['onidentity_10',['onidentity',['../class_nim_b_l_e_client_callbacks.html#ac03333d26d570e55b285da460c0def76',1,'NimBLEClientCallbacks::onIdentity()'],['../class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664',1,'NimBLEServerCallbacks::onIdentity()']]], + ['only_20retrieve_20the_20services_20and_20characteristics_20needed_11',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], + ['onmtuchange_12',['onmtuchange',['../class_nim_b_l_e_client_callbacks.html#a92662eb9ecf882b2c55bc6d9b4de97bc',1,'NimBLEClientCallbacks::onMTUChange()'],['../class_nim_b_l_e_server_callbacks.html#ab702f73e739b4df72e191f47056c01ff',1,'NimBLEServerCallbacks::onMTUChange(uint16_t MTU, NimBLEConnInfo &connInfo)']]], + ['onpasskeydisplay_13',['onPassKeyDisplay',['../class_nim_b_l_e_server_callbacks.html#a45b5fc1c98b287a2ddeab8f2f5b63c4f',1,'NimBLEServerCallbacks']]], + ['onpasskeyentry_14',['onPassKeyEntry',['../class_nim_b_l_e_client_callbacks.html#aacb0b757e6e7c7984d8389c83fe1937d',1,'NimBLEClientCallbacks']]], + ['onphyupdate_15',['onphyupdate',['../class_nim_b_l_e_client_callbacks.html#a4e91ebb66e46b7f3ccc6291ece0b549c',1,'NimBLEClientCallbacks::onPhyUpdate()'],['../class_nim_b_l_e_server_callbacks.html#a5096aa8ec49fe1eddb5d9ab18c112b22',1,'NimBLEServerCallbacks::onPhyUpdate()']]], + ['onread_16',['onread',['../class_nim_b_l_e_characteristic_callbacks.html#a120d3dade06fbc941a93edbdc0e4d830',1,'NimBLECharacteristicCallbacks::onRead()'],['../class_nim_b_l_e_descriptor_callbacks.html#a061576b56702a6aca62a38f2ba27ba98',1,'NimBLEDescriptorCallbacks::onRead()']]], + ['onreset_17',['onReset',['../class_nim_b_l_e_device.html#a1c07c41733730754fd31efae5a43f085',1,'NimBLEDevice']]], + ['onresult_18',['onResult',['../class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283',1,'NimBLEScanCallbacks']]], + ['onscanend_19',['onScanEnd',['../class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375',1,'NimBLEScanCallbacks']]], + ['onscanrequest_20',['onScanRequest',['../class_nim_b_l_e_ext_advertising_callbacks.html#aeec59f9c28ef5e257e4e8fd306d92ccd',1,'NimBLEExtAdvertisingCallbacks']]], + ['onstatus_21',['onStatus',['../class_nim_b_l_e_characteristic_callbacks.html#a6f9b1f0f15492e3d47662e5e2ff0baee',1,'NimBLECharacteristicCallbacks']]], + ['onstopped_22',['onStopped',['../class_nim_b_l_e_ext_advertising_callbacks.html#add0646acf63c19e96c499b737144d8fe',1,'NimBLEExtAdvertisingCallbacks']]], + ['onsubscribe_23',['onSubscribe',['../class_nim_b_l_e_characteristic_callbacks.html#a024951384bb777d7ee71bfd1d5eff185',1,'NimBLECharacteristicCallbacks']]], + ['onsync_24',['onSync',['../class_nim_b_l_e_device.html#a01737196c77959a03964504ee0b48f4d',1,'NimBLEDevice']]], + ['onwhitelist_25',['onWhiteList',['../class_nim_b_l_e_device.html#ae51e2d4d6169a61133178a1b0d6b5b45',1,'NimBLEDevice']]], + ['onwrite_26',['onwrite',['../class_nim_b_l_e_descriptor_callbacks.html#a2872d9e602d4e23cc63f55f5b2f76dd7',1,'NimBLEDescriptorCallbacks::onWrite()'],['../class_nim_b_l_e_characteristic_callbacks.html#ab4edbb758f0212fd190dedad6c9b8ec9',1,'NimBLECharacteristicCallbacks::onWrite()']]], + ['operator_20const_20uint8_5ft_20_2a_27',['operator const uint8_t *',['../class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b',1,'NimBLEAttValue']]], + ['operator_20std_3a_3astring_28',['operator std::string',['../class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a',1,'NimBLEAddress::string()'],['../class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371',1,'NimBLEAttValue::string()'],['../class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048',1,'NimBLEUUID::string()']]], + ['operator_20std_3a_3avector_3c_20uint8_5ft_20_3e_29',['vector< uint8_t >',['../class_nim_b_l_e_att_value.html#a3af3b6efb528b1063df2de409c64a0d6',1,'NimBLEAttValue']]], + ['operator_20uint64_5ft_30',['operator uint64_t',['../class_nim_b_l_e_address.html#aa7d5d8d323d2846bf2082b83381bd7c8',1,'NimBLEAddress']]], + ['operator_21_3d_31',['operator!=',['../class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe',1,'NimBLEUUID::operator!=()'],['../class_nim_b_l_e_att_value.html#afda6ab2bce142146bad453249bd0dc43',1,'NimBLEAttValue::operator!=()'],['../class_nim_b_l_e_address.html#ae243127c78af69b26dfa225effd806ce',1,'NimBLEAddress::operator!=()']]], + ['operator_2b_3d_32',['operator+=',['../class_nim_b_l_e_att_value.html#a643f989881afd01a25f9d102421c36ec',1,'NimBLEAttValue']]], + ['operator_3d_33',['operator=',['../class_nim_b_l_e_att_value.html#add319bc80a9a7569f42c8568879c8be9',1,'NimBLEAttValue::operator=(const std::string &source)'],['../class_nim_b_l_e_att_value.html#a47d30a61ba65f5d9a21fa593cf15d4b9',1,'NimBLEAttValue::operator=(NimBLEAttValue &&source)'],['../class_nim_b_l_e_att_value.html#aa53ee00be956c25596cf7cce71b502ba',1,'NimBLEAttValue::operator=(const NimBLEAttValue &source)']]], + ['operator_3d_3d_34',['operator==',['../class_nim_b_l_e_address.html#a87e8ccc81c2d83bf0503166939319164',1,'NimBLEAddress::operator==()'],['../class_nim_b_l_e_att_value.html#ad01c8ae4ce617b5ed31733ac245b2e91',1,'NimBLEAttValue::operator==()'],['../class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875',1,'NimBLEUUID::operator==()']]], + ['operator_5b_5d_35',['operator[]',['../class_nim_b_l_e_att_value.html#a8ca8d07c06a79e30bf6279e6817e4881',1,'NimBLEAttValue']]], + ['or_20unused_36',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['originally_37',['Originally',['../md__migration__guide.html#originally',1,'']]], + ['overview_38',['Overview',['../index.html',1,'']]] ]; diff --git a/search/all_13.html b/search/all_13.html deleted file mode 100644 index 51172c2..0000000 --- a/search/all_13.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_13.js b/search/all_13.js index 4097558..f2c4d5a 100644 --- a/search/all_13.js +++ b/search/all_13.js @@ -1,9 +1,6 @@ var searchData= [ - ['_7enimbleattvalue_409',['~NimBLEAttValue',['../class_nim_b_l_e_att_value.html#a08f3b04d05cf0c2b76a24cc37cd1f8ab',1,'NimBLEAttValue']]], - ['_7enimblecharacteristic_410',['~NimBLECharacteristic',['../class_nim_b_l_e_characteristic.html#a7fe29c5ec571d0513c51b8cbac942f4a',1,'NimBLECharacteristic']]], - ['_7enimbledescriptor_411',['~NimBLEDescriptor',['../class_nim_b_l_e_descriptor.html#ad110851335bc7b225f5bea9ac11bedcc',1,'NimBLEDescriptor']]], - ['_7enimbleextadvertising_412',['~NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html#a477c57db99ce3b5e987d6838b661808f',1,'NimBLEExtAdvertising']]], - ['_7enimbleremotecharacteristic_413',['~NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html#a855d591de111b09013ae83c4043d06ed',1,'NimBLERemoteCharacteristic']]], - ['_7enimbleremoteservice_414',['~NimBLERemoteService',['../class_nim_b_l_e_remote_service.html#a2803aa5cdfdb622ae8fe255dc939cb1d',1,'NimBLERemoteService']]] + ['please_20report_20them_0',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]], + ['properties_1',['The full list of properties',['../md__migration__guide.html#the-full-list-of-properties',1,'']]], + ['put_20ble_20functions_20in_20a_20task_20running_20on_20the_20nimble_20stack_20core_2',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]] ]; diff --git a/search/all_14.js b/search/all_14.js new file mode 100644 index 0000000..d0b721a --- /dev/null +++ b/search/all_14.js @@ -0,0 +1,21 @@ +var searchData= +[ + ['refreshadvertisingdata_0',['refreshAdvertisingData',['../class_nim_b_l_e_advertising.html#ad899be16fa054a01908692a504af9832',1,'NimBLEAdvertising']]], + ['remote_20characteristics_1',['remote characteristics',['../md__migration__guide.html#remote-characteristics-1',1,'Remote Characteristics'],['../md_1_8x__to2_8x__migration__guide.html#remote-characteristics',1,'Remote Characteristics']]], + ['remote_20services_2',['remote services',['../md__migration__guide.html#remote-services-1',1,'Remote Services'],['../md_1_8x__to2_8x__migration__guide.html#remote-services',1,'Remote Services']]], + ['removeall_3',['removeAll',['../class_nim_b_l_e_ext_advertising.html#a8c4df0be35301c90a39491b9e98d3e24',1,'NimBLEExtAdvertising']]], + ['removecharacteristic_4',['removeCharacteristic',['../class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234',1,'NimBLEService']]], + ['removedata_5',['removedata',['../class_nim_b_l_e_advertisement_data.html#acf839da2c36a9ac5ef53e86b57d73874',1,'NimBLEAdvertisementData::removeData()'],['../class_nim_b_l_e_ext_advertisement.html#a28a6b771e81c043d471d87a6aa5a7622',1,'NimBLEExtAdvertisement::removeData()']]], + ['removedescriptor_6',['removeDescriptor',['../class_nim_b_l_e_characteristic.html#a2c0ed8932ee257a8632e3d72e353489b',1,'NimBLECharacteristic']]], + ['removeinstance_7',['removeInstance',['../class_nim_b_l_e_ext_advertising.html#acace5e9e195b65b61041f7007f9359ab',1,'NimBLEExtAdvertising']]], + ['removeservice_8',['removeService',['../class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75',1,'NimBLEServer']]], + ['removeservices_9',['removeservices',['../class_nim_b_l_e_advertisement_data.html#aff30e0d0dc95e1dc8bb1cb6858a4e813',1,'NimBLEAdvertisementData::removeServices()'],['../class_nim_b_l_e_advertising.html#ad159c2e2a65d9bc7dcc5babed146936d',1,'NimBLEAdvertising::removeServices()'],['../class_nim_b_l_e_ext_advertisement.html#ab71e5616a011eae51c58b4edfbd3bc71',1,'NimBLEExtAdvertisement::removeServices()']]], + ['removeserviceuuid_10',['removeserviceuuid',['../class_nim_b_l_e_advertising.html#a94452c2f9f7233611246827ce62f6a2b',1,'NimBLEAdvertising::removeServiceUUID()'],['../class_nim_b_l_e_ext_advertisement.html#a7cb10f1b8cbfe6706144a20ee3258c63',1,'NimBLEExtAdvertisement::removeServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_ext_advertisement.html#a5ddd5bc3a96406518580bc33aab62a84',1,'NimBLEExtAdvertisement::removeServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertising.html#aba383012133dd694f56cf86966b2d80a',1,'NimBLEAdvertising::removeServiceUUID()'],['../class_nim_b_l_e_advertisement_data.html#a62963648edf361ed7d3f24027dd41a9d',1,'NimBLEAdvertisementData::removeServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_advertisement_data.html#ad22fa3253134dd5bfd3e76f8c31bef2e',1,'NimBLEAdvertisementData::removeServiceUUID(const NimBLEUUID &serviceUUID)']]], + ['report_20them_11',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]], + ['reset_12',['reset',['../class_nim_b_l_e_advertising.html#a91cde5680de36840fc18f6fd76665af7',1,'NimBLEAdvertising']]], + ['retrieve_20the_20services_20and_20characteristics_20needed_13',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], + ['return_20values_14',['Check return values',['../md__usage__tips.html#check-return-values',1,'']]], + ['returncodetostring_15',['returnCodeToString',['../class_nim_b_l_e_utils.html#a9885eda5c51477aefc0ba9e1c96d5a34',1,'NimBLEUtils']]], + ['reversebyteorder_16',['reversebyteorder',['../class_nim_b_l_e_address.html#a0f390fb5f422db8ced1938bd40f87c4d',1,'NimBLEAddress::reverseByteOrder()'],['../class_nim_b_l_e_u_u_i_d.html#a9b96d90463f02f6a21afbaebcc242dd9',1,'NimBLEUUID::reverseByteOrder()']]], + ['running_20on_20the_20nimble_20stack_20core_17',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]] +]; diff --git a/search/all_15.js b/search/all_15.js new file mode 100644 index 0000000..6de5dd8 --- /dev/null +++ b/search/all_15.js @@ -0,0 +1,114 @@ +var searchData= +[ + ['s_0',['BLE UUID's',['../md_1_8x__to2_8x__migration__guide.html#ble-uuids',1,'']]], + ['scan_1',['scan',['../md__migration__guide.html#ble-scan',1,'BLE Scan'],['../md_1_8x__to2_8x__migration__guide.html#scan',1,'Scan']]], + ['secureconnection_2',['secureConnection',['../class_nim_b_l_e_client.html#a2dac3bd373134ae6d22e3b5c96ed65ef',1,'NimBLEClient']]], + ['security_3',['security',['../md__migration__guide.html#client-security',1,'Client Security'],['../md__migration__guide.html#server-security-1',1,'Server Security'],['../md_1_8x__to2_8x__migration__guide.html#server-security',1,'Server Security']]], + ['security_20api_4',['Security API',['../md__migration__guide.html#security-api',1,'']]], + ['server_5',['server',['../md__new__user__guide.html#creating-a-server',1,'Creating a Server'],['../md_1_8x__to2_8x__migration__guide.html#server',1,'Server']]], + ['server_20api_6',['Server API',['../md__migration__guide.html#server-api',1,'']]], + ['server_20security_7',['server security',['../md__migration__guide.html#server-security-1',1,'Server Security'],['../md_1_8x__to2_8x__migration__guide.html#server-security',1,'Server Security']]], + ['services_8',['services',['../md__migration__guide.html#remote-services-1',1,'Remote Services'],['../md_1_8x__to2_8x__migration__guide.html#remote-services',1,'Remote Services'],['../md__migration__guide.html#services-1',1,'Services'],['../md_1_8x__to2_8x__migration__guide.html#services',1,'Services']]], + ['services_20and_20characteristics_20needed_9',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], + ['setactivescan_10',['setActiveScan',['../class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910',1,'NimBLEScan']]], + ['setaddress_11',['setAddress',['../class_nim_b_l_e_ext_advertisement.html#a02fe1652f994e5bf76dc03381e47b39e',1,'NimBLEExtAdvertisement']]], + ['setadvertisementdata_12',['setAdvertisementData',['../class_nim_b_l_e_advertising.html#ab8afd94479ebac3996fa3712d3d92325',1,'NimBLEAdvertising']]], + ['setadvertisingcompletecallback_13',['setAdvertisingCompleteCallback',['../class_nim_b_l_e_advertising.html#a3e81d7d3aa2b72b8db58427d4a42727b',1,'NimBLEAdvertising']]], + ['setadvertisinginterval_14',['setAdvertisingInterval',['../class_nim_b_l_e_advertising.html#a28c082bb540325ada66b4e203ae6998a',1,'NimBLEAdvertising']]], + ['setanonymous_15',['setAnonymous',['../class_nim_b_l_e_ext_advertisement.html#a1b1c9d52252b651163826b0c6c098439',1,'NimBLEExtAdvertisement']]], + ['setappearance_16',['setappearance',['../class_nim_b_l_e_advertisement_data.html#a63dca8c3219f682569db26eddbc8880c',1,'NimBLEAdvertisementData::setAppearance()'],['../class_nim_b_l_e_advertising.html#a1f4e1ae9552400fb2bb3cd73b2a483b0',1,'NimBLEAdvertising::setAppearance()'],['../class_nim_b_l_e_ext_advertisement.html#a048872d3793e7e0884f958b7c0719b9f',1,'NimBLEExtAdvertisement::setAppearance()']]], + ['setbatterylevel_17',['setBatteryLevel',['../class_nim_b_l_e_h_i_d_device.html#ab24968002ba94c2029e9d55364e1ec2b',1,'NimBLEHIDDevice']]], + ['setcallbacks_18',['setcallbacks',['../class_nim_b_l_e_characteristic.html#a29dc2505e1d3b4a7d6800d1547965d17',1,'NimBLECharacteristic::setCallbacks()'],['../class_nim_b_l_e_descriptor.html#aa9cb8727f9e17cf8050cf619e5fe3096',1,'NimBLEDescriptor::setCallbacks()'],['../class_nim_b_l_e_ext_advertising.html#add623162d46c952d692e26888c9f8826',1,'NimBLEExtAdvertising::setCallbacks()'],['../class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9',1,'NimBLEServer::setCallbacks()']]], + ['setclientcallbacks_19',['setClientCallbacks',['../class_nim_b_l_e_client.html#aeede4deef7421b9121387a786c07820c',1,'NimBLEClient']]], + ['setcompleteservices_20',['setcompleteservices',['../class_nim_b_l_e_advertisement_data.html#aafa437cd95751da68d6b8691ce3eea46',1,'NimBLEAdvertisementData::setCompleteServices()'],['../class_nim_b_l_e_ext_advertisement.html#af254895a52b1ee65f47ace003039514a',1,'NimBLEExtAdvertisement::setCompleteServices()']]], + ['setcompleteservices16_21',['setcompleteservices16',['../class_nim_b_l_e_advertisement_data.html#a89c45ddb804600bd6b6175687f6c1bb0',1,'NimBLEAdvertisementData::setCompleteServices16()'],['../class_nim_b_l_e_ext_advertisement.html#a1fd2471e3ffd6dca56133eeb195a7662',1,'NimBLEExtAdvertisement::setCompleteServices16()']]], + ['setcompleteservices32_22',['setcompleteservices32',['../class_nim_b_l_e_advertisement_data.html#aef5e7a5b2d3dd9c09b6a55582d7d22d6',1,'NimBLEAdvertisementData::setCompleteServices32()'],['../class_nim_b_l_e_ext_advertisement.html#aaaebae05827e8264f2ca6d4f23828bdf',1,'NimBLEExtAdvertisement::setCompleteServices32()']]], + ['setconfig_23',['setConfig',['../class_nim_b_l_e_client.html#ad89d8202400ecb573ce0e2ec5fc801dc',1,'NimBLEClient']]], + ['setconnectable_24',['setConnectable',['../class_nim_b_l_e_ext_advertisement.html#abd02fa34228263fef2d2b875e6576316',1,'NimBLEExtAdvertisement']]], + ['setconnectablemode_25',['setConnectableMode',['../class_nim_b_l_e_advertising.html#ae49d2bd91cabca46ec7c4bbd7fc49407',1,'NimBLEAdvertising']]], + ['setconnectionparams_26',['setConnectionParams',['../class_nim_b_l_e_client.html#a17718339f76eb621db0d7919c73b9267',1,'NimBLEClient']]], + ['setconnectphy_27',['setConnectPhy',['../class_nim_b_l_e_client.html#a004a85999b1ee4283e1e8e1e31090cca',1,'NimBLEClient']]], + ['setconnecttimeout_28',['setConnectTimeout',['../class_nim_b_l_e_client.html#aeb3675ab243ae6f0e4e7165cd07f7b80',1,'NimBLEClient']]], + ['setcount_29',['setCount',['../class_nim_b_l_e_eddystone_t_l_m.html#a6d033c09a513b2dfdad6f1b962b906a8',1,'NimBLEEddystoneTLM']]], + ['setcustomgaphandler_30',['setCustomGapHandler',['../class_nim_b_l_e_device.html#a179d1199badd67464cab921672a44405',1,'NimBLEDevice']]], + ['setdata_31',['setdata',['../class_nim_b_l_e_ext_advertisement.html#afbc963aac74110423c22537f905ca259',1,'NimBLEExtAdvertisement::setData()'],['../class_nim_b_l_e_beacon.html#ab6475aaa5d8a93e24401da3b4b272496',1,'NimBLEBeacon::setData(const uint8_t *data, uint8_t length)'],['../class_nim_b_l_e_beacon.html#ab204f2a919c5da7308e74bd3590a29c3',1,'NimBLEBeacon::setData(const BeaconData &data)'],['../class_nim_b_l_e_eddystone_t_l_m.html#a05989cc6df5d5dc423c878d2317ddb89',1,'NimBLEEddystoneTLM::setData(const uint8_t *data, uint8_t length)'],['../class_nim_b_l_e_eddystone_t_l_m.html#a394d96131aecd687905fbff05196d4e6',1,'NimBLEEddystoneTLM::setData(const BeaconData &data)']]], + ['setdatalen_32',['setdatalen',['../class_nim_b_l_e_client.html#a4e8b16bb2c8ba3534bbd04803a411911',1,'NimBLEClient::setDataLen()'],['../class_nim_b_l_e_server.html#afbffb933eed8142bd24222e3cacc138a',1,'NimBLEServer::setDataLen()']]], + ['setdefaultphy_33',['setDefaultPhy',['../class_nim_b_l_e_device.html#a0e021958df2f2dbf40e52b9022c37594',1,'NimBLEDevice']]], + ['setdescription_34',['setDescription',['../class_nim_b_l_e2904.html#a498c863cb3fbf92eecc23f9f8856037c',1,'NimBLE2904']]], + ['setdevicename_35',['setDeviceName',['../class_nim_b_l_e_device.html#aaa64b6baff54c010eb8b4d0ba338cc01',1,'NimBLEDevice']]], + ['setdirected_36',['setDirected',['../class_nim_b_l_e_ext_advertisement.html#af7a99ce4a6fab8034435e6719e27e934',1,'NimBLEExtAdvertisement']]], + ['setdirectedpeer_37',['setDirectedPeer',['../class_nim_b_l_e_ext_advertisement.html#a52ee2ff1ccd011ed3410d52c0518728e',1,'NimBLEExtAdvertisement']]], + ['setdiscoverablemode_38',['setDiscoverableMode',['../class_nim_b_l_e_advertising.html#a710eacfc97ecea1bf9a9a3569c58d410',1,'NimBLEAdvertising']]], + ['setduplicatefilter_39',['setDuplicateFilter',['../class_nim_b_l_e_scan.html#aabbf3f1804a844a7db0284ecc2b78408',1,'NimBLEScan']]], + ['setexponent_40',['setExponent',['../class_nim_b_l_e2904.html#ab1c53f99246f67dca1d63b812bef631d',1,'NimBLE2904']]], + ['setfilterpolicy_41',['setFilterPolicy',['../class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967',1,'NimBLEScan']]], + ['setflags_42',['setflags',['../class_nim_b_l_e_advertisement_data.html#a00c9c605b9a1054ad056fc0f0f7ebf0d',1,'NimBLEAdvertisementData::setFlags()'],['../class_nim_b_l_e_ext_advertisement.html#a0707d6393d91e1e8912cff65e3d030ca',1,'NimBLEExtAdvertisement::setFlags()']]], + ['setformat_43',['setFormat',['../class_nim_b_l_e2904.html#ab7f21651b4493fd3daaa0f1545032ff1',1,'NimBLE2904']]], + ['sethidinfo_44',['setHidInfo',['../class_nim_b_l_e_h_i_d_device.html#aea007674892608877cdbf9122208ba28',1,'NimBLEHIDDevice']]], + ['setinstancedata_45',['setInstanceData',['../class_nim_b_l_e_ext_advertising.html#afbb3b7ea90d4a5b84bdc796c5844203e',1,'NimBLEExtAdvertising']]], + ['setinterval_46',['setInterval',['../class_nim_b_l_e_scan.html#a4c3e1794c3e56acba76ee269ffb1393e',1,'NimBLEScan']]], + ['setlegacyadvertising_47',['setLegacyAdvertising',['../class_nim_b_l_e_ext_advertisement.html#a3a597fa81719aa3bbea590ee7b8c10fe',1,'NimBLEExtAdvertisement']]], + ['setlimitedonly_48',['setLimitedOnly',['../class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1',1,'NimBLEScan']]], + ['setmajor_49',['setMajor',['../class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea',1,'NimBLEBeacon']]], + ['setmanufacturer_50',['setManufacturer',['../class_nim_b_l_e_h_i_d_device.html#a35c42432a5a8f5b3286293bea1b9f397',1,'NimBLEHIDDevice']]], + ['setmanufacturerdata_51',['setmanufacturerdata',['../class_nim_b_l_e_advertisement_data.html#a9eb01ecb3973fa592effe6fdce39f602',1,'NimBLEAdvertisementData::setManufacturerData(const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertisement_data.html#a0b076298058755149b4351727d70b198',1,'NimBLEAdvertisementData::setManufacturerData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#a043d49566c5d7a3e0808554587ad051b',1,'NimBLEAdvertisementData::setManufacturerData(const std::string &data)'],['../class_nim_b_l_e_advertising.html#ac433e3458ac5259ae21c4bdbd1198781',1,'NimBLEAdvertising::setManufacturerData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertising.html#ac9f3a7270e1cefedf8547c5188d06120',1,'NimBLEAdvertising::setManufacturerData(const std::string &data)'],['../class_nim_b_l_e_advertising.html#aac1b5e560aa497a274985a22083bfc97',1,'NimBLEAdvertising::setManufacturerData(const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_ext_advertisement.html#a4d994e568031faf320eb988b9a2a372e',1,'NimBLEExtAdvertisement::setManufacturerData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_ext_advertisement.html#a97eb35f2d1942178bc56e1a13fc0fc8b',1,'NimBLEExtAdvertisement::setManufacturerData(const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a50dceb2c296b11957fc837a6dc420503',1,'NimBLEExtAdvertisement::setManufacturerData(const std::vector< uint8_t > &data)']]], + ['setmanufacturerid_52',['setManufacturerId',['../class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9',1,'NimBLEBeacon']]], + ['setmaxinterval_53',['setmaxinterval',['../class_nim_b_l_e_advertising.html#a97bf63603b9aabdf0a5284269dfc5549',1,'NimBLEAdvertising::setMaxInterval()'],['../class_nim_b_l_e_ext_advertisement.html#a4c339022b5523d20cc7fa956c5dbe1be',1,'NimBLEExtAdvertisement::setMaxInterval()']]], + ['setmaxresults_54',['setMaxResults',['../class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81',1,'NimBLEScan']]], + ['setmininterval_55',['setmininterval',['../class_nim_b_l_e_advertising.html#a6b5be947a5e188d512e3338d36a039cb',1,'NimBLEAdvertising::setMinInterval()'],['../class_nim_b_l_e_ext_advertisement.html#ae9777a0c544be6c674f4e39d56e930b8',1,'NimBLEExtAdvertisement::setMinInterval()']]], + ['setminor_56',['setMinor',['../class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e',1,'NimBLEBeacon']]], + ['setmtu_57',['setMTU',['../class_nim_b_l_e_device.html#a43b83de25635b69cfd663a7f0e7784d6',1,'NimBLEDevice']]], + ['setname_58',['setname',['../class_nim_b_l_e_advertisement_data.html#adf8f35c7735f8a29130482b302f04006',1,'NimBLEAdvertisementData::setName()'],['../class_nim_b_l_e_advertising.html#a7fb4b74eb7acb1f46e57ff772baccd88',1,'NimBLEAdvertising::setName()'],['../class_nim_b_l_e_ext_advertisement.html#a8388496cf91818138b10e898c7fc2bfc',1,'NimBLEExtAdvertisement::setName()']]], + ['setnamespace_59',['setNamespace',['../class_nim_b_l_e2904.html#a2206274c217d43a8ba121e1d279f8962',1,'NimBLE2904']]], + ['setownaddr_60',['setownaddr',['../class_nim_b_l_e_device.html#a0f6521729222f9e55e40325824786070',1,'NimBLEDevice::setOwnAddr(const NimBLEAddress &addr)'],['../class_nim_b_l_e_device.html#a462f908708d9eff0562447197cee5d16',1,'NimBLEDevice::setOwnAddr(const uint8_t *addr)']]], + ['setownaddrtype_61',['setOwnAddrType',['../class_nim_b_l_e_device.html#a31acb43c150014f06bad74b57c2335ff',1,'NimBLEDevice']]], + ['setpartialservices_62',['setpartialservices',['../class_nim_b_l_e_advertisement_data.html#a0a4102da7495d39e8a0033e1661b76a6',1,'NimBLEAdvertisementData::setPartialServices()'],['../class_nim_b_l_e_ext_advertisement.html#a45a7838bb2ca27edac22b02d77072e3c',1,'NimBLEExtAdvertisement::setPartialServices()']]], + ['setpartialservices16_63',['setpartialservices16',['../class_nim_b_l_e_advertisement_data.html#a91671d595cfed4547df670884633a7a4',1,'NimBLEAdvertisementData::setPartialServices16()'],['../class_nim_b_l_e_ext_advertisement.html#ad968d1999c50acd24170be9d8d3ba095',1,'NimBLEExtAdvertisement::setPartialServices16()']]], + ['setpartialservices32_64',['setpartialservices32',['../class_nim_b_l_e_advertisement_data.html#a736480e1e778ed93890d2071f558f186',1,'NimBLEAdvertisementData::setPartialServices32()'],['../class_nim_b_l_e_ext_advertisement.html#a1ef0dd63c99b5cab049a61c75c8e1ac2',1,'NimBLEExtAdvertisement::setPartialServices32()']]], + ['setpeeraddress_65',['setPeerAddress',['../class_nim_b_l_e_client.html#a89d5aee4deaba953b8f77af75e3ee910',1,'NimBLEClient']]], + ['setperiod_66',['setPeriod',['../class_nim_b_l_e_scan.html#aaace4d0b128b6294276347f6790f3f8b',1,'NimBLEScan']]], + ['setphy_67',['setPhy',['../class_nim_b_l_e_scan.html#a17f2f775b5e6793f06a412f840d5dceb',1,'NimBLEScan']]], + ['setpnp_68',['setPnp',['../class_nim_b_l_e_h_i_d_device.html#ab0495fb5fbee85277a14a0b9476a0239',1,'NimBLEHIDDevice']]], + ['setpower_69',['setPower',['../class_nim_b_l_e_device.html#a2b45ce364bf3ee69959389c8cc70249c',1,'NimBLEDevice']]], + ['setpreferredparams_70',['setpreferredparams',['../class_nim_b_l_e_ext_advertisement.html#a2d95f2975f229386023348749305df43',1,'NimBLEExtAdvertisement::setPreferredParams()'],['../class_nim_b_l_e_advertising.html#a9dbb66ca66aa040731fcfd737f881469',1,'NimBLEAdvertising::setPreferredParams()'],['../class_nim_b_l_e_advertisement_data.html#acee3a78f4c8d69a1dc3df1f9af16632f',1,'NimBLEAdvertisementData::setPreferredParams()']]], + ['setprimarychannels_71',['setPrimaryChannels',['../class_nim_b_l_e_ext_advertisement.html#ab6103c5e86949d0e334101353b109775',1,'NimBLEExtAdvertisement']]], + ['setprimaryphy_72',['setPrimaryPhy',['../class_nim_b_l_e_ext_advertisement.html#ad8522542b90067e3a53076823d2087c3',1,'NimBLEExtAdvertisement']]], + ['setproximityuuid_73',['setProximityUUID',['../class_nim_b_l_e_beacon.html#a7f33ffc298285d1ab02088b2584f2256',1,'NimBLEBeacon']]], + ['setremoved_74',['setRemoved',['../class_nim_b_l_e_local_attribute.html#a4d8b3828536a49051311bc236157a8a4',1,'NimBLELocalAttribute']]], + ['setreportmap_75',['setReportMap',['../class_nim_b_l_e_h_i_d_device.html#abdc7efa80e3a1cc9c35bcce012c1d37c',1,'NimBLEHIDDevice']]], + ['setscancallbacks_76',['setScanCallbacks',['../class_nim_b_l_e_scan.html#a3b0d41fc5d9113a02357c1b2a43c5d1d',1,'NimBLEScan']]], + ['setscanfilter_77',['setscanfilter',['../class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790',1,'NimBLEAdvertising::setScanFilter()'],['../class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138',1,'NimBLEExtAdvertisement::setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)']]], + ['setscannable_78',['setScannable',['../class_nim_b_l_e_ext_advertisement.html#adc868da6e3e33c3e21f78ac386e9eb50',1,'NimBLEExtAdvertisement']]], + ['setscanresponsedata_79',['setscanresponsedata',['../class_nim_b_l_e_ext_advertising.html#ac669489f8d7d67fe8dfc48ef15c7985f',1,'NimBLEExtAdvertising::setScanResponseData()'],['../class_nim_b_l_e_advertising.html#a97798e6d9d7721eb588c5e67d54e97ef',1,'NimBLEAdvertising::setScanResponseData()']]], + ['setsecondaryphy_80',['setSecondaryPhy',['../class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506',1,'NimBLEExtAdvertisement']]], + ['setsecurityauth_81',['setsecurityauth',['../class_nim_b_l_e_device.html#aa8e340c02418771ce72dec758d560938',1,'NimBLEDevice::setSecurityAuth(bool bonding, bool mitm, bool sc)'],['../class_nim_b_l_e_device.html#abbf642ac4ce4023c7c4d9a1e4333b328',1,'NimBLEDevice::setSecurityAuth(uint8_t auth)']]], + ['setsecurityinitkey_82',['setSecurityInitKey',['../class_nim_b_l_e_device.html#ab0a29a11f71d3ba32645c096067a853b',1,'NimBLEDevice']]], + ['setsecurityiocap_83',['setSecurityIOCap',['../class_nim_b_l_e_device.html#ab9fee9e810d5fa18bc8a37053eb9b5d0',1,'NimBLEDevice']]], + ['setsecuritypasskey_84',['setSecurityPasskey',['../class_nim_b_l_e_device.html#ab62da4d606355b20539e37e881f4044d',1,'NimBLEDevice']]], + ['setsecurityrespkey_85',['setSecurityRespKey',['../class_nim_b_l_e_device.html#ab769a5f5afb3ee486527d41b8c445566',1,'NimBLEDevice']]], + ['setselfdelete_86',['setSelfDelete',['../class_nim_b_l_e_client.html#a665a5ef97b3ab0307bccc54872d3c218',1,'NimBLEClient']]], + ['setservicedata_87',['setservicedata',['../class_nim_b_l_e_advertisement_data.html#ae179e55a5a133a66858047b29343bd75',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_advertisement_data.html#a0399149f6359d33ca4781c8282844394',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#a2efe483f50ee2013d1eea015c90ba4f5',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertising.html#a815faed49fb4f29337fda94bd39c0bbc',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertising.html#a708384c4b9af3006893afbdef74362bc',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_advertising.html#a65123182c5218758433e4acf0432fc84',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_ext_advertisement.html#a2bcfe468c00347e93c0f4ac2b46654be',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_ext_advertisement.html#a56418c5b331cecae3c5b644567329c56',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a6f4e01c26ab1d26123d81dfbc0f6f9f8',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)']]], + ['setshortname_88',['setshortname',['../class_nim_b_l_e_advertisement_data.html#a32922b53631443b92463c8942b8d0839',1,'NimBLEAdvertisementData::setShortName()'],['../class_nim_b_l_e_ext_advertisement.html#a4f8da0cb7cf2b3e18543e78b15b46918',1,'NimBLEExtAdvertisement::setShortName()']]], + ['setsignalpower_89',['setSignalPower',['../class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0',1,'NimBLEBeacon']]], + ['settemp_90',['setTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#af5ff73359f3c7f7e76395d32f4efe575',1,'NimBLEEddystoneTLM']]], + ['settime_91',['setTime',['../class_nim_b_l_e_eddystone_t_l_m.html#a999d53f4bad59c2ebc688403f66474b1',1,'NimBLEEddystoneTLM']]], + ['settxpower_92',['setTxPower',['../class_nim_b_l_e_ext_advertisement.html#a63c2f5900752edad428304c5342b8458',1,'NimBLEExtAdvertisement']]], + ['setunit_93',['setUnit',['../class_nim_b_l_e2904.html#ad0cf78a2a1c3418be9a39beaa0c826ee',1,'NimBLE2904']]], + ['seturi_94',['seturi',['../class_nim_b_l_e_advertisement_data.html#a852969e05a7884faf6cfcd2001f80ec9',1,'NimBLEAdvertisementData::setURI()'],['../class_nim_b_l_e_advertising.html#a9fe23a52ac3f699095d84d2ba8f90c28',1,'NimBLEAdvertising::setURI()'],['../class_nim_b_l_e_ext_advertisement.html#a691335b073c8385b3e2e75c6962fbe3f',1,'NimBLEExtAdvertisement::setURI()']]], + ['setuuid_95',['setUUID',['../class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291',1,'NimBLEEddystoneTLM']]], + ['setvalue_96',['setvalue',['../class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa',1,'NimBLEAttValue::setValue()'],['../class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed',1,'NimBLERemoteService::setValue()'],['../class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2',1,'NimBLEClient::setValue()'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#aade512f55c6f962941aee7078677356b',1,'NimBLEAttValue::setValue(const char *s, uint16_t len=0)']]], + ['setversion_97',['setVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63',1,'NimBLEEddystoneTLM']]], + ['setvolt_98',['setVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#ad69af8fe47502d922203916357f6c206',1,'NimBLEEddystoneTLM']]], + ['setwindow_99',['setWindow',['../class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316',1,'NimBLEScan']]], + ['size_100',['size',['../class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c',1,'NimBLEAttValue']]], + ['sponsors_101',['Sponsors',['../index.html#sponsors',1,'']]], + ['stack_20core_102',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['start_103',['start',['../class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb',1,'NimBLEServer::start()'],['../class_nim_b_l_e_advertising.html#a8a5c880ee36fd44e0c72c14c47c8e15e',1,'NimBLEAdvertising::start()'],['../class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a',1,'NimBLEExtAdvertising::start()'],['../class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c',1,'NimBLEScan::start()'],['../class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985',1,'NimBLEService::start()']]], + ['startadvertising_104',['startadvertising',['../class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33',1,'NimBLEServer::startAdvertising()'],['../class_nim_b_l_e_device.html#a48d43b8afd9dcdc0c6a5e1aeda715f00',1,'NimBLEDevice::startAdvertising()'],['../class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654',1,'NimBLEServer::startAdvertising()'],['../class_nim_b_l_e_device.html#a181ee3b2b143e50e216fc2728194ff85',1,'NimBLEDevice::startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)']]], + ['startsecurity_105',['startSecurity',['../class_nim_b_l_e_device.html#a8b6b4bedfe37725ed9c20e91a3470005',1,'NimBLEDevice']]], + ['startservices_106',['startServices',['../class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235',1,'NimBLEHIDDevice']]], + ['stop_107',['stop',['../class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1',1,'NimBLEScan::stop()'],['../class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109',1,'NimBLEExtAdvertising::stop()'],['../class_nim_b_l_e_ext_advertising.html#a1dd95b432a8dfdfda20974a25da21953',1,'NimBLEExtAdvertising::stop(uint8_t instId)'],['../class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800',1,'NimBLEAdvertising::stop()']]], + ['stopadvertising_108',['stopadvertising',['../class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6',1,'NimBLEServer::stopAdvertising() const'],['../class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681',1,'NimBLEServer::stopAdvertising(uint8_t instanceId) const'],['../class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629',1,'NimBLEDevice::stopAdvertising()'],['../class_nim_b_l_e_device.html#a1de5ed55c2b048c0281462d929a70aa2',1,'NimBLEDevice::stopAdvertising(uint8_t instId)']]], + ['strong_20breaking_20changes_20strong_109',['<strong>Breaking changes</strong>',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes',1,'']]], + ['subscribe_110',['subscribe',['../class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a',1,'NimBLERemoteCharacteristic']]] +]; diff --git a/search/all_16.js b/search/all_16.js new file mode 100644 index 0000000..e1a0ca4 --- /dev/null +++ b/search/all_16.js @@ -0,0 +1,18 @@ +var searchData= +[ + ['task_20running_20on_20the_20nimble_20stack_20core_0',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['taskrelease_1',['taskRelease',['../class_nim_b_l_e_utils.html#a7b2de1e3827f9f6750550623dc6d9288',1,'NimBLEUtils']]], + ['taskwait_2',['taskWait',['../class_nim_b_l_e_utils.html#a6b3a170f26ce51f353ff960f59739181',1,'NimBLEUtils']]], + ['the_20full_20list_20of_20properties_3',['The full list of properties',['../md__migration__guide.html#the-full-list-of-properties',1,'']]], + ['the_20library_4',['Using the Library',['../md__new__user__guide.html#using-the-library',1,'']]], + ['the_20nimble_20stack_20core_5',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['the_20services_20and_20characteristics_20needed_6',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], + ['them_7',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]], + ['there_20will_20be_20bugs_20please_20report_20them_8',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]], + ['tips_9',['Usage Tips',['../md__usage__tips.html',1,'']]], + ['to_202_20x_10',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['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_remote_characteristic.html#ad77a00c64a83dd58e985e3bbefd87ce2',1,'NimBLERemoteCharacteristic::toString()'],['../class_nim_b_l_e_remote_descriptor.html#aeea50cff665118bfa5ac755934755735',1,'NimBLERemoteDescriptor::toString()'],['../class_nim_b_l_e_remote_service.html#a347e848039121cbf3005349f9aa50680',1,'NimBLERemoteService::toString()'],['../class_nim_b_l_e_service.html#a819ff207ef7c30f59887af277aa09ce9',1,'NimBLEService::toString()'],['../class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64',1,'NimBLEUUID::toString()'],['../class_nim_b_l_e_ext_advertisement.html#a54d2bb1e314a975643bcd7d038f1c164',1,'NimBLEExtAdvertisement::toString()'],['../class_nim_b_l_e_eddystone_t_l_m.html#a970ba10424567d17c961ed3b3ef83d8e',1,'NimBLEEddystoneTLM::toString()'],['../class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961',1,'NimBLEDevice::toString()'],['../class_nim_b_l_e_characteristic.html#afd70c1d2f95f78e01dbdb92cd009559a',1,'NimBLECharacteristic::toString()'],['../class_nim_b_l_e_advertisement_data.html#a6ff7fc36a9f5966792f354d2586714a6',1,'NimBLEAdvertisementData::toString()'],['../class_nim_b_l_e_advertised_device.html#ad46b9300d435e3d20997fbafa5305148',1,'NimBLEAdvertisedDevice::toString()'],['../class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6',1,'NimBLEAddress::toString()'],['../class_nim_b_l_e_descriptor.html#a83b589a2022bbd86743b0ee4c3670a37',1,'NimBLEDescriptor::toString()'],['../class_nim_b_l_e_client.html#a8ead2efdfdf23db4f7847a133939cd75',1,'NimBLEClient::toString()']]] +]; diff --git a/search/all_17.js b/search/all_17.js new file mode 100644 index 0000000..f778391 --- /dev/null +++ b/search/all_17.js @@ -0,0 +1,14 @@ +var searchData= +[ + ['unless_20necessary_20or_20unused_0',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['unsubscribe_1',['unsubscribe',['../class_nim_b_l_e_remote_characteristic.html#a64a74ffc6612cf4a42f33836e34887f0',1,'NimBLERemoteCharacteristic']]], + ['unused_2',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['updateconnparams_3',['updateconnparams',['../class_nim_b_l_e_client.html#ad168d34de0f57f91824a78688b88b2b8',1,'NimBLEClient::updateConnParams()'],['../class_nim_b_l_e_server.html#a56add4759f7df045f51b70a026897975',1,'NimBLEServer::updateConnParams()']]], + ['updatephy_4',['updatephy',['../class_nim_b_l_e_client.html#a165957953c2773dacc6a203c969f6069',1,'NimBLEClient::updatePhy()'],['../class_nim_b_l_e_server.html#abfd159ff5f10848bd611733835ddf215',1,'NimBLEServer::updatePhy()']]], + ['usage_20tips_5',['Usage Tips',['../md__usage__tips.html',1,'']]], + ['user_20guide_6',['New User Guide',['../md__new__user__guide.html',1,'']]], + ['using_7',['Using',['../index.html#using',1,'']]], + ['using_20the_20library_8',['Using the Library',['../md__new__user__guide.html#using-the-library',1,'']]], + ['utilities_9',['Utilities',['../md_1_8x__to2_8x__migration__guide.html#utilities',1,'']]], + ['uuid_20s_10',['BLE UUID's',['../md_1_8x__to2_8x__migration__guide.html#ble-uuids',1,'']]] +]; diff --git a/search/all_18.js b/search/all_18.js new file mode 100644 index 0000000..a948e03 --- /dev/null +++ b/search/all_18.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['v4_200_0',['v4.0+',['../index.html#v40',1,'']]], + ['values_1',['Check return values',['../md__usage__tips.html#check-return-values',1,'']]] +]; diff --git a/search/all_19.js b/search/all_19.js new file mode 100644 index 0000000..daa4824 --- /dev/null +++ b/search/all_19.js @@ -0,0 +1,7 @@ +var searchData= +[ + ['what_20is_20nimble_0',['What is NimBLE?',['../index.html#what-is-nimble',1,'']]], + ['whitelistadd_1',['whiteListAdd',['../class_nim_b_l_e_device.html#aabc68166b6dd4a744a98f94e569f37db',1,'NimBLEDevice']]], + ['whitelistremove_2',['whiteListRemove',['../class_nim_b_l_e_device.html#a81abbad5e371fe1cdd91c002b42cc654',1,'NimBLEDevice']]], + ['will_20be_20bugs_20please_20report_20them_3',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]] +]; diff --git a/search/all_1a.js b/search/all_1a.js new file mode 100644 index 0000000..30568ae --- /dev/null +++ b/search/all_1a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['x_20features_0',['Bluetooth 5.x features',['../md__bluetooth_015_01features.html',1,'']]], + ['x_20to_202_20x_1',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]] +]; diff --git a/search/all_1b.js b/search/all_1b.js new file mode 100644 index 0000000..61cd114 --- /dev/null +++ b/search/all_1b.js @@ -0,0 +1,10 @@ +var searchData= +[ + ['_7enimbleattribute_0',['~NimBLEAttribute',['../class_nim_b_l_e_attribute.html#a8a060f480742cfb09ed47c1f5421d00f',1,'NimBLEAttribute']]], + ['_7enimbleattvalue_1',['~NimBLEAttValue',['../class_nim_b_l_e_att_value.html#a08f3b04d05cf0c2b76a24cc37cd1f8ab',1,'NimBLEAttValue']]], + ['_7enimblecharacteristic_2',['~NimBLECharacteristic',['../class_nim_b_l_e_characteristic.html#a7fe29c5ec571d0513c51b8cbac942f4a',1,'NimBLECharacteristic']]], + ['_7enimbleextadvertising_3',['~NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html#a477c57db99ce3b5e987d6838b661808f',1,'NimBLEExtAdvertising']]], + ['_7enimblelocalattribute_4',['~NimBLELocalAttribute',['../class_nim_b_l_e_local_attribute.html#af3a224e382c76e2bc2040d033e4f165b',1,'NimBLELocalAttribute']]], + ['_7enimbleservice_5',['~NimBLEService',['../class_nim_b_l_e_service.html#a8904838e785b967c770a240e6c5099e7',1,'NimBLEService']]], + ['_7enimbletaskdata_6',['~NimBLETaskData',['../struct_nim_b_l_e_task_data.html#af2d5d10d7cc8801cf4d001f89bf301c6',1,'NimBLETaskData']]] +]; diff --git a/search/all_2.html b/search/all_2.html deleted file mode 100644 index 02cfffc..0000000 --- a/search/all_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_2.js b/search/all_2.js index dd7fe21..61041c5 100644 --- a/search/all_2.js +++ b/search/all_2.js @@ -1,44 +1,22 @@ var searchData= [ - ['c_5fstr_18',['c_str',['../class_nim_b_l_e_att_value.html#aa2c18949ffc2e7d2d2f288c1b2b2f0ed',1,'NimBLEAttValue']]], - ['canbroadcast_19',['canBroadcast',['../class_nim_b_l_e_remote_characteristic.html#a7163009a9f0ff718b5856d19cb4a3568',1,'NimBLERemoteCharacteristic']]], - ['canindicate_20',['canIndicate',['../class_nim_b_l_e_remote_characteristic.html#a53322384b295a2548b3399e2c63d76f4',1,'NimBLERemoteCharacteristic']]], - ['cannotify_21',['canNotify',['../class_nim_b_l_e_remote_characteristic.html#a9c41acdbf23dc036f321d4f0a66d40d1',1,'NimBLERemoteCharacteristic']]], - ['canread_22',['canRead',['../class_nim_b_l_e_remote_characteristic.html#a0eb6655635394268a76c68e845d14135',1,'NimBLERemoteCharacteristic']]], - ['canwrite_23',['canWrite',['../class_nim_b_l_e_remote_characteristic.html#aae71c20d300ead52770e66fb8a1a47ea',1,'NimBLERemoteCharacteristic']]], - ['canwritenoresponse_24',['canWriteNoResponse',['../class_nim_b_l_e_remote_characteristic.html#a2614c7f437b52f385fc4fd29abe358eb',1,'NimBLERemoteCharacteristic']]], - ['capacity_25',['capacity',['../class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2',1,'NimBLEAttValue']]], - ['changelog_26',['Changelog',['../md__github_workspace__c_h_a_n_g_e_l_o_g.html',1,'']]], - ['checkconnparams_27',['checkConnParams',['../class_nim_b_l_e_utils.html#ae521f9a6363c03e42da2f76f64ea431e',1,'NimBLEUtils']]], - ['cleardata_28',['clearData',['../class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af',1,'NimBLEExtAdvertisement']]], - ['clearduplicatecache_29',['clearDuplicateCache',['../class_nim_b_l_e_scan.html#a6a97fd1c7f16fccd7f19994592b6dfe6',1,'NimBLEScan']]], - ['clearresults_30',['clearResults',['../class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b',1,'NimBLEScan']]], - ['config_5fbt_5fnimble_5fatt_5fpreferred_5fmtu_31',['CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU',['../nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5flog_5flevel_32',['CONFIG_BT_NIMBLE_LOG_LEVEL',['../nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmax_5fbonds_33',['CONFIG_BT_NIMBLE_MAX_BONDS',['../nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmax_5fcccds_34',['CONFIG_BT_NIMBLE_MAX_CCCDS',['../nimconfig_8h.html#abdc3219ca772a22427beed33477ea252',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmax_5fconnections_35',['CONFIG_BT_NIMBLE_MAX_CONNECTIONS',['../nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmem_5falloc_5fmode_5fexternal_36',['CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL',['../nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmsys1_5fblock_5fcount_37',['CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT',['../nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fpinned_5fto_5fcore_38',['CONFIG_BT_NIMBLE_PINNED_TO_CORE',['../nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frole_5fbroadcaster_5fdisabled_39',['CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED',['../nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frole_5fcentral_5fdisabled_40',['CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED',['../nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frole_5fobserver_5fdisabled_41',['CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED',['../nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frole_5fperipheral_5fdisabled_42',['CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED',['../nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frpa_5ftimeout_43',['CONFIG_BT_NIMBLE_RPA_TIMEOUT',['../nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fsvc_5fgap_5fappearance_44',['CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE',['../nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fsvc_5fgap_5fdevice_5fname_45',['CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME',['../nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5ftask_5fstack_5fsize_46',['CONFIG_BT_NIMBLE_TASK_STACK_SIZE',['../nimconfig_8h.html#a227a536958a284235daf409b2b3d1766',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fatt_5fvalue_5finit_5flength_47',['CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH',['../nimconfig_8h.html#a4d4ea715325f75455b43c7dbaa69d7a0',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fatt_5fvalue_5ftimestamp_5fenabled_48',['CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED',['../nimconfig_8h.html#abe2e5c7dbca929d3ed6cf70a73aced23',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fenable_5fadvertisment_5ftype_5ftext_49',['CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT',['../nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fenable_5fgap_5fevent_5fcode_5ftext_50',['CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT',['../nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fenable_5freturn_5fcode_5ftext_51',['CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT',['../nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5flog_5flevel_52',['CONFIG_NIMBLE_CPP_LOG_LEVEL',['../nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f',1,'nimconfig.h']]], - ['connect_53',['connect',['../class_nim_b_l_e_client.html#a026d7e04557b4821a7da2c1a1caa46eb',1,'NimBLEClient::connect(const NimBLEAddress &address, bool deleteAttributes=true)'],['../class_nim_b_l_e_client.html#ae9b3e8a9b47c7eaad040b485bda958a1',1,'NimBLEClient::connect(NimBLEAdvertisedDevice *device, bool deleteAttributes=true)'],['../class_nim_b_l_e_client.html#a1f9d4ad6d3d03b819bfad82d1f39b684',1,'NimBLEClient::connect(bool deleteAttributes=true)']]], - ['createcharacteristic_54',['createCharacteristic',['../class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763',1,'NimBLEService::createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad',1,'NimBLEService::createCharacteristic(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], - ['createclient_55',['createClient',['../class_nim_b_l_e_device.html#af8142995252f486916dbb9de2a5b0c9e',1,'NimBLEDevice']]], - ['createdescriptor_56',['createDescriptor',['../class_nim_b_l_e_characteristic.html#a1fc55adb9d62d8b5fe1be2b172686353',1,'NimBLECharacteristic::createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_characteristic.html#a67a1fb8bddfbd47007ccb8b6f5e5611a',1,'NimBLECharacteristic::createDescriptor(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], - ['createserver_57',['createServer',['../class_nim_b_l_e_device.html#a4d9780d0b5fafc279483822af802a508',1,'NimBLEDevice']]], - ['createservice_58',['createService',['../class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2',1,'NimBLEServer::createService(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35',1,'NimBLEServer::createService(const char *uuid)']]] + ['2_200_200_202024_2012_2014_0',['[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,'']]], + ['2_200_202021_2002_2008_1',['[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,'']]], + ['2_202020_2009_2013_2',['[1.0.2] - 2020-09-13',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md102---2020-09-13',1,'']]], + ['2_202022_2001_2015_3',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], + ['2_20x_4',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['20_5',['[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_6',['[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_7',['[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_8',['[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_9',['[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_10',['[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_11',['[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_12',['[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_13',['[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_14',['[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_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',1,'']]], + ['2022_2010_2030_16',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], + ['2024_2012_2014_17',['[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,'']]], + ['22_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,'']]] ]; diff --git a/search/all_3.html b/search/all_3.html deleted file mode 100644 index 39767b8..0000000 --- a/search/all_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_3.js b/search/all_3.js index 9a5089d..ada8ebb 100644 --- a/search/all_3.js +++ b/search/all_3.js @@ -1,20 +1,9 @@ var searchData= [ - ['data_59',['data',['../class_nim_b_l_e_att_value.html#a9e595630f7959b4002f6fb64c69ae123',1,'NimBLEAttValue']]], - ['deinit_60',['deinit',['../class_nim_b_l_e_device.html#ae95693ce0f5b8e784ea8e10834dd624c',1,'NimBLEDevice']]], - ['deleteallbonds_61',['deleteAllBonds',['../class_nim_b_l_e_device.html#ab436502ecd044f8b3480ec3e824e1418',1,'NimBLEDevice']]], - ['deletebond_62',['deleteBond',['../class_nim_b_l_e_device.html#a20fc979ec9dbad5cce7f73e41b2e422e',1,'NimBLEDevice']]], - ['deletecharacteristic_63',['deleteCharacteristic',['../class_nim_b_l_e_remote_service.html#a15b3b750b073f334c3be680a99ce2e02',1,'NimBLERemoteService']]], - ['deletecharacteristics_64',['deleteCharacteristics',['../class_nim_b_l_e_remote_service.html#a221069047193f8d25f7112b44bbcb28f',1,'NimBLERemoteService']]], - ['deleteclient_65',['deleteClient',['../class_nim_b_l_e_device.html#a83aa0a3d9d57358d35082a442edf8549',1,'NimBLEDevice']]], - ['deletedescriptor_66',['deleteDescriptor',['../class_nim_b_l_e_remote_characteristic.html#aad0ba99cad9779b33ea7cd4e94349099',1,'NimBLERemoteCharacteristic']]], - ['deletedescriptors_67',['deleteDescriptors',['../class_nim_b_l_e_remote_characteristic.html#a5f0a51b4a7fb2244d236dcb96fcf5205',1,'NimBLERemoteCharacteristic']]], - ['deleteservice_68',['deleteService',['../class_nim_b_l_e_client.html#a0f940c51807469db1f1802b742180beb',1,'NimBLEClient']]], - ['deleteservices_69',['deleteServices',['../class_nim_b_l_e_client.html#a668d476de250055a106a9f46bb7719f3',1,'NimBLEClient']]], - ['deprecated_20list_70',['Deprecated List',['../deprecated.html',1,'']]], - ['deviceinfo_71',['deviceInfo',['../class_nim_b_l_e_h_i_d_device.html#a033c4ad91f1bc165ac6a322b4dcc1699',1,'NimBLEHIDDevice']]], - ['disconnect_72',['disconnect',['../class_nim_b_l_e_client.html#a5f77999664cc8a83f3cdb603ba4a5c8c',1,'NimBLEClient::disconnect()'],['../class_nim_b_l_e_server.html#a63c9dce5c4bbc1c6bc720b6c51bcf3e1',1,'NimBLEServer::disconnect()']]], - ['discoverattributes_73',['discoverAttributes',['../class_nim_b_l_e_client.html#a1019178a12799ca2c3a84f523b3a7db9',1,'NimBLEClient']]], - ['dump_74',['dump',['../class_nim_b_l_e_scan_results.html#a2bbead75105733d04796b69e10c56cd4',1,'NimBLEScanResults::dump()'],['../class_nim_b_l_e_service.html#a71488881933ae8adbf11c5986f9dfb75',1,'NimBLEService::dump()']]], - ['dumpgapevent_75',['dumpGapEvent',['../class_nim_b_l_e_utils.html#a27df310308e72c477a3fda7a65806e01',1,'NimBLEUtils']]] + ['3_200_202021_2008_2002_0',['[1.3.0] - 2021-08-02',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md130---2021-08-02',1,'']]], + ['3_201_202021_2008_2004_1',['[1.3.1] - 2021-08-04',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md131---2021-08-04',1,'']]], + ['3_202_202022_2001_2015_2',['[1.3.2] - 2022-01-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md132---2022-01-15',1,'']]], + ['3_203_202022_2002_2015_3',['[1.3.3] - 2022-02-15',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md133---2022-02-15',1,'']]], + ['30_4',['[1.4.1] - 2022-10-30',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md141---2022-10-30',1,'']]], + ['31_5',['[1.4.0] - 2022-07-31',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#autotoc_md140---2022-07-31',1,'']]] ]; diff --git a/search/all_4.html b/search/all_4.html deleted file mode 100644 index fc40463..0000000 --- a/search/all_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_4.js b/search/all_4.js index 85b2674..37a6cc5 100644 --- a/search/all_4.js +++ b/search/all_4.js @@ -1,7 +1,5 @@ var searchData= [ - ['enablescanrequestcallback_76',['enableScanRequestCallback',['../class_nim_b_l_e_ext_advertisement.html#aaf6c44bc23f03a72bc02c3d45a9adf1d',1,'NimBLEExtAdvertisement']]], - ['end_77',['end',['../class_nim_b_l_e_att_value.html#a4f797f89e9c2d55dc7bee7ec8993952e',1,'NimBLEAttValue::end()'],['../class_nim_b_l_e_client.html#a0accd665926ea77d85ecb483b2b853fe',1,'NimBLEClient::end()'],['../class_nim_b_l_e_remote_characteristic.html#a333adea9c9f243774c6a2f13beabd873',1,'NimBLERemoteCharacteristic::end()'],['../class_nim_b_l_e_remote_service.html#a10fe635fe9a0661d26c33021faaec53b',1,'NimBLERemoteService::end()'],['../class_nim_b_l_e_scan_results.html#a44e183a7ce0c9fb587d11910ce5ef200',1,'NimBLEScanResults::end()']]], - ['equals_78',['equals',['../class_nim_b_l_e_address.html#a826fe8850cbc7d54f0696b8af4637169',1,'NimBLEAddress::equals()'],['../class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd',1,'NimBLEUUID::equals()']]], - ['erase_79',['erase',['../class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1',1,'NimBLEScan']]] + ['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,'']]] ]; diff --git a/search/all_5.html b/search/all_5.html deleted file mode 100644 index 9dd9344..0000000 --- a/search/all_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_5.js b/search/all_5.js index f9ddee4..2d3080b 100644 --- a/search/all_5.js +++ b/search/all_5.js @@ -1,5 +1,4 @@ var searchData= [ - ['featurereport_80',['featureReport',['../class_nim_b_l_e_h_i_d_device.html#a468e599c7d75e691f8d34e1b24db8a38',1,'NimBLEHIDDevice']]], - ['fromstring_81',['fromString',['../class_nim_b_l_e_u_u_i_d.html#ae09acdc52e23a3a38c57aaf859c278c2',1,'NimBLEUUID']]] + ['5_20x_20features_0',['Bluetooth 5.x features',['../md__bluetooth_015_01features.html',1,'']]] ]; diff --git a/search/all_6.html b/search/all_6.html deleted file mode 100644 index f1e516d..0000000 --- a/search/all_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_6.js b/search/all_6.js index 434dbd5..6ecf0ba 100644 --- a/search/all_6.js +++ b/search/all_6.js @@ -1,105 +1,25 @@ var searchData= [ - ['gapeventtostring_82',['gapEventToString',['../class_nim_b_l_e_utils.html#afb2df39418324f93a2477e314883ccae',1,'NimBLEUtils']]], - ['getaddress_83',['getAddress',['../class_nim_b_l_e_advertised_device.html#aa60721a7b5b44a3bb66980f003517579',1,'NimBLEAdvertisedDevice::getAddress()'],['../class_nim_b_l_e_device.html#a77f9f343143d4f074ffb545dd14cbb2b',1,'NimBLEDevice::getAddress()'],['../class_nim_b_l_e_conn_info.html#af17023ca06c3d1b9e142dcd5f8c54847',1,'NimBLEConnInfo::getAddress()']]], - ['getaddresstype_84',['getAddressType',['../class_nim_b_l_e_advertised_device.html#afc79cdc087c81b34643d70c8259eb9a3',1,'NimBLEAdvertisedDevice']]], - ['getadvertising_85',['getAdvertising',['../class_nim_b_l_e_server.html#ab41d8bb9b334734f95a726f1e15200fc',1,'NimBLEServer::getAdvertising()'],['../class_nim_b_l_e_device.html#aa994b01b2b5bb9f677f3cffb2f05d140',1,'NimBLEDevice::getAdvertising()']]], - ['getadvinterval_86',['getAdvInterval',['../class_nim_b_l_e_advertised_device.html#a9a7a36e9937e16ffab4f1543ea54073f',1,'NimBLEAdvertisedDevice']]], - ['getadvlength_87',['getAdvLength',['../class_nim_b_l_e_advertised_device.html#ae960e43434bf62ec83e9230d7bf7046c',1,'NimBLEAdvertisedDevice']]], - ['getadvtype_88',['getAdvType',['../class_nim_b_l_e_advertised_device.html#a9d07ee4c38de4170db24a5e01663ee6d',1,'NimBLEAdvertisedDevice']]], - ['getappearance_89',['getAppearance',['../class_nim_b_l_e_advertised_device.html#a228afa5e43421b4d96d9c08241718309',1,'NimBLEAdvertisedDevice']]], - ['getbondedaddress_90',['getBondedAddress',['../class_nim_b_l_e_device.html#ac7f090f4b1a2d593f38b20859e071f0c',1,'NimBLEDevice']]], - ['getcallbacks_91',['getCallbacks',['../class_nim_b_l_e_characteristic.html#a1747ac4889c7adbb93a2d88a10327a47',1,'NimBLECharacteristic']]], - ['getcharacteristic_92',['getCharacteristic',['../class_nim_b_l_e_client.html#a2fc46f43a71dd0df63a377961baf8009',1,'NimBLEClient::getCharacteristic()'],['../class_nim_b_l_e_descriptor.html#a412b3735186d94e9ddcf37a06c2055e1',1,'NimBLEDescriptor::getCharacteristic()'],['../class_nim_b_l_e_remote_service.html#ab12d195a2239a3808d60457184f0c487',1,'NimBLERemoteService::getCharacteristic(const char *uuid)'],['../class_nim_b_l_e_remote_service.html#a7ff4fc7bfb77adc33003dd6eb8e16957',1,'NimBLERemoteService::getCharacteristic(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_service.html#a305b680286096638a4239620ec2de567',1,'NimBLEService::getCharacteristic(const char *uuid, uint16_t instanceId=0)'],['../class_nim_b_l_e_service.html#adfc4e67f79aaabc8f2c6bdb5c6966609',1,'NimBLEService::getCharacteristic(const NimBLEUUID &uuid, uint16_t instanceId=0)']]], - ['getcharacteristicbyhandle_93',['getCharacteristicByHandle',['../class_nim_b_l_e_service.html#a35b56ab3ef7fffb2b299f95d3176d07e',1,'NimBLEService']]], - ['getcharacteristics_94',['getCharacteristics',['../class_nim_b_l_e_service.html#a55724788b3bf4614995ea656bf8fe1bb',1,'NimBLEService::getCharacteristics(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_service.html#a24cf868e9eec7b5ecdf1e88d257e91d9',1,'NimBLEService::getCharacteristics(const char *uuid)'],['../class_nim_b_l_e_remote_service.html#a2c9e91c842598a6a9576c7b87af0863a',1,'NimBLERemoteService::getCharacteristics()'],['../class_nim_b_l_e_service.html#aa2cba47cb4c935e15c77707643e5e9a5',1,'NimBLEService::getCharacteristics()']]], - ['getclient_95',['getClient',['../class_nim_b_l_e_remote_service.html#a3d1e7db457a9f3774eaa5e641dcc716e',1,'NimBLERemoteService']]], - ['getclientbyid_96',['getClientByID',['../class_nim_b_l_e_device.html#ac7adcd510eef2b9546bcde9a253e56a9',1,'NimBLEDevice']]], - ['getclientbypeeraddress_97',['getClientByPeerAddress',['../class_nim_b_l_e_device.html#ac4dbadc7fc170993e41532f675786504',1,'NimBLEDevice']]], - ['getclientlist_98',['getClientList',['../class_nim_b_l_e_device.html#a1a6fb5e8f0e2cdc012ebae4fb4d12fd0',1,'NimBLEDevice']]], - ['getclientlistsize_99',['getClientListSize',['../class_nim_b_l_e_device.html#abe21dcac43493689a06bc6ddb91b6faf',1,'NimBLEDevice']]], - ['getconnectedcount_100',['getConnectedCount',['../class_nim_b_l_e_server.html#a98ea12f57c10c0477b0c1c5efab23ee5',1,'NimBLEServer']]], - ['getconnhandle_101',['getConnHandle',['../class_nim_b_l_e_conn_info.html#a77e212f3e236b05da0978ea482e3efb4',1,'NimBLEConnInfo']]], - ['getconnid_102',['getConnId',['../class_nim_b_l_e_client.html#aa09466a7050bf08bab2390da66007896',1,'NimBLEClient']]], - ['getconninfo_103',['getConnInfo',['../class_nim_b_l_e_client.html#a566207f548c6b799792fc092f1748267',1,'NimBLEClient']]], - ['getconninterval_104',['getConnInterval',['../class_nim_b_l_e_conn_info.html#aa43374d84b7564f6d187fd0c637b1049',1,'NimBLEConnInfo']]], - ['getconnlatency_105',['getConnLatency',['../class_nim_b_l_e_conn_info.html#a10c6093ca2f92ea61b82815909106430',1,'NimBLEConnInfo']]], - ['getconntimeout_106',['getConnTimeout',['../class_nim_b_l_e_conn_info.html#a8e885d340f1ab4e477c69ed7ea99b082',1,'NimBLEConnInfo']]], - ['getcount_107',['getCount',['../class_nim_b_l_e_eddystone_t_l_m.html#a556a6b6a75693997390f3bacf6e5ca5e',1,'NimBLEEddystoneTLM::getCount()'],['../class_nim_b_l_e_scan_results.html#ae4796dd6ce1845c46f66bc1a36ad746a',1,'NimBLEScanResults::getCount()']]], - ['getdata_108',['getData',['../class_nim_b_l_e_eddystone_u_r_l.html#ac32c7066ce1ee8d495a35ec870f0e7bf',1,'NimBLEEddystoneURL::getData()'],['../class_nim_b_l_e_beacon.html#ae2458f7db169b696e6368802d5ece0d9',1,'NimBLEBeacon::getData()'],['../class_nim_b_l_e_eddystone_t_l_m.html#ae146a8f066ef3fc6994070654ec5d7ea',1,'NimBLEEddystoneTLM::getData()']]], - ['getdatalength_109',['getDataLength',['../class_nim_b_l_e_characteristic.html#a580ad0133fd82a673027c91cbb1c74fa',1,'NimBLECharacteristic']]], - ['getdatasize_110',['getDataSize',['../class_nim_b_l_e_ext_advertisement.html#aec383f3f61780ee5bda3599543c84dd8',1,'NimBLEExtAdvertisement']]], - ['getdecodedurl_111',['getDecodedURL',['../class_nim_b_l_e_eddystone_u_r_l.html#a8b68cc96a84da85e20d8583ba375c2ff',1,'NimBLEEddystoneURL']]], - ['getdefhandle_112',['getDefHandle',['../class_nim_b_l_e_remote_characteristic.html#aebbcd36740e49d7e29eb5b21d6802380',1,'NimBLERemoteCharacteristic']]], - ['getdescriptor_113',['getDescriptor',['../class_nim_b_l_e_remote_characteristic.html#a6178e1c58361b957be3c48548c1c4366',1,'NimBLERemoteCharacteristic']]], - ['getdescriptorbyhandle_114',['getDescriptorByHandle',['../class_nim_b_l_e_characteristic.html#a062f52918f13c49a37ce8e58b9e7382a',1,'NimBLECharacteristic']]], - ['getdescriptorbyuuid_115',['getDescriptorByUUID',['../class_nim_b_l_e_characteristic.html#abc5f4819e4d2c0956857ddd7a1064189',1,'NimBLECharacteristic::getDescriptorByUUID(const char *uuid)'],['../class_nim_b_l_e_characteristic.html#ae310b081d2d7d2a52ab2ddc11d5dbd99',1,'NimBLECharacteristic::getDescriptorByUUID(const NimBLEUUID &uuid)']]], - ['getdescriptors_116',['getDescriptors',['../class_nim_b_l_e_remote_characteristic.html#acf11d225fe5a25327742349e9d6061f9',1,'NimBLERemoteCharacteristic']]], - ['getdevice_117',['getDevice',['../class_nim_b_l_e_scan_results.html#a68aa3ebffb1be785497f228c1d11e500',1,'NimBLEScanResults::getDevice(uint32_t i)'],['../class_nim_b_l_e_scan_results.html#ac2356f6c1b8384ebc061d4b7953a9374',1,'NimBLEScanResults::getDevice(const NimBLEAddress &address)']]], - ['getdisconnectedclient_118',['getDisconnectedClient',['../class_nim_b_l_e_device.html#a10aec48b56ef404f42ade96d6244b312',1,'NimBLEDevice']]], - ['gethandle_119',['getHandle',['../class_nim_b_l_e_characteristic.html#acc3ea122771cd447103adfce22537379',1,'NimBLECharacteristic::getHandle()'],['../class_nim_b_l_e_descriptor.html#a486af6799753dfa60b3faddfac2adbcd',1,'NimBLEDescriptor::getHandle()'],['../class_nim_b_l_e_remote_characteristic.html#ab46121a8f5000c40d521e7ee5d92bee6',1,'NimBLERemoteCharacteristic::getHandle()'],['../class_nim_b_l_e_remote_descriptor.html#ab8a774ebc69c0fb7ea17f926a82dba21',1,'NimBLERemoteDescriptor::getHandle()'],['../class_nim_b_l_e_service.html#a86d65ef61a77bdd660632b4041c2b640',1,'NimBLEService::getHandle()']]], - ['getidaddress_120',['getIdAddress',['../class_nim_b_l_e_conn_info.html#a7bc23f09eb7dd53be902cb67d2ba745a',1,'NimBLEConnInfo']]], - ['getinitialized_121',['getInitialized',['../class_nim_b_l_e_device.html#ad6eda512195c7cbe249a1edbb99510cd',1,'NimBLEDevice']]], - ['getlasterror_122',['getLastError',['../class_nim_b_l_e_client.html#a178d06bed13028e4ae0384923062d18d',1,'NimBLEClient']]], - ['getlength_123',['getLength',['../class_nim_b_l_e_descriptor.html#a378346f59afb706d4c1d961227b98c5d',1,'NimBLEDescriptor']]], - ['getmajor_124',['getMajor',['../class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c',1,'NimBLEBeacon']]], - ['getmanufacturerdata_125',['getManufacturerData',['../class_nim_b_l_e_advertised_device.html#afa334006230601cc5c6429b18819a2e2',1,'NimBLEAdvertisedDevice::getManufacturerData()'],['../class_nim_b_l_e_advertised_device.html#ae9a586e46a555cf5fc817c9fe301b295',1,'NimBLEAdvertisedDevice::getManufacturerData(bool skipSizeCheck=false)']]], - ['getmanufacturerid_126',['getManufacturerId',['../class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40',1,'NimBLEBeacon']]], - ['getmaxinterval_127',['getMaxInterval',['../class_nim_b_l_e_advertised_device.html#a450eca96c605f199d2786a044612db17',1,'NimBLEAdvertisedDevice']]], - ['getmininterval_128',['getMinInterval',['../class_nim_b_l_e_advertised_device.html#a33fcdc3bf5107c157b10ad4519938c9f',1,'NimBLEAdvertisedDevice']]], - ['getminor_129',['getMinor',['../class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788',1,'NimBLEBeacon']]], - ['getmtu_130',['getMTU',['../class_nim_b_l_e_client.html#ab971537eec4e53d621598eb1c760af3a',1,'NimBLEClient::getMTU()'],['../class_nim_b_l_e_conn_info.html#a94796b6446ef40c0ae0d1f8af1ff9462',1,'NimBLEConnInfo::getMTU()'],['../class_nim_b_l_e_device.html#a5520cf3f544d571636eed162de394ec2',1,'NimBLEDevice::getMTU()']]], - ['getname_131',['getName',['../class_nim_b_l_e_advertised_device.html#ae6c6b48369d71a5998c1393c0d6a0179',1,'NimBLEAdvertisedDevice']]], - ['getnative_132',['getNative',['../class_nim_b_l_e_address.html#adef69a03a08303957d7e40eef07b4d80',1,'NimBLEAddress::getNative()'],['../class_nim_b_l_e_u_u_i_d.html#a62e8e924f971c62cc42760d8c7dd6f28',1,'NimBLEUUID::getNative()']]], - ['getnumbonds_133',['getNumBonds',['../class_nim_b_l_e_device.html#a7fe0f568c17130150660e6307851be48',1,'NimBLEDevice']]], - ['getpayload_134',['getPayload',['../class_nim_b_l_e_advertised_device.html#afacf7717a15b36af184cd957d397e384',1,'NimBLEAdvertisedDevice::getPayload()'],['../class_nim_b_l_e_advertisement_data.html#acbd638708c8b8b4663c09107bc38feb1',1,'NimBLEAdvertisementData::getPayload()']]], - ['getpayloadlength_135',['getPayloadLength',['../class_nim_b_l_e_advertised_device.html#ac7879f4aa0f2b069b1d3aff4809ae62c',1,'NimBLEAdvertisedDevice']]], - ['getpeeraddress_136',['getPeerAddress',['../class_nim_b_l_e_client.html#a0477ba593f0b7c0cfc4697efdba703eb',1,'NimBLEClient']]], - ['getpeerdevices_137',['getPeerDevices',['../class_nim_b_l_e_server.html#ab95c428ddc94eb019a26d91e70f5974b',1,'NimBLEServer']]], - ['getpeeridinfo_138',['getPeerIDInfo',['../class_nim_b_l_e_server.html#ad241eb42e9775fb2f8aaa87c9fb9a76b',1,'NimBLEServer']]], - ['getpeerinfo_139',['getPeerInfo',['../class_nim_b_l_e_server.html#a347c74f4ad6e2bcc2e301da11ae13e91',1,'NimBLEServer::getPeerInfo(size_t index)'],['../class_nim_b_l_e_server.html#ad91fbcb2717aa1969329f365692e1072',1,'NimBLEServer::getPeerInfo(const NimBLEAddress &address)']]], - ['getpeermtu_140',['getPeerMTU',['../class_nim_b_l_e_server.html#a9eb1f32b72ac93736585d6d89f393021',1,'NimBLEServer']]], - ['getperiodicinterval_141',['getPeriodicInterval',['../class_nim_b_l_e_advertised_device.html#ad9c5b9ffda267ddbcaef6b0f236846f9',1,'NimBLEAdvertisedDevice']]], - ['getpower_142',['getPower',['../class_nim_b_l_e_eddystone_u_r_l.html#a42583c740bbdb9591422e8770f8bd0d5',1,'NimBLEEddystoneURL']]], - ['getprimaryphy_143',['getPrimaryPhy',['../class_nim_b_l_e_advertised_device.html#a9b4ad695a4f035512d4d17313d8c5d3b',1,'NimBLEAdvertisedDevice']]], - ['getproperties_144',['getProperties',['../class_nim_b_l_e_characteristic.html#a79759a98d9bdb761cb12c1ea6f601afc',1,'NimBLECharacteristic']]], - ['getproximityuuid_145',['getProximityUUID',['../class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad',1,'NimBLEBeacon']]], - ['getremotecharacteristic_146',['getRemoteCharacteristic',['../class_nim_b_l_e_remote_descriptor.html#a529e80c6731f68f3598e015df7618cfe',1,'NimBLERemoteDescriptor']]], - ['getremoteservice_147',['getRemoteService',['../class_nim_b_l_e_remote_characteristic.html#a943183a55b020de9e09ac2cfaebcde32',1,'NimBLERemoteCharacteristic']]], - ['getresults_148',['getResults',['../class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61',1,'NimBLEScan']]], - ['getrssi_149',['getRssi',['../class_nim_b_l_e_client.html#ae216993cf4eeb5780a104a8b14044f78',1,'NimBLEClient']]], - ['getrssi_150',['getRSSI',['../class_nim_b_l_e_advertised_device.html#acd42dfbc92a43fc90e933df975c029f3',1,'NimBLEAdvertisedDevice']]], - ['getscan_151',['getScan',['../class_nim_b_l_e_advertised_device.html#ad3931c72aaded3b594896c29b3691562',1,'NimBLEAdvertisedDevice::getScan()'],['../class_nim_b_l_e_device.html#af93d92316454b051125460056368baec',1,'NimBLEDevice::getScan()']]], - ['getseckeysize_152',['getSecKeySize',['../class_nim_b_l_e_conn_info.html#a278a8456f9d7df9cea7d776e61b36782',1,'NimBLEConnInfo']]], - ['getsecondaryphy_153',['getSecondaryPhy',['../class_nim_b_l_e_advertised_device.html#a1efd77b20e3198ef148282bf75ff3e22',1,'NimBLEAdvertisedDevice']]], - ['getsecuritypasskey_154',['getSecurityPasskey',['../class_nim_b_l_e_device.html#aa03937eadda020643b536c5d08174d3a',1,'NimBLEDevice']]], - ['getserver_155',['getServer',['../class_nim_b_l_e_device.html#a41d4cc7c85cba0721c6649b001b31b4d',1,'NimBLEDevice::getServer()'],['../class_nim_b_l_e_service.html#af304386c4e067dd0eeb27b86c0e59d0f',1,'NimBLEService::getServer()']]], - ['getservice_156',['getService',['../class_nim_b_l_e_characteristic.html#a84aa251a612810ec8d07e77ab03cb483',1,'NimBLECharacteristic::getService()'],['../class_nim_b_l_e_client.html#ae22379ab10bd82932d2303fb3753c366',1,'NimBLEClient::getService(const char *uuid)'],['../class_nim_b_l_e_client.html#ad8ba10522d79af1136019606802f0978',1,'NimBLEClient::getService(const NimBLEUUID &uuid)']]], - ['getservicebyhandle_157',['getServiceByHandle',['../class_nim_b_l_e_server.html#a1ff39fc5235d1374d99b4f3d3acb5ddb',1,'NimBLEServer']]], - ['getservicebyuuid_158',['getServiceByUUID',['../class_nim_b_l_e_server.html#a87ebb3d230e98a6b3cf85bc403d227e0',1,'NimBLEServer::getServiceByUUID(const char *uuid, uint16_t instanceId=0)'],['../class_nim_b_l_e_server.html#ac28df6ead4d7151df3e84f4fa991eb1f',1,'NimBLEServer::getServiceByUUID(const NimBLEUUID &uuid, uint16_t instanceId=0)']]], - ['getservicedata_159',['getServiceData',['../class_nim_b_l_e_advertised_device.html#aecb3e30a94abd59401cafb70a5903abb',1,'NimBLEAdvertisedDevice::getServiceData(uint8_t index=0)'],['../class_nim_b_l_e_advertised_device.html#acf4398ca81f800445092ccc77deaf00b',1,'NimBLEAdvertisedDevice::getServiceData(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_advertised_device.html#a9017ce5b59bdae3cebf33c54f28cee70',1,'NimBLEAdvertisedDevice::getServiceData(uint8_t index=0, bool skipSizeCheck=false)'],['../class_nim_b_l_e_advertised_device.html#a9ca1c022e10764ec72850ff3a011b009',1,'NimBLEAdvertisedDevice::getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false)']]], - ['getservicedatacount_160',['getServiceDataCount',['../class_nim_b_l_e_advertised_device.html#a1602b70c37fb9a5f2f7ca4eacbf01091',1,'NimBLEAdvertisedDevice']]], - ['getservicedatauuid_161',['getServiceDataUUID',['../class_nim_b_l_e_advertised_device.html#a4f89e99dffdfde45c1cafff74a20a95f',1,'NimBLEAdvertisedDevice']]], - ['getservices_162',['getServices',['../class_nim_b_l_e_client.html#acb9007569b3bb13b3b49f3c4cb47b21a',1,'NimBLEClient']]], - ['getserviceuuid_163',['getServiceUUID',['../class_nim_b_l_e_advertised_device.html#ab53f862df15953d19ba7a45d4cf51b46',1,'NimBLEAdvertisedDevice']]], - ['getserviceuuidcount_164',['getServiceUUIDCount',['../class_nim_b_l_e_advertised_device.html#a5ca6792d1ee559470ae8edccc1aea20d',1,'NimBLEAdvertisedDevice']]], - ['getsetid_165',['getSetId',['../class_nim_b_l_e_advertised_device.html#a6361e2b275cc45578f1000b5fd1b3c29',1,'NimBLEAdvertisedDevice']]], - ['getsignalpower_166',['getSignalPower',['../class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668',1,'NimBLEBeacon']]], - ['getstringvalue_167',['getStringValue',['../class_nim_b_l_e_descriptor.html#a7153e051e5808469c23e2207fa6711db',1,'NimBLEDescriptor']]], - ['getsubscribedcount_168',['getSubscribedCount',['../class_nim_b_l_e_characteristic.html#aced225d46153b6969f6ded30c0190e39',1,'NimBLECharacteristic']]], - ['gettargetaddress_169',['getTargetAddress',['../class_nim_b_l_e_advertised_device.html#a599cad9a3f3d535049c87a911bc1b14d',1,'NimBLEAdvertisedDevice']]], - ['gettargetaddresscount_170',['getTargetAddressCount',['../class_nim_b_l_e_advertised_device.html#ae2256f6b4da4c11cf75cb773a6b7f223',1,'NimBLEAdvertisedDevice']]], - ['gettemp_171',['getTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#abda56940f7d9f7ccef2629b75880dd5f',1,'NimBLEEddystoneTLM']]], - ['gettime_172',['getTime',['../class_nim_b_l_e_eddystone_t_l_m.html#ab1c4a13c2f57a6e0293810dd09be3db3',1,'NimBLEEddystoneTLM']]], - ['gettimestamp_173',['getTimestamp',['../class_nim_b_l_e_advertised_device.html#a1855415f3c60bc88d62e9206fe6ed75a',1,'NimBLEAdvertisedDevice']]], - ['gettxpower_174',['getTXPower',['../class_nim_b_l_e_advertised_device.html#afee346437447173eed1b9edf1de70f34',1,'NimBLEAdvertisedDevice']]], - ['gettype_175',['getType',['../class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb',1,'NimBLEAddress']]], - ['geturi_176',['getURI',['../class_nim_b_l_e_advertised_device.html#ad65f8040a142f8d6d0763d4876f0d22e',1,'NimBLEAdvertisedDevice']]], - ['geturl_177',['getURL',['../class_nim_b_l_e_eddystone_u_r_l.html#a0109874399f3e70a72ee9f4a909710e1',1,'NimBLEEddystoneURL']]], - ['getuuid_178',['getUUID',['../class_nim_b_l_e_service.html#ab000b7d2b7dbb3978a5a8c1e17b1d649',1,'NimBLEService::getUUID()'],['../class_nim_b_l_e_remote_service.html#a565ed7d306645772d4e03ca65a07f7e5',1,'NimBLERemoteService::getUUID()'],['../class_nim_b_l_e_remote_descriptor.html#ace6b19cd3d9aa8226b4c17371616ad58',1,'NimBLERemoteDescriptor::getUUID()'],['../class_nim_b_l_e_eddystone_u_r_l.html#a1fde0fcf7d90f79e0eb718967518247a',1,'NimBLEEddystoneURL::getUUID()'],['../class_nim_b_l_e_eddystone_t_l_m.html#aa511375f22952c0f5846a51e6c2511c5',1,'NimBLEEddystoneTLM::getUUID()'],['../class_nim_b_l_e_descriptor.html#abc5398a570edc197fbadad3f5b45e186',1,'NimBLEDescriptor::getUUID()'],['../class_nim_b_l_e_characteristic.html#a28b03617fe753133582ba4e58c60e52e',1,'NimBLECharacteristic::getUUID()'],['../class_nim_b_l_e_remote_characteristic.html#ad62c63468995a24d736c4176c9607eeb',1,'NimBLERemoteCharacteristic::getUUID()']]], - ['getvalue_179',['getValue',['../class_nim_b_l_e_descriptor.html#a8f64c733c8848948fe9123bd7cd3fd53',1,'NimBLEDescriptor::getValue()'],['../class_nim_b_l_e_remote_service.html#a4a9b63b4e5cedb51a7748a88daeb518b',1,'NimBLERemoteService::getValue()'],['../class_nim_b_l_e_remote_characteristic.html#a74ad8484cbc88d8eb36d4684233c538b',1,'NimBLERemoteCharacteristic::getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)'],['../class_nim_b_l_e_remote_characteristic.html#a6d0779ffe7e89449121428e7fd6083d8',1,'NimBLERemoteCharacteristic::getValue(time_t *timestamp=nullptr)'],['../class_nim_b_l_e_descriptor.html#a61062547f21ca8e102ec5d8e0843c9f9',1,'NimBLEDescriptor::getValue()'],['../class_nim_b_l_e_client.html#a3903fb7589e2b8b781f8f81f9e0f2a83',1,'NimBLEClient::getValue()'],['../class_nim_b_l_e_characteristic.html#a7d09c29b26362f6ddcaf51a9c9dc8be4',1,'NimBLECharacteristic::getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)'],['../class_nim_b_l_e_characteristic.html#a78484a01350300176033a09180f7207f',1,'NimBLECharacteristic::getValue(time_t *timestamp=nullptr)'],['../class_nim_b_l_e_att_value.html#a1aca76279ea3f0d8cb06ff5540a326e3',1,'NimBLEAttValue::getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)'],['../class_nim_b_l_e_att_value.html#a60fb3dc7057d4ec800c3ef6fd2480a69',1,'NimBLEAttValue::getValue(time_t *timestamp)']]], - ['getversion_180',['getVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#ae9f17d2c1e4150775881babb73f0b10c',1,'NimBLEEddystoneTLM']]], - ['getvolt_181',['getVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#af9862f983df6f48a96220e936d13d17b',1,'NimBLEEddystoneTLM']]], - ['getwhitelistaddress_182',['getWhiteListAddress',['../class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789',1,'NimBLEDevice']]], - ['getwhitelistcount_183',['getWhiteListCount',['../class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0',1,'NimBLEDevice']]] + ['a_20client_0',['Creating a Client',['../md__new__user__guide.html#creating-a-client',1,'']]], + ['a_20server_1',['Creating a Server',['../md__new__user__guide.html#creating-a-server',1,'']]], + ['a_20task_20running_20on_20the_20nimble_20stack_20core_2',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['about_20extended_20advertising_3',['About extended advertising',['../md__bluetooth_015_01features.html#about-extended-advertising',1,'']]], + ['acknowledgments_4',['Acknowledgments',['../index.html#acknowledgments',1,'']]], + ['addcharacteristic_5',['addCharacteristic',['../class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8',1,'NimBLEService']]], + ['adddata_6',['adddata',['../class_nim_b_l_e_advertisement_data.html#a67f4d6869eb2797bc78389adf20cb59e',1,'NimBLEAdvertisementData::addData()'],['../class_nim_b_l_e_ext_advertisement.html#ab387e2739a3b8b207b965ba0cda70595',1,'NimBLEExtAdvertisement::addData(const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a1f449f67deca3d7ef66c07d61c12d28e',1,'NimBLEExtAdvertisement::addData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#a051d8f4ae66d2caa39351af8277bf0ed',1,'NimBLEAdvertisementData::addData()']]], + ['adddescriptor_7',['addDescriptor',['../class_nim_b_l_e_characteristic.html#aed4b2241c89ad2a8f49117e2b9433e5b',1,'NimBLECharacteristic']]], + ['added_8',['added',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-7',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-6',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-5',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-4',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-3',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-2',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added-1',1,'Added'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#added',1,'Added']]], + ['addresses_9',['addresses',['../md__migration__guide.html#ble-addresses-1',1,'BLE Addresses'],['../md_1_8x__to2_8x__migration__guide.html#ble-addresses',1,'BLE Addresses']]], + ['addservice_10',['addService',['../class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56',1,'NimBLEServer']]], + ['addserviceuuid_11',['addserviceuuid',['../class_nim_b_l_e_advertisement_data.html#a4119cfc1dafeee9c32f9a08dbb213139',1,'NimBLEAdvertisementData::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_advertisement_data.html#acbea9f95711b329a427919ecd9cbeb23',1,'NimBLEAdvertisementData::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertising.html#a67c9589dff7e0ee3ec24f2c930d56c06',1,'NimBLEAdvertising::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertising.html#a1bacfa32690f7e0c6f1172ea03c68c0d',1,'NimBLEAdvertising::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_ext_advertisement.html#a0e7a8731b021ba8813a3a9024171e926',1,'NimBLEExtAdvertisement::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_ext_advertisement.html#a4b4bea2600ee592ffe6877fe8eac7872',1,'NimBLEExtAdvertisement::addServiceUUID(const char *serviceUUID)']]], + ['addtxpower_12',['addtxpower',['../class_nim_b_l_e_advertisement_data.html#a3f227c597ec00f639e4bd26b80ce404b',1,'NimBLEAdvertisementData::addTxPower()'],['../class_nim_b_l_e_advertising.html#a0d3c5cb3a93416a4206abb1f8e443ebf',1,'NimBLEAdvertising::addTxPower()'],['../class_nim_b_l_e_ext_advertisement.html#ac9f82eb0112544b977eb1947ed308525',1,'NimBLEExtAdvertisement::addTxPower()']]], + ['advertised_20device_13',['Advertised Device',['../md_1_8x__to2_8x__migration__guide.html#advertised-device',1,'']]], + ['advertiseondisconnect_14',['advertiseOnDisconnect',['../class_nim_b_l_e_server.html#aecf5b57888c55249a9c207d318a0495b',1,'NimBLEServer']]], + ['advertising_15',['advertising',['../md__bluetooth_015_01features.html#about-extended-advertising',1,'About extended advertising'],['../md_1_8x__to2_8x__migration__guide.html#advertising',1,'Advertising'],['../md__bluetooth_015_01features.html#enabling-extended-advertising',1,'Enabling extended advertising']]], + ['advertising_20api_16',['Advertising API',['../md__migration__guide.html#advertising-api',1,'']]], + ['advtypetostring_17',['advTypeToString',['../class_nim_b_l_e_utils.html#a6de9354eeba9f126aa14cfa7ed43cda4',1,'NimBLEUtils']]], + ['and_20characteristics_20needed_18',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], + ['api_19',['api',['../md__migration__guide.html#advertising-api',1,'Advertising API'],['../md__migration__guide.html#client-api',1,'Client API'],['../md__migration__guide.html#security-api',1,'Security API'],['../md__migration__guide.html#server-api',1,'Server API']]], + ['append_20',['append',['../class_nim_b_l_e_att_value.html#aa217dfc649daed50eb75c7168442f86e',1,'NimBLEAttValue']]], + ['arduino_20configuration_21',['Arduino Configuration',['../md__migration__guide.html#arduino-configuration',1,'']]] ]; diff --git a/search/all_7.html b/search/all_7.html deleted file mode 100644 index 8ddbf6c..0000000 --- a/search/all_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_7.js b/search/all_7.js index f9065a9..495b5be 100644 --- a/search/all_7.js +++ b/search/all_7.js @@ -1,17 +1,16 @@ var searchData= [ - ['haveadvinterval_184',['haveAdvInterval',['../class_nim_b_l_e_advertised_device.html#aa8b4660e5d123f16a07e0fefa3bcf4bc',1,'NimBLEAdvertisedDevice']]], - ['haveappearance_185',['haveAppearance',['../class_nim_b_l_e_advertised_device.html#accc6713f85db6174cfe8436059aa8bf1',1,'NimBLEAdvertisedDevice']]], - ['haveconnparams_186',['haveConnParams',['../class_nim_b_l_e_advertised_device.html#a3274624943c942f357c6f8d489481bc8',1,'NimBLEAdvertisedDevice']]], - ['havemanufacturerdata_187',['haveManufacturerData',['../class_nim_b_l_e_advertised_device.html#abe58f5fde119d8c0a8fb85ba1e8cc5c9',1,'NimBLEAdvertisedDevice']]], - ['havename_188',['haveName',['../class_nim_b_l_e_advertised_device.html#a86805fecd4432335feecf77bb6a0f12e',1,'NimBLEAdvertisedDevice']]], - ['haverssi_189',['haveRSSI',['../class_nim_b_l_e_advertised_device.html#a611802e8898e422842d60486b60b8c42',1,'NimBLEAdvertisedDevice']]], - ['haveservicedata_190',['haveServiceData',['../class_nim_b_l_e_advertised_device.html#afba3425cfcfc12eca219a1abe5f6732c',1,'NimBLEAdvertisedDevice']]], - ['haveserviceuuid_191',['haveServiceUUID',['../class_nim_b_l_e_advertised_device.html#a5c4aae7e27c27201846ba4e15448e557',1,'NimBLEAdvertisedDevice']]], - ['havetargetaddress_192',['haveTargetAddress',['../class_nim_b_l_e_advertised_device.html#a1172d33a77bc018e314be78664b222b9',1,'NimBLEAdvertisedDevice']]], - ['havetxpower_193',['haveTXPower',['../class_nim_b_l_e_advertised_device.html#af5293030ef439856c195caa3aba86543',1,'NimBLEAdvertisedDevice']]], - ['haveuri_194',['haveURI',['../class_nim_b_l_e_advertised_device.html#a83ebd08b512dc936b1059db7a69b9ead',1,'NimBLEAdvertisedDevice']]], - ['hidcontrol_195',['hidControl',['../class_nim_b_l_e_h_i_d_device.html#a5c42da43e0b8dfcd1d045e8a86d0b5a2',1,'NimBLEHIDDevice']]], - ['hidinfo_196',['hidInfo',['../class_nim_b_l_e_h_i_d_device.html#a33fc2bfc990ecd250859ca8f34a4314e',1,'NimBLEHIDDevice']]], - ['hidservice_197',['hidService',['../class_nim_b_l_e_h_i_d_device.html#ae80cf58c481c25bd6d7392a43b6fa48b',1,'NimBLEHIDDevice']]] + ['be_20bugs_20please_20report_20them_0',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]], + ['beacons_1',['Beacons',['../md_1_8x__to2_8x__migration__guide.html#beacons',1,'']]], + ['begin_2',['begin',['../class_nim_b_l_e_advertised_device.html#aabb14f9df146ebe6fb50d74a4ec8a878',1,'NimBLEAdvertisedDevice::begin()'],['../class_nim_b_l_e_scan_results.html#a5a0b1dc434c4ad68ae5ce233eeacc230',1,'NimBLEScanResults::begin()'],['../class_nim_b_l_e_remote_service.html#a99e6d6a6fba063b2c165cf8adb19d6e3',1,'NimBLERemoteService::begin()'],['../class_nim_b_l_e_remote_characteristic.html#a160cf1b93ae583038606d27b258156e9',1,'NimBLERemoteCharacteristic::begin()'],['../class_nim_b_l_e_client.html#ab09639b499fdcd0021a2432b2b8203f5',1,'NimBLEClient::begin()'],['../class_nim_b_l_e_att_value.html#aec41d0fe983f8c4ded137d7d5017bcb7',1,'NimBLEAttValue::begin()']]], + ['bitsize_3',['bitSize',['../class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6',1,'NimBLEUUID']]], + ['ble_20addresses_4',['ble addresses',['../md_1_8x__to2_8x__migration__guide.html#ble-addresses',1,'BLE Addresses'],['../md__migration__guide.html#ble-addresses-1',1,'BLE Addresses']]], + ['ble_20device_5',['BLE Device',['../md_1_8x__to2_8x__migration__guide.html#ble-device',1,'']]], + ['ble_20functions_20in_20a_20task_20running_20on_20the_20nimble_20stack_20core_6',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['ble_20scan_7',['BLE Scan',['../md__migration__guide.html#ble-scan',1,'']]], + ['ble_20uuid_20s_8',['BLE UUID's',['../md_1_8x__to2_8x__migration__guide.html#ble-uuids',1,'']]], + ['bluedroid_20to_20nimble_9',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]], + ['bluetooth_205_20x_20features_10',['Bluetooth 5.x features',['../md__bluetooth_015_01features.html',1,'']]], + ['breaking_20changes_20strong_11',['<strong>Breaking changes</strong>',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes',1,'']]], + ['bugs_20please_20report_20them_12',['There will be bugs - please report them',['../md__usage__tips.html#there-will-be-bugs---please-report-them',1,'']]] ]; diff --git a/search/all_8.html b/search/all_8.html deleted file mode 100644 index 83c55ae..0000000 --- a/search/all_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_8.js b/search/all_8.js index d1d546d..02dce8d 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -1,20 +1,63 @@ var searchData= [ - ['improvements_20and_20updates_198',['Improvements and updates',['../md__improvements_and_updates.html',1,'']]], - ['indicate_199',['indicate',['../class_nim_b_l_e_characteristic.html#a8c1875611a1beb192e6c24dff35d0655',1,'NimBLECharacteristic::indicate(const uint8_t *value, size_t length)'],['../class_nim_b_l_e_characteristic.html#af2940e8c314a1ecee1750d20a60c459d',1,'NimBLECharacteristic::indicate(const T &value)'],['../class_nim_b_l_e_characteristic.html#a2e827aba484add48e52c8eebf80b4a78',1,'NimBLECharacteristic::indicate(const std::vector< uint8_t > &value)'],['../class_nim_b_l_e_characteristic.html#a2ce9f62ecc3d1644ef4d58efe7a3c434',1,'NimBLECharacteristic::indicate()']]], - ['init_200',['init',['../class_nim_b_l_e_device.html#a674d2e68d4ba0e3f84d7993f9da7d15b',1,'NimBLEDevice']]], - ['inputreport_201',['inputReport',['../class_nim_b_l_e_h_i_d_device.html#a91cfe81b47cea229e9bbe3c55be33701',1,'NimBLEHIDDevice']]], - ['isactive_202',['isActive',['../class_nim_b_l_e_ext_advertising.html#a88ebe0b664cf22449e1a4311fc3b9b01',1,'NimBLEExtAdvertising']]], - ['isadvertising_203',['isAdvertising',['../class_nim_b_l_e_advertising.html#ac257ab68520a244cb6494d793f9b6c2a',1,'NimBLEAdvertising::isAdvertising()'],['../class_nim_b_l_e_ext_advertising.html#abd7d35653a6831e75700eb5ac9ab5789',1,'NimBLEExtAdvertising::isAdvertising()']]], - ['isadvertisingservice_204',['isAdvertisingService',['../class_nim_b_l_e_advertised_device.html#a37ad095c066aa231a52a7259734c9bce',1,'NimBLEAdvertisedDevice']]], - ['isauthenticated_205',['isAuthenticated',['../class_nim_b_l_e_conn_info.html#a7229e53d21c9c6b5b9fb5bd232862c89',1,'NimBLEConnInfo']]], - ['isbonded_206',['isBonded',['../class_nim_b_l_e_conn_info.html#af281a25921d36dc75cf1e37561940125',1,'NimBLEConnInfo::isBonded()'],['../class_nim_b_l_e_device.html#a16bf4f5394735ed8d7f0bb32ca5d269a',1,'NimBLEDevice::isBonded()']]], - ['isconnectable_207',['isConnectable',['../class_nim_b_l_e_advertised_device.html#a54917b2644c433977e24a10a63d7431a',1,'NimBLEAdvertisedDevice']]], - ['isconnected_208',['isConnected',['../class_nim_b_l_e_client.html#af1603da59b829f75b162ac4a65ce181c',1,'NimBLEClient']]], - ['isencrypted_209',['isEncrypted',['../class_nim_b_l_e_conn_info.html#a8ecf3c58da6ffb529215ce6f13c96744',1,'NimBLEConnInfo']]], - ['isignored_210',['isIgnored',['../class_nim_b_l_e_device.html#a14ebc6070a261d7a6518ad435b673962',1,'NimBLEDevice']]], - ['islegacyadvertisement_211',['isLegacyAdvertisement',['../class_nim_b_l_e_advertised_device.html#a3684969e3e10cd0af9ecaf342847ea71',1,'NimBLEAdvertisedDevice']]], - ['ismaster_212',['isMaster',['../class_nim_b_l_e_conn_info.html#a63ff245a8848bf1cc5839adee7aa41c4',1,'NimBLEConnInfo']]], - ['isscanning_213',['isScanning',['../class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016',1,'NimBLEScan']]], - ['isslave_214',['isSlave',['../class_nim_b_l_e_conn_info.html#abfb91b833cb200f795bc63d5affff6af',1,'NimBLEConnInfo']]] + ['c_5fstr_0',['c_str',['../class_nim_b_l_e_att_value.html#a4d18b6e6839afc943f11200e76414c17',1,'NimBLEAttValue']]], + ['callbacks_1',['callbacks',['../md_1_8x__to2_8x__migration__guide.html#characteristic-callbacks',1,'Characteristic callbacks'],['../md__migration__guide.html#characteristic-callbacks-1',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']]], + ['canbroadcast_2',['canBroadcast',['../class_nim_b_l_e_remote_characteristic.html#a0d8e8ae12a89d64d0ca52dd3b3b7c67d',1,'NimBLERemoteCharacteristic']]], + ['cancelconnect_3',['cancelConnect',['../class_nim_b_l_e_client.html#af77b2a5390ea811e9405ff81dba8ecac',1,'NimBLEClient']]], + ['canindicate_4',['canIndicate',['../class_nim_b_l_e_remote_characteristic.html#a79dbe281933d8cab342a5506746b9ded',1,'NimBLERemoteCharacteristic']]], + ['cannotify_5',['canNotify',['../class_nim_b_l_e_remote_characteristic.html#ae3b10383d5b72bdf241bb2f215836772',1,'NimBLERemoteCharacteristic']]], + ['canread_6',['canRead',['../class_nim_b_l_e_remote_characteristic.html#a4be19e1a3a82f3db0fa8a7236638b737',1,'NimBLERemoteCharacteristic']]], + ['canwrite_7',['canWrite',['../class_nim_b_l_e_remote_characteristic.html#a3ba2263c976bd4ece81a6b37e09fa121',1,'NimBLERemoteCharacteristic']]], + ['canwritenoresponse_8',['canWriteNoResponse',['../class_nim_b_l_e_remote_characteristic.html#a0920d576b12ee1e20a724a7da836d153',1,'NimBLERemoteCharacteristic']]], + ['canwritesigned_9',['canWriteSigned',['../class_nim_b_l_e_remote_characteristic.html#afb07f80d83e41768d228b92210b83657',1,'NimBLERemoteCharacteristic']]], + ['capacity_10',['capacity',['../class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2',1,'NimBLEAttValue']]], + ['changed_11',['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-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-8',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-3',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-1',1,'Changed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#changed',1,'Changed']]], + ['changelog_12',['Changelog',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html',1,'']]], + ['changes_13',['General changes',['../md_1_8x__to2_8x__migration__guide.html#general-changes',1,'']]], + ['changes_20strong_14',['<strong>Breaking changes</strong>',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#breaking-changes',1,'']]], + ['characteristic_20callbacks_15',['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_16',['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_17',['Only retrieve the services and characteristics needed',['../md__usage__tips.html#only-retrieve-the-services-and-characteristics-needed',1,'']]], + ['check_20return_20values_18',['Check return values',['../md__usage__tips.html#check-return-values',1,'']]], + ['class_20names_19',['Class Names',['../md__migration__guide.html#class-names',1,'']]], + ['cleardata_20',['cleardata',['../class_nim_b_l_e_advertisement_data.html#ac0f2238cf17bf3e8bbef8b0ef0d61dcf',1,'NimBLEAdvertisementData::clearData()'],['../class_nim_b_l_e_advertising.html#af7cee42f24ad38872936a0bbc9e2ac1e',1,'NimBLEAdvertising::clearData()'],['../class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af',1,'NimBLEExtAdvertisement::clearData()']]], + ['clearresults_21',['clearResults',['../class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b',1,'NimBLEScan']]], + ['client_22',['client',['../md_1_8x__to2_8x__migration__guide.html#client',1,'Client'],['../md__new__user__guide.html#creating-a-client',1,'Creating a Client']]], + ['client_20api_23',['Client API',['../md__migration__guide.html#client-api',1,'']]], + ['client_20callbacks_24',['client callbacks',['../md__migration__guide.html#client-callbacks-1',1,'Client callbacks'],['../md_1_8x__to2_8x__migration__guide.html#client-callbacks',1,'Client callbacks']]], + ['client_20instances_20unless_20necessary_20or_20unused_25',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['client_20security_26',['Client Security',['../md__migration__guide.html#client-security',1,'']]], + ['config_5fbt_5fnimble_5fatt_5fpreferred_5fmtu_27',['CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU',['../nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5flog_5flevel_28',['CONFIG_BT_NIMBLE_LOG_LEVEL',['../nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmax_5fbonds_29',['CONFIG_BT_NIMBLE_MAX_BONDS',['../nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmax_5fcccds_30',['CONFIG_BT_NIMBLE_MAX_CCCDS',['../nimconfig_8h.html#abdc3219ca772a22427beed33477ea252',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmax_5fconnections_31',['CONFIG_BT_NIMBLE_MAX_CONNECTIONS',['../nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmem_5falloc_5fmode_5fexternal_32',['CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL',['../nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmsys1_5fblock_5fcount_33',['CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT',['../nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fpinned_5fto_5fcore_34',['CONFIG_BT_NIMBLE_PINNED_TO_CORE',['../nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frole_5fbroadcaster_5fdisabled_35',['CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED',['../nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frole_5fcentral_5fdisabled_36',['CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED',['../nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frole_5fobserver_5fdisabled_37',['CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED',['../nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frole_5fperipheral_5fdisabled_38',['CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED',['../nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frpa_5ftimeout_39',['CONFIG_BT_NIMBLE_RPA_TIMEOUT',['../nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fsvc_5fgap_5fappearance_40',['CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE',['../nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fsvc_5fgap_5fdevice_5fname_41',['CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME',['../nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5ftask_5fstack_5fsize_42',['CONFIG_BT_NIMBLE_TASK_STACK_SIZE',['../nimconfig_8h.html#a227a536958a284235daf409b2b3d1766',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fatt_5fvalue_5finit_5flength_43',['CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH',['../nimconfig_8h.html#a4d4ea715325f75455b43c7dbaa69d7a0',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fatt_5fvalue_5ftimestamp_5fenabled_44',['CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED',['../nimconfig_8h.html#abe2e5c7dbca929d3ed6cf70a73aced23',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fenable_5fadvertisment_5ftype_5ftext_45',['CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT',['../nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fenable_5fgap_5fevent_5fcode_5ftext_46',['CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT',['../nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fenable_5freturn_5fcode_5ftext_47',['CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT',['../nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5flog_5flevel_48',['CONFIG_NIMBLE_CPP_LOG_LEVEL',['../nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f',1,'nimconfig.h']]], + ['configuration_49',['Arduino Configuration',['../md__migration__guide.html#arduino-configuration',1,'']]], + ['connect_50',['connect',['../class_nim_b_l_e_client.html#a2b49bc73802bf716cf3df3b5a93f0543',1,'NimBLEClient::connect(const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a27e53c3746bc2d20ea7cfcea1a123cbf',1,'NimBLEClient::connect(const NimBLEAddress &address, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a26c8117d56d8b637780390a6506716be',1,'NimBLEClient::connect(bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)']]], + ['core_51',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['create2904_52',['create2904',['../class_nim_b_l_e_characteristic.html#acc3402da680a988f6fa38100d9c98275',1,'NimBLECharacteristic']]], + ['createcharacteristic_53',['createcharacteristic',['../class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763',1,'NimBLEService::createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad',1,'NimBLEService::createCharacteristic(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], + ['createclient_54',['createclient',['../class_nim_b_l_e_device.html#a010b12177917f33e7d3633736c0cc553',1,'NimBLEDevice::createClient()'],['../class_nim_b_l_e_device.html#a7b52d5124390f1d547273d25ecae6704',1,'NimBLEDevice::createClient(const NimBLEAddress &peerAddress)']]], + ['createdescriptor_55',['createdescriptor',['../class_nim_b_l_e_characteristic.html#aa9817ffdcc2d57e65e4ec3d88836af3f',1,'NimBLECharacteristic::createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_characteristic.html#ac7c63b770d181de28869fda0f4d902fa',1,'NimBLECharacteristic::createDescriptor(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)']]], + ['createserver_56',['createServer',['../class_nim_b_l_e_device.html#a4d9780d0b5fafc279483822af802a508',1,'NimBLEDevice']]], + ['createservice_57',['createservice',['../class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35',1,'NimBLEServer::createService(const char *uuid)'],['../class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2',1,'NimBLEServer::createService(const NimBLEUUID &uuid)']]], + ['creating_20a_20client_58',['Creating a Client',['../md__new__user__guide.html#creating-a-client',1,'']]], + ['creating_20a_20server_59',['Creating a Server',['../md__new__user__guide.html#creating-a-server',1,'']]] ]; diff --git a/search/all_9.html b/search/all_9.html deleted file mode 100644 index 1e263c1..0000000 --- a/search/all_9.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_9.js b/search/all_9.js index 5194941..91d1ec1 100644 --- a/search/all_9.js +++ b/search/all_9.js @@ -1,4 +1,24 @@ var searchData= [ - ['length_215',['length',['../class_nim_b_l_e_att_value.html#a35df29c514613b1d00841abd6fffa320',1,'NimBLEAttValue']]] + ['data_0',['data',['../class_nim_b_l_e_att_value.html#a86acbb5ab3a35b3d5692c2e05fdccadd',1,'NimBLEAttValue']]], + ['datatohexstring_1',['dataToHexString',['../class_nim_b_l_e_utils.html#a53f0b19687b0706ec48d6b630e209acb',1,'NimBLEUtils']]], + ['deinit_2',['deinit',['../class_nim_b_l_e_device.html#a66362258c033860e8448032913be355f',1,'NimBLEDevice']]], + ['delete_20client_20instances_20unless_20necessary_20or_20unused_3',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['deleteallbonds_4',['deleteAllBonds',['../class_nim_b_l_e_device.html#a17fe75ad9d4f3d8cfd876b4a9bf70bb0',1,'NimBLEDevice']]], + ['deletebond_5',['deleteBond',['../class_nim_b_l_e_device.html#a20fc979ec9dbad5cce7f73e41b2e422e',1,'NimBLEDevice']]], + ['deletecharacteristic_6',['deleteCharacteristic',['../class_nim_b_l_e_remote_service.html#a828d57a4691d25e9e0e6124c3b0f1ac2',1,'NimBLERemoteService']]], + ['deletecharacteristics_7',['deleteCharacteristics',['../class_nim_b_l_e_remote_service.html#a7248e58b58753d8b44c420617d854408',1,'NimBLERemoteService']]], + ['deleteclient_8',['deleteclient',['../class_nim_b_l_e_server.html#aa7dd69e19e6cb8c22579c68e9731cdea',1,'NimBLEServer::deleteClient()'],['../class_nim_b_l_e_device.html#a83aa0a3d9d57358d35082a442edf8549',1,'NimBLEDevice::deleteClient()']]], + ['deletedescriptor_9',['deleteDescriptor',['../class_nim_b_l_e_remote_characteristic.html#a03c4da5f5fc36bd5f66c39aed3feb6f2',1,'NimBLERemoteCharacteristic']]], + ['deletedescriptors_10',['deleteDescriptors',['../class_nim_b_l_e_remote_characteristic.html#a1b021f9ca0501abed573daee878b51eb',1,'NimBLERemoteCharacteristic']]], + ['deleteservice_11',['deleteService',['../class_nim_b_l_e_client.html#a0f940c51807469db1f1802b742180beb',1,'NimBLEClient']]], + ['deleteservices_12',['deleteServices',['../class_nim_b_l_e_client.html#a668d476de250055a106a9f46bb7719f3',1,'NimBLEClient']]], + ['deprecated_20list_13',['Deprecated List',['../deprecated.html',1,'']]], + ['descriptor_20callbacks_14',['Descriptor callbacks',['../md__migration__guide.html#descriptor-callbacks',1,'']]], + ['descriptors_15',['Descriptors',['../md__migration__guide.html#descriptors',1,'']]], + ['device_16',['device',['../md_1_8x__to2_8x__migration__guide.html#advertised-device',1,'Advertised Device'],['../md_1_8x__to2_8x__migration__guide.html#ble-device',1,'BLE Device']]], + ['disconnect_17',['disconnect',['../class_nim_b_l_e_client.html#a36b298b70a42d32b8d578869b0763140',1,'NimBLEClient::disconnect()'],['../class_nim_b_l_e_server.html#ac79e828bcc3c45ae817bf51be914bfc0',1,'NimBLEServer::disconnect(uint16_t connHandle, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const'],['../class_nim_b_l_e_server.html#a49e1252a2f14732070eb85e78b641646',1,'NimBLEServer::disconnect(const NimBLEConnInfo &connInfo, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const']]], + ['discoverattributes_18',['discoverAttributes',['../class_nim_b_l_e_client.html#a1019178a12799ca2c3a84f523b3a7db9',1,'NimBLEClient']]], + ['do_20not_20delete_20client_20instances_20unless_20necessary_20or_20unused_19',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['dump_20',['dump',['../class_nim_b_l_e_scan_results.html#af143b1aa3bd67157dd263fcbeb4827ba',1,'NimBLEScanResults::dump()'],['../class_nim_b_l_e_service.html#a8fafb0c55e447114daf9ad758218905e',1,'NimBLEService::dump()']]] ]; diff --git a/search/all_a.html b/search/all_a.html deleted file mode 100644 index 3a6cac1..0000000 --- a/search/all_a.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_a.js b/search/all_a.js index cc7d9a1..624138e 100644 --- a/search/all_a.js +++ b/search/all_a.js @@ -1,6 +1,13 @@ var searchData= [ - ['manufacturer_216',['manufacturer',['../class_nim_b_l_e_h_i_d_device.html#a3e5b8291ca88d85a352429415abaec9c',1,'NimBLEHIDDevice::manufacturer()'],['../class_nim_b_l_e_h_i_d_device.html#ac04ed297cf6adbec210873739d2dc74d',1,'NimBLEHIDDevice::manufacturer(std::string name)']]], - ['max_5fsize_217',['max_size',['../class_nim_b_l_e_att_value.html#ac7abc6cd08adb0b654e051d62af725d5',1,'NimBLEAttValue']]], - ['migrating_20from_20bluedroid_20to_20nimble_218',['Migrating from Bluedroid to NimBLE',['../md__migration_guide.html',1,'']]] + ['enablescanrequestcallback_0',['enableScanRequestCallback',['../class_nim_b_l_e_ext_advertisement.html#aaf6c44bc23f03a72bc02c3d45a9adf1d',1,'NimBLEExtAdvertisement']]], + ['enablescanresponse_1',['enableScanResponse',['../class_nim_b_l_e_advertising.html#a6badd669ddf4ff8507561d5041d093d6',1,'NimBLEAdvertising']]], + ['enabling_20extended_20advertising_2',['Enabling extended advertising',['../md__bluetooth_015_01features.html#enabling-extended-advertising',1,'']]], + ['end_3',['end',['../class_nim_b_l_e_advertised_device.html#a8530d1dfdb57cb2f9fc9a917f12797e6',1,'NimBLEAdvertisedDevice::end()'],['../class_nim_b_l_e_att_value.html#a91cbe0ba44781943390a80514383ee58',1,'NimBLEAttValue::end()'],['../class_nim_b_l_e_client.html#a0accd665926ea77d85ecb483b2b853fe',1,'NimBLEClient::end()'],['../class_nim_b_l_e_remote_characteristic.html#a17aea026b6a795dbb6bcdc27bbe3d17e',1,'NimBLERemoteCharacteristic::end()'],['../class_nim_b_l_e_remote_service.html#a4c00a195d20c8eba714979427f90c239',1,'NimBLERemoteService::end()'],['../class_nim_b_l_e_scan_results.html#a2547ebc0f9f0e1f48346ff0188ed6479',1,'NimBLEScanResults::end()']]], + ['equals_4',['equals',['../class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd',1,'NimBLEUUID::equals()'],['../class_nim_b_l_e_address.html#a826fe8850cbc7d54f0696b8af4637169',1,'NimBLEAddress::equals()']]], + ['erase_5',['erase',['../class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1',1,'NimBLEScan::erase(const NimBLEAddress &address)'],['../class_nim_b_l_e_scan.html#acaa40328d16e040e9f92cba4819cb045',1,'NimBLEScan::erase(const NimBLEAdvertisedDevice *device)']]], + ['esp_20idf_20installation_6',['ESP-IDF Installation',['../index.html#esp-idf-installation',1,'']]], + ['example_7',['Example',['../md__migration__guide.html#example',1,'']]], + ['exchangemtu_8',['exchangeMTU',['../class_nim_b_l_e_client.html#a19d97b47f01f0862e04f3011752b2f2f',1,'NimBLEClient']]], + ['extended_20advertising_9',['extended advertising',['../md__bluetooth_015_01features.html#about-extended-advertising',1,'About extended advertising'],['../md__bluetooth_015_01features.html#enabling-extended-advertising',1,'Enabling extended advertising']]] ]; diff --git a/search/all_b.html b/search/all_b.html deleted file mode 100644 index 130deb4..0000000 --- a/search/all_b.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_b.js b/search/all_b.js index 7ebadae..a32b36f 100644 --- a/search/all_b.js +++ b/search/all_b.js @@ -1,40 +1,11 @@ var searchData= [ - ['new_20user_20guide_219',['New User Guide',['../md__new_user_guide.html',1,'']]], - ['nimble2904_220',['NimBLE2904',['../class_nim_b_l_e2904.html',1,'']]], - ['nimbleaddress_221',['NimBLEAddress',['../class_nim_b_l_e_address.html#a92637adc75c8010bcf34e2dd8f16cd94',1,'NimBLEAddress::NimBLEAddress(uint8_t address[6], uint8_t type=BLE_ADDR_PUBLIC)'],['../class_nim_b_l_e_address.html#a139790cf03d8297e253e5353a0213bff',1,'NimBLEAddress::NimBLEAddress(const uint64_t &address, uint8_t type=BLE_ADDR_PUBLIC)'],['../class_nim_b_l_e_address.html#aeb6dafff197dc01e2713bbf43e21f1f3',1,'NimBLEAddress::NimBLEAddress(const std::string &stringAddress, uint8_t type=BLE_ADDR_PUBLIC)'],['../class_nim_b_l_e_address.html#ab8c9105b825ed0be5d1bbab966f2a0cf',1,'NimBLEAddress::NimBLEAddress(ble_addr_t address)'],['../class_nim_b_l_e_address.html#a19058addb94417e2921cade37a79d04c',1,'NimBLEAddress::NimBLEAddress()'],['../class_nim_b_l_e_address.html',1,'NimBLEAddress']]], - ['nimbleadvertiseddevice_222',['NimBLEAdvertisedDevice',['../class_nim_b_l_e_advertised_device.html#ab8972714ecd578fca51fb63d9834a34e',1,'NimBLEAdvertisedDevice::NimBLEAdvertisedDevice()'],['../class_nim_b_l_e_advertised_device.html',1,'NimBLEAdvertisedDevice']]], - ['nimbleadvertiseddevicecallbacks_223',['NimBLEAdvertisedDeviceCallbacks',['../class_nim_b_l_e_advertised_device_callbacks.html',1,'']]], - ['nimbleadvertisementdata_224',['NimBLEAdvertisementData',['../class_nim_b_l_e_advertisement_data.html',1,'']]], - ['nimbleadvertising_225',['NimBLEAdvertising',['../class_nim_b_l_e_advertising.html',1,'NimBLEAdvertising'],['../class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd',1,'NimBLEAdvertising::NimBLEAdvertising()']]], - ['nimbleattvalue_226',['NimBLEAttValue',['../class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df',1,'NimBLEAttValue::NimBLEAttValue()'],['../class_nim_b_l_e_att_value.html',1,'NimBLEAttValue'],['../class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../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#a4322572d778438318f5750f6df5fdb35',1,'NimBLEAttValue::NimBLEAttValue(const char *value, 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#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#a7473ad95c2240e0d1ce5c2d57f8914c2',1,'NimBLEAttValue::NimBLEAttValue(const NimBLEAttValue &source)'],['../class_nim_b_l_e_att_value.html#a778d1da5334049292fdfba221bcd5772',1,'NimBLEAttValue::NimBLEAttValue(NimBLEAttValue &&source)']]], - ['nimblebeacon_227',['NimBLEBeacon',['../class_nim_b_l_e_beacon.html',1,'NimBLEBeacon'],['../class_nim_b_l_e_beacon.html#ac99e1fb4ef4795785a655b117dabdd37',1,'NimBLEBeacon::NimBLEBeacon()']]], - ['nimblecharacteristic_228',['NimBLECharacteristic',['../class_nim_b_l_e_characteristic.html',1,'NimBLECharacteristic'],['../class_nim_b_l_e_characteristic.html#aa32224e69115e9ba60ac614e8f37a871',1,'NimBLECharacteristic::NimBLECharacteristic(const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)'],['../class_nim_b_l_e_characteristic.html#ae2053d941cf8574acbdceb8b549b8264',1,'NimBLECharacteristic::NimBLECharacteristic(const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)']]], - ['nimblecharacteristiccallbacks_229',['NimBLECharacteristicCallbacks',['../class_nim_b_l_e_characteristic_callbacks.html',1,'']]], - ['nimbleclient_230',['NimBLEClient',['../class_nim_b_l_e_client.html',1,'']]], - ['nimbleclientcallbacks_231',['NimBLEClientCallbacks',['../class_nim_b_l_e_client_callbacks.html',1,'']]], - ['nimbleconninfo_232',['NimBLEConnInfo',['../class_nim_b_l_e_conn_info.html',1,'']]], - ['nimbledescriptor_233',['NimBLEDescriptor',['../class_nim_b_l_e_descriptor.html#a7ecb634b7d6390677cad232bd6be6638',1,'NimBLEDescriptor::NimBLEDescriptor(NimBLEUUID uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)'],['../class_nim_b_l_e_descriptor.html#a3cf995352eb1b1c212a7911a05c33b25',1,'NimBLEDescriptor::NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)'],['../class_nim_b_l_e_descriptor.html',1,'NimBLEDescriptor']]], - ['nimbledescriptorcallbacks_234',['NimBLEDescriptorCallbacks',['../class_nim_b_l_e_descriptor_callbacks.html',1,'']]], - ['nimbledevice_235',['NimBLEDevice',['../class_nim_b_l_e_device.html',1,'']]], - ['nimbleeddystonetlm_236',['NimBLEEddystoneTLM',['../class_nim_b_l_e_eddystone_t_l_m.html#a4d87d0b11420af2ae04bc4e6ce2f8607',1,'NimBLEEddystoneTLM::NimBLEEddystoneTLM()'],['../class_nim_b_l_e_eddystone_t_l_m.html',1,'NimBLEEddystoneTLM']]], - ['nimbleeddystoneurl_237',['NimBLEEddystoneURL',['../class_nim_b_l_e_eddystone_u_r_l.html#ae102214d20e32e31c9c84d723f67df15',1,'NimBLEEddystoneURL::NimBLEEddystoneURL()'],['../class_nim_b_l_e_eddystone_u_r_l.html',1,'NimBLEEddystoneURL']]], - ['nimbleextadvertisement_238',['NimBLEExtAdvertisement',['../class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c',1,'NimBLEExtAdvertisement::NimBLEExtAdvertisement()'],['../class_nim_b_l_e_ext_advertisement.html',1,'NimBLEExtAdvertisement']]], - ['nimbleextadvertising_239',['NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html',1,'NimBLEExtAdvertising'],['../class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3',1,'NimBLEExtAdvertising::NimBLEExtAdvertising()']]], - ['nimbleextadvertisingcallbacks_240',['NimBLEExtAdvertisingCallbacks',['../class_nim_b_l_e_ext_advertising_callbacks.html',1,'']]], - ['nimblehiddevice_241',['NimBLEHIDDevice',['../class_nim_b_l_e_h_i_d_device.html',1,'NimBLEHIDDevice'],['../class_nim_b_l_e_h_i_d_device.html#a95b4935280494ffa24bfae89753f199a',1,'NimBLEHIDDevice::NimBLEHIDDevice()']]], - ['nimbleremotecharacteristic_242',['NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html',1,'']]], - ['nimbleremotedescriptor_243',['NimBLERemoteDescriptor',['../class_nim_b_l_e_remote_descriptor.html',1,'']]], - ['nimbleremoteservice_244',['NimBLERemoteService',['../class_nim_b_l_e_remote_service.html',1,'']]], - ['nimblescan_245',['NimBLEScan',['../class_nim_b_l_e_scan.html',1,'']]], - ['nimblescanresults_246',['NimBLEScanResults',['../class_nim_b_l_e_scan_results.html',1,'']]], - ['nimblesecurity_247',['NimBLESecurity',['../class_nim_b_l_e_security.html',1,'']]], - ['nimblesecuritycallbacks_248',['NimBLESecurityCallbacks',['../class_nim_b_l_e_security_callbacks.html',1,'']]], - ['nimbleserver_249',['NimBLEServer',['../class_nim_b_l_e_server.html',1,'']]], - ['nimbleservercallbacks_250',['NimBLEServerCallbacks',['../class_nim_b_l_e_server_callbacks.html',1,'']]], - ['nimbleservice_251',['NimBLEService',['../class_nim_b_l_e_service.html',1,'NimBLEService'],['../class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3',1,'NimBLEService::NimBLEService(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65',1,'NimBLEService::NimBLEService(const char *uuid)']]], - ['nimbleutils_252',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], - ['nimbleuuid_253',['NimBLEUUID',['../class_nim_b_l_e_u_u_i_d.html',1,'NimBLEUUID'],['../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#a6eda1a14d4590dd25e6a2f7a49ad528e',1,'NimBLEUUID::NimBLEUUID(const uint8_t *pData, size_t size, bool msbFirst)'],['../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#abec7913c5989c3620c423c6717111453',1,'NimBLEUUID::NimBLEUUID()']]], - ['nimconfig_2eh_254',['nimconfig.h',['../nimconfig_8h.html',1,'']]], - ['notify_255',['notify',['../class_nim_b_l_e_characteristic.html#aa45461059e1992c816e32c371d17e813',1,'NimBLECharacteristic::notify(bool is_notification=true)'],['../class_nim_b_l_e_characteristic.html#a9ce09408a307a6b62a91418ea7723ebf',1,'NimBLECharacteristic::notify(const uint8_t *value, size_t length, bool is_notification=true)'],['../class_nim_b_l_e_characteristic.html#a15a9f056e5a3e85d5cb0bdc7adbdd970',1,'NimBLECharacteristic::notify(const std::vector< uint8_t > &value, bool is_notification=true)'],['../class_nim_b_l_e_characteristic.html#aed1432c11fadec203104b13aaaf7060d',1,'NimBLECharacteristic::notify(const T &value, bool is_notification=true)']]] + ['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',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-2',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-4',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-6',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-8',1,'Fixed'],['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html#fixed-9',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']]], + ['full_20list_20of_20properties_6',['The full list of properties',['../md__migration__guide.html#the-full-list-of-properties',1,'']]], + ['functions_20in_20a_20task_20running_20on_20the_20nimble_20stack_20core_7',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]] ]; diff --git a/search/all_c.html b/search/all_c.html deleted file mode 100644 index 3dd5af0..0000000 --- a/search/all_c.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_c.js b/search/all_c.js index beb80e2..b93a0a7 100644 --- a/search/all_c.js +++ b/search/all_c.js @@ -1,32 +1,121 @@ var searchData= [ - ['onauthenticationcomplete_256',['onAuthenticationComplete',['../class_nim_b_l_e_security_callbacks.html#a22a8079906070a13583daafd1521a125',1,'NimBLESecurityCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_client_callbacks.html#a40fb2013fc4ebe51f770699377922065',1,'NimBLEClientCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_server_callbacks.html#a6a18155a8d3fa0980fab51f08ce5de2d',1,'NimBLEServerCallbacks::onAuthenticationComplete()']]], - ['onconfirmpin_257',['onConfirmPIN',['../class_nim_b_l_e_client_callbacks.html#ace39ee838319e415bd0fc5c72a653ff0',1,'NimBLEClientCallbacks::onConfirmPIN()'],['../class_nim_b_l_e_security_callbacks.html#a2ce6a03693a43a55e51598d8b2654a92',1,'NimBLESecurityCallbacks::onConfirmPIN()'],['../class_nim_b_l_e_server_callbacks.html#a5327d11f249e8f020b59529b634e0c91',1,'NimBLEServerCallbacks::onConfirmPIN()']]], - ['onconnect_258',['onConnect',['../class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae',1,'NimBLEClientCallbacks::onConnect()'],['../class_nim_b_l_e_server_callbacks.html#a80348ab2d08bbec7a6910c96662fc1d4',1,'NimBLEServerCallbacks::onConnect(NimBLEServer *pServer)'],['../class_nim_b_l_e_server_callbacks.html#a76f32bb22a34b33ee2a934f101d925b1',1,'NimBLEServerCallbacks::onConnect(NimBLEServer *pServer, ble_gap_conn_desc *desc)']]], - ['onconnparamsupdaterequest_259',['onConnParamsUpdateRequest',['../class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6',1,'NimBLEClientCallbacks']]], - ['ondisconnect_260',['onDisconnect',['../class_nim_b_l_e_client_callbacks.html#a3e5571e4d5ee53c5c4b25ceaac66b808',1,'NimBLEClientCallbacks::onDisconnect()'],['../class_nim_b_l_e_server_callbacks.html#a3dbf72280a895e80e0972599a7373ca0',1,'NimBLEServerCallbacks::onDisconnect(NimBLEServer *pServer)'],['../class_nim_b_l_e_server_callbacks.html#a60e1ad35979434000d04fdbb374acc18',1,'NimBLEServerCallbacks::onDisconnect(NimBLEServer *pServer, ble_gap_conn_desc *desc)']]], - ['onmtuchange_261',['onMTUChange',['../class_nim_b_l_e_server_callbacks.html#ab4533f1317b36216c3c86695613c80a6',1,'NimBLEServerCallbacks']]], - ['onnotify_262',['onNotify',['../class_nim_b_l_e_characteristic_callbacks.html#a185eb5298cc042f1aceeba21caf0dcc9',1,'NimBLECharacteristicCallbacks']]], - ['onpasskeynotify_263',['onPassKeyNotify',['../class_nim_b_l_e_security_callbacks.html#aa984ec6f29741b49bdd7dbfde60177be',1,'NimBLESecurityCallbacks']]], - ['onpasskeyrequest_264',['onPassKeyRequest',['../class_nim_b_l_e_client_callbacks.html#a9850764aec546747537c6baa2a4622f5',1,'NimBLEClientCallbacks::onPassKeyRequest()'],['../class_nim_b_l_e_security_callbacks.html#a1cfc9c48c02aece1736f9070dc6ff90f',1,'NimBLESecurityCallbacks::onPassKeyRequest()'],['../class_nim_b_l_e_server_callbacks.html#ad2c3035c3a284d03673ff1b5aeaa0fca',1,'NimBLEServerCallbacks::onPassKeyRequest()']]], - ['onread_265',['onRead',['../class_nim_b_l_e_characteristic_callbacks.html#a523904b8d39e364db094f623403bad93',1,'NimBLECharacteristicCallbacks::onRead(NimBLECharacteristic *pCharacteristic)'],['../class_nim_b_l_e_characteristic_callbacks.html#acae83420ae378277c225ce465f979f88',1,'NimBLECharacteristicCallbacks::onRead(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc)'],['../class_nim_b_l_e_descriptor_callbacks.html#a6b13d2a8447f50a089b869cea9fcdcbc',1,'NimBLEDescriptorCallbacks::onRead()']]], - ['onresult_266',['onResult',['../class_nim_b_l_e_advertised_device_callbacks.html#af6a25e1bb773a147536b1785b2aae606',1,'NimBLEAdvertisedDeviceCallbacks']]], - ['onscanrequest_267',['onScanRequest',['../class_nim_b_l_e_ext_advertising_callbacks.html#a92af7bd791095cf91438b7af4c26263f',1,'NimBLEExtAdvertisingCallbacks']]], - ['onsecurityrequest_268',['onSecurityRequest',['../class_nim_b_l_e_security_callbacks.html#a620de166c3fe26027871d18535839cdd',1,'NimBLESecurityCallbacks']]], - ['onstatus_269',['onStatus',['../class_nim_b_l_e_characteristic_callbacks.html#ab17e7c61723a33cd3c922e3ca9c20f1e',1,'NimBLECharacteristicCallbacks']]], - ['onstopped_270',['onStopped',['../class_nim_b_l_e_ext_advertising_callbacks.html#a07004fd4e849aa8e9bd7106cbf6ab94b',1,'NimBLEExtAdvertisingCallbacks']]], - ['onsubscribe_271',['onSubscribe',['../class_nim_b_l_e_characteristic_callbacks.html#a3c0c0f524bc0d00d24a7c5ea92c5cb7e',1,'NimBLECharacteristicCallbacks']]], - ['onwhitelist_272',['onWhiteList',['../class_nim_b_l_e_device.html#ae51e2d4d6169a61133178a1b0d6b5b45',1,'NimBLEDevice']]], - ['onwrite_273',['onWrite',['../class_nim_b_l_e_characteristic_callbacks.html#aac7caf4a80da061b5beda5ebcd214fc3',1,'NimBLECharacteristicCallbacks::onWrite(NimBLECharacteristic *pCharacteristic)'],['../class_nim_b_l_e_characteristic_callbacks.html#a303a44a2efad76d54d67955fcb7b05d7',1,'NimBLECharacteristicCallbacks::onWrite(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc)'],['../class_nim_b_l_e_descriptor_callbacks.html#a7081bf2c4f22225c4715e09762be40ed',1,'NimBLEDescriptorCallbacks::onWrite()']]], - ['operator_20const_20uint8_5ft_20_2a_274',['operator const uint8_t *',['../class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b',1,'NimBLEAttValue']]], - ['operator_20uint64_5ft_275',['operator uint64_t',['../class_nim_b_l_e_address.html#aa7d5d8d323d2846bf2082b83381bd7c8',1,'NimBLEAddress']]], - ['operator_21_3d_276',['operator!=',['../class_nim_b_l_e_address.html#ae243127c78af69b26dfa225effd806ce',1,'NimBLEAddress::operator!=()'],['../class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe',1,'NimBLEUUID::operator!=()'],['../class_nim_b_l_e_att_value.html#a9dc3bc75c3a0cedf76bed59ef2d0d289',1,'NimBLEAttValue::operator!=(const NimBLEAttValue &source)']]], - ['operator_2b_3d_277',['operator+=',['../class_nim_b_l_e_att_value.html#a0e6691f9660a2b78e038e87e99914696',1,'NimBLEAttValue']]], - ['operator_3d_278',['operator=',['../class_nim_b_l_e_att_value.html#aa0545edd766dc4ca6e3ebfac5efa384e',1,'NimBLEAttValue::operator=(const std::string &source)'],['../class_nim_b_l_e_att_value.html#a47d30a61ba65f5d9a21fa593cf15d4b9',1,'NimBLEAttValue::operator=(NimBLEAttValue &&source)'],['../class_nim_b_l_e_att_value.html#aa53ee00be956c25596cf7cce71b502ba',1,'NimBLEAttValue::operator=(const NimBLEAttValue &source)']]], - ['operator_3d_3d_279',['operator==',['../class_nim_b_l_e_address.html#a87e8ccc81c2d83bf0503166939319164',1,'NimBLEAddress::operator==()'],['../class_nim_b_l_e_att_value.html#a9634dd47ea705ec8d10f29482e572bbf',1,'NimBLEAttValue::operator==()'],['../class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875',1,'NimBLEUUID::operator==()']]], - ['operator_5b_5d_280',['operator[]',['../class_nim_b_l_e_att_value.html#a8ca8d07c06a79e30bf6279e6817e4881',1,'NimBLEAttValue']]], - ['outputreport_281',['outputReport',['../class_nim_b_l_e_h_i_d_device.html#ac1e63972c6a77665a6bbc76f9ff4a717',1,'NimBLEHIDDevice']]], - ['overview_282',['Overview',['../index.html',1,'']]], - ['string_283',['string',['../class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048',1,'NimBLEUUID::string()'],['../class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371',1,'NimBLEAttValue::string()'],['../class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a',1,'NimBLEAddress::string()']]], - ['vector_3c_20uint8_5ft_20_3e_284',['vector< uint8_t >',['../class_nim_b_l_e_att_value.html#a3af3b6efb528b1063df2de409c64a0d6',1,'NimBLEAttValue']]] + ['gapeventtostring_0',['gapEventToString',['../class_nim_b_l_e_utils.html#afb2df39418324f93a2477e314883ccae',1,'NimBLEUtils']]], + ['general_20changes_1',['General changes',['../md_1_8x__to2_8x__migration__guide.html#general-changes',1,'']]], + ['general_20information_2',['General Information',['../md__migration__guide.html#general-information',1,'']]], + ['generateaddr_3',['generateAddr',['../class_nim_b_l_e_utils.html#a6d47cf1adecd01d0102e0feec8232538',1,'NimBLEUtils']]], + ['getaddress_4',['getaddress',['../class_nim_b_l_e_device.html#a77f9f343143d4f074ffb545dd14cbb2b',1,'NimBLEDevice::getAddress()'],['../class_nim_b_l_e_advertised_device.html#acb3c376962b317b91628fb96ad215923',1,'NimBLEAdvertisedDevice::getAddress()'],['../class_nim_b_l_e_conn_info.html#a11564eb72e1a4d28a0430a5f13582c1f',1,'NimBLEConnInfo::getAddress()']]], + ['getaddresstype_5',['getAddressType',['../class_nim_b_l_e_advertised_device.html#a455ebaf550d1e7e025ada171cb611503',1,'NimBLEAdvertisedDevice']]], + ['getadvertisementdata_6',['getAdvertisementData',['../class_nim_b_l_e_advertising.html#a1e23657839038e5219f9c009cf360a32',1,'NimBLEAdvertising']]], + ['getadvertising_7',['getadvertising',['../class_nim_b_l_e_server.html#a70aafa98cc487c43e11ab30990d5ecb5',1,'NimBLEServer::getAdvertising()'],['../class_nim_b_l_e_device.html#aa994b01b2b5bb9f677f3cffb2f05d140',1,'NimBLEDevice::getAdvertising()']]], + ['getadvflags_8',['getAdvFlags',['../class_nim_b_l_e_advertised_device.html#acbdfac3f9febbe11d1a1317bc7524810',1,'NimBLEAdvertisedDevice']]], + ['getadvinterval_9',['getAdvInterval',['../class_nim_b_l_e_advertised_device.html#ad06e4e81a8d568199d1145f437175749',1,'NimBLEAdvertisedDevice']]], + ['getadvlength_10',['getAdvLength',['../class_nim_b_l_e_advertised_device.html#afb7a089c220e4987852ea1d7a0b5dca4',1,'NimBLEAdvertisedDevice']]], + ['getadvtype_11',['getAdvType',['../class_nim_b_l_e_advertised_device.html#ab348469f8d9325e6bb619dce9bbd4e24',1,'NimBLEAdvertisedDevice']]], + ['getappearance_12',['getAppearance',['../class_nim_b_l_e_advertised_device.html#a778d8b099f7e006d8e213cf638276a81',1,'NimBLEAdvertisedDevice']]], + ['getbase_13',['getbase',['../class_nim_b_l_e_address.html#a31b466293f6cb752d5aba6b6ffb95351',1,'NimBLEAddress::getBase()'],['../class_nim_b_l_e_u_u_i_d.html#a68c61ae225675ac84d60f76058a5bdd4',1,'NimBLEUUID::getBase()']]], + ['getbatterylevel_14',['getBatteryLevel',['../class_nim_b_l_e_h_i_d_device.html#a323892b69461ac6fc081432f633eda3e',1,'NimBLEHIDDevice']]], + ['getbatteryservice_15',['getBatteryService',['../class_nim_b_l_e_h_i_d_device.html#adce27e45dc04de669c512f6550efadc7',1,'NimBLEHIDDevice']]], + ['getbondedaddress_16',['getBondedAddress',['../class_nim_b_l_e_device.html#ac7f090f4b1a2d593f38b20859e071f0c',1,'NimBLEDevice']]], + ['getbootinput_17',['getBootInput',['../class_nim_b_l_e_h_i_d_device.html#a956ea4caa4f5bac7cda3bdb152ac1176',1,'NimBLEHIDDevice']]], + ['getbootoutput_18',['getBootOutput',['../class_nim_b_l_e_h_i_d_device.html#ad2584be6dfe497dc83686a51ff0194f6',1,'NimBLEHIDDevice']]], + ['getcallbacks_19',['getCallbacks',['../class_nim_b_l_e_characteristic.html#ac194f58f909f9e447949a41c2a7cdf00',1,'NimBLECharacteristic']]], + ['getcharacteristic_20',['getcharacteristic',['../class_nim_b_l_e_remote_service.html#a404ee02ca3ecf8c9d244029ede066bda',1,'NimBLERemoteService::getCharacteristic()'],['../class_nim_b_l_e_client.html#a6b801e91a37745445499dadfb4c38597',1,'NimBLEClient::getCharacteristic()'],['../class_nim_b_l_e_descriptor.html#aa61b5f14156e9f378688ec875cf48309',1,'NimBLEDescriptor::getCharacteristic()'],['../class_nim_b_l_e_service.html#a200714f911accd64acfd2fa3d0c6b863',1,'NimBLEService::getCharacteristic()'],['../class_nim_b_l_e_remote_service.html#ae10ddb56bc48bd06538ab49e4a561594',1,'NimBLERemoteService::getCharacteristic()'],['../class_nim_b_l_e_service.html#aeeaa4b0c543230e7819ad92d48432f5e',1,'NimBLEService::getCharacteristic(const char *uuid, uint16_t instanceId=0) const']]], + ['getcharacteristicbyhandle_21',['getCharacteristicByHandle',['../class_nim_b_l_e_service.html#a488df9c39d1c49d4b1537abddddb1a7d',1,'NimBLEService']]], + ['getcharacteristics_22',['getcharacteristics',['../class_nim_b_l_e_service.html#a557ec314a4b2f912b1c1b03e332f9fe1',1,'NimBLEService::getCharacteristics()'],['../class_nim_b_l_e_remote_service.html#a5b07f0756c401d40396886e80d64b03b',1,'NimBLERemoteService::getCharacteristics()'],['../class_nim_b_l_e_service.html#a8219ccefd97180bee485b62572c62e58',1,'NimBLEService::getCharacteristics() const'],['../class_nim_b_l_e_service.html#a9bb082780665005271fab6e79416f3ed',1,'NimBLEService::getCharacteristics(const char *uuid) const']]], + ['getclient_23',['getclient',['../class_nim_b_l_e_server.html#a5be3c18cb6728c365ebc23af6b2a95f4',1,'NimBLEServer::getClient()'],['../class_nim_b_l_e_remote_service.html#a2f56031169ebeefcd834fff971a972c2',1,'NimBLERemoteService::getClient()'],['../class_nim_b_l_e_server.html#a31f73892bcf7eb66ee540bf1da9c419c',1,'NimBLEServer::getClient()']]], + ['getclientbyhandle_24',['getClientByHandle',['../class_nim_b_l_e_device.html#a9c15d6b767091fae4412428436827c4e',1,'NimBLEDevice']]], + ['getclientbypeeraddress_25',['getClientByPeerAddress',['../class_nim_b_l_e_device.html#afc7060413706ec7217ea9add4b169117',1,'NimBLEDevice']]], + ['getconfig_26',['getConfig',['../class_nim_b_l_e_client.html#ac053fba7c84201dc6e7455231cf99f4a',1,'NimBLEClient']]], + ['getconnectedclients_27',['getConnectedClients',['../class_nim_b_l_e_device.html#acb098c56b7d08636e1745052eb184fb2',1,'NimBLEDevice']]], + ['getconnectedcount_28',['getConnectedCount',['../class_nim_b_l_e_server.html#a4277e57885576664b9adf11f586e75ba',1,'NimBLEServer']]], + ['getconnhandle_29',['getconnhandle',['../class_nim_b_l_e_conn_info.html#aa3ffb5995fb9961a6f04117f538a8f28',1,'NimBLEConnInfo::getConnHandle()'],['../class_nim_b_l_e_client.html#ac1e517e5a57b0bd05d4bafa66a17f1bd',1,'NimBLEClient::getConnHandle() const']]], + ['getconninfo_30',['getConnInfo',['../class_nim_b_l_e_client.html#a50b691f395c4dcf4b633efede0783805',1,'NimBLEClient']]], + ['getconninterval_31',['getConnInterval',['../class_nim_b_l_e_conn_info.html#aca6b24e741bcf03d4b9bdc28b008b8c6',1,'NimBLEConnInfo']]], + ['getconnlatency_32',['getConnLatency',['../class_nim_b_l_e_conn_info.html#a012bd655ebd9726762be76d30ebdb17e',1,'NimBLEConnInfo']]], + ['getconntimeout_33',['getConnTimeout',['../class_nim_b_l_e_conn_info.html#aa8c39ebf9d346b3334b0a067ffe082a5',1,'NimBLEConnInfo']]], + ['getcount_34',['getcount',['../class_nim_b_l_e_scan_results.html#a59c62c0825917ebb26bcb1efa2a98f4d',1,'NimBLEScanResults::getCount()'],['../class_nim_b_l_e_eddystone_t_l_m.html#a556a6b6a75693997390f3bacf6e5ca5e',1,'NimBLEEddystoneTLM::getCount()']]], + ['getcreatedclientcount_35',['getCreatedClientCount',['../class_nim_b_l_e_device.html#a0944f3f6eca16ed4b7fd96d88b2906d9',1,'NimBLEDevice']]], + ['getdata_36',['getdata',['../class_nim_b_l_e_eddystone_t_l_m.html#a32c448f92ce2e61a9589d1cb0d149d07',1,'NimBLEEddystoneTLM::getData()'],['../class_nim_b_l_e_beacon.html#a8ac2cd99dd5a8a996f3556f9e5d20bbb',1,'NimBLEBeacon::getData()']]], + ['getdatalocation_37',['getdatalocation',['../class_nim_b_l_e_ext_advertisement.html#a7cf145aa6be376efaddadc507f5018d0',1,'NimBLEExtAdvertisement::getDataLocation()'],['../class_nim_b_l_e_advertisement_data.html#a57d4ece891cc23b2079ccc4e06d477b2',1,'NimBLEAdvertisementData::getDataLocation()']]], + ['getdatasize_38',['getDataSize',['../class_nim_b_l_e_ext_advertisement.html#ae3f915131471deba63c1275fc8557aa2',1,'NimBLEExtAdvertisement']]], + ['getdescriptor_39',['getDescriptor',['../class_nim_b_l_e_remote_characteristic.html#a8a2e29de02b97c99e88ce1a56e54cdd7',1,'NimBLERemoteCharacteristic']]], + ['getdescriptorbyhandle_40',['getDescriptorByHandle',['../class_nim_b_l_e_characteristic.html#a283bd1661b5865dd247b1b59bcbf46d6',1,'NimBLECharacteristic']]], + ['getdescriptorbyuuid_41',['getdescriptorbyuuid',['../class_nim_b_l_e_characteristic.html#a3dd5745ea2cd75e12d27c51fc90b4914',1,'NimBLECharacteristic::getDescriptorByUUID(const char *uuid) const'],['../class_nim_b_l_e_characteristic.html#a15d9945ee9549e60db77666a2ef5d0c8',1,'NimBLECharacteristic::getDescriptorByUUID(const NimBLEUUID &uuid) const']]], + ['getdescriptors_42',['getDescriptors',['../class_nim_b_l_e_remote_characteristic.html#a27746c8b2405beb1d44567e2c1f85f87',1,'NimBLERemoteCharacteristic']]], + ['getdevice_43',['getdevice',['../class_nim_b_l_e_scan_results.html#aa96e8a647f0db95e2fa8cfae44f6d92e',1,'NimBLEScanResults::getDevice(const NimBLEAddress &address) const'],['../class_nim_b_l_e_scan_results.html#a98b106a3929919bf2c80cc0dfff59ba1',1,'NimBLEScanResults::getDevice(uint32_t idx) const']]], + ['getdeviceinfoservice_44',['getDeviceInfoService',['../class_nim_b_l_e_h_i_d_device.html#a7d6592bba748b4be7ed1e4fb9275d346',1,'NimBLEHIDDevice']]], + ['getdisconnectedclient_45',['getDisconnectedClient',['../class_nim_b_l_e_device.html#a10aec48b56ef404f42ade96d6244b312',1,'NimBLEDevice']]], + ['getfeaturereport_46',['getFeatureReport',['../class_nim_b_l_e_h_i_d_device.html#ac34cb2703dc655220270604e2a28cf41',1,'NimBLEHIDDevice']]], + ['gethandle_47',['getHandle',['../class_nim_b_l_e_attribute.html#a7907cb5b0a2d0f8cd9eb016a4ed876d1',1,'NimBLEAttribute']]], + ['gethidcontrol_48',['getHidControl',['../class_nim_b_l_e_h_i_d_device.html#ab29c3d71cd592aa867b8c6655d586f24',1,'NimBLEHIDDevice']]], + ['gethidinfo_49',['getHidInfo',['../class_nim_b_l_e_h_i_d_device.html#a21aa774e08a344fc98e217c79c9ddf12',1,'NimBLEHIDDevice']]], + ['gethidservice_50',['getHidService',['../class_nim_b_l_e_h_i_d_device.html#a2aea1e924f327152db713834bc2ad5a6',1,'NimBLEHIDDevice']]], + ['getidaddress_51',['getIdAddress',['../class_nim_b_l_e_conn_info.html#a18e3b5d45183c8ef20f0d2475c947442',1,'NimBLEConnInfo']]], + ['getinputreport_52',['getInputReport',['../class_nim_b_l_e_h_i_d_device.html#af2f973843304c2d513963a9dbbc48714',1,'NimBLEHIDDevice']]], + ['getlasterror_53',['getLastError',['../class_nim_b_l_e_client.html#aeb0593ebffa7e8833e5854480e41cce5',1,'NimBLEClient']]], + ['getmajor_54',['getMajor',['../class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c',1,'NimBLEBeacon']]], + ['getmanufacturerdata_55',['getmanufacturerdata',['../class_nim_b_l_e_advertised_device.html#aaf936703902681e7af785d7b751e68e0',1,'NimBLEAdvertisedDevice::getManufacturerData(uint8_t index=0) const'],['../class_nim_b_l_e_advertised_device.html#a3ce52d33ea39b9c8b6b96cc19a2a3170',1,'NimBLEAdvertisedDevice::getManufacturerData(bool skipSizeCheck=false) const']]], + ['getmanufacturerdatacount_56',['getManufacturerDataCount',['../class_nim_b_l_e_advertised_device.html#a08c0fb778eedde4c4004410d124799f1',1,'NimBLEAdvertisedDevice']]], + ['getmanufacturerid_57',['getManufacturerId',['../class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40',1,'NimBLEBeacon']]], + ['getmaxinterval_58',['getMaxInterval',['../class_nim_b_l_e_advertised_device.html#aeef5bef4ba2e1afb5f0a6838ab9762d3',1,'NimBLEAdvertisedDevice']]], + ['getmininterval_59',['getMinInterval',['../class_nim_b_l_e_advertised_device.html#accf2225a99742fdeb86a1b4738eac164',1,'NimBLEAdvertisedDevice']]], + ['getminor_60',['getMinor',['../class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788',1,'NimBLEBeacon']]], + ['getmtu_61',['getmtu',['../class_nim_b_l_e_client.html#a7f3230e45ac77bd4cb50b5c270f9c74c',1,'NimBLEClient::getMTU()'],['../class_nim_b_l_e_conn_info.html#a17e29d0af7978f15e41933994a7a9c8f',1,'NimBLEConnInfo::getMTU()'],['../class_nim_b_l_e_device.html#a5520cf3f544d571636eed162de394ec2',1,'NimBLEDevice::getMTU()']]], + ['getname_62',['getName',['../class_nim_b_l_e_advertised_device.html#acf7ec676680fd4eb800b85779a220b67',1,'NimBLEAdvertisedDevice']]], + ['getnumbonds_63',['getNumBonds',['../class_nim_b_l_e_device.html#a7fe0f568c17130150660e6307851be48',1,'NimBLEDevice']]], + ['getoutputreport_64',['getOutputReport',['../class_nim_b_l_e_h_i_d_device.html#ace0ea997b5c986bb8a56cd8673163203',1,'NimBLEHIDDevice']]], + ['getpayload_65',['getpayload',['../class_nim_b_l_e_advertised_device.html#a12971984cf749647c659b659bdfeda5d',1,'NimBLEAdvertisedDevice::getPayload()'],['../class_nim_b_l_e_advertisement_data.html#a2f6960683e8b98d1c3ecf88bb5ec56eb',1,'NimBLEAdvertisementData::getPayload()']]], + ['getpayloadbytype_66',['getPayloadByType',['../class_nim_b_l_e_advertised_device.html#a74be6cf94bbc2e69d04de25a37d28153',1,'NimBLEAdvertisedDevice']]], + ['getpeeraddress_67',['getPeerAddress',['../class_nim_b_l_e_client.html#a44a6f7f9379e2fc129c37915636db61f',1,'NimBLEClient']]], + ['getpeerdevices_68',['getPeerDevices',['../class_nim_b_l_e_server.html#a1cedae8a9346f605b8319cbc8209f0df',1,'NimBLEServer']]], + ['getpeerinfo_69',['getpeerinfo',['../class_nim_b_l_e_server.html#a1513647f2c8a565404410a5dbd71a9ce',1,'NimBLEServer::getPeerInfo(uint8_t index) const'],['../class_nim_b_l_e_server.html#a55eb6176fd8d0a1e9ba68158dde4f325',1,'NimBLEServer::getPeerInfo(const NimBLEAddress &address) const']]], + ['getpeerinfobyhandle_70',['getPeerInfoByHandle',['../class_nim_b_l_e_server.html#a08916d16ea00b4718bd6241bd407829f',1,'NimBLEServer']]], + ['getpeermtu_71',['getPeerMTU',['../class_nim_b_l_e_server.html#a3bedf02970de34eaf7b90a2f37765fe8',1,'NimBLEServer']]], + ['getperiodicinterval_72',['getPeriodicInterval',['../class_nim_b_l_e_advertised_device.html#a899abd2a02e0c9bf941a998f4184a9ee',1,'NimBLEAdvertisedDevice']]], + ['getphy_73',['getphy',['../class_nim_b_l_e_client.html#a6ca4e212d5b69d4759bd695def020525',1,'NimBLEClient::getPhy()'],['../class_nim_b_l_e_server.html#a709eb11532ec43a35f8653845b3158fc',1,'NimBLEServer::getPhy()']]], + ['getpnp_74',['getPnp',['../class_nim_b_l_e_h_i_d_device.html#abda5099d23c7111e99d8d755565be84a',1,'NimBLEHIDDevice']]], + ['getpower_75',['getPower',['../class_nim_b_l_e_device.html#ae59445e712b468349099befca7a7be16',1,'NimBLEDevice']]], + ['getprimaryphy_76',['getPrimaryPhy',['../class_nim_b_l_e_advertised_device.html#a927a8418e4078107e5bf457c0bb56cbc',1,'NimBLEAdvertisedDevice']]], + ['getproperties_77',['getProperties',['../class_nim_b_l_e_characteristic.html#a0a7d8e25403d4045f0790a4baeb5248c',1,'NimBLECharacteristic']]], + ['getprotocolmode_78',['getProtocolMode',['../class_nim_b_l_e_h_i_d_device.html#a1bdd21f3cc61d0128b06cdfd9588d6f5',1,'NimBLEHIDDevice']]], + ['getproximityuuid_79',['getProximityUUID',['../class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad',1,'NimBLEBeacon']]], + ['getremotecharacteristic_80',['getRemoteCharacteristic',['../class_nim_b_l_e_remote_descriptor.html#a05befb3c020c14f6b49439fd784a868c',1,'NimBLERemoteDescriptor']]], + ['getremoteservice_81',['getRemoteService',['../class_nim_b_l_e_remote_characteristic.html#a1b3bbd1bcdde6dd952ee69ebad0ffc58',1,'NimBLERemoteCharacteristic']]], + ['getremoved_82',['getRemoved',['../class_nim_b_l_e_local_attribute.html#a7664b8e5353f33ebfcff20a63273fe55',1,'NimBLELocalAttribute']]], + ['getreportmap_83',['getReportMap',['../class_nim_b_l_e_h_i_d_device.html#afe75c42779aef757cd3ba84ec281efb5',1,'NimBLEHIDDevice']]], + ['getresults_84',['getresults',['../class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61',1,'NimBLEScan::getResults()'],['../class_nim_b_l_e_scan.html#ade1492b5d1b5d97efa76cd41583bfc96',1,'NimBLEScan::getResults(uint32_t duration, bool is_continue=false)']]], + ['getrssi_85',['getrssi',['../class_nim_b_l_e_client.html#a2645d4a2f8e381bf9bbffdfca846ae17',1,'NimBLEClient::getRssi()'],['../class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392',1,'NimBLEAdvertisedDevice::getRSSI() const']]], + ['getscan_86',['getscan',['../class_nim_b_l_e_advertised_device.html#a29f6e671bffb6d431d183a63074709b3',1,'NimBLEAdvertisedDevice::getScan()'],['../class_nim_b_l_e_device.html#af93d92316454b051125460056368baec',1,'NimBLEDevice::getScan()']]], + ['getscandata_87',['getScanData',['../class_nim_b_l_e_advertising.html#ae0e7d64d51882830750bcb87e2d9678c',1,'NimBLEAdvertising']]], + ['getseckeysize_88',['getSecKeySize',['../class_nim_b_l_e_conn_info.html#a3a555ccfc6fe678a2603942022a8cd5c',1,'NimBLEConnInfo']]], + ['getsecondaryphy_89',['getSecondaryPhy',['../class_nim_b_l_e_advertised_device.html#a4738e8e37b3509f62b63afb592c9b73e',1,'NimBLEAdvertisedDevice']]], + ['getsecuritypasskey_90',['getSecurityPasskey',['../class_nim_b_l_e_device.html#aa03937eadda020643b536c5d08174d3a',1,'NimBLEDevice']]], + ['getserver_91',['getserver',['../class_nim_b_l_e_device.html#a41d4cc7c85cba0721c6649b001b31b4d',1,'NimBLEDevice::getServer()'],['../class_nim_b_l_e_service.html#acfbb7abadee89abd496b89f8fe085f58',1,'NimBLEService::getServer()']]], + ['getservice_92',['getservice',['../class_nim_b_l_e_characteristic.html#a8afe29701cd595d8b3c34cc59400b86b',1,'NimBLECharacteristic::getService()'],['../class_nim_b_l_e_client.html#ae22379ab10bd82932d2303fb3753c366',1,'NimBLEClient::getService(const char *uuid)'],['../class_nim_b_l_e_client.html#ad8ba10522d79af1136019606802f0978',1,'NimBLEClient::getService(const NimBLEUUID &uuid)']]], + ['getservicebyhandle_93',['getServiceByHandle',['../class_nim_b_l_e_server.html#a0b009a568399014462a5ba7700b0129e',1,'NimBLEServer']]], + ['getservicebyuuid_94',['getservicebyuuid',['../class_nim_b_l_e_server.html#a26af61c030e9ad1108b24df4d3b6b633',1,'NimBLEServer::getServiceByUUID(const char *uuid, uint16_t instanceId=0) const'],['../class_nim_b_l_e_server.html#a6bd0d52090b31cf39e2e9666091b8a61',1,'NimBLEServer::getServiceByUUID(const NimBLEUUID &uuid, uint16_t instanceId=0) const']]], + ['getservicedata_95',['getservicedata',['../class_nim_b_l_e_advertised_device.html#a94ac18b573bace31613339e573076a70',1,'NimBLEAdvertisedDevice::getServiceData(uint8_t index=0) const'],['../class_nim_b_l_e_advertised_device.html#adc0e859c8403906c12196906b3c514c8',1,'NimBLEAdvertisedDevice::getServiceData(const NimBLEUUID &uuid) const'],['../class_nim_b_l_e_advertised_device.html#a2c0a851fe464217ae7ace84148d8849a',1,'NimBLEAdvertisedDevice::getServiceData(uint8_t index=0, bool skipSizeCheck=false) const'],['../class_nim_b_l_e_advertised_device.html#ae1c188511703f101eaa3995c7b4a5aac',1,'NimBLEAdvertisedDevice::getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false) const']]], + ['getservicedatacount_96',['getServiceDataCount',['../class_nim_b_l_e_advertised_device.html#a99d902853af4e0d5d3b7c7222f11eba0',1,'NimBLEAdvertisedDevice']]], + ['getservicedatauuid_97',['getServiceDataUUID',['../class_nim_b_l_e_advertised_device.html#a52fff852e23293d807a6719527eceff2',1,'NimBLEAdvertisedDevice']]], + ['getservices_98',['getServices',['../class_nim_b_l_e_client.html#adefe48b87e8a814e1643cdb8c3759298',1,'NimBLEClient']]], + ['getserviceuuid_99',['getServiceUUID',['../class_nim_b_l_e_advertised_device.html#ae44d13d47f80ed0499be7d84239f7ecb',1,'NimBLEAdvertisedDevice']]], + ['getserviceuuidcount_100',['getServiceUUIDCount',['../class_nim_b_l_e_advertised_device.html#adbdb381a86c556344e676a1e4e654d9f',1,'NimBLEAdvertisedDevice']]], + ['getsetid_101',['getSetId',['../class_nim_b_l_e_advertised_device.html#ad7313053fa990a9aa8f4bc832f35ee13',1,'NimBLEAdvertisedDevice']]], + ['getsignalpower_102',['getSignalPower',['../class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668',1,'NimBLEBeacon']]], + ['gettargetaddress_103',['getTargetAddress',['../class_nim_b_l_e_advertised_device.html#af51c0ff723dcb7bb1bc03460a9f0a25b',1,'NimBLEAdvertisedDevice']]], + ['gettargetaddresscount_104',['getTargetAddressCount',['../class_nim_b_l_e_advertised_device.html#a16738b3a745d29edff39bb4bbf4dfb28',1,'NimBLEAdvertisedDevice']]], + ['gettemp_105',['getTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#a72589029e329c3939b05f9df5e8113ce',1,'NimBLEEddystoneTLM']]], + ['gettime_106',['getTime',['../class_nim_b_l_e_eddystone_t_l_m.html#ab1c4a13c2f57a6e0293810dd09be3db3',1,'NimBLEEddystoneTLM']]], + ['gettxpower_107',['getTXPower',['../class_nim_b_l_e_advertised_device.html#a47b8224e031fd6ab5db93b457ec35b33',1,'NimBLEAdvertisedDevice']]], + ['gettype_108',['getType',['../class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb',1,'NimBLEAddress']]], + ['geturi_109',['getURI',['../class_nim_b_l_e_advertised_device.html#a56d07a328ebdea4112087dc02dac4fc2',1,'NimBLEAdvertisedDevice']]], + ['getuuid_110',['getuuid',['../class_nim_b_l_e_attribute.html#afd4500e543c9480c52ca994ed5473e49',1,'NimBLEAttribute::getUUID()'],['../class_nim_b_l_e_eddystone_t_l_m.html#aa511375f22952c0f5846a51e6c2511c5',1,'NimBLEEddystoneTLM::getUUID()']]], + ['getval_111',['getVal',['../class_nim_b_l_e_address.html#a196801fb1ad972085e748c90159e858e',1,'NimBLEAddress']]], + ['getvalue_112',['getvalue',['../class_nim_b_l_e_att_value.html#ab16b9901e6ff9374c7d2e1afa5aa4671',1,'NimBLEAttValue::getValue()'],['../class_nim_b_l_e_client.html#a3903fb7589e2b8b781f8f81f9e0f2a83',1,'NimBLEClient::getValue()'],['../class_nim_b_l_e_remote_service.html#ac2f19f76f0c0ac9b0efe2baa2ad2f7ec',1,'NimBLERemoteService::getValue()'],['../class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af',1,'NimBLEUUID::getValue()']]], + ['getversion_113',['getVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#ae9f17d2c1e4150775881babb73f0b10c',1,'NimBLEEddystoneTLM']]], + ['getvolt_114',['getVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#af9862f983df6f48a96220e936d13d17b',1,'NimBLEEddystoneTLM']]], + ['getwhitelistaddress_115',['getWhiteListAddress',['../class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789',1,'NimBLEDevice']]], + ['getwhitelistcount_116',['getWhiteListCount',['../class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0',1,'NimBLEDevice']]], + ['guide_117',['New User Guide',['../md__new__user__guide.html',1,'']]] ]; diff --git a/search/all_d.html b/search/all_d.html deleted file mode 100644 index af7f2f0..0000000 --- a/search/all_d.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_d.js b/search/all_d.js index 8f40dc6..84d18e3 100644 --- a/search/all_d.js +++ b/search/all_d.js @@ -1,5 +1,17 @@ var searchData= [ - ['pnp_285',['pnp',['../class_nim_b_l_e_h_i_d_device.html#a5309df317aa42de7ced2e34219b6666a',1,'NimBLEHIDDevice']]], - ['protocolmode_286',['protocolMode',['../class_nim_b_l_e_h_i_d_device.html#a1118c1e730f38b8b17795c8eb41a0861',1,'NimBLEHIDDevice']]] + ['hasextendedprops_0',['hasExtendedProps',['../class_nim_b_l_e_remote_characteristic.html#aff5a242abcba3f239bd177cebc69e1cb',1,'NimBLERemoteCharacteristic']]], + ['haveadvinterval_1',['haveAdvInterval',['../class_nim_b_l_e_advertised_device.html#a9b6ff6bd4e530dc9b5c76f9333d4420f',1,'NimBLEAdvertisedDevice']]], + ['haveappearance_2',['haveAppearance',['../class_nim_b_l_e_advertised_device.html#a89e65eba150a40326fe1c12f2be9fbea',1,'NimBLEAdvertisedDevice']]], + ['haveconnparams_3',['haveConnParams',['../class_nim_b_l_e_advertised_device.html#a6bb91e0c3b66a54ef9f53496fba1d748',1,'NimBLEAdvertisedDevice']]], + ['havemanufacturerdata_4',['haveManufacturerData',['../class_nim_b_l_e_advertised_device.html#ad68b1b03f59266f4aac9070e5e33d15f',1,'NimBLEAdvertisedDevice']]], + ['havename_5',['haveName',['../class_nim_b_l_e_advertised_device.html#aefa0142915204ace20ecb56a539396a2',1,'NimBLEAdvertisedDevice']]], + ['haveservicedata_6',['haveServiceData',['../class_nim_b_l_e_advertised_device.html#ab91aaf87b4bd03a6599f466b1a6c3299',1,'NimBLEAdvertisedDevice']]], + ['haveserviceuuid_7',['haveServiceUUID',['../class_nim_b_l_e_advertised_device.html#a1e61faae3ba0bdbb1bc197d1ca113f61',1,'NimBLEAdvertisedDevice']]], + ['havetargetaddress_8',['haveTargetAddress',['../class_nim_b_l_e_advertised_device.html#a6e7a4b9be93386e393addaa4a732e516',1,'NimBLEAdvertisedDevice']]], + ['havetxpower_9',['haveTXPower',['../class_nim_b_l_e_advertised_device.html#afde2edb305d4d78804b4750d1bc7aa38',1,'NimBLEAdvertisedDevice']]], + ['havetype_10',['haveType',['../class_nim_b_l_e_advertised_device.html#a8f4fc5c352487f816598796fb5430865',1,'NimBLEAdvertisedDevice']]], + ['haveuri_11',['haveURI',['../class_nim_b_l_e_advertised_device.html#a2e127b14ea79ebe88d291d7c8cc91b5a',1,'NimBLEAdvertisedDevice']]], + ['header_20files_12',['Header Files',['../md__migration__guide.html#header-files',1,'']]], + ['host_5ftask_13',['host_task',['../class_nim_b_l_e_device.html#ab4771de8c0805836f0e7059199d56411',1,'NimBLEDevice']]] ]; diff --git a/search/all_e.html b/search/all_e.html deleted file mode 100644 index e25df42..0000000 --- a/search/all_e.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_e.js b/search/all_e.js index 54d035c..672bc95 100644 --- a/search/all_e.js +++ b/search/all_e.js @@ -1,19 +1,35 @@ var searchData= [ - ['readfloat_287',['readFloat',['../class_nim_b_l_e_remote_characteristic.html#a81f39759d48a8fb792c94e4b3b455eef',1,'NimBLERemoteCharacteristic']]], - ['readuint16_288',['readUInt16',['../class_nim_b_l_e_remote_characteristic.html#a181c54862bc422d8ad0b326af675922d',1,'NimBLERemoteCharacteristic::readUInt16()'],['../class_nim_b_l_e_remote_descriptor.html#a14351ea51b7b04f91b71e388881edd53',1,'NimBLERemoteDescriptor::readUInt16()']]], - ['readuint32_289',['readUInt32',['../class_nim_b_l_e_remote_characteristic.html#a71793454ffab034f87af3a5e9677a63d',1,'NimBLERemoteCharacteristic::readUInt32()'],['../class_nim_b_l_e_remote_descriptor.html#a219606f84d63bc02f093051d66f05204',1,'NimBLERemoteDescriptor::readUInt32()']]], - ['readuint8_290',['readUInt8',['../class_nim_b_l_e_remote_characteristic.html#ade5c6ae280c3cf36c9905be23df8f080',1,'NimBLERemoteCharacteristic::readUInt8()'],['../class_nim_b_l_e_remote_descriptor.html#ab07e86707a91e48f68e9de55686e939b',1,'NimBLERemoteDescriptor::readUInt8()']]], - ['readvalue_291',['readValue',['../class_nim_b_l_e_remote_characteristic.html#a417bb44d000758535253488f4d77774a',1,'NimBLERemoteCharacteristic::readValue(time_t *timestamp=nullptr)'],['../class_nim_b_l_e_remote_characteristic.html#a463760cabc9ca104a6fe094eb942fec0',1,'NimBLERemoteCharacteristic::readValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)'],['../class_nim_b_l_e_remote_descriptor.html#a7c7c07e6ccd969de568b5bda72ec52d7',1,'NimBLERemoteDescriptor::readValue()'],['../class_nim_b_l_e_remote_descriptor.html#ac4e3a21818903b69ace41c36a58d3c46',1,'NimBLERemoteDescriptor::readValue(bool skipSizeCheck=false)']]], - ['registerfornotify_292',['registerForNotify',['../class_nim_b_l_e_remote_characteristic.html#ab4f54eabe90a416546b7b3fc3477f49c',1,'NimBLERemoteCharacteristic']]], - ['removeall_293',['removeAll',['../class_nim_b_l_e_ext_advertising.html#a8c4df0be35301c90a39491b9e98d3e24',1,'NimBLEExtAdvertising']]], - ['removecharacteristic_294',['removeCharacteristic',['../class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234',1,'NimBLEService']]], - ['removedescriptor_295',['removeDescriptor',['../class_nim_b_l_e_characteristic.html#a2c0ed8932ee257a8632e3d72e353489b',1,'NimBLECharacteristic']]], - ['removeignored_296',['removeIgnored',['../class_nim_b_l_e_device.html#a0374ab8e323277bd8498609559966924',1,'NimBLEDevice']]], - ['removeinstance_297',['removeInstance',['../class_nim_b_l_e_ext_advertising.html#af7f4225f33f03d17efba1d4de0684eef',1,'NimBLEExtAdvertising']]], - ['removeservice_298',['removeService',['../class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75',1,'NimBLEServer']]], - ['removeserviceuuid_299',['removeServiceUUID',['../class_nim_b_l_e_advertising.html#a725437c00152ff57ef1e21bdf7be980d',1,'NimBLEAdvertising']]], - ['reportmap_300',['reportMap',['../class_nim_b_l_e_h_i_d_device.html#a5e996a1668785f7a978f9874b4ff3b3e',1,'NimBLEHIDDevice']]], - ['reset_301',['reset',['../class_nim_b_l_e_advertising.html#a545b505ea76396c33133d41a78fad5b8',1,'NimBLEAdvertising']]], - ['returncodetostring_302',['returnCodeToString',['../class_nim_b_l_e_utils.html#a9885eda5c51477aefc0ba9e1c96d5a34',1,'NimBLEUtils']]] + ['idf_20installation_0',['ESP-IDF Installation',['../index.html#esp-idf-installation',1,'']]], + ['in_20a_20task_20running_20on_20the_20nimble_20stack_20core_1',['Put BLE functions in a task running on the NimBLE stack core',['../md__usage__tips.html#put-ble-functions-in-a-task-running-on-the-nimble-stack-core',1,'']]], + ['include_20files_2',['Include Files',['../md__new__user__guide.html#include-files',1,'']]], + ['indicate_3',['indicate',['../class_nim_b_l_e_characteristic.html#aa5eb7de28ee6ec5661acac5c07abb11c',1,'NimBLECharacteristic::indicate(const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31',1,'NimBLECharacteristic::indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a3ae5959f98c503de42660e195470192b',1,'NimBLECharacteristic::indicate(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31',1,'NimBLECharacteristic::indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#aabdc2745d2523239a9ab3f02e39aa3cf',1,'NimBLECharacteristic::indicate(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const']]], + ['information_4',['General Information',['../md__migration__guide.html#general-information',1,'']]], + ['init_5',['init',['../class_nim_b_l_e_device.html#a2e8bb71daabbffd9eab8787493a45ce7',1,'NimBLEDevice']]], + ['injectconfirmpasskey_6',['injectConfirmPasskey',['../class_nim_b_l_e_device.html#aff35384524ab80a19ce1ef23fdcd970b',1,'NimBLEDevice']]], + ['injectpasskey_7',['injectPassKey',['../class_nim_b_l_e_device.html#a5071168b3bda69aa4457a43473ad7a96',1,'NimBLEDevice']]], + ['installation_8',['ESP-IDF Installation',['../index.html#esp-idf-installation',1,'']]], + ['instances_20unless_20necessary_20or_20unused_9',['Do not delete client instances unless necessary or unused',['../md__usage__tips.html#do-not-delete-client-instances-unless-necessary-or-unused',1,'']]], + ['is_20nimble_10',['What is NimBLE?',['../index.html#what-is-nimble',1,'']]], + ['is_20now_11',['Is Now',['../md__migration__guide.html#is-now',1,'']]], + ['isactive_12',['isActive',['../class_nim_b_l_e_ext_advertising.html#a6fd8c8fff9fcb8be80c76774be031104',1,'NimBLEExtAdvertising']]], + ['isadvertising_13',['isadvertising',['../class_nim_b_l_e_advertising.html#ac257ab68520a244cb6494d793f9b6c2a',1,'NimBLEAdvertising::isAdvertising()'],['../class_nim_b_l_e_ext_advertising.html#abd7d35653a6831e75700eb5ac9ab5789',1,'NimBLEExtAdvertising::isAdvertising()']]], + ['isadvertisingservice_14',['isAdvertisingService',['../class_nim_b_l_e_advertised_device.html#ad006b08552281a3e6c9d9444e7942709',1,'NimBLEAdvertisedDevice']]], + ['isauthenticated_15',['isAuthenticated',['../class_nim_b_l_e_conn_info.html#a8a1174d706ae36e99adc9498bf30d68f',1,'NimBLEConnInfo']]], + ['isbonded_16',['isbonded',['../class_nim_b_l_e_device.html#a16bf4f5394735ed8d7f0bb32ca5d269a',1,'NimBLEDevice::isBonded()'],['../class_nim_b_l_e_conn_info.html#afefcdd1c560a307632c15394497c436f',1,'NimBLEConnInfo::isBonded()']]], + ['isconnectable_17',['isConnectable',['../class_nim_b_l_e_advertised_device.html#ab9710a6c3a141b6413d5159dfe4a4040',1,'NimBLEAdvertisedDevice']]], + ['isconnected_18',['isConnected',['../class_nim_b_l_e_client.html#a0bdaf55b06367d1abd6f59bfbe1e8689',1,'NimBLEClient']]], + ['isencrypted_19',['isEncrypted',['../class_nim_b_l_e_conn_info.html#a1a29242623a50989c7a03ee209ac2cf4',1,'NimBLEConnInfo']]], + ['isinitialized_20',['isInitialized',['../class_nim_b_l_e_device.html#a425561f1e23856756ab9c1c330da5737',1,'NimBLEDevice']]], + ['islegacyadvertisement_21',['isLegacyAdvertisement',['../class_nim_b_l_e_advertised_device.html#a49b445130f028b49175d01cd3f6db050',1,'NimBLEAdvertisedDevice']]], + ['ismaster_22',['isMaster',['../class_nim_b_l_e_conn_info.html#a5f91ef30d5ff92ad26f07feb31a5cd20',1,'NimBLEConnInfo']]], + ['isnrpa_23',['isNrpa',['../class_nim_b_l_e_address.html#a9af65abe3c02a16307b8cffa3b1bcac1',1,'NimBLEAddress']]], + ['isnull_24',['isNull',['../class_nim_b_l_e_address.html#aa05f35ab6724a00c65dd096006dba2bb',1,'NimBLEAddress']]], + ['ispublic_25',['isPublic',['../class_nim_b_l_e_address.html#a7154780415ae201a1fcdf86298b6116c',1,'NimBLEAddress']]], + ['isrpa_26',['isRpa',['../class_nim_b_l_e_address.html#a96fba1524ed8ab43f59f5f650e8fd3c8',1,'NimBLEAddress']]], + ['isscannable_27',['isScannable',['../class_nim_b_l_e_advertised_device.html#a6f55263d4a86d3e2f6b23b71eb68ef98',1,'NimBLEAdvertisedDevice']]], + ['isscanning_28',['isScanning',['../class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016',1,'NimBLEScan']]], + ['isslave_29',['isSlave',['../class_nim_b_l_e_conn_info.html#ad91de04bdad64019950a1d095baf0e43',1,'NimBLEConnInfo']]], + ['isstarted_30',['isStarted',['../class_nim_b_l_e_service.html#aa9464e97d7e39a4634c5d9bdce1abbac',1,'NimBLEService']]], + ['isstatic_31',['isStatic',['../class_nim_b_l_e_address.html#a409e3ef141526c8f5c5fad99bd95b660',1,'NimBLEAddress']]] ]; diff --git a/search/all_f.html b/search/all_f.html deleted file mode 100644 index b23da6c..0000000 --- a/search/all_f.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/all_f.js b/search/all_f.js index 0625278..68b62e7 100644 --- a/search/all_f.js +++ b/search/all_f.js @@ -1,99 +1,7 @@ var searchData= [ - ['secureconnection_303',['secureConnection',['../class_nim_b_l_e_client.html#a79935ecbe94f2a41e0106d011edafac4',1,'NimBLEClient']]], - ['setactivescan_304',['setActiveScan',['../class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910',1,'NimBLEScan']]], - ['setaddress_305',['setAddress',['../class_nim_b_l_e_ext_advertisement.html#a02fe1652f994e5bf76dc03381e47b39e',1,'NimBLEExtAdvertisement']]], - ['setadvertiseddevicecallbacks_306',['setAdvertisedDeviceCallbacks',['../class_nim_b_l_e_scan.html#ab275a9fec35c8957acf47689056d94af',1,'NimBLEScan']]], - ['setadvertisementdata_307',['setAdvertisementData',['../class_nim_b_l_e_advertising.html#af7083f58717b7e76d90d367f00a0ef08',1,'NimBLEAdvertising']]], - ['setadvertisementtype_308',['setAdvertisementType',['../class_nim_b_l_e_advertising.html#a68d54f11b47b9993322efec1d07c3519',1,'NimBLEAdvertising']]], - ['setanonymous_309',['setAnonymous',['../class_nim_b_l_e_ext_advertisement.html#a3700ef4fd9078cf6dfd8c1eea4c520ba',1,'NimBLEExtAdvertisement']]], - ['setappearance_310',['setAppearance',['../class_nim_b_l_e_advertisement_data.html#a0f209913ef9f3dfb5be8db39567b4f32',1,'NimBLEAdvertisementData::setAppearance()'],['../class_nim_b_l_e_advertising.html#aa0d30dfb57670cc8180e17dffddad416',1,'NimBLEAdvertising::setAppearance()'],['../class_nim_b_l_e_ext_advertisement.html#a852b96ea8e349caea04941adbe6d24b4',1,'NimBLEExtAdvertisement::setAppearance()']]], - ['setauthenticationmode_311',['setAuthenticationMode',['../class_nim_b_l_e_security.html#a5cf0d3672a16f557032bcbf39a9e22f2',1,'NimBLESecurity']]], - ['setbatterylevel_312',['setBatteryLevel',['../class_nim_b_l_e_h_i_d_device.html#a84e3127a05f7e6a44761ec4a9e7668e3',1,'NimBLEHIDDevice']]], - ['setcallbacks_313',['setCallbacks',['../class_nim_b_l_e_ext_advertising.html#add623162d46c952d692e26888c9f8826',1,'NimBLEExtAdvertising::setCallbacks()'],['../class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9',1,'NimBLEServer::setCallbacks()'],['../class_nim_b_l_e_descriptor.html#aa9cb8727f9e17cf8050cf619e5fe3096',1,'NimBLEDescriptor::setCallbacks()'],['../class_nim_b_l_e_characteristic.html#a29dc2505e1d3b4a7d6800d1547965d17',1,'NimBLECharacteristic::setCallbacks()']]], - ['setcapability_314',['setCapability',['../class_nim_b_l_e_security.html#a1bb7902d5ceffaca86bd7638a74e35e3',1,'NimBLESecurity']]], - ['setclientcallbacks_315',['setClientCallbacks',['../class_nim_b_l_e_client.html#aeede4deef7421b9121387a786c07820c',1,'NimBLEClient']]], - ['setcompleteservices_316',['setCompleteServices',['../class_nim_b_l_e_advertisement_data.html#a67fd95e586559b73964d5739051f3822',1,'NimBLEAdvertisementData::setCompleteServices()'],['../class_nim_b_l_e_ext_advertisement.html#a01f8e18204071c11eb47ab243893fc53',1,'NimBLEExtAdvertisement::setCompleteServices()']]], - ['setcompleteservices16_317',['setCompleteServices16',['../class_nim_b_l_e_advertisement_data.html#a50a2584346208ef28274eeecc5befffb',1,'NimBLEAdvertisementData::setCompleteServices16()'],['../class_nim_b_l_e_ext_advertisement.html#a0a1f0c1facf52f3688b53158e95153b6',1,'NimBLEExtAdvertisement::setCompleteServices16()']]], - ['setcompleteservices32_318',['setCompleteServices32',['../class_nim_b_l_e_advertisement_data.html#a712aa09a4d7f2b3cae9b2f1f1be6372f',1,'NimBLEAdvertisementData::setCompleteServices32()'],['../class_nim_b_l_e_ext_advertisement.html#a31ef2860f84d44a110f2a6d2d8eda3fc',1,'NimBLEExtAdvertisement::setCompleteServices32(const std::vector< NimBLEUUID > &v_uuid)']]], - ['setconnectable_319',['setConnectable',['../class_nim_b_l_e_ext_advertisement.html#a6162f7b7692b5ddabf7e015893b0ffa2',1,'NimBLEExtAdvertisement']]], - ['setconnectionparams_320',['setConnectionParams',['../class_nim_b_l_e_client.html#a17718339f76eb621db0d7919c73b9267',1,'NimBLEClient']]], - ['setconnectphy_321',['setConnectPhy',['../class_nim_b_l_e_client.html#a3ab0a864d8fc7f91ea27f459e2c76b9e',1,'NimBLEClient']]], - ['setconnecttimeout_322',['setConnectTimeout',['../class_nim_b_l_e_client.html#a4068b29a9bd12e3110465908864dd20e',1,'NimBLEClient']]], - ['setcount_323',['setCount',['../class_nim_b_l_e_eddystone_t_l_m.html#a6d033c09a513b2dfdad6f1b962b906a8',1,'NimBLEEddystoneTLM']]], - ['setcustomgaphandler_324',['setCustomGapHandler',['../class_nim_b_l_e_device.html#a8d4e1013815e7b021029f447f1702833',1,'NimBLEDevice']]], - ['setdata_325',['setData',['../class_nim_b_l_e_eddystone_t_l_m.html#a160e33218dc7fb33f678cda1605da52e',1,'NimBLEEddystoneTLM::setData()'],['../class_nim_b_l_e_ext_advertisement.html#a08a31a938ccd10fad61e1115c1db6274',1,'NimBLEExtAdvertisement::setData()'],['../class_nim_b_l_e_eddystone_u_r_l.html#ada3ac4a544b8565635871f39f1593811',1,'NimBLEEddystoneURL::setData()'],['../class_nim_b_l_e_beacon.html#a92292c8b1f5ba0097f063ff6e60934ff',1,'NimBLEBeacon::setData()']]], - ['setdatalen_326',['setDataLen',['../class_nim_b_l_e_client.html#a33a0114a126e0e58f7b4359c74f4ed41',1,'NimBLEClient::setDataLen()'],['../class_nim_b_l_e_server.html#a15112931d1eb6226188c7e383523ba06',1,'NimBLEServer::setDataLen()']]], - ['setdescription_327',['setDescription',['../class_nim_b_l_e2904.html#a498c863cb3fbf92eecc23f9f8856037c',1,'NimBLE2904']]], - ['setdevicename_328',['setDeviceName',['../class_nim_b_l_e_device.html#ae0dd47ddcab25136a0adfee6ae76bd9c',1,'NimBLEDevice']]], - ['setdirected_329',['setDirected',['../class_nim_b_l_e_ext_advertisement.html#a2b29a03b9a8b3a30245ff5468f239887',1,'NimBLEExtAdvertisement']]], - ['setdirectedpeer_330',['setDirectedPeer',['../class_nim_b_l_e_ext_advertisement.html#a52ee2ff1ccd011ed3410d52c0518728e',1,'NimBLEExtAdvertisement']]], - ['setduplicatefilter_331',['setDuplicateFilter',['../class_nim_b_l_e_scan.html#ac40563af803f3b9ab88398c7f30e21bb',1,'NimBLEScan']]], - ['setexponent_332',['setExponent',['../class_nim_b_l_e2904.html#ab1c53f99246f67dca1d63b812bef631d',1,'NimBLE2904']]], - ['setfilterpolicy_333',['setFilterPolicy',['../class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967',1,'NimBLEScan']]], - ['setflags_334',['setFlags',['../class_nim_b_l_e_advertisement_data.html#a73766a872477512bd750c773d96ca4e2',1,'NimBLEAdvertisementData::setFlags()'],['../class_nim_b_l_e_ext_advertisement.html#a5536d30615b87b68ec0c0f01292f5df9',1,'NimBLEExtAdvertisement::setFlags()']]], - ['setformat_335',['setFormat',['../class_nim_b_l_e2904.html#ab7f21651b4493fd3daaa0f1545032ff1',1,'NimBLE2904']]], - ['setinitencryptionkey_336',['setInitEncryptionKey',['../class_nim_b_l_e_security.html#adfc3caa3e1a5aedc3be5c0f1dc5c99ac',1,'NimBLESecurity']]], - ['setinstancedata_337',['setInstanceData',['../class_nim_b_l_e_ext_advertising.html#a321fb75a0ffacedfb54da4cc00484b7c',1,'NimBLEExtAdvertising']]], - ['setinterval_338',['setInterval',['../class_nim_b_l_e_scan.html#a3f3e30d8b79aeb4d64af10d5f9d33788',1,'NimBLEScan']]], - ['setkeysize_339',['setKeySize',['../class_nim_b_l_e_security.html#ab2be50284a325ec8937abdab0baafd4b',1,'NimBLESecurity']]], - ['setlegacyadvertising_340',['setLegacyAdvertising',['../class_nim_b_l_e_ext_advertisement.html#a6a0bcbde65ccb9e49aa93d31514c8225',1,'NimBLEExtAdvertisement']]], - ['setlimitedonly_341',['setLimitedOnly',['../class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1',1,'NimBLEScan']]], - ['setmajor_342',['setMajor',['../class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea',1,'NimBLEBeacon']]], - ['setmanufacturerdata_343',['setManufacturerData',['../class_nim_b_l_e_advertisement_data.html#aa4df88b578782cda2bd77368b50f2d27',1,'NimBLEAdvertisementData::setManufacturerData()'],['../class_nim_b_l_e_advertising.html#a1eff592870a47b0f62b0f0894efadbd4',1,'NimBLEAdvertising::setManufacturerData()'],['../class_nim_b_l_e_ext_advertisement.html#a5e90a75173354fe9c6959004eb43b20a',1,'NimBLEExtAdvertisement::setManufacturerData()']]], - ['setmanufacturerid_344',['setManufacturerId',['../class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9',1,'NimBLEBeacon']]], - ['setmaxinterval_345',['setMaxInterval',['../class_nim_b_l_e_ext_advertisement.html#a4c339022b5523d20cc7fa956c5dbe1be',1,'NimBLEExtAdvertisement::setMaxInterval()'],['../class_nim_b_l_e_advertising.html#aab512576d8873fbbb631bac8ada19530',1,'NimBLEAdvertising::setMaxInterval(uint16_t maxinterval)']]], - ['setmaxpreferred_346',['setMaxPreferred',['../class_nim_b_l_e_advertising.html#a3382cdf80f5ae46a52e3b9159f8e1b66',1,'NimBLEAdvertising']]], - ['setmaxresults_347',['setMaxResults',['../class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81',1,'NimBLEScan']]], - ['setmininterval_348',['setMinInterval',['../class_nim_b_l_e_advertising.html#a16bd135cab3f06bc0ba81c2aec19cbbc',1,'NimBLEAdvertising::setMinInterval()'],['../class_nim_b_l_e_ext_advertisement.html#ae9777a0c544be6c674f4e39d56e930b8',1,'NimBLEExtAdvertisement::setMinInterval()']]], - ['setminor_349',['setMinor',['../class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e',1,'NimBLEBeacon']]], - ['setminpreferred_350',['setMinPreferred',['../class_nim_b_l_e_advertising.html#a3bc158da1f732361df69cf16ca1cfd42',1,'NimBLEAdvertising']]], - ['setmtu_351',['setMTU',['../class_nim_b_l_e_device.html#a7d8203040611e3f82bf4848a9b371e98',1,'NimBLEDevice']]], - ['setname_352',['setName',['../class_nim_b_l_e_advertising.html#add2ecd09877d7e4548b11ec7cb8c7a47',1,'NimBLEAdvertising::setName()'],['../class_nim_b_l_e_ext_advertisement.html#a7d7d57268d7c54fe5492e92bc7af33d8',1,'NimBLEExtAdvertisement::setName()'],['../class_nim_b_l_e_advertisement_data.html#a885b4ed75dd71c4c19b86048c16350bf',1,'NimBLEAdvertisementData::setName()']]], - ['setnamespace_353',['setNamespace',['../class_nim_b_l_e2904.html#a2206274c217d43a8ba121e1d279f8962',1,'NimBLE2904']]], - ['setpartialservices_354',['setPartialServices',['../class_nim_b_l_e_advertisement_data.html#af52546d7c3b733a831f6232a845bef85',1,'NimBLEAdvertisementData::setPartialServices()'],['../class_nim_b_l_e_ext_advertisement.html#ab76aa4b9fb743e5269cfbbae8215d8a8',1,'NimBLEExtAdvertisement::setPartialServices()']]], - ['setpartialservices16_355',['setPartialServices16',['../class_nim_b_l_e_advertisement_data.html#a50063c7ffa24f0f0407366a450e23ae4',1,'NimBLEAdvertisementData::setPartialServices16()'],['../class_nim_b_l_e_ext_advertisement.html#a747ef73a02df72709cf9bd89aabc08b3',1,'NimBLEExtAdvertisement::setPartialServices16()']]], - ['setpartialservices32_356',['setPartialServices32',['../class_nim_b_l_e_advertisement_data.html#a0ff5a72bccd349e551270ceadf528306',1,'NimBLEAdvertisementData::setPartialServices32()'],['../class_nim_b_l_e_ext_advertisement.html#ad3bd08736cc70700c00432ec9ccfe94d',1,'NimBLEExtAdvertisement::setPartialServices32()']]], - ['setpeeraddress_357',['setPeerAddress',['../class_nim_b_l_e_client.html#a93b5b7c01e58a95dcea335f837d81d07',1,'NimBLEClient']]], - ['setpower_358',['setPower',['../class_nim_b_l_e_eddystone_u_r_l.html#a8038c895e8da7c7ac861557ea0a9d91b',1,'NimBLEEddystoneURL']]], - ['setpreferredparams_359',['setPreferredParams',['../class_nim_b_l_e_advertisement_data.html#a58ba06eb062a47cc58ba2829af8aafa5',1,'NimBLEAdvertisementData::setPreferredParams()'],['../class_nim_b_l_e_ext_advertisement.html#abb66ffe5783f91f03301fc705701569f',1,'NimBLEExtAdvertisement::setPreferredParams(uint16_t min, uint16_t max)']]], - ['setprimarychannels_360',['setPrimaryChannels',['../class_nim_b_l_e_ext_advertisement.html#ab6103c5e86949d0e334101353b109775',1,'NimBLEExtAdvertisement']]], - ['setprimaryphy_361',['setPrimaryPhy',['../class_nim_b_l_e_ext_advertisement.html#ad8522542b90067e3a53076823d2087c3',1,'NimBLEExtAdvertisement']]], - ['setproximityuuid_362',['setProximityUUID',['../class_nim_b_l_e_beacon.html#a7f33ffc298285d1ab02088b2584f2256',1,'NimBLEBeacon']]], - ['setrespencryptionkey_363',['setRespEncryptionKey',['../class_nim_b_l_e_security.html#aac8434faa02a6813b7efd87224e04714',1,'NimBLESecurity']]], - ['setscanfilter_364',['setScanFilter',['../class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790',1,'NimBLEAdvertising::setScanFilter()'],['../class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138',1,'NimBLEExtAdvertisement::setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)']]], - ['setscannable_365',['setScannable',['../class_nim_b_l_e_ext_advertisement.html#a07b1589ad58a9e09b6ba7269fec87df0',1,'NimBLEExtAdvertisement']]], - ['setscanresponse_366',['setScanResponse',['../class_nim_b_l_e_advertising.html#a6fb4d9ad3949928ac83d3e74857ab91f',1,'NimBLEAdvertising']]], - ['setscanresponsedata_367',['setScanResponseData',['../class_nim_b_l_e_advertising.html#a04a51a0c639a70295a9b671f73b34358',1,'NimBLEAdvertising::setScanResponseData()'],['../class_nim_b_l_e_ext_advertising.html#a9395a0087e96329591ed2515cc21456b',1,'NimBLEExtAdvertising::setScanResponseData()']]], - ['setsecondaryphy_368',['setSecondaryPhy',['../class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506',1,'NimBLEExtAdvertisement']]], - ['setsecurityauth_369',['setSecurityAuth',['../class_nim_b_l_e_device.html#aa8e340c02418771ce72dec758d560938',1,'NimBLEDevice::setSecurityAuth(bool bonding, bool mitm, bool sc)'],['../class_nim_b_l_e_device.html#a2f10da171794581870d678fc947a5d1f',1,'NimBLEDevice::setSecurityAuth(uint8_t auth_req)']]], - ['setsecuritycallbacks_370',['setSecurityCallbacks',['../class_nim_b_l_e_device.html#a7d44bb960c0bb1bec02a33369c693085',1,'NimBLEDevice']]], - ['setsecurityinitkey_371',['setSecurityInitKey',['../class_nim_b_l_e_device.html#a92d36c3a34d9474fa1d7f66c0e477d1e',1,'NimBLEDevice']]], - ['setsecurityiocap_372',['setSecurityIOCap',['../class_nim_b_l_e_device.html#ab9fee9e810d5fa18bc8a37053eb9b5d0',1,'NimBLEDevice']]], - ['setsecuritypasskey_373',['setSecurityPasskey',['../class_nim_b_l_e_device.html#a84631f6d657fb6bd39722560fa229d35',1,'NimBLEDevice']]], - ['setsecurityrespkey_374',['setSecurityRespKey',['../class_nim_b_l_e_device.html#a57f0d4db1cc564176b23e860fce13f6a',1,'NimBLEDevice']]], - ['setservicedata_375',['setServiceData',['../class_nim_b_l_e_advertising.html#a994e43e9e4ace6ce64c57e57d0575781',1,'NimBLEAdvertising::setServiceData()'],['../class_nim_b_l_e_ext_advertisement.html#a1a4fd6883b11c339e397fc52f75c9ebb',1,'NimBLEExtAdvertisement::setServiceData()'],['../class_nim_b_l_e_advertisement_data.html#aee4fdb5af06fcda9cab9fad3f5bf80d5',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const std::string &data)']]], - ['setshortname_376',['setShortName',['../class_nim_b_l_e_advertisement_data.html#ae5b514ad9be6552727f1c7a744a29ae5',1,'NimBLEAdvertisementData::setShortName()'],['../class_nim_b_l_e_ext_advertisement.html#a6220b378a1f2361c6dc76ba125936c51',1,'NimBLEExtAdvertisement::setShortName()']]], - ['setsignalpower_377',['setSignalPower',['../class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0',1,'NimBLEBeacon']]], - ['setstaticpin_378',['setStaticPIN',['../class_nim_b_l_e_security.html#a0bb1535e1b0d48566c17f681b7539f82',1,'NimBLESecurity']]], - ['settemp_379',['setTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#a8e8ee8fff10730089a370f9da7b6a691',1,'NimBLEEddystoneTLM']]], - ['settime_380',['setTime',['../class_nim_b_l_e_eddystone_t_l_m.html#a999d53f4bad59c2ebc688403f66474b1',1,'NimBLEEddystoneTLM']]], - ['settxpower_381',['setTxPower',['../class_nim_b_l_e_ext_advertisement.html#a63c2f5900752edad428304c5342b8458',1,'NimBLEExtAdvertisement']]], - ['setunit_382',['setUnit',['../class_nim_b_l_e2904.html#ad0cf78a2a1c3418be9a39beaa0c826ee',1,'NimBLE2904']]], - ['seturi_383',['setURI',['../class_nim_b_l_e_advertising.html#a6495d7c9ad80a8c2a5edf974705f8103',1,'NimBLEAdvertising::setURI()'],['../class_nim_b_l_e_ext_advertisement.html#af25522e956cfeb64bd6beca881d8786e',1,'NimBLEExtAdvertisement::setURI()'],['../class_nim_b_l_e_advertisement_data.html#aa003bc4cf9bff2b2bcac9b742ec97a36',1,'NimBLEAdvertisementData::setURI()']]], - ['seturl_384',['setURL',['../class_nim_b_l_e_eddystone_u_r_l.html#a8102533ff1e7b6527ea744279f8f64ca',1,'NimBLEEddystoneURL']]], - ['setuuid_385',['setUUID',['../class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291',1,'NimBLEEddystoneTLM::setUUID()'],['../class_nim_b_l_e_eddystone_u_r_l.html#af183e8483ae81fff65d909e67986fcad',1,'NimBLEEddystoneURL::setUUID()']]], - ['setvalue_386',['setValue',['../class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa',1,'NimBLEAttValue::setValue()'],['../class_nim_b_l_e_remote_service.html#a4bb8c7c85580d86fd9ab7be5c3933b72',1,'NimBLERemoteService::setValue()'],['../class_nim_b_l_e_descriptor.html#a9136cc9e4b41110b3dd99d1c9553a477',1,'NimBLEDescriptor::setValue(const T &s)'],['../class_nim_b_l_e_descriptor.html#a644f739b6621702856be8db93035e9a0',1,'NimBLEDescriptor::setValue(const std::vector< uint8_t > &vec)'],['../class_nim_b_l_e_descriptor.html#a9447cee9092dc516266f7764131ba923',1,'NimBLEDescriptor::setValue(const uint8_t *data, size_t size)'],['../class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2',1,'NimBLEClient::setValue()'],['../class_nim_b_l_e_characteristic.html#a9daeb13599265cb0f8ea94b7ac4ef053',1,'NimBLECharacteristic::setValue(const std::vector< uint8_t > &vec)'],['../class_nim_b_l_e_characteristic.html#a7cd211a8bb9a0c2ffaed57f2af273677',1,'NimBLECharacteristic::setValue(const uint8_t *data, size_t size)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#a9c0f67d150d198c5bcad6eafafee21b6',1,'NimBLEAttValue::setValue(const char *s)'],['../class_nim_b_l_e_characteristic.html#aba05898f446e31222fbe509fa357c730',1,'NimBLECharacteristic::setValue()']]], - ['setversion_387',['setVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63',1,'NimBLEEddystoneTLM']]], - ['setvolt_388',['setVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#ad69af8fe47502d922203916357f6c206',1,'NimBLEEddystoneTLM']]], - ['setwindow_389',['setWindow',['../class_nim_b_l_e_scan.html#ac2e8c921413f1ad217f45fecf63c0d22',1,'NimBLEScan']]], - ['size_390',['size',['../class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c',1,'NimBLEAttValue']]], - ['start_391',['start',['../class_nim_b_l_e_advertising.html#aeeee5a131b42a4f76010751f4c182e4f',1,'NimBLEAdvertising::start()'],['../class_nim_b_l_e_ext_advertising.html#a8044a281a37f4d7c96166ce6f0851159',1,'NimBLEExtAdvertising::start()'],['../class_nim_b_l_e_scan.html#a21b1e27816717b77533755f31dfaa820',1,'NimBLEScan::start(uint32_t duration, void(*scanCompleteCB)(NimBLEScanResults), bool is_continue=false)'],['../class_nim_b_l_e_scan.html#a8459a1c69476fcdfd6370a1d10e0e159',1,'NimBLEScan::start(uint32_t duration, bool is_continue=false)'],['../class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb',1,'NimBLEServer::start()'],['../class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985',1,'NimBLEService::start()']]], - ['startadvertising_392',['startAdvertising',['../class_nim_b_l_e_device.html#aea8d74a45689590e965db210c7648e5a',1,'NimBLEDevice::startAdvertising()'],['../class_nim_b_l_e_server.html#adb1e37c174a5b62f6fd674376fac99d0',1,'NimBLEServer::startAdvertising()'],['../class_nim_b_l_e_server.html#a8f4b6c2fc5602f5ec34f963df6a21f75',1,'NimBLEServer::startAdvertising(uint8_t inst_id, int duration=0, int max_events=0)'],['../class_nim_b_l_e_device.html#ad652f03bc10a469b26c5f9c213f005dd',1,'NimBLEDevice::startAdvertising()']]], - ['startsecurity_393',['startSecurity',['../class_nim_b_l_e_device.html#a339157bf3d8fc712fa838e9a5127cc62',1,'NimBLEDevice']]], - ['startservices_394',['startServices',['../class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235',1,'NimBLEHIDDevice']]], - ['status_395',['Status',['../class_nim_b_l_e_characteristic_callbacks.html#a104baba3c4bbdee7aa28273d265e4c6f',1,'NimBLECharacteristicCallbacks']]], - ['stop_396',['stop',['../class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800',1,'NimBLEAdvertising::stop()'],['../class_nim_b_l_e_ext_advertising.html#a02b4e33908456341fb98753d51316609',1,'NimBLEExtAdvertising::stop(uint8_t inst_id)'],['../class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109',1,'NimBLEExtAdvertising::stop()'],['../class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1',1,'NimBLEScan::stop()']]], - ['stopadvertising_397',['stopAdvertising',['../class_nim_b_l_e_device.html#a3be45b458aada9b37019e43840ef7275',1,'NimBLEDevice::stopAdvertising(uint8_t inst_id)'],['../class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629',1,'NimBLEDevice::stopAdvertising()'],['../class_nim_b_l_e_server.html#af827ef8988c1584795447a634502f0df',1,'NimBLEServer::stopAdvertising(uint8_t inst_id)'],['../class_nim_b_l_e_server.html#a7a4c114b572675e82700604db29e6e25',1,'NimBLEServer::stopAdvertising()']]], - ['subscribe_398',['subscribe',['../class_nim_b_l_e_remote_characteristic.html#aa08b2f62376568e1fc833e4ff91e8aa7',1,'NimBLERemoteCharacteristic']]] + ['length_0',['length',['../class_nim_b_l_e_att_value.html#a35df29c514613b1d00841abd6fffa320',1,'NimBLEAttValue']]], + ['library_1',['Using the Library',['../md__new__user__guide.html#using-the-library',1,'']]], + ['list_2',['Deprecated List',['../deprecated.html',1,'']]], + ['list_20of_20properties_3',['The full list of properties',['../md__migration__guide.html#the-full-list-of-properties',1,'']]] ]; diff --git a/search/classes_0.html b/search/classes_0.html deleted file mode 100644 index af8159e..0000000 --- a/search/classes_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/classes_0.js b/search/classes_0.js index d35cea8..a3f80c8 100644 --- a/search/classes_0.js +++ b/search/classes_0.js @@ -1,37 +1,37 @@ var searchData= [ - ['nimble2904_415',['NimBLE2904',['../class_nim_b_l_e2904.html',1,'']]], - ['nimbleaddress_416',['NimBLEAddress',['../class_nim_b_l_e_address.html',1,'']]], - ['nimbleadvertiseddevice_417',['NimBLEAdvertisedDevice',['../class_nim_b_l_e_advertised_device.html',1,'']]], - ['nimbleadvertiseddevicecallbacks_418',['NimBLEAdvertisedDeviceCallbacks',['../class_nim_b_l_e_advertised_device_callbacks.html',1,'']]], - ['nimbleadvertisementdata_419',['NimBLEAdvertisementData',['../class_nim_b_l_e_advertisement_data.html',1,'']]], - ['nimbleadvertising_420',['NimBLEAdvertising',['../class_nim_b_l_e_advertising.html',1,'']]], - ['nimbleattvalue_421',['NimBLEAttValue',['../class_nim_b_l_e_att_value.html',1,'']]], - ['nimblebeacon_422',['NimBLEBeacon',['../class_nim_b_l_e_beacon.html',1,'']]], - ['nimblecharacteristic_423',['NimBLECharacteristic',['../class_nim_b_l_e_characteristic.html',1,'']]], - ['nimblecharacteristiccallbacks_424',['NimBLECharacteristicCallbacks',['../class_nim_b_l_e_characteristic_callbacks.html',1,'']]], - ['nimbleclient_425',['NimBLEClient',['../class_nim_b_l_e_client.html',1,'']]], - ['nimbleclientcallbacks_426',['NimBLEClientCallbacks',['../class_nim_b_l_e_client_callbacks.html',1,'']]], - ['nimbleconninfo_427',['NimBLEConnInfo',['../class_nim_b_l_e_conn_info.html',1,'']]], - ['nimbledescriptor_428',['NimBLEDescriptor',['../class_nim_b_l_e_descriptor.html',1,'']]], - ['nimbledescriptorcallbacks_429',['NimBLEDescriptorCallbacks',['../class_nim_b_l_e_descriptor_callbacks.html',1,'']]], - ['nimbledevice_430',['NimBLEDevice',['../class_nim_b_l_e_device.html',1,'']]], - ['nimbleeddystonetlm_431',['NimBLEEddystoneTLM',['../class_nim_b_l_e_eddystone_t_l_m.html',1,'']]], - ['nimbleeddystoneurl_432',['NimBLEEddystoneURL',['../class_nim_b_l_e_eddystone_u_r_l.html',1,'']]], - ['nimbleextadvertisement_433',['NimBLEExtAdvertisement',['../class_nim_b_l_e_ext_advertisement.html',1,'']]], - ['nimbleextadvertising_434',['NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html',1,'']]], - ['nimbleextadvertisingcallbacks_435',['NimBLEExtAdvertisingCallbacks',['../class_nim_b_l_e_ext_advertising_callbacks.html',1,'']]], - ['nimblehiddevice_436',['NimBLEHIDDevice',['../class_nim_b_l_e_h_i_d_device.html',1,'']]], - ['nimbleremotecharacteristic_437',['NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html',1,'']]], - ['nimbleremotedescriptor_438',['NimBLERemoteDescriptor',['../class_nim_b_l_e_remote_descriptor.html',1,'']]], - ['nimbleremoteservice_439',['NimBLERemoteService',['../class_nim_b_l_e_remote_service.html',1,'']]], - ['nimblescan_440',['NimBLEScan',['../class_nim_b_l_e_scan.html',1,'']]], - ['nimblescanresults_441',['NimBLEScanResults',['../class_nim_b_l_e_scan_results.html',1,'']]], - ['nimblesecurity_442',['NimBLESecurity',['../class_nim_b_l_e_security.html',1,'']]], - ['nimblesecuritycallbacks_443',['NimBLESecurityCallbacks',['../class_nim_b_l_e_security_callbacks.html',1,'']]], - ['nimbleserver_444',['NimBLEServer',['../class_nim_b_l_e_server.html',1,'']]], - ['nimbleservercallbacks_445',['NimBLEServerCallbacks',['../class_nim_b_l_e_server_callbacks.html',1,'']]], - ['nimbleservice_446',['NimBLEService',['../class_nim_b_l_e_service.html',1,'']]], - ['nimbleutils_447',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], - ['nimbleuuid_448',['NimBLEUUID',['../class_nim_b_l_e_u_u_i_d.html',1,'']]] + ['nimble2904_0',['NimBLE2904',['../class_nim_b_l_e2904.html',1,'']]], + ['nimbleaddress_1',['NimBLEAddress',['../class_nim_b_l_e_address.html',1,'']]], + ['nimbleadvertiseddevice_2',['NimBLEAdvertisedDevice',['../class_nim_b_l_e_advertised_device.html',1,'']]], + ['nimbleadvertisementdata_3',['NimBLEAdvertisementData',['../class_nim_b_l_e_advertisement_data.html',1,'']]], + ['nimbleadvertising_4',['NimBLEAdvertising',['../class_nim_b_l_e_advertising.html',1,'']]], + ['nimbleattribute_5',['NimBLEAttribute',['../class_nim_b_l_e_attribute.html',1,'']]], + ['nimbleattvalue_6',['NimBLEAttValue',['../class_nim_b_l_e_att_value.html',1,'']]], + ['nimblebeacon_7',['NimBLEBeacon',['../class_nim_b_l_e_beacon.html',1,'']]], + ['nimblecharacteristic_8',['NimBLECharacteristic',['../class_nim_b_l_e_characteristic.html',1,'']]], + ['nimblecharacteristiccallbacks_9',['NimBLECharacteristicCallbacks',['../class_nim_b_l_e_characteristic_callbacks.html',1,'']]], + ['nimbleclient_10',['NimBLEClient',['../class_nim_b_l_e_client.html',1,'']]], + ['nimbleclientcallbacks_11',['NimBLEClientCallbacks',['../class_nim_b_l_e_client_callbacks.html',1,'']]], + ['nimbleconninfo_12',['NimBLEConnInfo',['../class_nim_b_l_e_conn_info.html',1,'']]], + ['nimbledescriptor_13',['NimBLEDescriptor',['../class_nim_b_l_e_descriptor.html',1,'']]], + ['nimbledescriptorcallbacks_14',['NimBLEDescriptorCallbacks',['../class_nim_b_l_e_descriptor_callbacks.html',1,'']]], + ['nimbledevice_15',['NimBLEDevice',['../class_nim_b_l_e_device.html',1,'']]], + ['nimbleeddystonetlm_16',['NimBLEEddystoneTLM',['../class_nim_b_l_e_eddystone_t_l_m.html',1,'']]], + ['nimbleextadvertisement_17',['NimBLEExtAdvertisement',['../class_nim_b_l_e_ext_advertisement.html',1,'']]], + ['nimbleextadvertising_18',['NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html',1,'']]], + ['nimbleextadvertisingcallbacks_19',['NimBLEExtAdvertisingCallbacks',['../class_nim_b_l_e_ext_advertising_callbacks.html',1,'']]], + ['nimblehiddevice_20',['NimBLEHIDDevice',['../class_nim_b_l_e_h_i_d_device.html',1,'']]], + ['nimblelocalattribute_21',['NimBLELocalAttribute',['../class_nim_b_l_e_local_attribute.html',1,'']]], + ['nimbleremotecharacteristic_22',['NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html',1,'']]], + ['nimbleremotedescriptor_23',['NimBLERemoteDescriptor',['../class_nim_b_l_e_remote_descriptor.html',1,'']]], + ['nimbleremoteservice_24',['NimBLERemoteService',['../class_nim_b_l_e_remote_service.html',1,'']]], + ['nimblescan_25',['NimBLEScan',['../class_nim_b_l_e_scan.html',1,'']]], + ['nimblescancallbacks_26',['NimBLEScanCallbacks',['../class_nim_b_l_e_scan_callbacks.html',1,'']]], + ['nimblescanresults_27',['NimBLEScanResults',['../class_nim_b_l_e_scan_results.html',1,'']]], + ['nimbleserver_28',['NimBLEServer',['../class_nim_b_l_e_server.html',1,'']]], + ['nimbleservercallbacks_29',['NimBLEServerCallbacks',['../class_nim_b_l_e_server_callbacks.html',1,'']]], + ['nimbleservice_30',['NimBLEService',['../class_nim_b_l_e_service.html',1,'']]], + ['nimbletaskdata_31',['NimBLETaskData',['../struct_nim_b_l_e_task_data.html',1,'']]], + ['nimbleutils_32',['NimBLEUtils',['../class_nim_b_l_e_utils.html',1,'']]], + ['nimbleuuid_33',['NimBLEUUID',['../class_nim_b_l_e_u_u_i_d.html',1,'']]] ]; diff --git a/search/close.svg b/search/close.svg index a933eea..337d6cc 100644 --- a/search/close.svg +++ b/search/close.svg @@ -1,27 +1,14 @@ + - - - - image/svg+xml - - - - - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/defines_0.js b/search/defines_0.js index 5f1046c..b61c2b6 100644 --- a/search/defines_0.js +++ b/search/defines_0.js @@ -1,25 +1,25 @@ var searchData= [ - ['config_5fbt_5fnimble_5fatt_5fpreferred_5fmtu_813',['CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU',['../nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5flog_5flevel_814',['CONFIG_BT_NIMBLE_LOG_LEVEL',['../nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmax_5fbonds_815',['CONFIG_BT_NIMBLE_MAX_BONDS',['../nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmax_5fcccds_816',['CONFIG_BT_NIMBLE_MAX_CCCDS',['../nimconfig_8h.html#abdc3219ca772a22427beed33477ea252',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmax_5fconnections_817',['CONFIG_BT_NIMBLE_MAX_CONNECTIONS',['../nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmem_5falloc_5fmode_5fexternal_818',['CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL',['../nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fmsys1_5fblock_5fcount_819',['CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT',['../nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fpinned_5fto_5fcore_820',['CONFIG_BT_NIMBLE_PINNED_TO_CORE',['../nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frole_5fbroadcaster_5fdisabled_821',['CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED',['../nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frole_5fcentral_5fdisabled_822',['CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED',['../nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frole_5fobserver_5fdisabled_823',['CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED',['../nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frole_5fperipheral_5fdisabled_824',['CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED',['../nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5frpa_5ftimeout_825',['CONFIG_BT_NIMBLE_RPA_TIMEOUT',['../nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fsvc_5fgap_5fappearance_826',['CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE',['../nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5fsvc_5fgap_5fdevice_5fname_827',['CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME',['../nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a',1,'nimconfig.h']]], - ['config_5fbt_5fnimble_5ftask_5fstack_5fsize_828',['CONFIG_BT_NIMBLE_TASK_STACK_SIZE',['../nimconfig_8h.html#a227a536958a284235daf409b2b3d1766',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fatt_5fvalue_5finit_5flength_829',['CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH',['../nimconfig_8h.html#a4d4ea715325f75455b43c7dbaa69d7a0',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fatt_5fvalue_5ftimestamp_5fenabled_830',['CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED',['../nimconfig_8h.html#abe2e5c7dbca929d3ed6cf70a73aced23',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fenable_5fadvertisment_5ftype_5ftext_831',['CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT',['../nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fenable_5fgap_5fevent_5fcode_5ftext_832',['CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT',['../nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5fenable_5freturn_5fcode_5ftext_833',['CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT',['../nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242',1,'nimconfig.h']]], - ['config_5fnimble_5fcpp_5flog_5flevel_834',['CONFIG_NIMBLE_CPP_LOG_LEVEL',['../nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f',1,'nimconfig.h']]] + ['config_5fbt_5fnimble_5fatt_5fpreferred_5fmtu_0',['CONFIG_BT_NIMBLE_ATT_PREFERRED_MTU',['../nimconfig_8h.html#a8fa28ebea6e979630359a2acde3ae578',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5flog_5flevel_1',['CONFIG_BT_NIMBLE_LOG_LEVEL',['../nimconfig_8h.html#a1cfe4f7cfbce0d842fad09e4b668d3df',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmax_5fbonds_2',['CONFIG_BT_NIMBLE_MAX_BONDS',['../nimconfig_8h.html#a11ebe4c94e55f9e710be03169b91f964',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmax_5fcccds_3',['CONFIG_BT_NIMBLE_MAX_CCCDS',['../nimconfig_8h.html#abdc3219ca772a22427beed33477ea252',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmax_5fconnections_4',['CONFIG_BT_NIMBLE_MAX_CONNECTIONS',['../nimconfig_8h.html#a2ea633774bbf41ac57b314875f16d5f9',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmem_5falloc_5fmode_5fexternal_5',['CONFIG_BT_NIMBLE_MEM_ALLOC_MODE_EXTERNAL',['../nimconfig_8h.html#a1f39f56a0fe8a36ef7823a7c3e1c6e3b',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fmsys1_5fblock_5fcount_6',['CONFIG_BT_NIMBLE_MSYS1_BLOCK_COUNT',['../nimconfig_8h.html#a2f0eb3c3124a34b191a70908dc5af441',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fpinned_5fto_5fcore_7',['CONFIG_BT_NIMBLE_PINNED_TO_CORE',['../nimconfig_8h.html#ab86912bde65d198f2f7aa7f83ef11ee8',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frole_5fbroadcaster_5fdisabled_8',['CONFIG_BT_NIMBLE_ROLE_BROADCASTER_DISABLED',['../nimconfig_8h.html#a2a6b4f35f8975778ac2aac5ff169cbda',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frole_5fcentral_5fdisabled_9',['CONFIG_BT_NIMBLE_ROLE_CENTRAL_DISABLED',['../nimconfig_8h.html#a6ebb331a6664a3863fb2a57b91a6cd2d',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frole_5fobserver_5fdisabled_10',['CONFIG_BT_NIMBLE_ROLE_OBSERVER_DISABLED',['../nimconfig_8h.html#ab91646223e52e5c24f1004a0ed21b829',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frole_5fperipheral_5fdisabled_11',['CONFIG_BT_NIMBLE_ROLE_PERIPHERAL_DISABLED',['../nimconfig_8h.html#a677d7e75eef5bc96e8d0b4c659db90b0',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5frpa_5ftimeout_12',['CONFIG_BT_NIMBLE_RPA_TIMEOUT',['../nimconfig_8h.html#a9d22f9f555a2180787ccec86aa10dc24',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fsvc_5fgap_5fappearance_13',['CONFIG_BT_NIMBLE_SVC_GAP_APPEARANCE',['../nimconfig_8h.html#a300d3f8ff48d217a1a2b6608454dfadb',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5fsvc_5fgap_5fdevice_5fname_14',['CONFIG_BT_NIMBLE_SVC_GAP_DEVICE_NAME',['../nimconfig_8h.html#a7b98160e6904e45e99e28a7fcc6b2a3a',1,'nimconfig.h']]], + ['config_5fbt_5fnimble_5ftask_5fstack_5fsize_15',['CONFIG_BT_NIMBLE_TASK_STACK_SIZE',['../nimconfig_8h.html#a227a536958a284235daf409b2b3d1766',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fatt_5fvalue_5finit_5flength_16',['CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH',['../nimconfig_8h.html#a4d4ea715325f75455b43c7dbaa69d7a0',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fatt_5fvalue_5ftimestamp_5fenabled_17',['CONFIG_NIMBLE_CPP_ATT_VALUE_TIMESTAMP_ENABLED',['../nimconfig_8h.html#abe2e5c7dbca929d3ed6cf70a73aced23',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fenable_5fadvertisment_5ftype_5ftext_18',['CONFIG_NIMBLE_CPP_ENABLE_ADVERTISMENT_TYPE_TEXT',['../nimconfig_8h.html#a07c0fd3908c3466e9f4835f85d913880',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fenable_5fgap_5fevent_5fcode_5ftext_19',['CONFIG_NIMBLE_CPP_ENABLE_GAP_EVENT_CODE_TEXT',['../nimconfig_8h.html#a97b51f4248845f6225806eadbab3bcdb',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5fenable_5freturn_5fcode_5ftext_20',['CONFIG_NIMBLE_CPP_ENABLE_RETURN_CODE_TEXT',['../nimconfig_8h.html#a136a5d626ac04aa780c6ec07ee88d242',1,'nimconfig.h']]], + ['config_5fnimble_5fcpp_5flog_5flevel_21',['CONFIG_NIMBLE_CPP_LOG_LEVEL',['../nimconfig_8h.html#a3966debed5a599b8cabff3c50b9fae4f',1,'nimconfig.h']]] ]; diff --git a/search/enums_0.html b/search/enums_0.html deleted file mode 100644 index 141fff5..0000000 --- a/search/enums_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/enums_0.js b/search/enums_0.js deleted file mode 100644 index fd2c365..0000000 --- a/search/enums_0.js +++ /dev/null @@ -1,4 +0,0 @@ -var searchData= -[ - ['status_812',['Status',['../class_nim_b_l_e_characteristic_callbacks.html#a104baba3c4bbdee7aa28273d265e4c6f',1,'NimBLECharacteristicCallbacks']]] -]; diff --git a/search/files_0.html b/search/files_0.html deleted file mode 100644 index 9498842..0000000 --- a/search/files_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/files_0.js b/search/files_0.js index ad4b0f1..20cc298 100644 --- a/search/files_0.js +++ b/search/files_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['nimconfig_2eh_449',['nimconfig.h',['../nimconfig_8h.html',1,'']]] + ['nimconfig_2eh_0',['nimconfig.h',['../nimconfig_8h.html',1,'']]] ]; diff --git a/search/functions_0.html b/search/functions_0.html deleted file mode 100644 index eb4c501..0000000 --- a/search/functions_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_0.js b/search/functions_0.js index 01a5da0..20b259d 100644 --- a/search/functions_0.js +++ b/search/functions_0.js @@ -1,14 +1,12 @@ var searchData= [ - ['addcharacteristic_450',['addCharacteristic',['../class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8',1,'NimBLEService']]], - ['adddata_451',['addData',['../class_nim_b_l_e_advertisement_data.html#aec5f567059c4b4fd0f6b5fc74a0ce870',1,'NimBLEAdvertisementData::addData(const std::string &data)'],['../class_nim_b_l_e_advertisement_data.html#a2328f7df89a11d58818e98a6c889c8d4',1,'NimBLEAdvertisementData::addData(char *data, size_t length)'],['../class_nim_b_l_e_ext_advertisement.html#a74d0b2a236d144c5bce05536ec6b8509',1,'NimBLEExtAdvertisement::addData(const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a62d44c4e1e41d9c6a470a7ebb0b7b038',1,'NimBLEExtAdvertisement::addData(const uint8_t *data, size_t length)']]], - ['adddescriptor_452',['addDescriptor',['../class_nim_b_l_e_characteristic.html#aed4b2241c89ad2a8f49117e2b9433e5b',1,'NimBLECharacteristic']]], - ['addignored_453',['addIgnored',['../class_nim_b_l_e_device.html#a732425c5c5f5b5b4730c1689700346c0',1,'NimBLEDevice']]], - ['addservice_454',['addService',['../class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56',1,'NimBLEServer']]], - ['addserviceuuid_455',['addServiceUUID',['../class_nim_b_l_e_advertising.html#a4f334752ea04223185292fe9ab524b69',1,'NimBLEAdvertising::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertising.html#a5e596e8dfa9268554a5b189380405d5c',1,'NimBLEAdvertising::addServiceUUID(const char *serviceUUID)']]], - ['addtxpower_456',['addTxPower',['../class_nim_b_l_e_advertisement_data.html#a480ffc91f212e877ae31ab47190006c3',1,'NimBLEAdvertisementData::addTxPower()'],['../class_nim_b_l_e_advertising.html#ac4ff0af45d1f7ed5bc208612852bc43a',1,'NimBLEAdvertising::addTxPower()'],['../class_nim_b_l_e_ext_advertisement.html#ac9f82eb0112544b977eb1947ed308525',1,'NimBLEExtAdvertisement::addTxPower()']]], - ['advcompletecb_457',['advCompleteCB',['../class_nim_b_l_e_advertising.html#a4de7bf016a086a2d3f6f14ae134678f2',1,'NimBLEAdvertising']]], - ['advertiseondisconnect_458',['advertiseOnDisconnect',['../class_nim_b_l_e_server.html#a6bfd923ecd0ea06d5564343ab7209122',1,'NimBLEServer']]], - ['advtypetostring_459',['advTypeToString',['../class_nim_b_l_e_utils.html#a6de9354eeba9f126aa14cfa7ed43cda4',1,'NimBLEUtils']]], - ['append_460',['append',['../class_nim_b_l_e_att_value.html#aa217dfc649daed50eb75c7168442f86e',1,'NimBLEAttValue']]] + ['addcharacteristic_0',['addCharacteristic',['../class_nim_b_l_e_service.html#af8215dbfdaf7ced32d6158f8ff5116e8',1,'NimBLEService']]], + ['adddata_1',['adddata',['../class_nim_b_l_e_advertisement_data.html#a67f4d6869eb2797bc78389adf20cb59e',1,'NimBLEAdvertisementData::addData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#a051d8f4ae66d2caa39351af8277bf0ed',1,'NimBLEAdvertisementData::addData(const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_ext_advertisement.html#a1f449f67deca3d7ef66c07d61c12d28e',1,'NimBLEExtAdvertisement::addData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_ext_advertisement.html#ab387e2739a3b8b207b965ba0cda70595',1,'NimBLEExtAdvertisement::addData(const std::string &data)']]], + ['adddescriptor_2',['addDescriptor',['../class_nim_b_l_e_characteristic.html#aed4b2241c89ad2a8f49117e2b9433e5b',1,'NimBLECharacteristic']]], + ['addservice_3',['addService',['../class_nim_b_l_e_server.html#a6eda4c9e0ac1dd031c678d4bf7da1d56',1,'NimBLEServer']]], + ['addserviceuuid_4',['addserviceuuid',['../class_nim_b_l_e_advertising.html#a67c9589dff7e0ee3ec24f2c930d56c06',1,'NimBLEAdvertising::addServiceUUID()'],['../class_nim_b_l_e_ext_advertisement.html#a4b4bea2600ee592ffe6877fe8eac7872',1,'NimBLEExtAdvertisement::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_ext_advertisement.html#a0e7a8731b021ba8813a3a9024171e926',1,'NimBLEExtAdvertisement::addServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertising.html#a1bacfa32690f7e0c6f1172ea03c68c0d',1,'NimBLEAdvertising::addServiceUUID()'],['../class_nim_b_l_e_advertisement_data.html#a4119cfc1dafeee9c32f9a08dbb213139',1,'NimBLEAdvertisementData::addServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_advertisement_data.html#acbea9f95711b329a427919ecd9cbeb23',1,'NimBLEAdvertisementData::addServiceUUID(const NimBLEUUID &serviceUUID)']]], + ['addtxpower_5',['addtxpower',['../class_nim_b_l_e_advertisement_data.html#a3f227c597ec00f639e4bd26b80ce404b',1,'NimBLEAdvertisementData::addTxPower()'],['../class_nim_b_l_e_advertising.html#a0d3c5cb3a93416a4206abb1f8e443ebf',1,'NimBLEAdvertising::addTxPower()'],['../class_nim_b_l_e_ext_advertisement.html#ac9f82eb0112544b977eb1947ed308525',1,'NimBLEExtAdvertisement::addTxPower()']]], + ['advertiseondisconnect_6',['advertiseOnDisconnect',['../class_nim_b_l_e_server.html#aecf5b57888c55249a9c207d318a0495b',1,'NimBLEServer']]], + ['advtypetostring_7',['advTypeToString',['../class_nim_b_l_e_utils.html#a6de9354eeba9f126aa14cfa7ed43cda4',1,'NimBLEUtils']]], + ['append_8',['append',['../class_nim_b_l_e_att_value.html#aa217dfc649daed50eb75c7168442f86e',1,'NimBLEAttValue']]] ]; diff --git a/search/functions_1.html b/search/functions_1.html deleted file mode 100644 index ef4088b..0000000 --- a/search/functions_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_1.js b/search/functions_1.js index 340e129..ba56fef 100644 --- a/search/functions_1.js +++ b/search/functions_1.js @@ -1,9 +1,5 @@ var searchData= [ - ['batteryservice_461',['batteryService',['../class_nim_b_l_e_h_i_d_device.html#a24498f7b714574ab4a90288f7e4d58b7',1,'NimBLEHIDDevice']]], - ['begin_462',['begin',['../class_nim_b_l_e_att_value.html#a6167f1cbc50a81a4ca0708e273bbb63e',1,'NimBLEAttValue::begin()'],['../class_nim_b_l_e_client.html#ab09639b499fdcd0021a2432b2b8203f5',1,'NimBLEClient::begin()'],['../class_nim_b_l_e_remote_characteristic.html#a78ac88ca25d71dfe31b95898b79b0442',1,'NimBLERemoteCharacteristic::begin()'],['../class_nim_b_l_e_remote_service.html#a49bb3134b570db877fac67e6ed077aa2',1,'NimBLERemoteService::begin()'],['../class_nim_b_l_e_scan_results.html#ad426f221e8c18c0c3f5784786710e8f0',1,'NimBLEScanResults::begin()']]], - ['bitsize_463',['bitSize',['../class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6',1,'NimBLEUUID']]], - ['bootinput_464',['bootInput',['../class_nim_b_l_e_h_i_d_device.html#a45ca7d4547dfea9a64987065d83653bd',1,'NimBLEHIDDevice']]], - ['bootoutput_465',['bootOutput',['../class_nim_b_l_e_h_i_d_device.html#ace0141db690f1afec1b266f9ac9aa0f0',1,'NimBLEHIDDevice']]], - ['buildhexdata_466',['buildHexData',['../class_nim_b_l_e_utils.html#a6382edb7e8e4030b4fc65d463fa2a886',1,'NimBLEUtils']]] + ['begin_0',['begin',['../class_nim_b_l_e_advertised_device.html#aabb14f9df146ebe6fb50d74a4ec8a878',1,'NimBLEAdvertisedDevice::begin()'],['../class_nim_b_l_e_att_value.html#aec41d0fe983f8c4ded137d7d5017bcb7',1,'NimBLEAttValue::begin()'],['../class_nim_b_l_e_client.html#ab09639b499fdcd0021a2432b2b8203f5',1,'NimBLEClient::begin()'],['../class_nim_b_l_e_remote_characteristic.html#a160cf1b93ae583038606d27b258156e9',1,'NimBLERemoteCharacteristic::begin()'],['../class_nim_b_l_e_remote_service.html#a99e6d6a6fba063b2c165cf8adb19d6e3',1,'NimBLERemoteService::begin()'],['../class_nim_b_l_e_scan_results.html#a5a0b1dc434c4ad68ae5ce233eeacc230',1,'NimBLEScanResults::begin()']]], + ['bitsize_1',['bitSize',['../class_nim_b_l_e_u_u_i_d.html#aefc88e493b63ccd6dc86227dc92af0c6',1,'NimBLEUUID']]] ]; diff --git a/search/functions_10.html b/search/functions_10.html deleted file mode 100644 index 1bdc125..0000000 --- a/search/functions_10.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_10.js b/search/functions_10.js index 3dd4975..6b72293 100644 --- a/search/functions_10.js +++ b/search/functions_10.js @@ -1,6 +1,6 @@ var searchData= [ - ['to128_798',['to128',['../class_nim_b_l_e_u_u_i_d.html#a7103976da820d0c1840aa77aca38306c',1,'NimBLEUUID']]], - ['to16_799',['to16',['../class_nim_b_l_e_u_u_i_d.html#a618f6c29565338a496715ca951c98afb',1,'NimBLEUUID']]], - ['tostring_800',['toString',['../class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6',1,'NimBLEAddress::toString()'],['../class_nim_b_l_e_advertised_device.html#ac1b8ff0f2897abda335743d55668fcd9',1,'NimBLEAdvertisedDevice::toString()'],['../class_nim_b_l_e_characteristic.html#a4fa6b8ed011d12e2b1f16e92a02b9a89',1,'NimBLECharacteristic::toString()'],['../class_nim_b_l_e_client.html#aba9ae035357776514b61c2b6286ce1ab',1,'NimBLEClient::toString()'],['../class_nim_b_l_e_descriptor.html#ac15dc6c9c24d280c4b0eb766080497e5',1,'NimBLEDescriptor::toString()'],['../class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961',1,'NimBLEDevice::toString()'],['../class_nim_b_l_e_eddystone_t_l_m.html#a970ba10424567d17c961ed3b3ef83d8e',1,'NimBLEEddystoneTLM::toString()'],['../class_nim_b_l_e_remote_characteristic.html#a4b86a1f600a61036487f5161f1f1726a',1,'NimBLERemoteCharacteristic::toString()'],['../class_nim_b_l_e_remote_descriptor.html#a008795a09d1fbe8533c2e9d0e8deb33a',1,'NimBLERemoteDescriptor::toString()'],['../class_nim_b_l_e_remote_service.html#aaf106a37f24a51b967dd0984c973750f',1,'NimBLERemoteService::toString()'],['../class_nim_b_l_e_service.html#a10d10d14f8c5a970a06915cd407a0a73',1,'NimBLEService::toString()'],['../class_nim_b_l_e_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64',1,'NimBLEUUID::toString()']]] + ['unsubscribe_0',['unsubscribe',['../class_nim_b_l_e_remote_characteristic.html#a64a74ffc6612cf4a42f33836e34887f0',1,'NimBLERemoteCharacteristic']]], + ['updateconnparams_1',['updateconnparams',['../class_nim_b_l_e_client.html#ad168d34de0f57f91824a78688b88b2b8',1,'NimBLEClient::updateConnParams()'],['../class_nim_b_l_e_server.html#a56add4759f7df045f51b70a026897975',1,'NimBLEServer::updateConnParams()']]], + ['updatephy_2',['updatephy',['../class_nim_b_l_e_client.html#a165957953c2773dacc6a203c969f6069',1,'NimBLEClient::updatePhy()'],['../class_nim_b_l_e_server.html#abfd159ff5f10848bd611733835ddf215',1,'NimBLEServer::updatePhy()']]] ]; diff --git a/search/functions_11.html b/search/functions_11.html deleted file mode 100644 index 188076e..0000000 --- a/search/functions_11.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_11.js b/search/functions_11.js index d1cd43b..bd4fa16 100644 --- a/search/functions_11.js +++ b/search/functions_11.js @@ -1,5 +1,5 @@ var searchData= [ - ['unsubscribe_801',['unsubscribe',['../class_nim_b_l_e_remote_characteristic.html#a6e331afdbdbc32bf461c9866236a97aa',1,'NimBLERemoteCharacteristic']]], - ['updateconnparams_802',['updateConnParams',['../class_nim_b_l_e_client.html#aff7d389ec48567286ea732c54d320526',1,'NimBLEClient::updateConnParams()'],['../class_nim_b_l_e_server.html#a9b08738766de90d7065263761314030a',1,'NimBLEServer::updateConnParams()']]] + ['whitelistadd_0',['whiteListAdd',['../class_nim_b_l_e_device.html#aabc68166b6dd4a744a98f94e569f37db',1,'NimBLEDevice']]], + ['whitelistremove_1',['whiteListRemove',['../class_nim_b_l_e_device.html#a81abbad5e371fe1cdd91c002b42cc654',1,'NimBLEDevice']]] ]; diff --git a/search/functions_12.html b/search/functions_12.html deleted file mode 100644 index eb29d8f..0000000 --- a/search/functions_12.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_12.js b/search/functions_12.js index 7a6160d..61cd114 100644 --- a/search/functions_12.js +++ b/search/functions_12.js @@ -1,6 +1,10 @@ var searchData= [ - ['whitelistadd_803',['whiteListAdd',['../class_nim_b_l_e_device.html#aabc68166b6dd4a744a98f94e569f37db',1,'NimBLEDevice']]], - ['whitelistremove_804',['whiteListRemove',['../class_nim_b_l_e_device.html#a81abbad5e371fe1cdd91c002b42cc654',1,'NimBLEDevice']]], - ['writevalue_805',['writeValue',['../class_nim_b_l_e_remote_characteristic.html#a3c8d1fd77dd074df866c091c614eafb3',1,'NimBLERemoteCharacteristic::writeValue(const uint8_t *data, size_t length, bool response=false)'],['../class_nim_b_l_e_remote_characteristic.html#a94ae59940fcd128efeaf339b282b7ef9',1,'NimBLERemoteCharacteristic::writeValue(const std::vector< uint8_t > &v, bool response=false)'],['../class_nim_b_l_e_remote_characteristic.html#a19362aaf357835e1f771c78f0c4cd9dd',1,'NimBLERemoteCharacteristic::writeValue(const char *s, bool response=false)'],['../class_nim_b_l_e_remote_characteristic.html#acf8bcf2cf94ca8bd8cf0c7c39f9883ae',1,'NimBLERemoteCharacteristic::writeValue(const T &s, bool response=false)'],['../class_nim_b_l_e_remote_characteristic.html#acf8bcf2cf94ca8bd8cf0c7c39f9883ae',1,'NimBLERemoteCharacteristic::writeValue(const T &s, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#a0d3fb6424b2c86730e1a292281cd836e',1,'NimBLERemoteDescriptor::writeValue(const uint8_t *data, size_t length, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#ab1654a0b1dc86fe042b3d5b983fbd08c',1,'NimBLERemoteDescriptor::writeValue(const std::vector< uint8_t > &v, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#ab7cab188f311f44d06638434117938e7',1,'NimBLERemoteDescriptor::writeValue(const char *s, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#a1abc84a09001537dffd13c810a503b9c',1,'NimBLERemoteDescriptor::writeValue(const T &s, bool response=false)'],['../class_nim_b_l_e_remote_descriptor.html#a1abc84a09001537dffd13c810a503b9c',1,'NimBLERemoteDescriptor::writeValue(const T &s, bool response=false)']]] + ['_7enimbleattribute_0',['~NimBLEAttribute',['../class_nim_b_l_e_attribute.html#a8a060f480742cfb09ed47c1f5421d00f',1,'NimBLEAttribute']]], + ['_7enimbleattvalue_1',['~NimBLEAttValue',['../class_nim_b_l_e_att_value.html#a08f3b04d05cf0c2b76a24cc37cd1f8ab',1,'NimBLEAttValue']]], + ['_7enimblecharacteristic_2',['~NimBLECharacteristic',['../class_nim_b_l_e_characteristic.html#a7fe29c5ec571d0513c51b8cbac942f4a',1,'NimBLECharacteristic']]], + ['_7enimbleextadvertising_3',['~NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html#a477c57db99ce3b5e987d6838b661808f',1,'NimBLEExtAdvertising']]], + ['_7enimblelocalattribute_4',['~NimBLELocalAttribute',['../class_nim_b_l_e_local_attribute.html#af3a224e382c76e2bc2040d033e4f165b',1,'NimBLELocalAttribute']]], + ['_7enimbleservice_5',['~NimBLEService',['../class_nim_b_l_e_service.html#a8904838e785b967c770a240e6c5099e7',1,'NimBLEService']]], + ['_7enimbletaskdata_6',['~NimBLETaskData',['../struct_nim_b_l_e_task_data.html#af2d5d10d7cc8801cf4d001f89bf301c6',1,'NimBLETaskData']]] ]; diff --git a/search/functions_13.html b/search/functions_13.html deleted file mode 100644 index 3da2ea6..0000000 --- a/search/functions_13.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_13.js b/search/functions_13.js deleted file mode 100644 index 67c35cd..0000000 --- a/search/functions_13.js +++ /dev/null @@ -1,9 +0,0 @@ -var searchData= -[ - ['_7enimbleattvalue_806',['~NimBLEAttValue',['../class_nim_b_l_e_att_value.html#a08f3b04d05cf0c2b76a24cc37cd1f8ab',1,'NimBLEAttValue']]], - ['_7enimblecharacteristic_807',['~NimBLECharacteristic',['../class_nim_b_l_e_characteristic.html#a7fe29c5ec571d0513c51b8cbac942f4a',1,'NimBLECharacteristic']]], - ['_7enimbledescriptor_808',['~NimBLEDescriptor',['../class_nim_b_l_e_descriptor.html#ad110851335bc7b225f5bea9ac11bedcc',1,'NimBLEDescriptor']]], - ['_7enimbleextadvertising_809',['~NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html#a477c57db99ce3b5e987d6838b661808f',1,'NimBLEExtAdvertising']]], - ['_7enimbleremotecharacteristic_810',['~NimBLERemoteCharacteristic',['../class_nim_b_l_e_remote_characteristic.html#a855d591de111b09013ae83c4043d06ed',1,'NimBLERemoteCharacteristic']]], - ['_7enimbleremoteservice_811',['~NimBLERemoteService',['../class_nim_b_l_e_remote_service.html#a2803aa5cdfdb622ae8fe255dc939cb1d',1,'NimBLERemoteService']]] -]; diff --git a/search/functions_2.html b/search/functions_2.html deleted file mode 100644 index ca5aa10..0000000 --- a/search/functions_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_2.js b/search/functions_2.js index b954247..9a84e64 100644 --- a/search/functions_2.js +++ b/search/functions_2.js @@ -1,21 +1,22 @@ var searchData= [ - ['c_5fstr_467',['c_str',['../class_nim_b_l_e_att_value.html#aa2c18949ffc2e7d2d2f288c1b2b2f0ed',1,'NimBLEAttValue']]], - ['canbroadcast_468',['canBroadcast',['../class_nim_b_l_e_remote_characteristic.html#a7163009a9f0ff718b5856d19cb4a3568',1,'NimBLERemoteCharacteristic']]], - ['canindicate_469',['canIndicate',['../class_nim_b_l_e_remote_characteristic.html#a53322384b295a2548b3399e2c63d76f4',1,'NimBLERemoteCharacteristic']]], - ['cannotify_470',['canNotify',['../class_nim_b_l_e_remote_characteristic.html#a9c41acdbf23dc036f321d4f0a66d40d1',1,'NimBLERemoteCharacteristic']]], - ['canread_471',['canRead',['../class_nim_b_l_e_remote_characteristic.html#a0eb6655635394268a76c68e845d14135',1,'NimBLERemoteCharacteristic']]], - ['canwrite_472',['canWrite',['../class_nim_b_l_e_remote_characteristic.html#aae71c20d300ead52770e66fb8a1a47ea',1,'NimBLERemoteCharacteristic']]], - ['canwritenoresponse_473',['canWriteNoResponse',['../class_nim_b_l_e_remote_characteristic.html#a2614c7f437b52f385fc4fd29abe358eb',1,'NimBLERemoteCharacteristic']]], - ['capacity_474',['capacity',['../class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2',1,'NimBLEAttValue']]], - ['checkconnparams_475',['checkConnParams',['../class_nim_b_l_e_utils.html#ae521f9a6363c03e42da2f76f64ea431e',1,'NimBLEUtils']]], - ['cleardata_476',['clearData',['../class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af',1,'NimBLEExtAdvertisement']]], - ['clearduplicatecache_477',['clearDuplicateCache',['../class_nim_b_l_e_scan.html#a6a97fd1c7f16fccd7f19994592b6dfe6',1,'NimBLEScan']]], - ['clearresults_478',['clearResults',['../class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b',1,'NimBLEScan']]], - ['connect_479',['connect',['../class_nim_b_l_e_client.html#ae9b3e8a9b47c7eaad040b485bda958a1',1,'NimBLEClient::connect(NimBLEAdvertisedDevice *device, bool deleteAttributes=true)'],['../class_nim_b_l_e_client.html#a026d7e04557b4821a7da2c1a1caa46eb',1,'NimBLEClient::connect(const NimBLEAddress &address, bool deleteAttributes=true)'],['../class_nim_b_l_e_client.html#a1f9d4ad6d3d03b819bfad82d1f39b684',1,'NimBLEClient::connect(bool deleteAttributes=true)']]], - ['createcharacteristic_480',['createCharacteristic',['../class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763',1,'NimBLEService::createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad',1,'NimBLEService::createCharacteristic(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], - ['createclient_481',['createClient',['../class_nim_b_l_e_device.html#af8142995252f486916dbb9de2a5b0c9e',1,'NimBLEDevice']]], - ['createdescriptor_482',['createDescriptor',['../class_nim_b_l_e_characteristic.html#a1fc55adb9d62d8b5fe1be2b172686353',1,'NimBLECharacteristic::createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_characteristic.html#a67a1fb8bddfbd47007ccb8b6f5e5611a',1,'NimBLECharacteristic::createDescriptor(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], - ['createserver_483',['createServer',['../class_nim_b_l_e_device.html#a4d9780d0b5fafc279483822af802a508',1,'NimBLEDevice']]], - ['createservice_484',['createService',['../class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35',1,'NimBLEServer::createService(const char *uuid)'],['../class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2',1,'NimBLEServer::createService(const NimBLEUUID &uuid)']]] + ['c_5fstr_0',['c_str',['../class_nim_b_l_e_att_value.html#a4d18b6e6839afc943f11200e76414c17',1,'NimBLEAttValue']]], + ['canbroadcast_1',['canBroadcast',['../class_nim_b_l_e_remote_characteristic.html#a0d8e8ae12a89d64d0ca52dd3b3b7c67d',1,'NimBLERemoteCharacteristic']]], + ['cancelconnect_2',['cancelConnect',['../class_nim_b_l_e_client.html#af77b2a5390ea811e9405ff81dba8ecac',1,'NimBLEClient']]], + ['canindicate_3',['canIndicate',['../class_nim_b_l_e_remote_characteristic.html#a79dbe281933d8cab342a5506746b9ded',1,'NimBLERemoteCharacteristic']]], + ['cannotify_4',['canNotify',['../class_nim_b_l_e_remote_characteristic.html#ae3b10383d5b72bdf241bb2f215836772',1,'NimBLERemoteCharacteristic']]], + ['canread_5',['canRead',['../class_nim_b_l_e_remote_characteristic.html#a4be19e1a3a82f3db0fa8a7236638b737',1,'NimBLERemoteCharacteristic']]], + ['canwrite_6',['canWrite',['../class_nim_b_l_e_remote_characteristic.html#a3ba2263c976bd4ece81a6b37e09fa121',1,'NimBLERemoteCharacteristic']]], + ['canwritenoresponse_7',['canWriteNoResponse',['../class_nim_b_l_e_remote_characteristic.html#a0920d576b12ee1e20a724a7da836d153',1,'NimBLERemoteCharacteristic']]], + ['canwritesigned_8',['canWriteSigned',['../class_nim_b_l_e_remote_characteristic.html#afb07f80d83e41768d228b92210b83657',1,'NimBLERemoteCharacteristic']]], + ['capacity_9',['capacity',['../class_nim_b_l_e_att_value.html#a49a8a126d0b534c999c4a341cdcf7ba2',1,'NimBLEAttValue']]], + ['cleardata_10',['cleardata',['../class_nim_b_l_e_advertisement_data.html#ac0f2238cf17bf3e8bbef8b0ef0d61dcf',1,'NimBLEAdvertisementData::clearData()'],['../class_nim_b_l_e_advertising.html#af7cee42f24ad38872936a0bbc9e2ac1e',1,'NimBLEAdvertising::clearData()'],['../class_nim_b_l_e_ext_advertisement.html#a1391be9ee1b2ba1dc0548f2431b1d3af',1,'NimBLEExtAdvertisement::clearData()']]], + ['clearresults_11',['clearResults',['../class_nim_b_l_e_scan.html#ad421a09eeb021755b193a7a5e01f183b',1,'NimBLEScan']]], + ['connect_12',['connect',['../class_nim_b_l_e_client.html#a2b49bc73802bf716cf3df3b5a93f0543',1,'NimBLEClient::connect(const NimBLEAdvertisedDevice *device, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a27e53c3746bc2d20ea7cfcea1a123cbf',1,'NimBLEClient::connect(const NimBLEAddress &address, bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)'],['../class_nim_b_l_e_client.html#a26c8117d56d8b637780390a6506716be',1,'NimBLEClient::connect(bool deleteAttributes=true, bool asyncConnect=false, bool exchangeMTU=true)']]], + ['create2904_13',['create2904',['../class_nim_b_l_e_characteristic.html#acc3402da680a988f6fa38100d9c98275',1,'NimBLECharacteristic']]], + ['createcharacteristic_14',['createcharacteristic',['../class_nim_b_l_e_service.html#a415e1b836946831c6f9edd74adba8763',1,'NimBLEService::createCharacteristic(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_service.html#aa780d072e6257258e27cbc96106626ad',1,'NimBLEService::createCharacteristic(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], + ['createclient_15',['createclient',['../class_nim_b_l_e_device.html#a010b12177917f33e7d3633736c0cc553',1,'NimBLEDevice::createClient()'],['../class_nim_b_l_e_device.html#a7b52d5124390f1d547273d25ecae6704',1,'NimBLEDevice::createClient(const NimBLEAddress &peerAddress)']]], + ['createdescriptor_16',['createdescriptor',['../class_nim_b_l_e_characteristic.html#aa9817ffdcc2d57e65e4ec3d88836af3f',1,'NimBLECharacteristic::createDescriptor(const char *uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_characteristic.html#ac7c63b770d181de28869fda0f4d902fa',1,'NimBLECharacteristic::createDescriptor(const NimBLEUUID &uuid, uint32_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN)']]], + ['createserver_17',['createServer',['../class_nim_b_l_e_device.html#a4d9780d0b5fafc279483822af802a508',1,'NimBLEDevice']]], + ['createservice_18',['createservice',['../class_nim_b_l_e_server.html#aaeb58b4de85754d1aac6964e9248aa35',1,'NimBLEServer::createService(const char *uuid)'],['../class_nim_b_l_e_server.html#a5f0d43106db713e2ac716eabd70a10b2',1,'NimBLEServer::createService(const NimBLEUUID &uuid)']]] ]; diff --git a/search/functions_3.html b/search/functions_3.html deleted file mode 100644 index d79f55b..0000000 --- a/search/functions_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_3.js b/search/functions_3.js index c2a7533..ef2c786 100644 --- a/search/functions_3.js +++ b/search/functions_3.js @@ -1,19 +1,18 @@ var searchData= [ - ['data_485',['data',['../class_nim_b_l_e_att_value.html#a9e595630f7959b4002f6fb64c69ae123',1,'NimBLEAttValue']]], - ['deinit_486',['deinit',['../class_nim_b_l_e_device.html#ae95693ce0f5b8e784ea8e10834dd624c',1,'NimBLEDevice']]], - ['deleteallbonds_487',['deleteAllBonds',['../class_nim_b_l_e_device.html#ab436502ecd044f8b3480ec3e824e1418',1,'NimBLEDevice']]], - ['deletebond_488',['deleteBond',['../class_nim_b_l_e_device.html#a20fc979ec9dbad5cce7f73e41b2e422e',1,'NimBLEDevice']]], - ['deletecharacteristic_489',['deleteCharacteristic',['../class_nim_b_l_e_remote_service.html#a15b3b750b073f334c3be680a99ce2e02',1,'NimBLERemoteService']]], - ['deletecharacteristics_490',['deleteCharacteristics',['../class_nim_b_l_e_remote_service.html#a221069047193f8d25f7112b44bbcb28f',1,'NimBLERemoteService']]], - ['deleteclient_491',['deleteClient',['../class_nim_b_l_e_device.html#a83aa0a3d9d57358d35082a442edf8549',1,'NimBLEDevice']]], - ['deletedescriptor_492',['deleteDescriptor',['../class_nim_b_l_e_remote_characteristic.html#aad0ba99cad9779b33ea7cd4e94349099',1,'NimBLERemoteCharacteristic']]], - ['deletedescriptors_493',['deleteDescriptors',['../class_nim_b_l_e_remote_characteristic.html#a5f0a51b4a7fb2244d236dcb96fcf5205',1,'NimBLERemoteCharacteristic']]], - ['deleteservice_494',['deleteService',['../class_nim_b_l_e_client.html#a0f940c51807469db1f1802b742180beb',1,'NimBLEClient']]], - ['deleteservices_495',['deleteServices',['../class_nim_b_l_e_client.html#a668d476de250055a106a9f46bb7719f3',1,'NimBLEClient']]], - ['deviceinfo_496',['deviceInfo',['../class_nim_b_l_e_h_i_d_device.html#a033c4ad91f1bc165ac6a322b4dcc1699',1,'NimBLEHIDDevice']]], - ['disconnect_497',['disconnect',['../class_nim_b_l_e_client.html#a5f77999664cc8a83f3cdb603ba4a5c8c',1,'NimBLEClient::disconnect()'],['../class_nim_b_l_e_server.html#a63c9dce5c4bbc1c6bc720b6c51bcf3e1',1,'NimBLEServer::disconnect()']]], - ['discoverattributes_498',['discoverAttributes',['../class_nim_b_l_e_client.html#a1019178a12799ca2c3a84f523b3a7db9',1,'NimBLEClient']]], - ['dump_499',['dump',['../class_nim_b_l_e_scan_results.html#a2bbead75105733d04796b69e10c56cd4',1,'NimBLEScanResults::dump()'],['../class_nim_b_l_e_service.html#a71488881933ae8adbf11c5986f9dfb75',1,'NimBLEService::dump()']]], - ['dumpgapevent_500',['dumpGapEvent',['../class_nim_b_l_e_utils.html#a27df310308e72c477a3fda7a65806e01',1,'NimBLEUtils']]] + ['data_0',['data',['../class_nim_b_l_e_att_value.html#a86acbb5ab3a35b3d5692c2e05fdccadd',1,'NimBLEAttValue']]], + ['datatohexstring_1',['dataToHexString',['../class_nim_b_l_e_utils.html#a53f0b19687b0706ec48d6b630e209acb',1,'NimBLEUtils']]], + ['deinit_2',['deinit',['../class_nim_b_l_e_device.html#a66362258c033860e8448032913be355f',1,'NimBLEDevice']]], + ['deleteallbonds_3',['deleteAllBonds',['../class_nim_b_l_e_device.html#a17fe75ad9d4f3d8cfd876b4a9bf70bb0',1,'NimBLEDevice']]], + ['deletebond_4',['deleteBond',['../class_nim_b_l_e_device.html#a20fc979ec9dbad5cce7f73e41b2e422e',1,'NimBLEDevice']]], + ['deletecharacteristic_5',['deleteCharacteristic',['../class_nim_b_l_e_remote_service.html#a828d57a4691d25e9e0e6124c3b0f1ac2',1,'NimBLERemoteService']]], + ['deletecharacteristics_6',['deleteCharacteristics',['../class_nim_b_l_e_remote_service.html#a7248e58b58753d8b44c420617d854408',1,'NimBLERemoteService']]], + ['deleteclient_7',['deleteclient',['../class_nim_b_l_e_device.html#a83aa0a3d9d57358d35082a442edf8549',1,'NimBLEDevice::deleteClient()'],['../class_nim_b_l_e_server.html#aa7dd69e19e6cb8c22579c68e9731cdea',1,'NimBLEServer::deleteClient()']]], + ['deletedescriptor_8',['deleteDescriptor',['../class_nim_b_l_e_remote_characteristic.html#a03c4da5f5fc36bd5f66c39aed3feb6f2',1,'NimBLERemoteCharacteristic']]], + ['deletedescriptors_9',['deleteDescriptors',['../class_nim_b_l_e_remote_characteristic.html#a1b021f9ca0501abed573daee878b51eb',1,'NimBLERemoteCharacteristic']]], + ['deleteservice_10',['deleteService',['../class_nim_b_l_e_client.html#a0f940c51807469db1f1802b742180beb',1,'NimBLEClient']]], + ['deleteservices_11',['deleteServices',['../class_nim_b_l_e_client.html#a668d476de250055a106a9f46bb7719f3',1,'NimBLEClient']]], + ['disconnect_12',['disconnect',['../class_nim_b_l_e_client.html#a36b298b70a42d32b8d578869b0763140',1,'NimBLEClient::disconnect()'],['../class_nim_b_l_e_server.html#ac79e828bcc3c45ae817bf51be914bfc0',1,'NimBLEServer::disconnect(uint16_t connHandle, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const'],['../class_nim_b_l_e_server.html#a49e1252a2f14732070eb85e78b641646',1,'NimBLEServer::disconnect(const NimBLEConnInfo &connInfo, uint8_t reason=BLE_ERR_REM_USER_CONN_TERM) const']]], + ['discoverattributes_13',['discoverAttributes',['../class_nim_b_l_e_client.html#a1019178a12799ca2c3a84f523b3a7db9',1,'NimBLEClient']]], + ['dump_14',['dump',['../class_nim_b_l_e_scan_results.html#af143b1aa3bd67157dd263fcbeb4827ba',1,'NimBLEScanResults::dump()'],['../class_nim_b_l_e_service.html#a8fafb0c55e447114daf9ad758218905e',1,'NimBLEService::dump()']]] ]; diff --git a/search/functions_4.html b/search/functions_4.html deleted file mode 100644 index 1657cad..0000000 --- a/search/functions_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_4.js b/search/functions_4.js index 7a4b617..c1b93d7 100644 --- a/search/functions_4.js +++ b/search/functions_4.js @@ -1,7 +1,9 @@ var searchData= [ - ['enablescanrequestcallback_501',['enableScanRequestCallback',['../class_nim_b_l_e_ext_advertisement.html#aaf6c44bc23f03a72bc02c3d45a9adf1d',1,'NimBLEExtAdvertisement']]], - ['end_502',['end',['../class_nim_b_l_e_att_value.html#a4f797f89e9c2d55dc7bee7ec8993952e',1,'NimBLEAttValue::end()'],['../class_nim_b_l_e_client.html#a0accd665926ea77d85ecb483b2b853fe',1,'NimBLEClient::end()'],['../class_nim_b_l_e_remote_characteristic.html#a333adea9c9f243774c6a2f13beabd873',1,'NimBLERemoteCharacteristic::end()'],['../class_nim_b_l_e_remote_service.html#a10fe635fe9a0661d26c33021faaec53b',1,'NimBLERemoteService::end()'],['../class_nim_b_l_e_scan_results.html#a44e183a7ce0c9fb587d11910ce5ef200',1,'NimBLEScanResults::end()']]], - ['equals_503',['equals',['../class_nim_b_l_e_address.html#a826fe8850cbc7d54f0696b8af4637169',1,'NimBLEAddress::equals()'],['../class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd',1,'NimBLEUUID::equals()']]], - ['erase_504',['erase',['../class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1',1,'NimBLEScan']]] + ['enablescanrequestcallback_0',['enableScanRequestCallback',['../class_nim_b_l_e_ext_advertisement.html#aaf6c44bc23f03a72bc02c3d45a9adf1d',1,'NimBLEExtAdvertisement']]], + ['enablescanresponse_1',['enableScanResponse',['../class_nim_b_l_e_advertising.html#a6badd669ddf4ff8507561d5041d093d6',1,'NimBLEAdvertising']]], + ['end_2',['end',['../class_nim_b_l_e_advertised_device.html#a8530d1dfdb57cb2f9fc9a917f12797e6',1,'NimBLEAdvertisedDevice::end()'],['../class_nim_b_l_e_att_value.html#a91cbe0ba44781943390a80514383ee58',1,'NimBLEAttValue::end()'],['../class_nim_b_l_e_client.html#a0accd665926ea77d85ecb483b2b853fe',1,'NimBLEClient::end()'],['../class_nim_b_l_e_remote_characteristic.html#a17aea026b6a795dbb6bcdc27bbe3d17e',1,'NimBLERemoteCharacteristic::end()'],['../class_nim_b_l_e_remote_service.html#a4c00a195d20c8eba714979427f90c239',1,'NimBLERemoteService::end()'],['../class_nim_b_l_e_scan_results.html#a2547ebc0f9f0e1f48346ff0188ed6479',1,'NimBLEScanResults::end()']]], + ['equals_3',['equals',['../class_nim_b_l_e_address.html#a826fe8850cbc7d54f0696b8af4637169',1,'NimBLEAddress::equals()'],['../class_nim_b_l_e_u_u_i_d.html#a3d9763ff434905457ed69118e93a35fd',1,'NimBLEUUID::equals()']]], + ['erase_4',['erase',['../class_nim_b_l_e_scan.html#a566a9ef25b04e946ac23402bb760cda1',1,'NimBLEScan::erase(const NimBLEAddress &address)'],['../class_nim_b_l_e_scan.html#acaa40328d16e040e9f92cba4819cb045',1,'NimBLEScan::erase(const NimBLEAdvertisedDevice *device)']]], + ['exchangemtu_5',['exchangeMTU',['../class_nim_b_l_e_client.html#a19d97b47f01f0862e04f3011752b2f2f',1,'NimBLEClient']]] ]; diff --git a/search/functions_5.html b/search/functions_5.html deleted file mode 100644 index 9301d6b..0000000 --- a/search/functions_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_5.js b/search/functions_5.js index f7afaf3..523de55 100644 --- a/search/functions_5.js +++ b/search/functions_5.js @@ -1,5 +1,4 @@ var searchData= [ - ['featurereport_505',['featureReport',['../class_nim_b_l_e_h_i_d_device.html#a468e599c7d75e691f8d34e1b24db8a38',1,'NimBLEHIDDevice']]], - ['fromstring_506',['fromString',['../class_nim_b_l_e_u_u_i_d.html#ae09acdc52e23a3a38c57aaf859c278c2',1,'NimBLEUUID']]] + ['fromstring_0',['fromString',['../class_nim_b_l_e_u_u_i_d.html#ae09acdc52e23a3a38c57aaf859c278c2',1,'NimBLEUUID']]] ]; diff --git a/search/functions_6.html b/search/functions_6.html deleted file mode 100644 index 9c4f5fc..0000000 --- a/search/functions_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_6.js b/search/functions_6.js index a9531a7..3c3c5c5 100644 --- a/search/functions_6.js +++ b/search/functions_6.js @@ -1,105 +1,118 @@ var searchData= [ - ['gapeventtostring_507',['gapEventToString',['../class_nim_b_l_e_utils.html#afb2df39418324f93a2477e314883ccae',1,'NimBLEUtils']]], - ['getaddress_508',['getAddress',['../class_nim_b_l_e_advertised_device.html#aa60721a7b5b44a3bb66980f003517579',1,'NimBLEAdvertisedDevice::getAddress()'],['../class_nim_b_l_e_device.html#a77f9f343143d4f074ffb545dd14cbb2b',1,'NimBLEDevice::getAddress()'],['../class_nim_b_l_e_conn_info.html#af17023ca06c3d1b9e142dcd5f8c54847',1,'NimBLEConnInfo::getAddress()']]], - ['getaddresstype_509',['getAddressType',['../class_nim_b_l_e_advertised_device.html#afc79cdc087c81b34643d70c8259eb9a3',1,'NimBLEAdvertisedDevice']]], - ['getadvertising_510',['getAdvertising',['../class_nim_b_l_e_server.html#ab41d8bb9b334734f95a726f1e15200fc',1,'NimBLEServer::getAdvertising()'],['../class_nim_b_l_e_device.html#aa994b01b2b5bb9f677f3cffb2f05d140',1,'NimBLEDevice::getAdvertising()']]], - ['getadvinterval_511',['getAdvInterval',['../class_nim_b_l_e_advertised_device.html#a9a7a36e9937e16ffab4f1543ea54073f',1,'NimBLEAdvertisedDevice']]], - ['getadvlength_512',['getAdvLength',['../class_nim_b_l_e_advertised_device.html#ae960e43434bf62ec83e9230d7bf7046c',1,'NimBLEAdvertisedDevice']]], - ['getadvtype_513',['getAdvType',['../class_nim_b_l_e_advertised_device.html#a9d07ee4c38de4170db24a5e01663ee6d',1,'NimBLEAdvertisedDevice']]], - ['getappearance_514',['getAppearance',['../class_nim_b_l_e_advertised_device.html#a228afa5e43421b4d96d9c08241718309',1,'NimBLEAdvertisedDevice']]], - ['getbondedaddress_515',['getBondedAddress',['../class_nim_b_l_e_device.html#ac7f090f4b1a2d593f38b20859e071f0c',1,'NimBLEDevice']]], - ['getcallbacks_516',['getCallbacks',['../class_nim_b_l_e_characteristic.html#a1747ac4889c7adbb93a2d88a10327a47',1,'NimBLECharacteristic']]], - ['getcharacteristic_517',['getCharacteristic',['../class_nim_b_l_e_client.html#a2fc46f43a71dd0df63a377961baf8009',1,'NimBLEClient::getCharacteristic()'],['../class_nim_b_l_e_descriptor.html#a412b3735186d94e9ddcf37a06c2055e1',1,'NimBLEDescriptor::getCharacteristic()'],['../class_nim_b_l_e_remote_service.html#ab12d195a2239a3808d60457184f0c487',1,'NimBLERemoteService::getCharacteristic(const char *uuid)'],['../class_nim_b_l_e_remote_service.html#a7ff4fc7bfb77adc33003dd6eb8e16957',1,'NimBLERemoteService::getCharacteristic(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_service.html#a305b680286096638a4239620ec2de567',1,'NimBLEService::getCharacteristic(const char *uuid, uint16_t instanceId=0)'],['../class_nim_b_l_e_service.html#adfc4e67f79aaabc8f2c6bdb5c6966609',1,'NimBLEService::getCharacteristic(const NimBLEUUID &uuid, uint16_t instanceId=0)']]], - ['getcharacteristicbyhandle_518',['getCharacteristicByHandle',['../class_nim_b_l_e_service.html#a35b56ab3ef7fffb2b299f95d3176d07e',1,'NimBLEService']]], - ['getcharacteristics_519',['getCharacteristics',['../class_nim_b_l_e_service.html#a55724788b3bf4614995ea656bf8fe1bb',1,'NimBLEService::getCharacteristics(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_service.html#a24cf868e9eec7b5ecdf1e88d257e91d9',1,'NimBLEService::getCharacteristics(const char *uuid)'],['../class_nim_b_l_e_remote_service.html#a2c9e91c842598a6a9576c7b87af0863a',1,'NimBLERemoteService::getCharacteristics()'],['../class_nim_b_l_e_service.html#aa2cba47cb4c935e15c77707643e5e9a5',1,'NimBLEService::getCharacteristics()']]], - ['getclient_520',['getClient',['../class_nim_b_l_e_remote_service.html#a3d1e7db457a9f3774eaa5e641dcc716e',1,'NimBLERemoteService']]], - ['getclientbyid_521',['getClientByID',['../class_nim_b_l_e_device.html#ac7adcd510eef2b9546bcde9a253e56a9',1,'NimBLEDevice']]], - ['getclientbypeeraddress_522',['getClientByPeerAddress',['../class_nim_b_l_e_device.html#ac4dbadc7fc170993e41532f675786504',1,'NimBLEDevice']]], - ['getclientlist_523',['getClientList',['../class_nim_b_l_e_device.html#a1a6fb5e8f0e2cdc012ebae4fb4d12fd0',1,'NimBLEDevice']]], - ['getclientlistsize_524',['getClientListSize',['../class_nim_b_l_e_device.html#abe21dcac43493689a06bc6ddb91b6faf',1,'NimBLEDevice']]], - ['getconnectedcount_525',['getConnectedCount',['../class_nim_b_l_e_server.html#a98ea12f57c10c0477b0c1c5efab23ee5',1,'NimBLEServer']]], - ['getconnhandle_526',['getConnHandle',['../class_nim_b_l_e_conn_info.html#a77e212f3e236b05da0978ea482e3efb4',1,'NimBLEConnInfo']]], - ['getconnid_527',['getConnId',['../class_nim_b_l_e_client.html#aa09466a7050bf08bab2390da66007896',1,'NimBLEClient']]], - ['getconninfo_528',['getConnInfo',['../class_nim_b_l_e_client.html#a566207f548c6b799792fc092f1748267',1,'NimBLEClient']]], - ['getconninterval_529',['getConnInterval',['../class_nim_b_l_e_conn_info.html#aa43374d84b7564f6d187fd0c637b1049',1,'NimBLEConnInfo']]], - ['getconnlatency_530',['getConnLatency',['../class_nim_b_l_e_conn_info.html#a10c6093ca2f92ea61b82815909106430',1,'NimBLEConnInfo']]], - ['getconntimeout_531',['getConnTimeout',['../class_nim_b_l_e_conn_info.html#a8e885d340f1ab4e477c69ed7ea99b082',1,'NimBLEConnInfo']]], - ['getcount_532',['getCount',['../class_nim_b_l_e_eddystone_t_l_m.html#a556a6b6a75693997390f3bacf6e5ca5e',1,'NimBLEEddystoneTLM::getCount()'],['../class_nim_b_l_e_scan_results.html#ae4796dd6ce1845c46f66bc1a36ad746a',1,'NimBLEScanResults::getCount()']]], - ['getdata_533',['getData',['../class_nim_b_l_e_eddystone_u_r_l.html#ac32c7066ce1ee8d495a35ec870f0e7bf',1,'NimBLEEddystoneURL::getData()'],['../class_nim_b_l_e_beacon.html#ae2458f7db169b696e6368802d5ece0d9',1,'NimBLEBeacon::getData()'],['../class_nim_b_l_e_eddystone_t_l_m.html#ae146a8f066ef3fc6994070654ec5d7ea',1,'NimBLEEddystoneTLM::getData()']]], - ['getdatalength_534',['getDataLength',['../class_nim_b_l_e_characteristic.html#a580ad0133fd82a673027c91cbb1c74fa',1,'NimBLECharacteristic']]], - ['getdatasize_535',['getDataSize',['../class_nim_b_l_e_ext_advertisement.html#aec383f3f61780ee5bda3599543c84dd8',1,'NimBLEExtAdvertisement']]], - ['getdecodedurl_536',['getDecodedURL',['../class_nim_b_l_e_eddystone_u_r_l.html#a8b68cc96a84da85e20d8583ba375c2ff',1,'NimBLEEddystoneURL']]], - ['getdefhandle_537',['getDefHandle',['../class_nim_b_l_e_remote_characteristic.html#aebbcd36740e49d7e29eb5b21d6802380',1,'NimBLERemoteCharacteristic']]], - ['getdescriptor_538',['getDescriptor',['../class_nim_b_l_e_remote_characteristic.html#a6178e1c58361b957be3c48548c1c4366',1,'NimBLERemoteCharacteristic']]], - ['getdescriptorbyhandle_539',['getDescriptorByHandle',['../class_nim_b_l_e_characteristic.html#a062f52918f13c49a37ce8e58b9e7382a',1,'NimBLECharacteristic']]], - ['getdescriptorbyuuid_540',['getDescriptorByUUID',['../class_nim_b_l_e_characteristic.html#abc5f4819e4d2c0956857ddd7a1064189',1,'NimBLECharacteristic::getDescriptorByUUID(const char *uuid)'],['../class_nim_b_l_e_characteristic.html#ae310b081d2d7d2a52ab2ddc11d5dbd99',1,'NimBLECharacteristic::getDescriptorByUUID(const NimBLEUUID &uuid)']]], - ['getdescriptors_541',['getDescriptors',['../class_nim_b_l_e_remote_characteristic.html#acf11d225fe5a25327742349e9d6061f9',1,'NimBLERemoteCharacteristic']]], - ['getdevice_542',['getDevice',['../class_nim_b_l_e_scan_results.html#a68aa3ebffb1be785497f228c1d11e500',1,'NimBLEScanResults::getDevice(uint32_t i)'],['../class_nim_b_l_e_scan_results.html#ac2356f6c1b8384ebc061d4b7953a9374',1,'NimBLEScanResults::getDevice(const NimBLEAddress &address)']]], - ['getdisconnectedclient_543',['getDisconnectedClient',['../class_nim_b_l_e_device.html#a10aec48b56ef404f42ade96d6244b312',1,'NimBLEDevice']]], - ['gethandle_544',['getHandle',['../class_nim_b_l_e_characteristic.html#acc3ea122771cd447103adfce22537379',1,'NimBLECharacteristic::getHandle()'],['../class_nim_b_l_e_descriptor.html#a486af6799753dfa60b3faddfac2adbcd',1,'NimBLEDescriptor::getHandle()'],['../class_nim_b_l_e_remote_characteristic.html#ab46121a8f5000c40d521e7ee5d92bee6',1,'NimBLERemoteCharacteristic::getHandle()'],['../class_nim_b_l_e_remote_descriptor.html#ab8a774ebc69c0fb7ea17f926a82dba21',1,'NimBLERemoteDescriptor::getHandle()'],['../class_nim_b_l_e_service.html#a86d65ef61a77bdd660632b4041c2b640',1,'NimBLEService::getHandle()']]], - ['getidaddress_545',['getIdAddress',['../class_nim_b_l_e_conn_info.html#a7bc23f09eb7dd53be902cb67d2ba745a',1,'NimBLEConnInfo']]], - ['getinitialized_546',['getInitialized',['../class_nim_b_l_e_device.html#ad6eda512195c7cbe249a1edbb99510cd',1,'NimBLEDevice']]], - ['getlasterror_547',['getLastError',['../class_nim_b_l_e_client.html#a178d06bed13028e4ae0384923062d18d',1,'NimBLEClient']]], - ['getlength_548',['getLength',['../class_nim_b_l_e_descriptor.html#a378346f59afb706d4c1d961227b98c5d',1,'NimBLEDescriptor']]], - ['getmajor_549',['getMajor',['../class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c',1,'NimBLEBeacon']]], - ['getmanufacturerdata_550',['getManufacturerData',['../class_nim_b_l_e_advertised_device.html#afa334006230601cc5c6429b18819a2e2',1,'NimBLEAdvertisedDevice::getManufacturerData()'],['../class_nim_b_l_e_advertised_device.html#ae9a586e46a555cf5fc817c9fe301b295',1,'NimBLEAdvertisedDevice::getManufacturerData(bool skipSizeCheck=false)']]], - ['getmanufacturerid_551',['getManufacturerId',['../class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40',1,'NimBLEBeacon']]], - ['getmaxinterval_552',['getMaxInterval',['../class_nim_b_l_e_advertised_device.html#a450eca96c605f199d2786a044612db17',1,'NimBLEAdvertisedDevice']]], - ['getmininterval_553',['getMinInterval',['../class_nim_b_l_e_advertised_device.html#a33fcdc3bf5107c157b10ad4519938c9f',1,'NimBLEAdvertisedDevice']]], - ['getminor_554',['getMinor',['../class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788',1,'NimBLEBeacon']]], - ['getmtu_555',['getMTU',['../class_nim_b_l_e_client.html#ab971537eec4e53d621598eb1c760af3a',1,'NimBLEClient::getMTU()'],['../class_nim_b_l_e_conn_info.html#a94796b6446ef40c0ae0d1f8af1ff9462',1,'NimBLEConnInfo::getMTU()'],['../class_nim_b_l_e_device.html#a5520cf3f544d571636eed162de394ec2',1,'NimBLEDevice::getMTU()']]], - ['getname_556',['getName',['../class_nim_b_l_e_advertised_device.html#ae6c6b48369d71a5998c1393c0d6a0179',1,'NimBLEAdvertisedDevice']]], - ['getnative_557',['getNative',['../class_nim_b_l_e_address.html#adef69a03a08303957d7e40eef07b4d80',1,'NimBLEAddress::getNative()'],['../class_nim_b_l_e_u_u_i_d.html#a62e8e924f971c62cc42760d8c7dd6f28',1,'NimBLEUUID::getNative()']]], - ['getnumbonds_558',['getNumBonds',['../class_nim_b_l_e_device.html#a7fe0f568c17130150660e6307851be48',1,'NimBLEDevice']]], - ['getpayload_559',['getPayload',['../class_nim_b_l_e_advertised_device.html#afacf7717a15b36af184cd957d397e384',1,'NimBLEAdvertisedDevice::getPayload()'],['../class_nim_b_l_e_advertisement_data.html#acbd638708c8b8b4663c09107bc38feb1',1,'NimBLEAdvertisementData::getPayload()']]], - ['getpayloadlength_560',['getPayloadLength',['../class_nim_b_l_e_advertised_device.html#ac7879f4aa0f2b069b1d3aff4809ae62c',1,'NimBLEAdvertisedDevice']]], - ['getpeeraddress_561',['getPeerAddress',['../class_nim_b_l_e_client.html#a0477ba593f0b7c0cfc4697efdba703eb',1,'NimBLEClient']]], - ['getpeerdevices_562',['getPeerDevices',['../class_nim_b_l_e_server.html#ab95c428ddc94eb019a26d91e70f5974b',1,'NimBLEServer']]], - ['getpeeridinfo_563',['getPeerIDInfo',['../class_nim_b_l_e_server.html#ad241eb42e9775fb2f8aaa87c9fb9a76b',1,'NimBLEServer']]], - ['getpeerinfo_564',['getPeerInfo',['../class_nim_b_l_e_server.html#a347c74f4ad6e2bcc2e301da11ae13e91',1,'NimBLEServer::getPeerInfo(size_t index)'],['../class_nim_b_l_e_server.html#ad91fbcb2717aa1969329f365692e1072',1,'NimBLEServer::getPeerInfo(const NimBLEAddress &address)']]], - ['getpeermtu_565',['getPeerMTU',['../class_nim_b_l_e_server.html#a9eb1f32b72ac93736585d6d89f393021',1,'NimBLEServer']]], - ['getperiodicinterval_566',['getPeriodicInterval',['../class_nim_b_l_e_advertised_device.html#ad9c5b9ffda267ddbcaef6b0f236846f9',1,'NimBLEAdvertisedDevice']]], - ['getpower_567',['getPower',['../class_nim_b_l_e_eddystone_u_r_l.html#a42583c740bbdb9591422e8770f8bd0d5',1,'NimBLEEddystoneURL']]], - ['getprimaryphy_568',['getPrimaryPhy',['../class_nim_b_l_e_advertised_device.html#a9b4ad695a4f035512d4d17313d8c5d3b',1,'NimBLEAdvertisedDevice']]], - ['getproperties_569',['getProperties',['../class_nim_b_l_e_characteristic.html#a79759a98d9bdb761cb12c1ea6f601afc',1,'NimBLECharacteristic']]], - ['getproximityuuid_570',['getProximityUUID',['../class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad',1,'NimBLEBeacon']]], - ['getremotecharacteristic_571',['getRemoteCharacteristic',['../class_nim_b_l_e_remote_descriptor.html#a529e80c6731f68f3598e015df7618cfe',1,'NimBLERemoteDescriptor']]], - ['getremoteservice_572',['getRemoteService',['../class_nim_b_l_e_remote_characteristic.html#a943183a55b020de9e09ac2cfaebcde32',1,'NimBLERemoteCharacteristic']]], - ['getresults_573',['getResults',['../class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61',1,'NimBLEScan']]], - ['getrssi_574',['getRssi',['../class_nim_b_l_e_client.html#ae216993cf4eeb5780a104a8b14044f78',1,'NimBLEClient']]], - ['getrssi_575',['getRSSI',['../class_nim_b_l_e_advertised_device.html#acd42dfbc92a43fc90e933df975c029f3',1,'NimBLEAdvertisedDevice']]], - ['getscan_576',['getScan',['../class_nim_b_l_e_advertised_device.html#ad3931c72aaded3b594896c29b3691562',1,'NimBLEAdvertisedDevice::getScan()'],['../class_nim_b_l_e_device.html#af93d92316454b051125460056368baec',1,'NimBLEDevice::getScan()']]], - ['getseckeysize_577',['getSecKeySize',['../class_nim_b_l_e_conn_info.html#a278a8456f9d7df9cea7d776e61b36782',1,'NimBLEConnInfo']]], - ['getsecondaryphy_578',['getSecondaryPhy',['../class_nim_b_l_e_advertised_device.html#a1efd77b20e3198ef148282bf75ff3e22',1,'NimBLEAdvertisedDevice']]], - ['getsecuritypasskey_579',['getSecurityPasskey',['../class_nim_b_l_e_device.html#aa03937eadda020643b536c5d08174d3a',1,'NimBLEDevice']]], - ['getserver_580',['getServer',['../class_nim_b_l_e_device.html#a41d4cc7c85cba0721c6649b001b31b4d',1,'NimBLEDevice::getServer()'],['../class_nim_b_l_e_service.html#af304386c4e067dd0eeb27b86c0e59d0f',1,'NimBLEService::getServer()']]], - ['getservice_581',['getService',['../class_nim_b_l_e_characteristic.html#a84aa251a612810ec8d07e77ab03cb483',1,'NimBLECharacteristic::getService()'],['../class_nim_b_l_e_client.html#ae22379ab10bd82932d2303fb3753c366',1,'NimBLEClient::getService(const char *uuid)'],['../class_nim_b_l_e_client.html#ad8ba10522d79af1136019606802f0978',1,'NimBLEClient::getService(const NimBLEUUID &uuid)']]], - ['getservicebyhandle_582',['getServiceByHandle',['../class_nim_b_l_e_server.html#a1ff39fc5235d1374d99b4f3d3acb5ddb',1,'NimBLEServer']]], - ['getservicebyuuid_583',['getServiceByUUID',['../class_nim_b_l_e_server.html#a87ebb3d230e98a6b3cf85bc403d227e0',1,'NimBLEServer::getServiceByUUID(const char *uuid, uint16_t instanceId=0)'],['../class_nim_b_l_e_server.html#ac28df6ead4d7151df3e84f4fa991eb1f',1,'NimBLEServer::getServiceByUUID(const NimBLEUUID &uuid, uint16_t instanceId=0)']]], - ['getservicedata_584',['getServiceData',['../class_nim_b_l_e_advertised_device.html#aecb3e30a94abd59401cafb70a5903abb',1,'NimBLEAdvertisedDevice::getServiceData(uint8_t index=0)'],['../class_nim_b_l_e_advertised_device.html#acf4398ca81f800445092ccc77deaf00b',1,'NimBLEAdvertisedDevice::getServiceData(const NimBLEUUID &uuid)'],['../class_nim_b_l_e_advertised_device.html#a9017ce5b59bdae3cebf33c54f28cee70',1,'NimBLEAdvertisedDevice::getServiceData(uint8_t index=0, bool skipSizeCheck=false)'],['../class_nim_b_l_e_advertised_device.html#a9ca1c022e10764ec72850ff3a011b009',1,'NimBLEAdvertisedDevice::getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false)']]], - ['getservicedatacount_585',['getServiceDataCount',['../class_nim_b_l_e_advertised_device.html#a1602b70c37fb9a5f2f7ca4eacbf01091',1,'NimBLEAdvertisedDevice']]], - ['getservicedatauuid_586',['getServiceDataUUID',['../class_nim_b_l_e_advertised_device.html#a4f89e99dffdfde45c1cafff74a20a95f',1,'NimBLEAdvertisedDevice']]], - ['getservices_587',['getServices',['../class_nim_b_l_e_client.html#acb9007569b3bb13b3b49f3c4cb47b21a',1,'NimBLEClient']]], - ['getserviceuuid_588',['getServiceUUID',['../class_nim_b_l_e_advertised_device.html#ab53f862df15953d19ba7a45d4cf51b46',1,'NimBLEAdvertisedDevice']]], - ['getserviceuuidcount_589',['getServiceUUIDCount',['../class_nim_b_l_e_advertised_device.html#a5ca6792d1ee559470ae8edccc1aea20d',1,'NimBLEAdvertisedDevice']]], - ['getsetid_590',['getSetId',['../class_nim_b_l_e_advertised_device.html#a6361e2b275cc45578f1000b5fd1b3c29',1,'NimBLEAdvertisedDevice']]], - ['getsignalpower_591',['getSignalPower',['../class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668',1,'NimBLEBeacon']]], - ['getstringvalue_592',['getStringValue',['../class_nim_b_l_e_descriptor.html#a7153e051e5808469c23e2207fa6711db',1,'NimBLEDescriptor']]], - ['getsubscribedcount_593',['getSubscribedCount',['../class_nim_b_l_e_characteristic.html#aced225d46153b6969f6ded30c0190e39',1,'NimBLECharacteristic']]], - ['gettargetaddress_594',['getTargetAddress',['../class_nim_b_l_e_advertised_device.html#a599cad9a3f3d535049c87a911bc1b14d',1,'NimBLEAdvertisedDevice']]], - ['gettargetaddresscount_595',['getTargetAddressCount',['../class_nim_b_l_e_advertised_device.html#ae2256f6b4da4c11cf75cb773a6b7f223',1,'NimBLEAdvertisedDevice']]], - ['gettemp_596',['getTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#abda56940f7d9f7ccef2629b75880dd5f',1,'NimBLEEddystoneTLM']]], - ['gettime_597',['getTime',['../class_nim_b_l_e_eddystone_t_l_m.html#ab1c4a13c2f57a6e0293810dd09be3db3',1,'NimBLEEddystoneTLM']]], - ['gettimestamp_598',['getTimestamp',['../class_nim_b_l_e_advertised_device.html#a1855415f3c60bc88d62e9206fe6ed75a',1,'NimBLEAdvertisedDevice']]], - ['gettxpower_599',['getTXPower',['../class_nim_b_l_e_advertised_device.html#afee346437447173eed1b9edf1de70f34',1,'NimBLEAdvertisedDevice']]], - ['gettype_600',['getType',['../class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb',1,'NimBLEAddress']]], - ['geturi_601',['getURI',['../class_nim_b_l_e_advertised_device.html#ad65f8040a142f8d6d0763d4876f0d22e',1,'NimBLEAdvertisedDevice']]], - ['geturl_602',['getURL',['../class_nim_b_l_e_eddystone_u_r_l.html#a0109874399f3e70a72ee9f4a909710e1',1,'NimBLEEddystoneURL']]], - ['getuuid_603',['getUUID',['../class_nim_b_l_e_service.html#ab000b7d2b7dbb3978a5a8c1e17b1d649',1,'NimBLEService::getUUID()'],['../class_nim_b_l_e_remote_service.html#a565ed7d306645772d4e03ca65a07f7e5',1,'NimBLERemoteService::getUUID()'],['../class_nim_b_l_e_remote_descriptor.html#ace6b19cd3d9aa8226b4c17371616ad58',1,'NimBLERemoteDescriptor::getUUID()'],['../class_nim_b_l_e_eddystone_u_r_l.html#a1fde0fcf7d90f79e0eb718967518247a',1,'NimBLEEddystoneURL::getUUID()'],['../class_nim_b_l_e_eddystone_t_l_m.html#aa511375f22952c0f5846a51e6c2511c5',1,'NimBLEEddystoneTLM::getUUID()'],['../class_nim_b_l_e_descriptor.html#abc5398a570edc197fbadad3f5b45e186',1,'NimBLEDescriptor::getUUID()'],['../class_nim_b_l_e_characteristic.html#a28b03617fe753133582ba4e58c60e52e',1,'NimBLECharacteristic::getUUID()'],['../class_nim_b_l_e_remote_characteristic.html#ad62c63468995a24d736c4176c9607eeb',1,'NimBLERemoteCharacteristic::getUUID()']]], - ['getvalue_604',['getValue',['../class_nim_b_l_e_descriptor.html#a8f64c733c8848948fe9123bd7cd3fd53',1,'NimBLEDescriptor::getValue()'],['../class_nim_b_l_e_remote_service.html#a4a9b63b4e5cedb51a7748a88daeb518b',1,'NimBLERemoteService::getValue()'],['../class_nim_b_l_e_remote_characteristic.html#a74ad8484cbc88d8eb36d4684233c538b',1,'NimBLERemoteCharacteristic::getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)'],['../class_nim_b_l_e_remote_characteristic.html#a6d0779ffe7e89449121428e7fd6083d8',1,'NimBLERemoteCharacteristic::getValue(time_t *timestamp=nullptr)'],['../class_nim_b_l_e_descriptor.html#a61062547f21ca8e102ec5d8e0843c9f9',1,'NimBLEDescriptor::getValue()'],['../class_nim_b_l_e_client.html#a3903fb7589e2b8b781f8f81f9e0f2a83',1,'NimBLEClient::getValue()'],['../class_nim_b_l_e_characteristic.html#a7d09c29b26362f6ddcaf51a9c9dc8be4',1,'NimBLECharacteristic::getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)'],['../class_nim_b_l_e_characteristic.html#a78484a01350300176033a09180f7207f',1,'NimBLECharacteristic::getValue(time_t *timestamp=nullptr)'],['../class_nim_b_l_e_att_value.html#a1aca76279ea3f0d8cb06ff5540a326e3',1,'NimBLEAttValue::getValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)'],['../class_nim_b_l_e_att_value.html#a60fb3dc7057d4ec800c3ef6fd2480a69',1,'NimBLEAttValue::getValue(time_t *timestamp)']]], - ['getversion_605',['getVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#ae9f17d2c1e4150775881babb73f0b10c',1,'NimBLEEddystoneTLM']]], - ['getvolt_606',['getVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#af9862f983df6f48a96220e936d13d17b',1,'NimBLEEddystoneTLM']]], - ['getwhitelistaddress_607',['getWhiteListAddress',['../class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789',1,'NimBLEDevice']]], - ['getwhitelistcount_608',['getWhiteListCount',['../class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0',1,'NimBLEDevice']]] + ['gapeventtostring_0',['gapEventToString',['../class_nim_b_l_e_utils.html#afb2df39418324f93a2477e314883ccae',1,'NimBLEUtils']]], + ['generateaddr_1',['generateAddr',['../class_nim_b_l_e_utils.html#a6d47cf1adecd01d0102e0feec8232538',1,'NimBLEUtils']]], + ['getaddress_2',['getaddress',['../class_nim_b_l_e_conn_info.html#a11564eb72e1a4d28a0430a5f13582c1f',1,'NimBLEConnInfo::getAddress()'],['../class_nim_b_l_e_advertised_device.html#acb3c376962b317b91628fb96ad215923',1,'NimBLEAdvertisedDevice::getAddress()'],['../class_nim_b_l_e_device.html#a77f9f343143d4f074ffb545dd14cbb2b',1,'NimBLEDevice::getAddress()']]], + ['getaddresstype_3',['getAddressType',['../class_nim_b_l_e_advertised_device.html#a455ebaf550d1e7e025ada171cb611503',1,'NimBLEAdvertisedDevice']]], + ['getadvertisementdata_4',['getAdvertisementData',['../class_nim_b_l_e_advertising.html#a1e23657839038e5219f9c009cf360a32',1,'NimBLEAdvertising']]], + ['getadvertising_5',['getadvertising',['../class_nim_b_l_e_device.html#aa994b01b2b5bb9f677f3cffb2f05d140',1,'NimBLEDevice::getAdvertising()'],['../class_nim_b_l_e_server.html#a70aafa98cc487c43e11ab30990d5ecb5',1,'NimBLEServer::getAdvertising()']]], + ['getadvflags_6',['getAdvFlags',['../class_nim_b_l_e_advertised_device.html#acbdfac3f9febbe11d1a1317bc7524810',1,'NimBLEAdvertisedDevice']]], + ['getadvinterval_7',['getAdvInterval',['../class_nim_b_l_e_advertised_device.html#ad06e4e81a8d568199d1145f437175749',1,'NimBLEAdvertisedDevice']]], + ['getadvlength_8',['getAdvLength',['../class_nim_b_l_e_advertised_device.html#afb7a089c220e4987852ea1d7a0b5dca4',1,'NimBLEAdvertisedDevice']]], + ['getadvtype_9',['getAdvType',['../class_nim_b_l_e_advertised_device.html#ab348469f8d9325e6bb619dce9bbd4e24',1,'NimBLEAdvertisedDevice']]], + ['getappearance_10',['getAppearance',['../class_nim_b_l_e_advertised_device.html#a778d8b099f7e006d8e213cf638276a81',1,'NimBLEAdvertisedDevice']]], + ['getbase_11',['getbase',['../class_nim_b_l_e_address.html#a31b466293f6cb752d5aba6b6ffb95351',1,'NimBLEAddress::getBase()'],['../class_nim_b_l_e_u_u_i_d.html#a68c61ae225675ac84d60f76058a5bdd4',1,'NimBLEUUID::getBase()']]], + ['getbatterylevel_12',['getBatteryLevel',['../class_nim_b_l_e_h_i_d_device.html#a323892b69461ac6fc081432f633eda3e',1,'NimBLEHIDDevice']]], + ['getbatteryservice_13',['getBatteryService',['../class_nim_b_l_e_h_i_d_device.html#adce27e45dc04de669c512f6550efadc7',1,'NimBLEHIDDevice']]], + ['getbondedaddress_14',['getBondedAddress',['../class_nim_b_l_e_device.html#ac7f090f4b1a2d593f38b20859e071f0c',1,'NimBLEDevice']]], + ['getbootinput_15',['getBootInput',['../class_nim_b_l_e_h_i_d_device.html#a956ea4caa4f5bac7cda3bdb152ac1176',1,'NimBLEHIDDevice']]], + ['getbootoutput_16',['getBootOutput',['../class_nim_b_l_e_h_i_d_device.html#ad2584be6dfe497dc83686a51ff0194f6',1,'NimBLEHIDDevice']]], + ['getcallbacks_17',['getCallbacks',['../class_nim_b_l_e_characteristic.html#ac194f58f909f9e447949a41c2a7cdf00',1,'NimBLECharacteristic']]], + ['getcharacteristic_18',['getcharacteristic',['../class_nim_b_l_e_client.html#a6b801e91a37745445499dadfb4c38597',1,'NimBLEClient::getCharacteristic()'],['../class_nim_b_l_e_service.html#a200714f911accd64acfd2fa3d0c6b863',1,'NimBLEService::getCharacteristic(const NimBLEUUID &uuid, uint16_t instanceId=0) const'],['../class_nim_b_l_e_service.html#aeeaa4b0c543230e7819ad92d48432f5e',1,'NimBLEService::getCharacteristic(const char *uuid, uint16_t instanceId=0) const'],['../class_nim_b_l_e_remote_service.html#a404ee02ca3ecf8c9d244029ede066bda',1,'NimBLERemoteService::getCharacteristic(const NimBLEUUID &uuid) const'],['../class_nim_b_l_e_remote_service.html#ae10ddb56bc48bd06538ab49e4a561594',1,'NimBLERemoteService::getCharacteristic(const char *uuid) const'],['../class_nim_b_l_e_descriptor.html#aa61b5f14156e9f378688ec875cf48309',1,'NimBLEDescriptor::getCharacteristic()']]], + ['getcharacteristicbyhandle_19',['getCharacteristicByHandle',['../class_nim_b_l_e_service.html#a488df9c39d1c49d4b1537abddddb1a7d',1,'NimBLEService']]], + ['getcharacteristics_20',['getcharacteristics',['../class_nim_b_l_e_remote_service.html#a5b07f0756c401d40396886e80d64b03b',1,'NimBLERemoteService::getCharacteristics()'],['../class_nim_b_l_e_service.html#a8219ccefd97180bee485b62572c62e58',1,'NimBLEService::getCharacteristics() const'],['../class_nim_b_l_e_service.html#a9bb082780665005271fab6e79416f3ed',1,'NimBLEService::getCharacteristics(const char *uuid) const'],['../class_nim_b_l_e_service.html#a557ec314a4b2f912b1c1b03e332f9fe1',1,'NimBLEService::getCharacteristics(const NimBLEUUID &uuid) const']]], + ['getclient_21',['getclient',['../class_nim_b_l_e_remote_service.html#a2f56031169ebeefcd834fff971a972c2',1,'NimBLERemoteService::getClient()'],['../class_nim_b_l_e_server.html#a31f73892bcf7eb66ee540bf1da9c419c',1,'NimBLEServer::getClient(uint16_t connHandle)'],['../class_nim_b_l_e_server.html#a5be3c18cb6728c365ebc23af6b2a95f4',1,'NimBLEServer::getClient(const NimBLEConnInfo &connInfo)']]], + ['getclientbyhandle_22',['getClientByHandle',['../class_nim_b_l_e_device.html#a9c15d6b767091fae4412428436827c4e',1,'NimBLEDevice']]], + ['getclientbypeeraddress_23',['getClientByPeerAddress',['../class_nim_b_l_e_device.html#afc7060413706ec7217ea9add4b169117',1,'NimBLEDevice']]], + ['getconfig_24',['getConfig',['../class_nim_b_l_e_client.html#ac053fba7c84201dc6e7455231cf99f4a',1,'NimBLEClient']]], + ['getconnectedclients_25',['getConnectedClients',['../class_nim_b_l_e_device.html#acb098c56b7d08636e1745052eb184fb2',1,'NimBLEDevice']]], + ['getconnectedcount_26',['getConnectedCount',['../class_nim_b_l_e_server.html#a4277e57885576664b9adf11f586e75ba',1,'NimBLEServer']]], + ['getconnhandle_27',['getconnhandle',['../class_nim_b_l_e_conn_info.html#aa3ffb5995fb9961a6f04117f538a8f28',1,'NimBLEConnInfo::getConnHandle()'],['../class_nim_b_l_e_client.html#ac1e517e5a57b0bd05d4bafa66a17f1bd',1,'NimBLEClient::getConnHandle() const']]], + ['getconninfo_28',['getConnInfo',['../class_nim_b_l_e_client.html#a50b691f395c4dcf4b633efede0783805',1,'NimBLEClient']]], + ['getconninterval_29',['getConnInterval',['../class_nim_b_l_e_conn_info.html#aca6b24e741bcf03d4b9bdc28b008b8c6',1,'NimBLEConnInfo']]], + ['getconnlatency_30',['getConnLatency',['../class_nim_b_l_e_conn_info.html#a012bd655ebd9726762be76d30ebdb17e',1,'NimBLEConnInfo']]], + ['getconntimeout_31',['getConnTimeout',['../class_nim_b_l_e_conn_info.html#aa8c39ebf9d346b3334b0a067ffe082a5',1,'NimBLEConnInfo']]], + ['getcount_32',['getcount',['../class_nim_b_l_e_eddystone_t_l_m.html#a556a6b6a75693997390f3bacf6e5ca5e',1,'NimBLEEddystoneTLM::getCount()'],['../class_nim_b_l_e_scan_results.html#a59c62c0825917ebb26bcb1efa2a98f4d',1,'NimBLEScanResults::getCount()']]], + ['getcreatedclientcount_33',['getCreatedClientCount',['../class_nim_b_l_e_device.html#a0944f3f6eca16ed4b7fd96d88b2906d9',1,'NimBLEDevice']]], + ['getdata_34',['getdata',['../class_nim_b_l_e_eddystone_t_l_m.html#a32c448f92ce2e61a9589d1cb0d149d07',1,'NimBLEEddystoneTLM::getData()'],['../class_nim_b_l_e_beacon.html#a8ac2cd99dd5a8a996f3556f9e5d20bbb',1,'NimBLEBeacon::getData()']]], + ['getdatalocation_35',['getdatalocation',['../class_nim_b_l_e_advertisement_data.html#a57d4ece891cc23b2079ccc4e06d477b2',1,'NimBLEAdvertisementData::getDataLocation()'],['../class_nim_b_l_e_ext_advertisement.html#a7cf145aa6be376efaddadc507f5018d0',1,'NimBLEExtAdvertisement::getDataLocation(uint8_t type) const']]], + ['getdatasize_36',['getDataSize',['../class_nim_b_l_e_ext_advertisement.html#ae3f915131471deba63c1275fc8557aa2',1,'NimBLEExtAdvertisement']]], + ['getdescriptor_37',['getDescriptor',['../class_nim_b_l_e_remote_characteristic.html#a8a2e29de02b97c99e88ce1a56e54cdd7',1,'NimBLERemoteCharacteristic']]], + ['getdescriptorbyhandle_38',['getDescriptorByHandle',['../class_nim_b_l_e_characteristic.html#a283bd1661b5865dd247b1b59bcbf46d6',1,'NimBLECharacteristic']]], + ['getdescriptorbyuuid_39',['getdescriptorbyuuid',['../class_nim_b_l_e_characteristic.html#a3dd5745ea2cd75e12d27c51fc90b4914',1,'NimBLECharacteristic::getDescriptorByUUID(const char *uuid) const'],['../class_nim_b_l_e_characteristic.html#a15d9945ee9549e60db77666a2ef5d0c8',1,'NimBLECharacteristic::getDescriptorByUUID(const NimBLEUUID &uuid) const']]], + ['getdescriptors_40',['getDescriptors',['../class_nim_b_l_e_remote_characteristic.html#a27746c8b2405beb1d44567e2c1f85f87',1,'NimBLERemoteCharacteristic']]], + ['getdevice_41',['getdevice',['../class_nim_b_l_e_scan_results.html#aa96e8a647f0db95e2fa8cfae44f6d92e',1,'NimBLEScanResults::getDevice(const NimBLEAddress &address) const'],['../class_nim_b_l_e_scan_results.html#a98b106a3929919bf2c80cc0dfff59ba1',1,'NimBLEScanResults::getDevice(uint32_t idx) const']]], + ['getdeviceinfoservice_42',['getDeviceInfoService',['../class_nim_b_l_e_h_i_d_device.html#a7d6592bba748b4be7ed1e4fb9275d346',1,'NimBLEHIDDevice']]], + ['getdisconnectedclient_43',['getDisconnectedClient',['../class_nim_b_l_e_device.html#a10aec48b56ef404f42ade96d6244b312',1,'NimBLEDevice']]], + ['getfeaturereport_44',['getFeatureReport',['../class_nim_b_l_e_h_i_d_device.html#ac34cb2703dc655220270604e2a28cf41',1,'NimBLEHIDDevice']]], + ['gethandle_45',['getHandle',['../class_nim_b_l_e_attribute.html#a7907cb5b0a2d0f8cd9eb016a4ed876d1',1,'NimBLEAttribute']]], + ['gethidcontrol_46',['getHidControl',['../class_nim_b_l_e_h_i_d_device.html#ab29c3d71cd592aa867b8c6655d586f24',1,'NimBLEHIDDevice']]], + ['gethidinfo_47',['getHidInfo',['../class_nim_b_l_e_h_i_d_device.html#a21aa774e08a344fc98e217c79c9ddf12',1,'NimBLEHIDDevice']]], + ['gethidservice_48',['getHidService',['../class_nim_b_l_e_h_i_d_device.html#a2aea1e924f327152db713834bc2ad5a6',1,'NimBLEHIDDevice']]], + ['getidaddress_49',['getIdAddress',['../class_nim_b_l_e_conn_info.html#a18e3b5d45183c8ef20f0d2475c947442',1,'NimBLEConnInfo']]], + ['getinputreport_50',['getInputReport',['../class_nim_b_l_e_h_i_d_device.html#af2f973843304c2d513963a9dbbc48714',1,'NimBLEHIDDevice']]], + ['getlasterror_51',['getLastError',['../class_nim_b_l_e_client.html#aeb0593ebffa7e8833e5854480e41cce5',1,'NimBLEClient']]], + ['getmajor_52',['getMajor',['../class_nim_b_l_e_beacon.html#aac32b7f86c73221152909528c8dbad3c',1,'NimBLEBeacon']]], + ['getmanufacturerdata_53',['getmanufacturerdata',['../class_nim_b_l_e_advertised_device.html#aaf936703902681e7af785d7b751e68e0',1,'NimBLEAdvertisedDevice::getManufacturerData(uint8_t index=0) const'],['../class_nim_b_l_e_advertised_device.html#a3ce52d33ea39b9c8b6b96cc19a2a3170',1,'NimBLEAdvertisedDevice::getManufacturerData(bool skipSizeCheck=false) const']]], + ['getmanufacturerdatacount_54',['getManufacturerDataCount',['../class_nim_b_l_e_advertised_device.html#a08c0fb778eedde4c4004410d124799f1',1,'NimBLEAdvertisedDevice']]], + ['getmanufacturerid_55',['getManufacturerId',['../class_nim_b_l_e_beacon.html#a8803d70e8c238ccb98edcf31af0ead40',1,'NimBLEBeacon']]], + ['getmaxinterval_56',['getMaxInterval',['../class_nim_b_l_e_advertised_device.html#aeef5bef4ba2e1afb5f0a6838ab9762d3',1,'NimBLEAdvertisedDevice']]], + ['getmininterval_57',['getMinInterval',['../class_nim_b_l_e_advertised_device.html#accf2225a99742fdeb86a1b4738eac164',1,'NimBLEAdvertisedDevice']]], + ['getminor_58',['getMinor',['../class_nim_b_l_e_beacon.html#a4bc9fd3a68b4b1772dc4d102573c6788',1,'NimBLEBeacon']]], + ['getmtu_59',['getmtu',['../class_nim_b_l_e_conn_info.html#a17e29d0af7978f15e41933994a7a9c8f',1,'NimBLEConnInfo::getMTU()'],['../class_nim_b_l_e_client.html#a7f3230e45ac77bd4cb50b5c270f9c74c',1,'NimBLEClient::getMTU()'],['../class_nim_b_l_e_device.html#a5520cf3f544d571636eed162de394ec2',1,'NimBLEDevice::getMTU()']]], + ['getname_60',['getName',['../class_nim_b_l_e_advertised_device.html#acf7ec676680fd4eb800b85779a220b67',1,'NimBLEAdvertisedDevice']]], + ['getnumbonds_61',['getNumBonds',['../class_nim_b_l_e_device.html#a7fe0f568c17130150660e6307851be48',1,'NimBLEDevice']]], + ['getoutputreport_62',['getOutputReport',['../class_nim_b_l_e_h_i_d_device.html#ace0ea997b5c986bb8a56cd8673163203',1,'NimBLEHIDDevice']]], + ['getpayload_63',['getpayload',['../class_nim_b_l_e_advertised_device.html#a12971984cf749647c659b659bdfeda5d',1,'NimBLEAdvertisedDevice::getPayload()'],['../class_nim_b_l_e_advertisement_data.html#a2f6960683e8b98d1c3ecf88bb5ec56eb',1,'NimBLEAdvertisementData::getPayload()']]], + ['getpayloadbytype_64',['getPayloadByType',['../class_nim_b_l_e_advertised_device.html#a74be6cf94bbc2e69d04de25a37d28153',1,'NimBLEAdvertisedDevice']]], + ['getpeeraddress_65',['getPeerAddress',['../class_nim_b_l_e_client.html#a44a6f7f9379e2fc129c37915636db61f',1,'NimBLEClient']]], + ['getpeerdevices_66',['getPeerDevices',['../class_nim_b_l_e_server.html#a1cedae8a9346f605b8319cbc8209f0df',1,'NimBLEServer']]], + ['getpeerinfo_67',['getpeerinfo',['../class_nim_b_l_e_server.html#a1513647f2c8a565404410a5dbd71a9ce',1,'NimBLEServer::getPeerInfo(uint8_t index) const'],['../class_nim_b_l_e_server.html#a55eb6176fd8d0a1e9ba68158dde4f325',1,'NimBLEServer::getPeerInfo(const NimBLEAddress &address) const']]], + ['getpeerinfobyhandle_68',['getPeerInfoByHandle',['../class_nim_b_l_e_server.html#a08916d16ea00b4718bd6241bd407829f',1,'NimBLEServer']]], + ['getpeermtu_69',['getPeerMTU',['../class_nim_b_l_e_server.html#a3bedf02970de34eaf7b90a2f37765fe8',1,'NimBLEServer']]], + ['getperiodicinterval_70',['getPeriodicInterval',['../class_nim_b_l_e_advertised_device.html#a899abd2a02e0c9bf941a998f4184a9ee',1,'NimBLEAdvertisedDevice']]], + ['getphy_71',['getphy',['../class_nim_b_l_e_client.html#a6ca4e212d5b69d4759bd695def020525',1,'NimBLEClient::getPhy()'],['../class_nim_b_l_e_server.html#a709eb11532ec43a35f8653845b3158fc',1,'NimBLEServer::getPhy()']]], + ['getpnp_72',['getPnp',['../class_nim_b_l_e_h_i_d_device.html#abda5099d23c7111e99d8d755565be84a',1,'NimBLEHIDDevice']]], + ['getpower_73',['getPower',['../class_nim_b_l_e_device.html#ae59445e712b468349099befca7a7be16',1,'NimBLEDevice']]], + ['getprimaryphy_74',['getPrimaryPhy',['../class_nim_b_l_e_advertised_device.html#a927a8418e4078107e5bf457c0bb56cbc',1,'NimBLEAdvertisedDevice']]], + ['getproperties_75',['getProperties',['../class_nim_b_l_e_characteristic.html#a0a7d8e25403d4045f0790a4baeb5248c',1,'NimBLECharacteristic']]], + ['getprotocolmode_76',['getProtocolMode',['../class_nim_b_l_e_h_i_d_device.html#a1bdd21f3cc61d0128b06cdfd9588d6f5',1,'NimBLEHIDDevice']]], + ['getproximityuuid_77',['getProximityUUID',['../class_nim_b_l_e_beacon.html#a999ade63059620d619609676d85186ad',1,'NimBLEBeacon']]], + ['getremotecharacteristic_78',['getRemoteCharacteristic',['../class_nim_b_l_e_remote_descriptor.html#a05befb3c020c14f6b49439fd784a868c',1,'NimBLERemoteDescriptor']]], + ['getremoteservice_79',['getRemoteService',['../class_nim_b_l_e_remote_characteristic.html#a1b3bbd1bcdde6dd952ee69ebad0ffc58',1,'NimBLERemoteCharacteristic']]], + ['getremoved_80',['getRemoved',['../class_nim_b_l_e_local_attribute.html#a7664b8e5353f33ebfcff20a63273fe55',1,'NimBLELocalAttribute']]], + ['getreportmap_81',['getReportMap',['../class_nim_b_l_e_h_i_d_device.html#afe75c42779aef757cd3ba84ec281efb5',1,'NimBLEHIDDevice']]], + ['getresults_82',['getresults',['../class_nim_b_l_e_scan.html#a2ae53719546e2d410c816e12c56aad61',1,'NimBLEScan::getResults()'],['../class_nim_b_l_e_scan.html#ade1492b5d1b5d97efa76cd41583bfc96',1,'NimBLEScan::getResults(uint32_t duration, bool is_continue=false)']]], + ['getrssi_83',['getrssi',['../class_nim_b_l_e_client.html#a2645d4a2f8e381bf9bbffdfca846ae17',1,'NimBLEClient::getRssi()'],['../class_nim_b_l_e_advertised_device.html#a749abe7ac0331c0c0f80bc145591a392',1,'NimBLEAdvertisedDevice::getRSSI() const']]], + ['getscan_84',['getscan',['../class_nim_b_l_e_advertised_device.html#a29f6e671bffb6d431d183a63074709b3',1,'NimBLEAdvertisedDevice::getScan()'],['../class_nim_b_l_e_device.html#af93d92316454b051125460056368baec',1,'NimBLEDevice::getScan()']]], + ['getscandata_85',['getScanData',['../class_nim_b_l_e_advertising.html#ae0e7d64d51882830750bcb87e2d9678c',1,'NimBLEAdvertising']]], + ['getseckeysize_86',['getSecKeySize',['../class_nim_b_l_e_conn_info.html#a3a555ccfc6fe678a2603942022a8cd5c',1,'NimBLEConnInfo']]], + ['getsecondaryphy_87',['getSecondaryPhy',['../class_nim_b_l_e_advertised_device.html#a4738e8e37b3509f62b63afb592c9b73e',1,'NimBLEAdvertisedDevice']]], + ['getsecuritypasskey_88',['getSecurityPasskey',['../class_nim_b_l_e_device.html#aa03937eadda020643b536c5d08174d3a',1,'NimBLEDevice']]], + ['getserver_89',['getserver',['../class_nim_b_l_e_device.html#a41d4cc7c85cba0721c6649b001b31b4d',1,'NimBLEDevice::getServer()'],['../class_nim_b_l_e_service.html#acfbb7abadee89abd496b89f8fe085f58',1,'NimBLEService::getServer()']]], + ['getservice_90',['getservice',['../class_nim_b_l_e_characteristic.html#a8afe29701cd595d8b3c34cc59400b86b',1,'NimBLECharacteristic::getService()'],['../class_nim_b_l_e_client.html#ae22379ab10bd82932d2303fb3753c366',1,'NimBLEClient::getService(const char *uuid)'],['../class_nim_b_l_e_client.html#ad8ba10522d79af1136019606802f0978',1,'NimBLEClient::getService(const NimBLEUUID &uuid)']]], + ['getservicebyhandle_91',['getServiceByHandle',['../class_nim_b_l_e_server.html#a0b009a568399014462a5ba7700b0129e',1,'NimBLEServer']]], + ['getservicebyuuid_92',['getservicebyuuid',['../class_nim_b_l_e_server.html#a26af61c030e9ad1108b24df4d3b6b633',1,'NimBLEServer::getServiceByUUID(const char *uuid, uint16_t instanceId=0) const'],['../class_nim_b_l_e_server.html#a6bd0d52090b31cf39e2e9666091b8a61',1,'NimBLEServer::getServiceByUUID(const NimBLEUUID &uuid, uint16_t instanceId=0) const']]], + ['getservicedata_93',['getservicedata',['../class_nim_b_l_e_advertised_device.html#a2c0a851fe464217ae7ace84148d8849a',1,'NimBLEAdvertisedDevice::getServiceData(uint8_t index=0, bool skipSizeCheck=false) const'],['../class_nim_b_l_e_advertised_device.html#ae1c188511703f101eaa3995c7b4a5aac',1,'NimBLEAdvertisedDevice::getServiceData(const NimBLEUUID &uuid, bool skipSizeCheck=false) const'],['../class_nim_b_l_e_advertised_device.html#adc0e859c8403906c12196906b3c514c8',1,'NimBLEAdvertisedDevice::getServiceData(const NimBLEUUID &uuid) const'],['../class_nim_b_l_e_advertised_device.html#a94ac18b573bace31613339e573076a70',1,'NimBLEAdvertisedDevice::getServiceData(uint8_t index=0) const']]], + ['getservicedatacount_94',['getServiceDataCount',['../class_nim_b_l_e_advertised_device.html#a99d902853af4e0d5d3b7c7222f11eba0',1,'NimBLEAdvertisedDevice']]], + ['getservicedatauuid_95',['getServiceDataUUID',['../class_nim_b_l_e_advertised_device.html#a52fff852e23293d807a6719527eceff2',1,'NimBLEAdvertisedDevice']]], + ['getservices_96',['getServices',['../class_nim_b_l_e_client.html#adefe48b87e8a814e1643cdb8c3759298',1,'NimBLEClient']]], + ['getserviceuuid_97',['getServiceUUID',['../class_nim_b_l_e_advertised_device.html#ae44d13d47f80ed0499be7d84239f7ecb',1,'NimBLEAdvertisedDevice']]], + ['getserviceuuidcount_98',['getServiceUUIDCount',['../class_nim_b_l_e_advertised_device.html#adbdb381a86c556344e676a1e4e654d9f',1,'NimBLEAdvertisedDevice']]], + ['getsetid_99',['getSetId',['../class_nim_b_l_e_advertised_device.html#ad7313053fa990a9aa8f4bc832f35ee13',1,'NimBLEAdvertisedDevice']]], + ['getsignalpower_100',['getSignalPower',['../class_nim_b_l_e_beacon.html#a4eb27b3e447f8f0b44128f77933be668',1,'NimBLEBeacon']]], + ['gettargetaddress_101',['getTargetAddress',['../class_nim_b_l_e_advertised_device.html#af51c0ff723dcb7bb1bc03460a9f0a25b',1,'NimBLEAdvertisedDevice']]], + ['gettargetaddresscount_102',['getTargetAddressCount',['../class_nim_b_l_e_advertised_device.html#a16738b3a745d29edff39bb4bbf4dfb28',1,'NimBLEAdvertisedDevice']]], + ['gettemp_103',['getTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#a72589029e329c3939b05f9df5e8113ce',1,'NimBLEEddystoneTLM']]], + ['gettime_104',['getTime',['../class_nim_b_l_e_eddystone_t_l_m.html#ab1c4a13c2f57a6e0293810dd09be3db3',1,'NimBLEEddystoneTLM']]], + ['gettxpower_105',['getTXPower',['../class_nim_b_l_e_advertised_device.html#a47b8224e031fd6ab5db93b457ec35b33',1,'NimBLEAdvertisedDevice']]], + ['gettype_106',['getType',['../class_nim_b_l_e_address.html#a18f8361ed20146cbc374a246d87015eb',1,'NimBLEAddress']]], + ['geturi_107',['getURI',['../class_nim_b_l_e_advertised_device.html#a56d07a328ebdea4112087dc02dac4fc2',1,'NimBLEAdvertisedDevice']]], + ['getuuid_108',['getuuid',['../class_nim_b_l_e_attribute.html#afd4500e543c9480c52ca994ed5473e49',1,'NimBLEAttribute::getUUID()'],['../class_nim_b_l_e_eddystone_t_l_m.html#aa511375f22952c0f5846a51e6c2511c5',1,'NimBLEEddystoneTLM::getUUID()']]], + ['getval_109',['getVal',['../class_nim_b_l_e_address.html#a196801fb1ad972085e748c90159e858e',1,'NimBLEAddress']]], + ['getvalue_110',['getvalue',['../class_nim_b_l_e_att_value.html#ab16b9901e6ff9374c7d2e1afa5aa4671',1,'NimBLEAttValue::getValue()'],['../class_nim_b_l_e_client.html#a3903fb7589e2b8b781f8f81f9e0f2a83',1,'NimBLEClient::getValue()'],['../class_nim_b_l_e_remote_service.html#ac2f19f76f0c0ac9b0efe2baa2ad2f7ec',1,'NimBLERemoteService::getValue()'],['../class_nim_b_l_e_u_u_i_d.html#acf379fca7d3689a73e6750d7ab50a0af',1,'NimBLEUUID::getValue()']]], + ['getversion_111',['getVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#ae9f17d2c1e4150775881babb73f0b10c',1,'NimBLEEddystoneTLM']]], + ['getvolt_112',['getVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#af9862f983df6f48a96220e936d13d17b',1,'NimBLEEddystoneTLM']]], + ['getwhitelistaddress_113',['getWhiteListAddress',['../class_nim_b_l_e_device.html#a4a2229e9e517b84773e65c75124b0789',1,'NimBLEDevice']]], + ['getwhitelistcount_114',['getWhiteListCount',['../class_nim_b_l_e_device.html#ab28cc2ec59fc9e62d05826633f53d2a0',1,'NimBLEDevice']]] ]; diff --git a/search/functions_7.html b/search/functions_7.html deleted file mode 100644 index 46b5c0f..0000000 --- a/search/functions_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_7.js b/search/functions_7.js index c1c3333..fe54670 100644 --- a/search/functions_7.js +++ b/search/functions_7.js @@ -1,17 +1,16 @@ var searchData= [ - ['haveadvinterval_609',['haveAdvInterval',['../class_nim_b_l_e_advertised_device.html#aa8b4660e5d123f16a07e0fefa3bcf4bc',1,'NimBLEAdvertisedDevice']]], - ['haveappearance_610',['haveAppearance',['../class_nim_b_l_e_advertised_device.html#accc6713f85db6174cfe8436059aa8bf1',1,'NimBLEAdvertisedDevice']]], - ['haveconnparams_611',['haveConnParams',['../class_nim_b_l_e_advertised_device.html#a3274624943c942f357c6f8d489481bc8',1,'NimBLEAdvertisedDevice']]], - ['havemanufacturerdata_612',['haveManufacturerData',['../class_nim_b_l_e_advertised_device.html#abe58f5fde119d8c0a8fb85ba1e8cc5c9',1,'NimBLEAdvertisedDevice']]], - ['havename_613',['haveName',['../class_nim_b_l_e_advertised_device.html#a86805fecd4432335feecf77bb6a0f12e',1,'NimBLEAdvertisedDevice']]], - ['haverssi_614',['haveRSSI',['../class_nim_b_l_e_advertised_device.html#a611802e8898e422842d60486b60b8c42',1,'NimBLEAdvertisedDevice']]], - ['haveservicedata_615',['haveServiceData',['../class_nim_b_l_e_advertised_device.html#afba3425cfcfc12eca219a1abe5f6732c',1,'NimBLEAdvertisedDevice']]], - ['haveserviceuuid_616',['haveServiceUUID',['../class_nim_b_l_e_advertised_device.html#a5c4aae7e27c27201846ba4e15448e557',1,'NimBLEAdvertisedDevice']]], - ['havetargetaddress_617',['haveTargetAddress',['../class_nim_b_l_e_advertised_device.html#a1172d33a77bc018e314be78664b222b9',1,'NimBLEAdvertisedDevice']]], - ['havetxpower_618',['haveTXPower',['../class_nim_b_l_e_advertised_device.html#af5293030ef439856c195caa3aba86543',1,'NimBLEAdvertisedDevice']]], - ['haveuri_619',['haveURI',['../class_nim_b_l_e_advertised_device.html#a83ebd08b512dc936b1059db7a69b9ead',1,'NimBLEAdvertisedDevice']]], - ['hidcontrol_620',['hidControl',['../class_nim_b_l_e_h_i_d_device.html#a5c42da43e0b8dfcd1d045e8a86d0b5a2',1,'NimBLEHIDDevice']]], - ['hidinfo_621',['hidInfo',['../class_nim_b_l_e_h_i_d_device.html#a33fc2bfc990ecd250859ca8f34a4314e',1,'NimBLEHIDDevice']]], - ['hidservice_622',['hidService',['../class_nim_b_l_e_h_i_d_device.html#ae80cf58c481c25bd6d7392a43b6fa48b',1,'NimBLEHIDDevice']]] + ['hasextendedprops_0',['hasExtendedProps',['../class_nim_b_l_e_remote_characteristic.html#aff5a242abcba3f239bd177cebc69e1cb',1,'NimBLERemoteCharacteristic']]], + ['haveadvinterval_1',['haveAdvInterval',['../class_nim_b_l_e_advertised_device.html#a9b6ff6bd4e530dc9b5c76f9333d4420f',1,'NimBLEAdvertisedDevice']]], + ['haveappearance_2',['haveAppearance',['../class_nim_b_l_e_advertised_device.html#a89e65eba150a40326fe1c12f2be9fbea',1,'NimBLEAdvertisedDevice']]], + ['haveconnparams_3',['haveConnParams',['../class_nim_b_l_e_advertised_device.html#a6bb91e0c3b66a54ef9f53496fba1d748',1,'NimBLEAdvertisedDevice']]], + ['havemanufacturerdata_4',['haveManufacturerData',['../class_nim_b_l_e_advertised_device.html#ad68b1b03f59266f4aac9070e5e33d15f',1,'NimBLEAdvertisedDevice']]], + ['havename_5',['haveName',['../class_nim_b_l_e_advertised_device.html#aefa0142915204ace20ecb56a539396a2',1,'NimBLEAdvertisedDevice']]], + ['haveservicedata_6',['haveServiceData',['../class_nim_b_l_e_advertised_device.html#ab91aaf87b4bd03a6599f466b1a6c3299',1,'NimBLEAdvertisedDevice']]], + ['haveserviceuuid_7',['haveServiceUUID',['../class_nim_b_l_e_advertised_device.html#a1e61faae3ba0bdbb1bc197d1ca113f61',1,'NimBLEAdvertisedDevice']]], + ['havetargetaddress_8',['haveTargetAddress',['../class_nim_b_l_e_advertised_device.html#a6e7a4b9be93386e393addaa4a732e516',1,'NimBLEAdvertisedDevice']]], + ['havetxpower_9',['haveTXPower',['../class_nim_b_l_e_advertised_device.html#afde2edb305d4d78804b4750d1bc7aa38',1,'NimBLEAdvertisedDevice']]], + ['havetype_10',['haveType',['../class_nim_b_l_e_advertised_device.html#a8f4fc5c352487f816598796fb5430865',1,'NimBLEAdvertisedDevice']]], + ['haveuri_11',['haveURI',['../class_nim_b_l_e_advertised_device.html#a2e127b14ea79ebe88d291d7c8cc91b5a',1,'NimBLEAdvertisedDevice']]], + ['host_5ftask_12',['host_task',['../class_nim_b_l_e_device.html#ab4771de8c0805836f0e7059199d56411',1,'NimBLEDevice']]] ]; diff --git a/search/functions_8.html b/search/functions_8.html deleted file mode 100644 index 31a1d95..0000000 --- a/search/functions_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_8.js b/search/functions_8.js index 3e22ffa..cc38d46 100644 --- a/search/functions_8.js +++ b/search/functions_8.js @@ -1,19 +1,27 @@ var searchData= [ - ['indicate_623',['indicate',['../class_nim_b_l_e_characteristic.html#a8c1875611a1beb192e6c24dff35d0655',1,'NimBLECharacteristic::indicate(const uint8_t *value, size_t length)'],['../class_nim_b_l_e_characteristic.html#a2e827aba484add48e52c8eebf80b4a78',1,'NimBLECharacteristic::indicate(const std::vector< uint8_t > &value)'],['../class_nim_b_l_e_characteristic.html#af2940e8c314a1ecee1750d20a60c459d',1,'NimBLECharacteristic::indicate(const T &value)'],['../class_nim_b_l_e_characteristic.html#a2ce9f62ecc3d1644ef4d58efe7a3c434',1,'NimBLECharacteristic::indicate()']]], - ['init_624',['init',['../class_nim_b_l_e_device.html#a674d2e68d4ba0e3f84d7993f9da7d15b',1,'NimBLEDevice']]], - ['inputreport_625',['inputReport',['../class_nim_b_l_e_h_i_d_device.html#a91cfe81b47cea229e9bbe3c55be33701',1,'NimBLEHIDDevice']]], - ['isactive_626',['isActive',['../class_nim_b_l_e_ext_advertising.html#a88ebe0b664cf22449e1a4311fc3b9b01',1,'NimBLEExtAdvertising']]], - ['isadvertising_627',['isAdvertising',['../class_nim_b_l_e_advertising.html#ac257ab68520a244cb6494d793f9b6c2a',1,'NimBLEAdvertising::isAdvertising()'],['../class_nim_b_l_e_ext_advertising.html#abd7d35653a6831e75700eb5ac9ab5789',1,'NimBLEExtAdvertising::isAdvertising()']]], - ['isadvertisingservice_628',['isAdvertisingService',['../class_nim_b_l_e_advertised_device.html#a37ad095c066aa231a52a7259734c9bce',1,'NimBLEAdvertisedDevice']]], - ['isauthenticated_629',['isAuthenticated',['../class_nim_b_l_e_conn_info.html#a7229e53d21c9c6b5b9fb5bd232862c89',1,'NimBLEConnInfo']]], - ['isbonded_630',['isBonded',['../class_nim_b_l_e_conn_info.html#af281a25921d36dc75cf1e37561940125',1,'NimBLEConnInfo::isBonded()'],['../class_nim_b_l_e_device.html#a16bf4f5394735ed8d7f0bb32ca5d269a',1,'NimBLEDevice::isBonded()']]], - ['isconnectable_631',['isConnectable',['../class_nim_b_l_e_advertised_device.html#a54917b2644c433977e24a10a63d7431a',1,'NimBLEAdvertisedDevice']]], - ['isconnected_632',['isConnected',['../class_nim_b_l_e_client.html#af1603da59b829f75b162ac4a65ce181c',1,'NimBLEClient']]], - ['isencrypted_633',['isEncrypted',['../class_nim_b_l_e_conn_info.html#a8ecf3c58da6ffb529215ce6f13c96744',1,'NimBLEConnInfo']]], - ['isignored_634',['isIgnored',['../class_nim_b_l_e_device.html#a14ebc6070a261d7a6518ad435b673962',1,'NimBLEDevice']]], - ['islegacyadvertisement_635',['isLegacyAdvertisement',['../class_nim_b_l_e_advertised_device.html#a3684969e3e10cd0af9ecaf342847ea71',1,'NimBLEAdvertisedDevice']]], - ['ismaster_636',['isMaster',['../class_nim_b_l_e_conn_info.html#a63ff245a8848bf1cc5839adee7aa41c4',1,'NimBLEConnInfo']]], - ['isscanning_637',['isScanning',['../class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016',1,'NimBLEScan']]], - ['isslave_638',['isSlave',['../class_nim_b_l_e_conn_info.html#abfb91b833cb200f795bc63d5affff6af',1,'NimBLEConnInfo']]] + ['indicate_0',['indicate',['../class_nim_b_l_e_characteristic.html#aa5eb7de28ee6ec5661acac5c07abb11c',1,'NimBLECharacteristic::indicate(const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31',1,'NimBLECharacteristic::indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a3ae5959f98c503de42660e195470192b',1,'NimBLECharacteristic::indicate(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#aa824e4b90d8f9418d7c9ccc8735a6e31',1,'NimBLECharacteristic::indicate(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#aabdc2745d2523239a9ab3f02e39aa3cf',1,'NimBLECharacteristic::indicate(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const']]], + ['init_1',['init',['../class_nim_b_l_e_device.html#a2e8bb71daabbffd9eab8787493a45ce7',1,'NimBLEDevice']]], + ['injectconfirmpasskey_2',['injectConfirmPasskey',['../class_nim_b_l_e_device.html#aff35384524ab80a19ce1ef23fdcd970b',1,'NimBLEDevice']]], + ['injectpasskey_3',['injectPassKey',['../class_nim_b_l_e_device.html#a5071168b3bda69aa4457a43473ad7a96',1,'NimBLEDevice']]], + ['isactive_4',['isActive',['../class_nim_b_l_e_ext_advertising.html#a6fd8c8fff9fcb8be80c76774be031104',1,'NimBLEExtAdvertising']]], + ['isadvertising_5',['isadvertising',['../class_nim_b_l_e_advertising.html#ac257ab68520a244cb6494d793f9b6c2a',1,'NimBLEAdvertising::isAdvertising()'],['../class_nim_b_l_e_ext_advertising.html#abd7d35653a6831e75700eb5ac9ab5789',1,'NimBLEExtAdvertising::isAdvertising()']]], + ['isadvertisingservice_6',['isAdvertisingService',['../class_nim_b_l_e_advertised_device.html#ad006b08552281a3e6c9d9444e7942709',1,'NimBLEAdvertisedDevice']]], + ['isauthenticated_7',['isAuthenticated',['../class_nim_b_l_e_conn_info.html#a8a1174d706ae36e99adc9498bf30d68f',1,'NimBLEConnInfo']]], + ['isbonded_8',['isbonded',['../class_nim_b_l_e_conn_info.html#afefcdd1c560a307632c15394497c436f',1,'NimBLEConnInfo::isBonded()'],['../class_nim_b_l_e_device.html#a16bf4f5394735ed8d7f0bb32ca5d269a',1,'NimBLEDevice::isBonded()']]], + ['isconnectable_9',['isConnectable',['../class_nim_b_l_e_advertised_device.html#ab9710a6c3a141b6413d5159dfe4a4040',1,'NimBLEAdvertisedDevice']]], + ['isconnected_10',['isConnected',['../class_nim_b_l_e_client.html#a0bdaf55b06367d1abd6f59bfbe1e8689',1,'NimBLEClient']]], + ['isencrypted_11',['isEncrypted',['../class_nim_b_l_e_conn_info.html#a1a29242623a50989c7a03ee209ac2cf4',1,'NimBLEConnInfo']]], + ['isinitialized_12',['isInitialized',['../class_nim_b_l_e_device.html#a425561f1e23856756ab9c1c330da5737',1,'NimBLEDevice']]], + ['islegacyadvertisement_13',['isLegacyAdvertisement',['../class_nim_b_l_e_advertised_device.html#a49b445130f028b49175d01cd3f6db050',1,'NimBLEAdvertisedDevice']]], + ['ismaster_14',['isMaster',['../class_nim_b_l_e_conn_info.html#a5f91ef30d5ff92ad26f07feb31a5cd20',1,'NimBLEConnInfo']]], + ['isnrpa_15',['isNrpa',['../class_nim_b_l_e_address.html#a9af65abe3c02a16307b8cffa3b1bcac1',1,'NimBLEAddress']]], + ['isnull_16',['isNull',['../class_nim_b_l_e_address.html#aa05f35ab6724a00c65dd096006dba2bb',1,'NimBLEAddress']]], + ['ispublic_17',['isPublic',['../class_nim_b_l_e_address.html#a7154780415ae201a1fcdf86298b6116c',1,'NimBLEAddress']]], + ['isrpa_18',['isRpa',['../class_nim_b_l_e_address.html#a96fba1524ed8ab43f59f5f650e8fd3c8',1,'NimBLEAddress']]], + ['isscannable_19',['isScannable',['../class_nim_b_l_e_advertised_device.html#a6f55263d4a86d3e2f6b23b71eb68ef98',1,'NimBLEAdvertisedDevice']]], + ['isscanning_20',['isScanning',['../class_nim_b_l_e_scan.html#ab788ad282fdbf4467302f6ad2d4d6016',1,'NimBLEScan']]], + ['isslave_21',['isSlave',['../class_nim_b_l_e_conn_info.html#ad91de04bdad64019950a1d095baf0e43',1,'NimBLEConnInfo']]], + ['isstarted_22',['isStarted',['../class_nim_b_l_e_service.html#aa9464e97d7e39a4634c5d9bdce1abbac',1,'NimBLEService']]], + ['isstatic_23',['isStatic',['../class_nim_b_l_e_address.html#a409e3ef141526c8f5c5fad99bd95b660',1,'NimBLEAddress']]] ]; diff --git a/search/functions_9.html b/search/functions_9.html deleted file mode 100644 index 9a8e429..0000000 --- a/search/functions_9.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_9.js b/search/functions_9.js index 9a902c5..8d5016e 100644 --- a/search/functions_9.js +++ b/search/functions_9.js @@ -1,4 +1,4 @@ var searchData= [ - ['length_639',['length',['../class_nim_b_l_e_att_value.html#a35df29c514613b1d00841abd6fffa320',1,'NimBLEAttValue']]] + ['length_0',['length',['../class_nim_b_l_e_att_value.html#a35df29c514613b1d00841abd6fffa320',1,'NimBLEAttValue']]] ]; diff --git a/search/functions_a.html b/search/functions_a.html deleted file mode 100644 index 5ecc152..0000000 --- a/search/functions_a.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_a.js b/search/functions_a.js index d6e06a6..d1184ba 100644 --- a/search/functions_a.js +++ b/search/functions_a.js @@ -1,5 +1,4 @@ var searchData= [ - ['manufacturer_640',['manufacturer',['../class_nim_b_l_e_h_i_d_device.html#a3e5b8291ca88d85a352429415abaec9c',1,'NimBLEHIDDevice::manufacturer()'],['../class_nim_b_l_e_h_i_d_device.html#ac04ed297cf6adbec210873739d2dc74d',1,'NimBLEHIDDevice::manufacturer(std::string name)']]], - ['max_5fsize_641',['max_size',['../class_nim_b_l_e_att_value.html#ac7abc6cd08adb0b654e051d62af725d5',1,'NimBLEAttValue']]] + ['max_5fsize_0',['max_size',['../class_nim_b_l_e_att_value.html#ac7abc6cd08adb0b654e051d62af725d5',1,'NimBLEAttValue']]] ]; diff --git a/search/functions_b.html b/search/functions_b.html deleted file mode 100644 index e301fed..0000000 --- a/search/functions_b.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_b.js b/search/functions_b.js index 06946e9..cf7d8e9 100644 --- a/search/functions_b.js +++ b/search/functions_b.js @@ -1,18 +1,17 @@ var searchData= [ - ['nimbleaddress_642',['NimBLEAddress',['../class_nim_b_l_e_address.html#ab8c9105b825ed0be5d1bbab966f2a0cf',1,'NimBLEAddress::NimBLEAddress(ble_addr_t address)'],['../class_nim_b_l_e_address.html#a19058addb94417e2921cade37a79d04c',1,'NimBLEAddress::NimBLEAddress()'],['../class_nim_b_l_e_address.html#a139790cf03d8297e253e5353a0213bff',1,'NimBLEAddress::NimBLEAddress(const uint64_t &address, uint8_t type=BLE_ADDR_PUBLIC)'],['../class_nim_b_l_e_address.html#aeb6dafff197dc01e2713bbf43e21f1f3',1,'NimBLEAddress::NimBLEAddress(const std::string &stringAddress, uint8_t type=BLE_ADDR_PUBLIC)'],['../class_nim_b_l_e_address.html#a92637adc75c8010bcf34e2dd8f16cd94',1,'NimBLEAddress::NimBLEAddress(uint8_t address[6], uint8_t type=BLE_ADDR_PUBLIC)']]], - ['nimbleadvertiseddevice_643',['NimBLEAdvertisedDevice',['../class_nim_b_l_e_advertised_device.html#ab8972714ecd578fca51fb63d9834a34e',1,'NimBLEAdvertisedDevice']]], - ['nimbleadvertising_644',['NimBLEAdvertising',['../class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd',1,'NimBLEAdvertising']]], - ['nimbleattvalue_645',['NimBLEAttValue',['../class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../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#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#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#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#a7473ad95c2240e0d1ce5c2d57f8914c2',1,'NimBLEAttValue::NimBLEAttValue(const NimBLEAttValue &source)'],['../class_nim_b_l_e_att_value.html#a778d1da5334049292fdfba221bcd5772',1,'NimBLEAttValue::NimBLEAttValue(NimBLEAttValue &&source)']]], - ['nimblebeacon_646',['NimBLEBeacon',['../class_nim_b_l_e_beacon.html#ac99e1fb4ef4795785a655b117dabdd37',1,'NimBLEBeacon']]], - ['nimblecharacteristic_647',['NimBLECharacteristic',['../class_nim_b_l_e_characteristic.html#aa32224e69115e9ba60ac614e8f37a871',1,'NimBLECharacteristic::NimBLECharacteristic(const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)'],['../class_nim_b_l_e_characteristic.html#ae2053d941cf8574acbdceb8b549b8264',1,'NimBLECharacteristic::NimBLECharacteristic(const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)']]], - ['nimbledescriptor_648',['NimBLEDescriptor',['../class_nim_b_l_e_descriptor.html#a7ecb634b7d6390677cad232bd6be6638',1,'NimBLEDescriptor::NimBLEDescriptor(NimBLEUUID uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)'],['../class_nim_b_l_e_descriptor.html#a3cf995352eb1b1c212a7911a05c33b25',1,'NimBLEDescriptor::NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t max_len, NimBLECharacteristic *pCharacteristic=nullptr)']]], - ['nimbleeddystonetlm_649',['NimBLEEddystoneTLM',['../class_nim_b_l_e_eddystone_t_l_m.html#a4d87d0b11420af2ae04bc4e6ce2f8607',1,'NimBLEEddystoneTLM']]], - ['nimbleeddystoneurl_650',['NimBLEEddystoneURL',['../class_nim_b_l_e_eddystone_u_r_l.html#ae102214d20e32e31c9c84d723f67df15',1,'NimBLEEddystoneURL']]], - ['nimbleextadvertisement_651',['NimBLEExtAdvertisement',['../class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c',1,'NimBLEExtAdvertisement']]], - ['nimbleextadvertising_652',['NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3',1,'NimBLEExtAdvertising']]], - ['nimblehiddevice_653',['NimBLEHIDDevice',['../class_nim_b_l_e_h_i_d_device.html#a95b4935280494ffa24bfae89753f199a',1,'NimBLEHIDDevice']]], - ['nimbleservice_654',['NimBLEService',['../class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65',1,'NimBLEService::NimBLEService(const char *uuid)'],['../class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3',1,'NimBLEService::NimBLEService(const NimBLEUUID &uuid)']]], - ['nimbleuuid_655',['NimBLEUUID',['../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#abec7913c5989c3620c423c6717111453',1,'NimBLEUUID::NimBLEUUID()'],['../class_nim_b_l_e_u_u_i_d.html#a399dca7d70ee262aa155b39d357321b1',1,'NimBLEUUID::NimBLEUUID(uint32_t first, uint16_t second, uint16_t third, uint64_t fourth)'],['../class_nim_b_l_e_u_u_i_d.html#a6eda1a14d4590dd25e6a2f7a49ad528e',1,'NimBLEUUID::NimBLEUUID(const uint8_t *pData, size_t size, bool msbFirst)'],['../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#a6fd3849062c96cee3d6cd00544fadfac',1,'NimBLEUUID::NimBLEUUID(const std::string &uuid)']]], - ['notify_656',['notify',['../class_nim_b_l_e_characteristic.html#aa45461059e1992c816e32c371d17e813',1,'NimBLECharacteristic::notify(bool is_notification=true)'],['../class_nim_b_l_e_characteristic.html#a9ce09408a307a6b62a91418ea7723ebf',1,'NimBLECharacteristic::notify(const uint8_t *value, size_t length, bool is_notification=true)'],['../class_nim_b_l_e_characteristic.html#a15a9f056e5a3e85d5cb0bdc7adbdd970',1,'NimBLECharacteristic::notify(const std::vector< uint8_t > &value, bool is_notification=true)'],['../class_nim_b_l_e_characteristic.html#aed1432c11fadec203104b13aaaf7060d',1,'NimBLECharacteristic::notify(const T &value, bool is_notification=true)']]] + ['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#adc38af9709f212868a89e52ea700a417',1,'NimBLEAddress::NimBLEAddress()=default'],['../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#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)']]], + ['nimbleadvertising_1',['NimBLEAdvertising',['../class_nim_b_l_e_advertising.html#abe6258a917243a4567c3d6eece2ddcdd',1,'NimBLEAdvertising']]], + ['nimbleattribute_2',['NimBLEAttribute',['../class_nim_b_l_e_attribute.html#a51ce8e9cd9609f42b9b9248a0b6c642c',1,'NimBLEAttribute']]], + ['nimbleattvalue_3',['nimbleattvalue',['../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#a778d1da5334049292fdfba221bcd5772',1,'NimBLEAttValue::NimBLEAttValue(NimBLEAttValue &&source)'],['../class_nim_b_l_e_att_value.html#a7473ad95c2240e0d1ce5c2d57f8914c2',1,'NimBLEAttValue::NimBLEAttValue(const NimBLEAttValue &source)'],['../class_nim_b_l_e_att_value.html#a03347eab1f3df449762902a4256d2b1c',1,'NimBLEAttValue::NimBLEAttValue(const std::vector< uint8_t > vec, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a61813a898f1bfb1b00e670a7fbb413df',1,'NimBLEAttValue::NimBLEAttValue(std::initializer_list< uint8_t > list, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#a4322572d778438318f5750f6df5fdb35',1,'NimBLEAttValue::NimBLEAttValue(const char *value, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#ad0bbdf17e7861cbb4bb2cadae9cbe32c',1,'NimBLEAttValue::NimBLEAttValue(const uint8_t *value, uint16_t len, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)'],['../class_nim_b_l_e_att_value.html#aa801ed93f65e8cbc507c6ea6f4f49294',1,'NimBLEAttValue::NimBLEAttValue(uint16_t init_len=CONFIG_NIMBLE_CPP_ATT_VALUE_INIT_LENGTH, uint16_t max_len=BLE_ATT_ATTR_MAX_LEN)']]], + ['nimblecharacteristic_4',['nimblecharacteristic',['../class_nim_b_l_e_characteristic.html#ad136cb471195c1889804542afe0f628b',1,'NimBLECharacteristic::NimBLECharacteristic(const char *uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)'],['../class_nim_b_l_e_characteristic.html#af5bacf6c6f1cf033897b6a99ef98438f',1,'NimBLECharacteristic::NimBLECharacteristic(const NimBLEUUID &uuid, uint16_t properties=NIMBLE_PROPERTY::READ|NIMBLE_PROPERTY::WRITE, uint16_t maxLen=BLE_ATT_ATTR_MAX_LEN, NimBLEService *pService=nullptr)']]], + ['nimbledescriptor_5',['nimbledescriptor',['../class_nim_b_l_e_descriptor.html#acdae256772e6ba433df5ff3217335a1b',1,'NimBLEDescriptor::NimBLEDescriptor(const char *uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)'],['../class_nim_b_l_e_descriptor.html#a9b371ae4807648762cad1346ba6fd3c3',1,'NimBLEDescriptor::NimBLEDescriptor(const NimBLEUUID &uuid, uint16_t properties, uint16_t maxLen, NimBLECharacteristic *pCharacteristic=nullptr)']]], + ['nimbleextadvertisement_6',['NimBLEExtAdvertisement',['../class_nim_b_l_e_ext_advertisement.html#a9e739c3117da31c486f8f4dd8d273c9c',1,'NimBLEExtAdvertisement']]], + ['nimbleextadvertising_7',['NimBLEExtAdvertising',['../class_nim_b_l_e_ext_advertising.html#afe321b856d785b78242b2ea020a96af3',1,'NimBLEExtAdvertising']]], + ['nimblehiddevice_8',['NimBLEHIDDevice',['../class_nim_b_l_e_h_i_d_device.html#a33821f02034b8ed47f3cd0555ac9e949',1,'NimBLEHIDDevice']]], + ['nimblelocalattribute_9',['NimBLELocalAttribute',['../class_nim_b_l_e_local_attribute.html#a9fd2c2130f8bea42f86ee0d3263e9788',1,'NimBLELocalAttribute']]], + ['nimbleservice_10',['nimbleservice',['../class_nim_b_l_e_service.html#a5084a6db9c9b5ddb4f3e9261606b1e65',1,'NimBLEService::NimBLEService(const char *uuid)'],['../class_nim_b_l_e_service.html#af4e9e030046352a6ff3d9ba67fe872e3',1,'NimBLEService::NimBLEService(const NimBLEUUID &uuid)']]], + ['nimbletaskdata_11',['NimBLETaskData',['../struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4',1,'NimBLETaskData']]], + ['nimbleuuid_12',['nimbleuuid',['../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#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#a6fd3849062c96cee3d6cd00544fadfac',1,'NimBLEUUID::NimBLEUUID(const std::string &uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a11f607fa0f7afbad0f047c6e9cba9d4d',1,'NimBLEUUID::NimBLEUUID(const ble_uuid_any_t &uuid)'],['../class_nim_b_l_e_u_u_i_d.html#a7265f67b8ca3a2cd55b37a74b66d18bc',1,'NimBLEUUID::NimBLEUUID()=default']]], + ['notify_13',['notify',['../class_nim_b_l_e_characteristic.html#ac4482e038124724d8bb6d147bcdb5481',1,'NimBLECharacteristic::notify(uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a7676bd1b73979101c394471299d71c0b',1,'NimBLECharacteristic::notify(const uint8_t *value, size_t length, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954',1,'NimBLECharacteristic::notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#ab05a81528522e7f12acff65fa86f9a28',1,'NimBLECharacteristic::notify(const T &s, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const'],['../class_nim_b_l_e_characteristic.html#a95e454eacf23ae8e1e251b76d7857954',1,'NimBLECharacteristic::notify(const T &v, uint16_t connHandle=BLE_HS_CONN_HANDLE_NONE) const']]] ]; diff --git a/search/functions_c.html b/search/functions_c.html deleted file mode 100644 index c4f3268..0000000 --- a/search/functions_c.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_c.js b/search/functions_c.js index 83b2aa0..5dc427a 100644 --- a/search/functions_c.js +++ b/search/functions_c.js @@ -1,31 +1,36 @@ var searchData= [ - ['onauthenticationcomplete_657',['onAuthenticationComplete',['../class_nim_b_l_e_security_callbacks.html#a22a8079906070a13583daafd1521a125',1,'NimBLESecurityCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_client_callbacks.html#a40fb2013fc4ebe51f770699377922065',1,'NimBLEClientCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_server_callbacks.html#a6a18155a8d3fa0980fab51f08ce5de2d',1,'NimBLEServerCallbacks::onAuthenticationComplete()']]], - ['onconfirmpin_658',['onConfirmPIN',['../class_nim_b_l_e_client_callbacks.html#ace39ee838319e415bd0fc5c72a653ff0',1,'NimBLEClientCallbacks::onConfirmPIN()'],['../class_nim_b_l_e_security_callbacks.html#a2ce6a03693a43a55e51598d8b2654a92',1,'NimBLESecurityCallbacks::onConfirmPIN()'],['../class_nim_b_l_e_server_callbacks.html#a5327d11f249e8f020b59529b634e0c91',1,'NimBLEServerCallbacks::onConfirmPIN()']]], - ['onconnect_659',['onConnect',['../class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae',1,'NimBLEClientCallbacks::onConnect()'],['../class_nim_b_l_e_server_callbacks.html#a80348ab2d08bbec7a6910c96662fc1d4',1,'NimBLEServerCallbacks::onConnect(NimBLEServer *pServer)'],['../class_nim_b_l_e_server_callbacks.html#a76f32bb22a34b33ee2a934f101d925b1',1,'NimBLEServerCallbacks::onConnect(NimBLEServer *pServer, ble_gap_conn_desc *desc)']]], - ['onconnparamsupdaterequest_660',['onConnParamsUpdateRequest',['../class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6',1,'NimBLEClientCallbacks']]], - ['ondisconnect_661',['onDisconnect',['../class_nim_b_l_e_client_callbacks.html#a3e5571e4d5ee53c5c4b25ceaac66b808',1,'NimBLEClientCallbacks::onDisconnect()'],['../class_nim_b_l_e_server_callbacks.html#a3dbf72280a895e80e0972599a7373ca0',1,'NimBLEServerCallbacks::onDisconnect(NimBLEServer *pServer)'],['../class_nim_b_l_e_server_callbacks.html#a60e1ad35979434000d04fdbb374acc18',1,'NimBLEServerCallbacks::onDisconnect(NimBLEServer *pServer, ble_gap_conn_desc *desc)']]], - ['onmtuchange_662',['onMTUChange',['../class_nim_b_l_e_server_callbacks.html#ab4533f1317b36216c3c86695613c80a6',1,'NimBLEServerCallbacks']]], - ['onnotify_663',['onNotify',['../class_nim_b_l_e_characteristic_callbacks.html#a185eb5298cc042f1aceeba21caf0dcc9',1,'NimBLECharacteristicCallbacks']]], - ['onpasskeynotify_664',['onPassKeyNotify',['../class_nim_b_l_e_security_callbacks.html#aa984ec6f29741b49bdd7dbfde60177be',1,'NimBLESecurityCallbacks']]], - ['onpasskeyrequest_665',['onPassKeyRequest',['../class_nim_b_l_e_client_callbacks.html#a9850764aec546747537c6baa2a4622f5',1,'NimBLEClientCallbacks::onPassKeyRequest()'],['../class_nim_b_l_e_security_callbacks.html#a1cfc9c48c02aece1736f9070dc6ff90f',1,'NimBLESecurityCallbacks::onPassKeyRequest()'],['../class_nim_b_l_e_server_callbacks.html#ad2c3035c3a284d03673ff1b5aeaa0fca',1,'NimBLEServerCallbacks::onPassKeyRequest()']]], - ['onread_666',['onRead',['../class_nim_b_l_e_characteristic_callbacks.html#a523904b8d39e364db094f623403bad93',1,'NimBLECharacteristicCallbacks::onRead(NimBLECharacteristic *pCharacteristic)'],['../class_nim_b_l_e_characteristic_callbacks.html#acae83420ae378277c225ce465f979f88',1,'NimBLECharacteristicCallbacks::onRead(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc)'],['../class_nim_b_l_e_descriptor_callbacks.html#a6b13d2a8447f50a089b869cea9fcdcbc',1,'NimBLEDescriptorCallbacks::onRead()']]], - ['onresult_667',['onResult',['../class_nim_b_l_e_advertised_device_callbacks.html#af6a25e1bb773a147536b1785b2aae606',1,'NimBLEAdvertisedDeviceCallbacks']]], - ['onscanrequest_668',['onScanRequest',['../class_nim_b_l_e_ext_advertising_callbacks.html#a92af7bd791095cf91438b7af4c26263f',1,'NimBLEExtAdvertisingCallbacks']]], - ['onsecurityrequest_669',['onSecurityRequest',['../class_nim_b_l_e_security_callbacks.html#a620de166c3fe26027871d18535839cdd',1,'NimBLESecurityCallbacks']]], - ['onstatus_670',['onStatus',['../class_nim_b_l_e_characteristic_callbacks.html#ab17e7c61723a33cd3c922e3ca9c20f1e',1,'NimBLECharacteristicCallbacks']]], - ['onstopped_671',['onStopped',['../class_nim_b_l_e_ext_advertising_callbacks.html#a07004fd4e849aa8e9bd7106cbf6ab94b',1,'NimBLEExtAdvertisingCallbacks']]], - ['onsubscribe_672',['onSubscribe',['../class_nim_b_l_e_characteristic_callbacks.html#a3c0c0f524bc0d00d24a7c5ea92c5cb7e',1,'NimBLECharacteristicCallbacks']]], - ['onwhitelist_673',['onWhiteList',['../class_nim_b_l_e_device.html#ae51e2d4d6169a61133178a1b0d6b5b45',1,'NimBLEDevice']]], - ['onwrite_674',['onWrite',['../class_nim_b_l_e_characteristic_callbacks.html#aac7caf4a80da061b5beda5ebcd214fc3',1,'NimBLECharacteristicCallbacks::onWrite(NimBLECharacteristic *pCharacteristic)'],['../class_nim_b_l_e_characteristic_callbacks.html#a303a44a2efad76d54d67955fcb7b05d7',1,'NimBLECharacteristicCallbacks::onWrite(NimBLECharacteristic *pCharacteristic, ble_gap_conn_desc *desc)'],['../class_nim_b_l_e_descriptor_callbacks.html#a7081bf2c4f22225c4715e09762be40ed',1,'NimBLEDescriptorCallbacks::onWrite()']]], - ['operator_20const_20uint8_5ft_20_2a_675',['operator const uint8_t *',['../class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b',1,'NimBLEAttValue']]], - ['operator_20uint64_5ft_676',['operator uint64_t',['../class_nim_b_l_e_address.html#aa7d5d8d323d2846bf2082b83381bd7c8',1,'NimBLEAddress']]], - ['operator_21_3d_677',['operator!=',['../class_nim_b_l_e_address.html#ae243127c78af69b26dfa225effd806ce',1,'NimBLEAddress::operator!=()'],['../class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe',1,'NimBLEUUID::operator!=()'],['../class_nim_b_l_e_att_value.html#a9dc3bc75c3a0cedf76bed59ef2d0d289',1,'NimBLEAttValue::operator!=(const NimBLEAttValue &source)']]], - ['operator_2b_3d_678',['operator+=',['../class_nim_b_l_e_att_value.html#a0e6691f9660a2b78e038e87e99914696',1,'NimBLEAttValue']]], - ['operator_3d_679',['operator=',['../class_nim_b_l_e_att_value.html#aa0545edd766dc4ca6e3ebfac5efa384e',1,'NimBLEAttValue::operator=(const std::string &source)'],['../class_nim_b_l_e_att_value.html#a47d30a61ba65f5d9a21fa593cf15d4b9',1,'NimBLEAttValue::operator=(NimBLEAttValue &&source)'],['../class_nim_b_l_e_att_value.html#aa53ee00be956c25596cf7cce71b502ba',1,'NimBLEAttValue::operator=(const NimBLEAttValue &source)']]], - ['operator_3d_3d_680',['operator==',['../class_nim_b_l_e_address.html#a87e8ccc81c2d83bf0503166939319164',1,'NimBLEAddress::operator==()'],['../class_nim_b_l_e_att_value.html#a9634dd47ea705ec8d10f29482e572bbf',1,'NimBLEAttValue::operator==()'],['../class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875',1,'NimBLEUUID::operator==()']]], - ['operator_5b_5d_681',['operator[]',['../class_nim_b_l_e_att_value.html#a8ca8d07c06a79e30bf6279e6817e4881',1,'NimBLEAttValue']]], - ['outputreport_682',['outputReport',['../class_nim_b_l_e_h_i_d_device.html#ac1e63972c6a77665a6bbc76f9ff4a717',1,'NimBLEHIDDevice']]], - ['string_683',['string',['../class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048',1,'NimBLEUUID::string()'],['../class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371',1,'NimBLEAttValue::string()'],['../class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a',1,'NimBLEAddress::string()']]], - ['vector_3c_20uint8_5ft_20_3e_684',['vector< uint8_t >',['../class_nim_b_l_e_att_value.html#a3af3b6efb528b1063df2de409c64a0d6',1,'NimBLEAttValue']]] + ['onauthenticationcomplete_0',['onauthenticationcomplete',['../class_nim_b_l_e_server_callbacks.html#a7cbed42919678d9e8d40b351dec82523',1,'NimBLEServerCallbacks::onAuthenticationComplete()'],['../class_nim_b_l_e_client_callbacks.html#ae8e2abef6949ac87abf5ecad1a4dfe35',1,'NimBLEClientCallbacks::onAuthenticationComplete()']]], + ['onconfirmpasskey_1',['onconfirmpasskey',['../class_nim_b_l_e_server_callbacks.html#a507296393ca8557db2e4afa786c5b436',1,'NimBLEServerCallbacks::onConfirmPassKey()'],['../class_nim_b_l_e_client_callbacks.html#a6e7cfa81cd43420f78d6da727c67928b',1,'NimBLEClientCallbacks::onConfirmPasskey(NimBLEConnInfo &connInfo, uint32_t pin)']]], + ['onconnect_2',['onconnect',['../class_nim_b_l_e_client_callbacks.html#a96de53d9745f243d544cd89498f979ae',1,'NimBLEClientCallbacks::onConnect()'],['../class_nim_b_l_e_server_callbacks.html#a11d48696c2121eb301a76301555df2c5',1,'NimBLEServerCallbacks::onConnect()']]], + ['onconnectfail_3',['onConnectFail',['../class_nim_b_l_e_client_callbacks.html#ad0eb6bee07ef8c41dd8924aaca3bc71e',1,'NimBLEClientCallbacks']]], + ['onconnparamsupdate_4',['onConnParamsUpdate',['../class_nim_b_l_e_server_callbacks.html#aa6e5e8ef90a537540d9c72f8744c0199',1,'NimBLEServerCallbacks']]], + ['onconnparamsupdaterequest_5',['onConnParamsUpdateRequest',['../class_nim_b_l_e_client_callbacks.html#a8bc6a072e1cc974ef084eb2cad18dac6',1,'NimBLEClientCallbacks']]], + ['ondisconnect_6',['ondisconnect',['../class_nim_b_l_e_client_callbacks.html#ad618179ade926482a7f2d94b0deabd69',1,'NimBLEClientCallbacks::onDisconnect()'],['../class_nim_b_l_e_server_callbacks.html#a4622b24e5553cc7961c04ab25b63d943',1,'NimBLEServerCallbacks::onDisconnect()']]], + ['ondiscovered_7',['onDiscovered',['../class_nim_b_l_e_scan_callbacks.html#a1f9b5eac5982340afbb84954a4c06277',1,'NimBLEScanCallbacks']]], + ['onidentity_8',['onidentity',['../class_nim_b_l_e_client_callbacks.html#ac03333d26d570e55b285da460c0def76',1,'NimBLEClientCallbacks::onIdentity()'],['../class_nim_b_l_e_server_callbacks.html#afa1c14bfba74491e9f57ccaea22b0664',1,'NimBLEServerCallbacks::onIdentity()']]], + ['onmtuchange_9',['onmtuchange',['../class_nim_b_l_e_client_callbacks.html#a92662eb9ecf882b2c55bc6d9b4de97bc',1,'NimBLEClientCallbacks::onMTUChange()'],['../class_nim_b_l_e_server_callbacks.html#ab702f73e739b4df72e191f47056c01ff',1,'NimBLEServerCallbacks::onMTUChange(uint16_t MTU, NimBLEConnInfo &connInfo)']]], + ['onpasskeydisplay_10',['onPassKeyDisplay',['../class_nim_b_l_e_server_callbacks.html#a45b5fc1c98b287a2ddeab8f2f5b63c4f',1,'NimBLEServerCallbacks']]], + ['onpasskeyentry_11',['onPassKeyEntry',['../class_nim_b_l_e_client_callbacks.html#aacb0b757e6e7c7984d8389c83fe1937d',1,'NimBLEClientCallbacks']]], + ['onphyupdate_12',['onphyupdate',['../class_nim_b_l_e_client_callbacks.html#a4e91ebb66e46b7f3ccc6291ece0b549c',1,'NimBLEClientCallbacks::onPhyUpdate()'],['../class_nim_b_l_e_server_callbacks.html#a5096aa8ec49fe1eddb5d9ab18c112b22',1,'NimBLEServerCallbacks::onPhyUpdate()']]], + ['onread_13',['onread',['../class_nim_b_l_e_characteristic_callbacks.html#a120d3dade06fbc941a93edbdc0e4d830',1,'NimBLECharacteristicCallbacks::onRead()'],['../class_nim_b_l_e_descriptor_callbacks.html#a061576b56702a6aca62a38f2ba27ba98',1,'NimBLEDescriptorCallbacks::onRead()']]], + ['onreset_14',['onReset',['../class_nim_b_l_e_device.html#a1c07c41733730754fd31efae5a43f085',1,'NimBLEDevice']]], + ['onresult_15',['onResult',['../class_nim_b_l_e_scan_callbacks.html#a962d8b08cf14ac3091e6fd6962d7e283',1,'NimBLEScanCallbacks']]], + ['onscanend_16',['onScanEnd',['../class_nim_b_l_e_scan_callbacks.html#a61c11db405e87ec847066ca3b6ad8375',1,'NimBLEScanCallbacks']]], + ['onscanrequest_17',['onScanRequest',['../class_nim_b_l_e_ext_advertising_callbacks.html#aeec59f9c28ef5e257e4e8fd306d92ccd',1,'NimBLEExtAdvertisingCallbacks']]], + ['onstatus_18',['onStatus',['../class_nim_b_l_e_characteristic_callbacks.html#a6f9b1f0f15492e3d47662e5e2ff0baee',1,'NimBLECharacteristicCallbacks']]], + ['onstopped_19',['onStopped',['../class_nim_b_l_e_ext_advertising_callbacks.html#add0646acf63c19e96c499b737144d8fe',1,'NimBLEExtAdvertisingCallbacks']]], + ['onsubscribe_20',['onSubscribe',['../class_nim_b_l_e_characteristic_callbacks.html#a024951384bb777d7ee71bfd1d5eff185',1,'NimBLECharacteristicCallbacks']]], + ['onsync_21',['onSync',['../class_nim_b_l_e_device.html#a01737196c77959a03964504ee0b48f4d',1,'NimBLEDevice']]], + ['onwhitelist_22',['onWhiteList',['../class_nim_b_l_e_device.html#ae51e2d4d6169a61133178a1b0d6b5b45',1,'NimBLEDevice']]], + ['onwrite_23',['onwrite',['../class_nim_b_l_e_characteristic_callbacks.html#ab4edbb758f0212fd190dedad6c9b8ec9',1,'NimBLECharacteristicCallbacks::onWrite()'],['../class_nim_b_l_e_descriptor_callbacks.html#a2872d9e602d4e23cc63f55f5b2f76dd7',1,'NimBLEDescriptorCallbacks::onWrite()']]], + ['operator_20const_20uint8_5ft_20_2a_24',['operator const uint8_t *',['../class_nim_b_l_e_att_value.html#a3aa926c56cd58146a5b1c6e02c97894b',1,'NimBLEAttValue']]], + ['operator_20std_3a_3astring_25',['operator std::string',['../class_nim_b_l_e_address.html#a5398ed7c6d8e95a7527103095e07093a',1,'NimBLEAddress::string()'],['../class_nim_b_l_e_att_value.html#a5edd484c83c5efa62916add8927a6371',1,'NimBLEAttValue::string()'],['../class_nim_b_l_e_u_u_i_d.html#a4315e760bf763333022658ff980f3048',1,'NimBLEUUID::string()']]], + ['operator_20std_3a_3avector_3c_20uint8_5ft_20_3e_26',['vector< uint8_t >',['../class_nim_b_l_e_att_value.html#a3af3b6efb528b1063df2de409c64a0d6',1,'NimBLEAttValue']]], + ['operator_20uint64_5ft_27',['operator uint64_t',['../class_nim_b_l_e_address.html#aa7d5d8d323d2846bf2082b83381bd7c8',1,'NimBLEAddress']]], + ['operator_21_3d_28',['operator!=',['../class_nim_b_l_e_address.html#ae243127c78af69b26dfa225effd806ce',1,'NimBLEAddress::operator!=()'],['../class_nim_b_l_e_att_value.html#afda6ab2bce142146bad453249bd0dc43',1,'NimBLEAttValue::operator!=()'],['../class_nim_b_l_e_u_u_i_d.html#abeee22e6661f7533f05802e1f89fedfe',1,'NimBLEUUID::operator!=()']]], + ['operator_2b_3d_29',['operator+=',['../class_nim_b_l_e_att_value.html#a643f989881afd01a25f9d102421c36ec',1,'NimBLEAttValue']]], + ['operator_3d_30',['operator=',['../class_nim_b_l_e_att_value.html#add319bc80a9a7569f42c8568879c8be9',1,'NimBLEAttValue::operator=(const std::string &source)'],['../class_nim_b_l_e_att_value.html#a47d30a61ba65f5d9a21fa593cf15d4b9',1,'NimBLEAttValue::operator=(NimBLEAttValue &&source)'],['../class_nim_b_l_e_att_value.html#aa53ee00be956c25596cf7cce71b502ba',1,'NimBLEAttValue::operator=(const NimBLEAttValue &source)']]], + ['operator_3d_3d_31',['operator==',['../class_nim_b_l_e_address.html#a87e8ccc81c2d83bf0503166939319164',1,'NimBLEAddress::operator==()'],['../class_nim_b_l_e_att_value.html#ad01c8ae4ce617b5ed31733ac245b2e91',1,'NimBLEAttValue::operator==()'],['../class_nim_b_l_e_u_u_i_d.html#a46484dcb0a1bfef6a8afe97f49f97875',1,'NimBLEUUID::operator==()']]], + ['operator_5b_5d_32',['operator[]',['../class_nim_b_l_e_att_value.html#a8ca8d07c06a79e30bf6279e6817e4881',1,'NimBLEAttValue']]] ]; diff --git a/search/functions_d.html b/search/functions_d.html deleted file mode 100644 index 7a1ed06..0000000 --- a/search/functions_d.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_d.js b/search/functions_d.js index 22904ea..293ace1 100644 --- a/search/functions_d.js +++ b/search/functions_d.js @@ -1,5 +1,15 @@ var searchData= [ - ['pnp_685',['pnp',['../class_nim_b_l_e_h_i_d_device.html#a5309df317aa42de7ced2e34219b6666a',1,'NimBLEHIDDevice']]], - ['protocolmode_686',['protocolMode',['../class_nim_b_l_e_h_i_d_device.html#a1118c1e730f38b8b17795c8eb41a0861',1,'NimBLEHIDDevice']]] + ['refreshadvertisingdata_0',['refreshAdvertisingData',['../class_nim_b_l_e_advertising.html#ad899be16fa054a01908692a504af9832',1,'NimBLEAdvertising']]], + ['removeall_1',['removeAll',['../class_nim_b_l_e_ext_advertising.html#a8c4df0be35301c90a39491b9e98d3e24',1,'NimBLEExtAdvertising']]], + ['removecharacteristic_2',['removeCharacteristic',['../class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234',1,'NimBLEService']]], + ['removedata_3',['removedata',['../class_nim_b_l_e_advertisement_data.html#acf839da2c36a9ac5ef53e86b57d73874',1,'NimBLEAdvertisementData::removeData()'],['../class_nim_b_l_e_ext_advertisement.html#a28a6b771e81c043d471d87a6aa5a7622',1,'NimBLEExtAdvertisement::removeData()']]], + ['removedescriptor_4',['removeDescriptor',['../class_nim_b_l_e_characteristic.html#a2c0ed8932ee257a8632e3d72e353489b',1,'NimBLECharacteristic']]], + ['removeinstance_5',['removeInstance',['../class_nim_b_l_e_ext_advertising.html#acace5e9e195b65b61041f7007f9359ab',1,'NimBLEExtAdvertising']]], + ['removeservice_6',['removeService',['../class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75',1,'NimBLEServer']]], + ['removeservices_7',['removeservices',['../class_nim_b_l_e_ext_advertisement.html#ab71e5616a011eae51c58b4edfbd3bc71',1,'NimBLEExtAdvertisement::removeServices()'],['../class_nim_b_l_e_advertising.html#ad159c2e2a65d9bc7dcc5babed146936d',1,'NimBLEAdvertising::removeServices()'],['../class_nim_b_l_e_advertisement_data.html#aff30e0d0dc95e1dc8bb1cb6858a4e813',1,'NimBLEAdvertisementData::removeServices()']]], + ['removeserviceuuid_8',['removeserviceuuid',['../class_nim_b_l_e_advertisement_data.html#ad22fa3253134dd5bfd3e76f8c31bef2e',1,'NimBLEAdvertisementData::removeServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertisement_data.html#a62963648edf361ed7d3f24027dd41a9d',1,'NimBLEAdvertisementData::removeServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_advertising.html#aba383012133dd694f56cf86966b2d80a',1,'NimBLEAdvertising::removeServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_advertising.html#a94452c2f9f7233611246827ce62f6a2b',1,'NimBLEAdvertising::removeServiceUUID(const char *serviceUUID)'],['../class_nim_b_l_e_ext_advertisement.html#a5ddd5bc3a96406518580bc33aab62a84',1,'NimBLEExtAdvertisement::removeServiceUUID(const NimBLEUUID &serviceUUID)'],['../class_nim_b_l_e_ext_advertisement.html#a7cb10f1b8cbfe6706144a20ee3258c63',1,'NimBLEExtAdvertisement::removeServiceUUID(const char *serviceUUID)']]], + ['reset_9',['reset',['../class_nim_b_l_e_advertising.html#a91cde5680de36840fc18f6fd76665af7',1,'NimBLEAdvertising']]], + ['returncodetostring_10',['returnCodeToString',['../class_nim_b_l_e_utils.html#a9885eda5c51477aefc0ba9e1c96d5a34',1,'NimBLEUtils']]], + ['reversebyteorder_11',['reversebyteorder',['../class_nim_b_l_e_address.html#a0f390fb5f422db8ced1938bd40f87c4d',1,'NimBLEAddress::reverseByteOrder()'],['../class_nim_b_l_e_u_u_i_d.html#a9b96d90463f02f6a21afbaebcc242dd9',1,'NimBLEUUID::reverseByteOrder()']]] ]; diff --git a/search/functions_e.html b/search/functions_e.html deleted file mode 100644 index 22d2a6b..0000000 --- a/search/functions_e.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_e.js b/search/functions_e.js index 737ce43..72d3179 100644 --- a/search/functions_e.js +++ b/search/functions_e.js @@ -1,19 +1,102 @@ var searchData= [ - ['readfloat_687',['readFloat',['../class_nim_b_l_e_remote_characteristic.html#a81f39759d48a8fb792c94e4b3b455eef',1,'NimBLERemoteCharacteristic']]], - ['readuint16_688',['readUInt16',['../class_nim_b_l_e_remote_characteristic.html#a181c54862bc422d8ad0b326af675922d',1,'NimBLERemoteCharacteristic::readUInt16()'],['../class_nim_b_l_e_remote_descriptor.html#a14351ea51b7b04f91b71e388881edd53',1,'NimBLERemoteDescriptor::readUInt16()']]], - ['readuint32_689',['readUInt32',['../class_nim_b_l_e_remote_characteristic.html#a71793454ffab034f87af3a5e9677a63d',1,'NimBLERemoteCharacteristic::readUInt32()'],['../class_nim_b_l_e_remote_descriptor.html#a219606f84d63bc02f093051d66f05204',1,'NimBLERemoteDescriptor::readUInt32()']]], - ['readuint8_690',['readUInt8',['../class_nim_b_l_e_remote_characteristic.html#ade5c6ae280c3cf36c9905be23df8f080',1,'NimBLERemoteCharacteristic::readUInt8()'],['../class_nim_b_l_e_remote_descriptor.html#ab07e86707a91e48f68e9de55686e939b',1,'NimBLERemoteDescriptor::readUInt8()']]], - ['readvalue_691',['readValue',['../class_nim_b_l_e_remote_characteristic.html#a417bb44d000758535253488f4d77774a',1,'NimBLERemoteCharacteristic::readValue(time_t *timestamp=nullptr)'],['../class_nim_b_l_e_remote_characteristic.html#a463760cabc9ca104a6fe094eb942fec0',1,'NimBLERemoteCharacteristic::readValue(time_t *timestamp=nullptr, bool skipSizeCheck=false)'],['../class_nim_b_l_e_remote_descriptor.html#a7c7c07e6ccd969de568b5bda72ec52d7',1,'NimBLERemoteDescriptor::readValue()'],['../class_nim_b_l_e_remote_descriptor.html#ac4e3a21818903b69ace41c36a58d3c46',1,'NimBLERemoteDescriptor::readValue(bool skipSizeCheck=false)']]], - ['registerfornotify_692',['registerForNotify',['../class_nim_b_l_e_remote_characteristic.html#ab4f54eabe90a416546b7b3fc3477f49c',1,'NimBLERemoteCharacteristic']]], - ['removeall_693',['removeAll',['../class_nim_b_l_e_ext_advertising.html#a8c4df0be35301c90a39491b9e98d3e24',1,'NimBLEExtAdvertising']]], - ['removecharacteristic_694',['removeCharacteristic',['../class_nim_b_l_e_service.html#af992d0c27e3a559789fb77fc46623234',1,'NimBLEService']]], - ['removedescriptor_695',['removeDescriptor',['../class_nim_b_l_e_characteristic.html#a2c0ed8932ee257a8632e3d72e353489b',1,'NimBLECharacteristic']]], - ['removeignored_696',['removeIgnored',['../class_nim_b_l_e_device.html#a0374ab8e323277bd8498609559966924',1,'NimBLEDevice']]], - ['removeinstance_697',['removeInstance',['../class_nim_b_l_e_ext_advertising.html#af7f4225f33f03d17efba1d4de0684eef',1,'NimBLEExtAdvertising']]], - ['removeservice_698',['removeService',['../class_nim_b_l_e_server.html#a00c92f62f41ec1c499dfaf042b487d75',1,'NimBLEServer']]], - ['removeserviceuuid_699',['removeServiceUUID',['../class_nim_b_l_e_advertising.html#a725437c00152ff57ef1e21bdf7be980d',1,'NimBLEAdvertising']]], - ['reportmap_700',['reportMap',['../class_nim_b_l_e_h_i_d_device.html#a5e996a1668785f7a978f9874b4ff3b3e',1,'NimBLEHIDDevice']]], - ['reset_701',['reset',['../class_nim_b_l_e_advertising.html#a545b505ea76396c33133d41a78fad5b8',1,'NimBLEAdvertising']]], - ['returncodetostring_702',['returnCodeToString',['../class_nim_b_l_e_utils.html#a9885eda5c51477aefc0ba9e1c96d5a34',1,'NimBLEUtils']]] + ['secureconnection_0',['secureConnection',['../class_nim_b_l_e_client.html#a2dac3bd373134ae6d22e3b5c96ed65ef',1,'NimBLEClient']]], + ['setactivescan_1',['setActiveScan',['../class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910',1,'NimBLEScan']]], + ['setaddress_2',['setAddress',['../class_nim_b_l_e_ext_advertisement.html#a02fe1652f994e5bf76dc03381e47b39e',1,'NimBLEExtAdvertisement']]], + ['setadvertisementdata_3',['setAdvertisementData',['../class_nim_b_l_e_advertising.html#ab8afd94479ebac3996fa3712d3d92325',1,'NimBLEAdvertising']]], + ['setadvertisingcompletecallback_4',['setAdvertisingCompleteCallback',['../class_nim_b_l_e_advertising.html#a3e81d7d3aa2b72b8db58427d4a42727b',1,'NimBLEAdvertising']]], + ['setadvertisinginterval_5',['setAdvertisingInterval',['../class_nim_b_l_e_advertising.html#a28c082bb540325ada66b4e203ae6998a',1,'NimBLEAdvertising']]], + ['setanonymous_6',['setAnonymous',['../class_nim_b_l_e_ext_advertisement.html#a1b1c9d52252b651163826b0c6c098439',1,'NimBLEExtAdvertisement']]], + ['setappearance_7',['setappearance',['../class_nim_b_l_e_advertisement_data.html#a63dca8c3219f682569db26eddbc8880c',1,'NimBLEAdvertisementData::setAppearance()'],['../class_nim_b_l_e_advertising.html#a1f4e1ae9552400fb2bb3cd73b2a483b0',1,'NimBLEAdvertising::setAppearance()'],['../class_nim_b_l_e_ext_advertisement.html#a048872d3793e7e0884f958b7c0719b9f',1,'NimBLEExtAdvertisement::setAppearance()']]], + ['setbatterylevel_8',['setBatteryLevel',['../class_nim_b_l_e_h_i_d_device.html#ab24968002ba94c2029e9d55364e1ec2b',1,'NimBLEHIDDevice']]], + ['setcallbacks_9',['setcallbacks',['../class_nim_b_l_e_characteristic.html#a29dc2505e1d3b4a7d6800d1547965d17',1,'NimBLECharacteristic::setCallbacks()'],['../class_nim_b_l_e_descriptor.html#aa9cb8727f9e17cf8050cf619e5fe3096',1,'NimBLEDescriptor::setCallbacks()'],['../class_nim_b_l_e_ext_advertising.html#add623162d46c952d692e26888c9f8826',1,'NimBLEExtAdvertising::setCallbacks()'],['../class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9',1,'NimBLEServer::setCallbacks()']]], + ['setclientcallbacks_10',['setClientCallbacks',['../class_nim_b_l_e_client.html#aeede4deef7421b9121387a786c07820c',1,'NimBLEClient']]], + ['setcompleteservices_11',['setcompleteservices',['../class_nim_b_l_e_advertisement_data.html#aafa437cd95751da68d6b8691ce3eea46',1,'NimBLEAdvertisementData::setCompleteServices()'],['../class_nim_b_l_e_ext_advertisement.html#af254895a52b1ee65f47ace003039514a',1,'NimBLEExtAdvertisement::setCompleteServices()']]], + ['setcompleteservices16_12',['setcompleteservices16',['../class_nim_b_l_e_advertisement_data.html#a89c45ddb804600bd6b6175687f6c1bb0',1,'NimBLEAdvertisementData::setCompleteServices16()'],['../class_nim_b_l_e_ext_advertisement.html#a1fd2471e3ffd6dca56133eeb195a7662',1,'NimBLEExtAdvertisement::setCompleteServices16()']]], + ['setcompleteservices32_13',['setcompleteservices32',['../class_nim_b_l_e_advertisement_data.html#aef5e7a5b2d3dd9c09b6a55582d7d22d6',1,'NimBLEAdvertisementData::setCompleteServices32()'],['../class_nim_b_l_e_ext_advertisement.html#aaaebae05827e8264f2ca6d4f23828bdf',1,'NimBLEExtAdvertisement::setCompleteServices32()']]], + ['setconfig_14',['setConfig',['../class_nim_b_l_e_client.html#ad89d8202400ecb573ce0e2ec5fc801dc',1,'NimBLEClient']]], + ['setconnectable_15',['setConnectable',['../class_nim_b_l_e_ext_advertisement.html#abd02fa34228263fef2d2b875e6576316',1,'NimBLEExtAdvertisement']]], + ['setconnectablemode_16',['setConnectableMode',['../class_nim_b_l_e_advertising.html#ae49d2bd91cabca46ec7c4bbd7fc49407',1,'NimBLEAdvertising']]], + ['setconnectionparams_17',['setConnectionParams',['../class_nim_b_l_e_client.html#a17718339f76eb621db0d7919c73b9267',1,'NimBLEClient']]], + ['setconnectphy_18',['setConnectPhy',['../class_nim_b_l_e_client.html#a004a85999b1ee4283e1e8e1e31090cca',1,'NimBLEClient']]], + ['setconnecttimeout_19',['setConnectTimeout',['../class_nim_b_l_e_client.html#aeb3675ab243ae6f0e4e7165cd07f7b80',1,'NimBLEClient']]], + ['setcount_20',['setCount',['../class_nim_b_l_e_eddystone_t_l_m.html#a6d033c09a513b2dfdad6f1b962b906a8',1,'NimBLEEddystoneTLM']]], + ['setcustomgaphandler_21',['setCustomGapHandler',['../class_nim_b_l_e_device.html#a179d1199badd67464cab921672a44405',1,'NimBLEDevice']]], + ['setdata_22',['setdata',['../class_nim_b_l_e_eddystone_t_l_m.html#a394d96131aecd687905fbff05196d4e6',1,'NimBLEEddystoneTLM::setData()'],['../class_nim_b_l_e_ext_advertisement.html#afbc963aac74110423c22537f905ca259',1,'NimBLEExtAdvertisement::setData()'],['../class_nim_b_l_e_eddystone_t_l_m.html#a05989cc6df5d5dc423c878d2317ddb89',1,'NimBLEEddystoneTLM::setData()'],['../class_nim_b_l_e_beacon.html#ab204f2a919c5da7308e74bd3590a29c3',1,'NimBLEBeacon::setData(const BeaconData &data)'],['../class_nim_b_l_e_beacon.html#ab6475aaa5d8a93e24401da3b4b272496',1,'NimBLEBeacon::setData(const uint8_t *data, uint8_t length)']]], + ['setdatalen_23',['setdatalen',['../class_nim_b_l_e_client.html#a4e8b16bb2c8ba3534bbd04803a411911',1,'NimBLEClient::setDataLen()'],['../class_nim_b_l_e_server.html#afbffb933eed8142bd24222e3cacc138a',1,'NimBLEServer::setDataLen()']]], + ['setdefaultphy_24',['setDefaultPhy',['../class_nim_b_l_e_device.html#a0e021958df2f2dbf40e52b9022c37594',1,'NimBLEDevice']]], + ['setdescription_25',['setDescription',['../class_nim_b_l_e2904.html#a498c863cb3fbf92eecc23f9f8856037c',1,'NimBLE2904']]], + ['setdevicename_26',['setDeviceName',['../class_nim_b_l_e_device.html#aaa64b6baff54c010eb8b4d0ba338cc01',1,'NimBLEDevice']]], + ['setdirected_27',['setDirected',['../class_nim_b_l_e_ext_advertisement.html#af7a99ce4a6fab8034435e6719e27e934',1,'NimBLEExtAdvertisement']]], + ['setdirectedpeer_28',['setDirectedPeer',['../class_nim_b_l_e_ext_advertisement.html#a52ee2ff1ccd011ed3410d52c0518728e',1,'NimBLEExtAdvertisement']]], + ['setdiscoverablemode_29',['setDiscoverableMode',['../class_nim_b_l_e_advertising.html#a710eacfc97ecea1bf9a9a3569c58d410',1,'NimBLEAdvertising']]], + ['setduplicatefilter_30',['setDuplicateFilter',['../class_nim_b_l_e_scan.html#aabbf3f1804a844a7db0284ecc2b78408',1,'NimBLEScan']]], + ['setexponent_31',['setExponent',['../class_nim_b_l_e2904.html#ab1c53f99246f67dca1d63b812bef631d',1,'NimBLE2904']]], + ['setfilterpolicy_32',['setFilterPolicy',['../class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967',1,'NimBLEScan']]], + ['setflags_33',['setflags',['../class_nim_b_l_e_advertisement_data.html#a00c9c605b9a1054ad056fc0f0f7ebf0d',1,'NimBLEAdvertisementData::setFlags()'],['../class_nim_b_l_e_ext_advertisement.html#a0707d6393d91e1e8912cff65e3d030ca',1,'NimBLEExtAdvertisement::setFlags()']]], + ['setformat_34',['setFormat',['../class_nim_b_l_e2904.html#ab7f21651b4493fd3daaa0f1545032ff1',1,'NimBLE2904']]], + ['sethidinfo_35',['setHidInfo',['../class_nim_b_l_e_h_i_d_device.html#aea007674892608877cdbf9122208ba28',1,'NimBLEHIDDevice']]], + ['setinstancedata_36',['setInstanceData',['../class_nim_b_l_e_ext_advertising.html#afbb3b7ea90d4a5b84bdc796c5844203e',1,'NimBLEExtAdvertising']]], + ['setinterval_37',['setInterval',['../class_nim_b_l_e_scan.html#a4c3e1794c3e56acba76ee269ffb1393e',1,'NimBLEScan']]], + ['setlegacyadvertising_38',['setLegacyAdvertising',['../class_nim_b_l_e_ext_advertisement.html#a3a597fa81719aa3bbea590ee7b8c10fe',1,'NimBLEExtAdvertisement']]], + ['setlimitedonly_39',['setLimitedOnly',['../class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1',1,'NimBLEScan']]], + ['setmajor_40',['setMajor',['../class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea',1,'NimBLEBeacon']]], + ['setmanufacturer_41',['setManufacturer',['../class_nim_b_l_e_h_i_d_device.html#a35c42432a5a8f5b3286293bea1b9f397',1,'NimBLEHIDDevice']]], + ['setmanufacturerdata_42',['setmanufacturerdata',['../class_nim_b_l_e_ext_advertisement.html#a50dceb2c296b11957fc837a6dc420503',1,'NimBLEExtAdvertisement::setManufacturerData(const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_ext_advertisement.html#a97eb35f2d1942178bc56e1a13fc0fc8b',1,'NimBLEExtAdvertisement::setManufacturerData(const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a4d994e568031faf320eb988b9a2a372e',1,'NimBLEExtAdvertisement::setManufacturerData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertising.html#aac1b5e560aa497a274985a22083bfc97',1,'NimBLEAdvertising::setManufacturerData(const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertising.html#ac433e3458ac5259ae21c4bdbd1198781',1,'NimBLEAdvertising::setManufacturerData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#a9eb01ecb3973fa592effe6fdce39f602',1,'NimBLEAdvertisementData::setManufacturerData(const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertisement_data.html#a043d49566c5d7a3e0808554587ad051b',1,'NimBLEAdvertisementData::setManufacturerData(const std::string &data)'],['../class_nim_b_l_e_advertisement_data.html#a0b076298058755149b4351727d70b198',1,'NimBLEAdvertisementData::setManufacturerData(const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertising.html#ac9f3a7270e1cefedf8547c5188d06120',1,'NimBLEAdvertising::setManufacturerData()']]], + ['setmanufacturerid_43',['setManufacturerId',['../class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9',1,'NimBLEBeacon']]], + ['setmaxinterval_44',['setmaxinterval',['../class_nim_b_l_e_advertising.html#a97bf63603b9aabdf0a5284269dfc5549',1,'NimBLEAdvertising::setMaxInterval()'],['../class_nim_b_l_e_ext_advertisement.html#a4c339022b5523d20cc7fa956c5dbe1be',1,'NimBLEExtAdvertisement::setMaxInterval()']]], + ['setmaxresults_45',['setMaxResults',['../class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81',1,'NimBLEScan']]], + ['setmininterval_46',['setmininterval',['../class_nim_b_l_e_advertising.html#a6b5be947a5e188d512e3338d36a039cb',1,'NimBLEAdvertising::setMinInterval()'],['../class_nim_b_l_e_ext_advertisement.html#ae9777a0c544be6c674f4e39d56e930b8',1,'NimBLEExtAdvertisement::setMinInterval()']]], + ['setminor_47',['setMinor',['../class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e',1,'NimBLEBeacon']]], + ['setmtu_48',['setMTU',['../class_nim_b_l_e_device.html#a43b83de25635b69cfd663a7f0e7784d6',1,'NimBLEDevice']]], + ['setname_49',['setname',['../class_nim_b_l_e_advertisement_data.html#adf8f35c7735f8a29130482b302f04006',1,'NimBLEAdvertisementData::setName()'],['../class_nim_b_l_e_advertising.html#a7fb4b74eb7acb1f46e57ff772baccd88',1,'NimBLEAdvertising::setName()'],['../class_nim_b_l_e_ext_advertisement.html#a8388496cf91818138b10e898c7fc2bfc',1,'NimBLEExtAdvertisement::setName()']]], + ['setnamespace_50',['setNamespace',['../class_nim_b_l_e2904.html#a2206274c217d43a8ba121e1d279f8962',1,'NimBLE2904']]], + ['setownaddr_51',['setownaddr',['../class_nim_b_l_e_device.html#a0f6521729222f9e55e40325824786070',1,'NimBLEDevice::setOwnAddr(const NimBLEAddress &addr)'],['../class_nim_b_l_e_device.html#a462f908708d9eff0562447197cee5d16',1,'NimBLEDevice::setOwnAddr(const uint8_t *addr)']]], + ['setownaddrtype_52',['setOwnAddrType',['../class_nim_b_l_e_device.html#a31acb43c150014f06bad74b57c2335ff',1,'NimBLEDevice']]], + ['setpartialservices_53',['setpartialservices',['../class_nim_b_l_e_advertisement_data.html#a0a4102da7495d39e8a0033e1661b76a6',1,'NimBLEAdvertisementData::setPartialServices()'],['../class_nim_b_l_e_ext_advertisement.html#a45a7838bb2ca27edac22b02d77072e3c',1,'NimBLEExtAdvertisement::setPartialServices()']]], + ['setpartialservices16_54',['setpartialservices16',['../class_nim_b_l_e_advertisement_data.html#a91671d595cfed4547df670884633a7a4',1,'NimBLEAdvertisementData::setPartialServices16()'],['../class_nim_b_l_e_ext_advertisement.html#ad968d1999c50acd24170be9d8d3ba095',1,'NimBLEExtAdvertisement::setPartialServices16()']]], + ['setpartialservices32_55',['setpartialservices32',['../class_nim_b_l_e_advertisement_data.html#a736480e1e778ed93890d2071f558f186',1,'NimBLEAdvertisementData::setPartialServices32()'],['../class_nim_b_l_e_ext_advertisement.html#a1ef0dd63c99b5cab049a61c75c8e1ac2',1,'NimBLEExtAdvertisement::setPartialServices32()']]], + ['setpeeraddress_56',['setPeerAddress',['../class_nim_b_l_e_client.html#a89d5aee4deaba953b8f77af75e3ee910',1,'NimBLEClient']]], + ['setperiod_57',['setPeriod',['../class_nim_b_l_e_scan.html#aaace4d0b128b6294276347f6790f3f8b',1,'NimBLEScan']]], + ['setphy_58',['setPhy',['../class_nim_b_l_e_scan.html#a17f2f775b5e6793f06a412f840d5dceb',1,'NimBLEScan']]], + ['setpnp_59',['setPnp',['../class_nim_b_l_e_h_i_d_device.html#ab0495fb5fbee85277a14a0b9476a0239',1,'NimBLEHIDDevice']]], + ['setpower_60',['setPower',['../class_nim_b_l_e_device.html#a2b45ce364bf3ee69959389c8cc70249c',1,'NimBLEDevice']]], + ['setpreferredparams_61',['setpreferredparams',['../class_nim_b_l_e_advertisement_data.html#acee3a78f4c8d69a1dc3df1f9af16632f',1,'NimBLEAdvertisementData::setPreferredParams()'],['../class_nim_b_l_e_advertising.html#a9dbb66ca66aa040731fcfd737f881469',1,'NimBLEAdvertising::setPreferredParams()'],['../class_nim_b_l_e_ext_advertisement.html#a2d95f2975f229386023348749305df43',1,'NimBLEExtAdvertisement::setPreferredParams(uint16_t min, uint16_t max)']]], + ['setprimarychannels_62',['setPrimaryChannels',['../class_nim_b_l_e_ext_advertisement.html#ab6103c5e86949d0e334101353b109775',1,'NimBLEExtAdvertisement']]], + ['setprimaryphy_63',['setPrimaryPhy',['../class_nim_b_l_e_ext_advertisement.html#ad8522542b90067e3a53076823d2087c3',1,'NimBLEExtAdvertisement']]], + ['setproximityuuid_64',['setProximityUUID',['../class_nim_b_l_e_beacon.html#a7f33ffc298285d1ab02088b2584f2256',1,'NimBLEBeacon']]], + ['setremoved_65',['setRemoved',['../class_nim_b_l_e_local_attribute.html#a4d8b3828536a49051311bc236157a8a4',1,'NimBLELocalAttribute']]], + ['setreportmap_66',['setReportMap',['../class_nim_b_l_e_h_i_d_device.html#abdc7efa80e3a1cc9c35bcce012c1d37c',1,'NimBLEHIDDevice']]], + ['setscancallbacks_67',['setScanCallbacks',['../class_nim_b_l_e_scan.html#a3b0d41fc5d9113a02357c1b2a43c5d1d',1,'NimBLEScan']]], + ['setscanfilter_68',['setscanfilter',['../class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790',1,'NimBLEAdvertising::setScanFilter()'],['../class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138',1,'NimBLEExtAdvertisement::setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)']]], + ['setscannable_69',['setScannable',['../class_nim_b_l_e_ext_advertisement.html#adc868da6e3e33c3e21f78ac386e9eb50',1,'NimBLEExtAdvertisement']]], + ['setscanresponsedata_70',['setscanresponsedata',['../class_nim_b_l_e_ext_advertising.html#ac669489f8d7d67fe8dfc48ef15c7985f',1,'NimBLEExtAdvertising::setScanResponseData()'],['../class_nim_b_l_e_advertising.html#a97798e6d9d7721eb588c5e67d54e97ef',1,'NimBLEAdvertising::setScanResponseData()']]], + ['setsecondaryphy_71',['setSecondaryPhy',['../class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506',1,'NimBLEExtAdvertisement']]], + ['setsecurityauth_72',['setsecurityauth',['../class_nim_b_l_e_device.html#aa8e340c02418771ce72dec758d560938',1,'NimBLEDevice::setSecurityAuth(bool bonding, bool mitm, bool sc)'],['../class_nim_b_l_e_device.html#abbf642ac4ce4023c7c4d9a1e4333b328',1,'NimBLEDevice::setSecurityAuth(uint8_t auth)']]], + ['setsecurityinitkey_73',['setSecurityInitKey',['../class_nim_b_l_e_device.html#ab0a29a11f71d3ba32645c096067a853b',1,'NimBLEDevice']]], + ['setsecurityiocap_74',['setSecurityIOCap',['../class_nim_b_l_e_device.html#ab9fee9e810d5fa18bc8a37053eb9b5d0',1,'NimBLEDevice']]], + ['setsecuritypasskey_75',['setSecurityPasskey',['../class_nim_b_l_e_device.html#ab62da4d606355b20539e37e881f4044d',1,'NimBLEDevice']]], + ['setsecurityrespkey_76',['setSecurityRespKey',['../class_nim_b_l_e_device.html#ab769a5f5afb3ee486527d41b8c445566',1,'NimBLEDevice']]], + ['setselfdelete_77',['setSelfDelete',['../class_nim_b_l_e_client.html#a665a5ef97b3ab0307bccc54872d3c218',1,'NimBLEClient']]], + ['setservicedata_78',['setservicedata',['../class_nim_b_l_e_advertisement_data.html#a0399149f6359d33ca4781c8282844394',1,'NimBLEAdvertisementData::setServiceData()'],['../class_nim_b_l_e_ext_advertisement.html#a6f4e01c26ab1d26123d81dfbc0f6f9f8',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_ext_advertisement.html#a56418c5b331cecae3c5b644567329c56',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_ext_advertisement.html#a2bcfe468c00347e93c0f4ac2b46654be',1,'NimBLEExtAdvertisement::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertising.html#a65123182c5218758433e4acf0432fc84',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertising.html#a708384c4b9af3006893afbdef74362bc',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const std::string &data)'],['../class_nim_b_l_e_advertising.html#a815faed49fb4f29337fda94bd39c0bbc',1,'NimBLEAdvertising::setServiceData(const NimBLEUUID &uuid, const uint8_t *data, size_t length)'],['../class_nim_b_l_e_advertisement_data.html#a2efe483f50ee2013d1eea015c90ba4f5',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const std::vector< uint8_t > &data)'],['../class_nim_b_l_e_advertisement_data.html#ae179e55a5a133a66858047b29343bd75',1,'NimBLEAdvertisementData::setServiceData(const NimBLEUUID &uuid, const std::string &data)']]], + ['setshortname_79',['setshortname',['../class_nim_b_l_e_ext_advertisement.html#a4f8da0cb7cf2b3e18543e78b15b46918',1,'NimBLEExtAdvertisement::setShortName()'],['../class_nim_b_l_e_advertisement_data.html#a32922b53631443b92463c8942b8d0839',1,'NimBLEAdvertisementData::setShortName()']]], + ['setsignalpower_80',['setSignalPower',['../class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0',1,'NimBLEBeacon']]], + ['settemp_81',['setTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#af5ff73359f3c7f7e76395d32f4efe575',1,'NimBLEEddystoneTLM']]], + ['settime_82',['setTime',['../class_nim_b_l_e_eddystone_t_l_m.html#a999d53f4bad59c2ebc688403f66474b1',1,'NimBLEEddystoneTLM']]], + ['settxpower_83',['setTxPower',['../class_nim_b_l_e_ext_advertisement.html#a63c2f5900752edad428304c5342b8458',1,'NimBLEExtAdvertisement']]], + ['setunit_84',['setUnit',['../class_nim_b_l_e2904.html#ad0cf78a2a1c3418be9a39beaa0c826ee',1,'NimBLE2904']]], + ['seturi_85',['seturi',['../class_nim_b_l_e_advertisement_data.html#a852969e05a7884faf6cfcd2001f80ec9',1,'NimBLEAdvertisementData::setURI()'],['../class_nim_b_l_e_advertising.html#a9fe23a52ac3f699095d84d2ba8f90c28',1,'NimBLEAdvertising::setURI()'],['../class_nim_b_l_e_ext_advertisement.html#a691335b073c8385b3e2e75c6962fbe3f',1,'NimBLEExtAdvertisement::setURI()']]], + ['setuuid_86',['setUUID',['../class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291',1,'NimBLEEddystoneTLM']]], + ['setvalue_87',['setvalue',['../class_nim_b_l_e_att_value.html#aade512f55c6f962941aee7078677356b',1,'NimBLEAttValue::setValue()'],['../class_nim_b_l_e_remote_service.html#a0d571db36b8af93b35d44f7cf4afa5ed',1,'NimBLERemoteService::setValue()'],['../class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2',1,'NimBLEClient::setValue()'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#a98da1765d9cfd2d93cdac2fb7a108a79',1,'NimBLEAttValue::setValue(const T &v)'],['../class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa',1,'NimBLEAttValue::setValue(const uint8_t *value, uint16_t len)']]], + ['setversion_88',['setVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63',1,'NimBLEEddystoneTLM']]], + ['setvolt_89',['setVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#ad69af8fe47502d922203916357f6c206',1,'NimBLEEddystoneTLM']]], + ['setwindow_90',['setWindow',['../class_nim_b_l_e_scan.html#a0fec97ad0f4ff191bb853138c30d5316',1,'NimBLEScan']]], + ['size_91',['size',['../class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c',1,'NimBLEAttValue']]], + ['start_92',['start',['../class_nim_b_l_e_ext_advertising.html#a50ecfdca2fee14c6bcfffa110cc5e25a',1,'NimBLEExtAdvertising::start()'],['../class_nim_b_l_e_scan.html#ac1307f30a881688d3a4d57bac7abe02c',1,'NimBLEScan::start()'],['../class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb',1,'NimBLEServer::start()'],['../class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985',1,'NimBLEService::start()'],['../class_nim_b_l_e_advertising.html#a8a5c880ee36fd44e0c72c14c47c8e15e',1,'NimBLEAdvertising::start()']]], + ['startadvertising_93',['startadvertising',['../class_nim_b_l_e_device.html#a181ee3b2b143e50e216fc2728194ff85',1,'NimBLEDevice::startAdvertising(uint8_t instId, int duration=0, int maxEvents=0)'],['../class_nim_b_l_e_device.html#a48d43b8afd9dcdc0c6a5e1aeda715f00',1,'NimBLEDevice::startAdvertising(uint32_t duration=0)'],['../class_nim_b_l_e_server.html#ab8cab448de62d05448ccb27d1bbb5c33',1,'NimBLEServer::startAdvertising(uint8_t instanceId, int duration=0, int maxEvents=0) const'],['../class_nim_b_l_e_server.html#a0697fab04372df6412d3e948f3d55654',1,'NimBLEServer::startAdvertising(uint32_t duration=0) const']]], + ['startsecurity_94',['startSecurity',['../class_nim_b_l_e_device.html#a8b6b4bedfe37725ed9c20e91a3470005',1,'NimBLEDevice']]], + ['startservices_95',['startServices',['../class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235',1,'NimBLEHIDDevice']]], + ['stop_96',['stop',['../class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800',1,'NimBLEAdvertising::stop()'],['../class_nim_b_l_e_ext_advertising.html#a1dd95b432a8dfdfda20974a25da21953',1,'NimBLEExtAdvertising::stop(uint8_t instId)'],['../class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109',1,'NimBLEExtAdvertising::stop()'],['../class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1',1,'NimBLEScan::stop()']]], + ['stopadvertising_97',['stopadvertising',['../class_nim_b_l_e_device.html#a1de5ed55c2b048c0281462d929a70aa2',1,'NimBLEDevice::stopAdvertising(uint8_t instId)'],['../class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629',1,'NimBLEDevice::stopAdvertising()'],['../class_nim_b_l_e_server.html#a3e3ca166e06c0b3dfc7c69a2c8bee681',1,'NimBLEServer::stopAdvertising(uint8_t instanceId) const'],['../class_nim_b_l_e_server.html#a1da4f645f62b523eb6383ff7d1ed76c6',1,'NimBLEServer::stopAdvertising() const']]], + ['subscribe_98',['subscribe',['../class_nim_b_l_e_remote_characteristic.html#adf445e6bd9dee047a61c708ae943304a',1,'NimBLERemoteCharacteristic']]] ]; diff --git a/search/functions_f.html b/search/functions_f.html deleted file mode 100644 index 54b7dee..0000000 --- a/search/functions_f.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/functions_f.js b/search/functions_f.js index f5a42f5..8ca994d 100644 --- a/search/functions_f.js +++ b/search/functions_f.js @@ -1,98 +1,8 @@ var searchData= [ - ['secureconnection_703',['secureConnection',['../class_nim_b_l_e_client.html#a79935ecbe94f2a41e0106d011edafac4',1,'NimBLEClient']]], - ['setactivescan_704',['setActiveScan',['../class_nim_b_l_e_scan.html#a7d24e77d6b339552b6ac16effdb54910',1,'NimBLEScan']]], - ['setaddress_705',['setAddress',['../class_nim_b_l_e_ext_advertisement.html#a02fe1652f994e5bf76dc03381e47b39e',1,'NimBLEExtAdvertisement']]], - ['setadvertiseddevicecallbacks_706',['setAdvertisedDeviceCallbacks',['../class_nim_b_l_e_scan.html#ab275a9fec35c8957acf47689056d94af',1,'NimBLEScan']]], - ['setadvertisementdata_707',['setAdvertisementData',['../class_nim_b_l_e_advertising.html#af7083f58717b7e76d90d367f00a0ef08',1,'NimBLEAdvertising']]], - ['setadvertisementtype_708',['setAdvertisementType',['../class_nim_b_l_e_advertising.html#a68d54f11b47b9993322efec1d07c3519',1,'NimBLEAdvertising']]], - ['setanonymous_709',['setAnonymous',['../class_nim_b_l_e_ext_advertisement.html#a3700ef4fd9078cf6dfd8c1eea4c520ba',1,'NimBLEExtAdvertisement']]], - ['setappearance_710',['setAppearance',['../class_nim_b_l_e_advertisement_data.html#a0f209913ef9f3dfb5be8db39567b4f32',1,'NimBLEAdvertisementData::setAppearance()'],['../class_nim_b_l_e_advertising.html#aa0d30dfb57670cc8180e17dffddad416',1,'NimBLEAdvertising::setAppearance()'],['../class_nim_b_l_e_ext_advertisement.html#a852b96ea8e349caea04941adbe6d24b4',1,'NimBLEExtAdvertisement::setAppearance()']]], - ['setauthenticationmode_711',['setAuthenticationMode',['../class_nim_b_l_e_security.html#a5cf0d3672a16f557032bcbf39a9e22f2',1,'NimBLESecurity']]], - ['setbatterylevel_712',['setBatteryLevel',['../class_nim_b_l_e_h_i_d_device.html#a84e3127a05f7e6a44761ec4a9e7668e3',1,'NimBLEHIDDevice']]], - ['setcallbacks_713',['setCallbacks',['../class_nim_b_l_e_ext_advertising.html#add623162d46c952d692e26888c9f8826',1,'NimBLEExtAdvertising::setCallbacks()'],['../class_nim_b_l_e_server.html#a485c90ce36275f9e4ec26a7f3d348cd9',1,'NimBLEServer::setCallbacks()'],['../class_nim_b_l_e_descriptor.html#aa9cb8727f9e17cf8050cf619e5fe3096',1,'NimBLEDescriptor::setCallbacks()'],['../class_nim_b_l_e_characteristic.html#a29dc2505e1d3b4a7d6800d1547965d17',1,'NimBLECharacteristic::setCallbacks()']]], - ['setcapability_714',['setCapability',['../class_nim_b_l_e_security.html#a1bb7902d5ceffaca86bd7638a74e35e3',1,'NimBLESecurity']]], - ['setclientcallbacks_715',['setClientCallbacks',['../class_nim_b_l_e_client.html#aeede4deef7421b9121387a786c07820c',1,'NimBLEClient']]], - ['setcompleteservices_716',['setCompleteServices',['../class_nim_b_l_e_advertisement_data.html#a67fd95e586559b73964d5739051f3822',1,'NimBLEAdvertisementData::setCompleteServices()'],['../class_nim_b_l_e_ext_advertisement.html#a01f8e18204071c11eb47ab243893fc53',1,'NimBLEExtAdvertisement::setCompleteServices()']]], - ['setcompleteservices16_717',['setCompleteServices16',['../class_nim_b_l_e_advertisement_data.html#a50a2584346208ef28274eeecc5befffb',1,'NimBLEAdvertisementData::setCompleteServices16()'],['../class_nim_b_l_e_ext_advertisement.html#a0a1f0c1facf52f3688b53158e95153b6',1,'NimBLEExtAdvertisement::setCompleteServices16()']]], - ['setcompleteservices32_718',['setCompleteServices32',['../class_nim_b_l_e_advertisement_data.html#a712aa09a4d7f2b3cae9b2f1f1be6372f',1,'NimBLEAdvertisementData::setCompleteServices32()'],['../class_nim_b_l_e_ext_advertisement.html#a31ef2860f84d44a110f2a6d2d8eda3fc',1,'NimBLEExtAdvertisement::setCompleteServices32(const std::vector< NimBLEUUID > &v_uuid)']]], - ['setconnectable_719',['setConnectable',['../class_nim_b_l_e_ext_advertisement.html#a6162f7b7692b5ddabf7e015893b0ffa2',1,'NimBLEExtAdvertisement']]], - ['setconnectionparams_720',['setConnectionParams',['../class_nim_b_l_e_client.html#a17718339f76eb621db0d7919c73b9267',1,'NimBLEClient']]], - ['setconnectphy_721',['setConnectPhy',['../class_nim_b_l_e_client.html#a3ab0a864d8fc7f91ea27f459e2c76b9e',1,'NimBLEClient']]], - ['setconnecttimeout_722',['setConnectTimeout',['../class_nim_b_l_e_client.html#a4068b29a9bd12e3110465908864dd20e',1,'NimBLEClient']]], - ['setcount_723',['setCount',['../class_nim_b_l_e_eddystone_t_l_m.html#a6d033c09a513b2dfdad6f1b962b906a8',1,'NimBLEEddystoneTLM']]], - ['setcustomgaphandler_724',['setCustomGapHandler',['../class_nim_b_l_e_device.html#a8d4e1013815e7b021029f447f1702833',1,'NimBLEDevice']]], - ['setdata_725',['setData',['../class_nim_b_l_e_eddystone_t_l_m.html#a160e33218dc7fb33f678cda1605da52e',1,'NimBLEEddystoneTLM::setData()'],['../class_nim_b_l_e_ext_advertisement.html#a08a31a938ccd10fad61e1115c1db6274',1,'NimBLEExtAdvertisement::setData()'],['../class_nim_b_l_e_eddystone_u_r_l.html#ada3ac4a544b8565635871f39f1593811',1,'NimBLEEddystoneURL::setData()'],['../class_nim_b_l_e_beacon.html#a92292c8b1f5ba0097f063ff6e60934ff',1,'NimBLEBeacon::setData()']]], - ['setdatalen_726',['setDataLen',['../class_nim_b_l_e_client.html#a33a0114a126e0e58f7b4359c74f4ed41',1,'NimBLEClient::setDataLen()'],['../class_nim_b_l_e_server.html#a15112931d1eb6226188c7e383523ba06',1,'NimBLEServer::setDataLen()']]], - ['setdescription_727',['setDescription',['../class_nim_b_l_e2904.html#a498c863cb3fbf92eecc23f9f8856037c',1,'NimBLE2904']]], - ['setdevicename_728',['setDeviceName',['../class_nim_b_l_e_device.html#ae0dd47ddcab25136a0adfee6ae76bd9c',1,'NimBLEDevice']]], - ['setdirected_729',['setDirected',['../class_nim_b_l_e_ext_advertisement.html#a2b29a03b9a8b3a30245ff5468f239887',1,'NimBLEExtAdvertisement']]], - ['setdirectedpeer_730',['setDirectedPeer',['../class_nim_b_l_e_ext_advertisement.html#a52ee2ff1ccd011ed3410d52c0518728e',1,'NimBLEExtAdvertisement']]], - ['setduplicatefilter_731',['setDuplicateFilter',['../class_nim_b_l_e_scan.html#ac40563af803f3b9ab88398c7f30e21bb',1,'NimBLEScan']]], - ['setexponent_732',['setExponent',['../class_nim_b_l_e2904.html#ab1c53f99246f67dca1d63b812bef631d',1,'NimBLE2904']]], - ['setfilterpolicy_733',['setFilterPolicy',['../class_nim_b_l_e_scan.html#a4248aabb5da67953eadab2a6f834d967',1,'NimBLEScan']]], - ['setflags_734',['setFlags',['../class_nim_b_l_e_advertisement_data.html#a73766a872477512bd750c773d96ca4e2',1,'NimBLEAdvertisementData::setFlags()'],['../class_nim_b_l_e_ext_advertisement.html#a5536d30615b87b68ec0c0f01292f5df9',1,'NimBLEExtAdvertisement::setFlags()']]], - ['setformat_735',['setFormat',['../class_nim_b_l_e2904.html#ab7f21651b4493fd3daaa0f1545032ff1',1,'NimBLE2904']]], - ['setinitencryptionkey_736',['setInitEncryptionKey',['../class_nim_b_l_e_security.html#adfc3caa3e1a5aedc3be5c0f1dc5c99ac',1,'NimBLESecurity']]], - ['setinstancedata_737',['setInstanceData',['../class_nim_b_l_e_ext_advertising.html#a321fb75a0ffacedfb54da4cc00484b7c',1,'NimBLEExtAdvertising']]], - ['setinterval_738',['setInterval',['../class_nim_b_l_e_scan.html#a3f3e30d8b79aeb4d64af10d5f9d33788',1,'NimBLEScan']]], - ['setkeysize_739',['setKeySize',['../class_nim_b_l_e_security.html#ab2be50284a325ec8937abdab0baafd4b',1,'NimBLESecurity']]], - ['setlegacyadvertising_740',['setLegacyAdvertising',['../class_nim_b_l_e_ext_advertisement.html#a6a0bcbde65ccb9e49aa93d31514c8225',1,'NimBLEExtAdvertisement']]], - ['setlimitedonly_741',['setLimitedOnly',['../class_nim_b_l_e_scan.html#a77483be2bd9dad08322cc64f4e7012c1',1,'NimBLEScan']]], - ['setmajor_742',['setMajor',['../class_nim_b_l_e_beacon.html#abef1334108f8049832da7fffb56f6eea',1,'NimBLEBeacon']]], - ['setmanufacturerdata_743',['setManufacturerData',['../class_nim_b_l_e_advertisement_data.html#aa4df88b578782cda2bd77368b50f2d27',1,'NimBLEAdvertisementData::setManufacturerData()'],['../class_nim_b_l_e_advertising.html#a1eff592870a47b0f62b0f0894efadbd4',1,'NimBLEAdvertising::setManufacturerData()'],['../class_nim_b_l_e_ext_advertisement.html#a5e90a75173354fe9c6959004eb43b20a',1,'NimBLEExtAdvertisement::setManufacturerData()']]], - ['setmanufacturerid_744',['setManufacturerId',['../class_nim_b_l_e_beacon.html#a1ec99fe7684181e7b899cd763f9b44d9',1,'NimBLEBeacon']]], - ['setmaxinterval_745',['setMaxInterval',['../class_nim_b_l_e_ext_advertisement.html#a4c339022b5523d20cc7fa956c5dbe1be',1,'NimBLEExtAdvertisement::setMaxInterval()'],['../class_nim_b_l_e_advertising.html#aab512576d8873fbbb631bac8ada19530',1,'NimBLEAdvertising::setMaxInterval(uint16_t maxinterval)']]], - ['setmaxpreferred_746',['setMaxPreferred',['../class_nim_b_l_e_advertising.html#a3382cdf80f5ae46a52e3b9159f8e1b66',1,'NimBLEAdvertising']]], - ['setmaxresults_747',['setMaxResults',['../class_nim_b_l_e_scan.html#aad9cd2462d00d7c0fa39d095aa2d8e81',1,'NimBLEScan']]], - ['setmininterval_748',['setMinInterval',['../class_nim_b_l_e_advertising.html#a16bd135cab3f06bc0ba81c2aec19cbbc',1,'NimBLEAdvertising::setMinInterval()'],['../class_nim_b_l_e_ext_advertisement.html#ae9777a0c544be6c674f4e39d56e930b8',1,'NimBLEExtAdvertisement::setMinInterval()']]], - ['setminor_749',['setMinor',['../class_nim_b_l_e_beacon.html#a44d03b0c2b1bea3bee8f15feeb73fb8e',1,'NimBLEBeacon']]], - ['setminpreferred_750',['setMinPreferred',['../class_nim_b_l_e_advertising.html#a3bc158da1f732361df69cf16ca1cfd42',1,'NimBLEAdvertising']]], - ['setmtu_751',['setMTU',['../class_nim_b_l_e_device.html#a7d8203040611e3f82bf4848a9b371e98',1,'NimBLEDevice']]], - ['setname_752',['setName',['../class_nim_b_l_e_advertising.html#add2ecd09877d7e4548b11ec7cb8c7a47',1,'NimBLEAdvertising::setName()'],['../class_nim_b_l_e_ext_advertisement.html#a7d7d57268d7c54fe5492e92bc7af33d8',1,'NimBLEExtAdvertisement::setName()'],['../class_nim_b_l_e_advertisement_data.html#a885b4ed75dd71c4c19b86048c16350bf',1,'NimBLEAdvertisementData::setName()']]], - ['setnamespace_753',['setNamespace',['../class_nim_b_l_e2904.html#a2206274c217d43a8ba121e1d279f8962',1,'NimBLE2904']]], - ['setpartialservices_754',['setPartialServices',['../class_nim_b_l_e_advertisement_data.html#af52546d7c3b733a831f6232a845bef85',1,'NimBLEAdvertisementData::setPartialServices()'],['../class_nim_b_l_e_ext_advertisement.html#ab76aa4b9fb743e5269cfbbae8215d8a8',1,'NimBLEExtAdvertisement::setPartialServices()']]], - ['setpartialservices16_755',['setPartialServices16',['../class_nim_b_l_e_advertisement_data.html#a50063c7ffa24f0f0407366a450e23ae4',1,'NimBLEAdvertisementData::setPartialServices16()'],['../class_nim_b_l_e_ext_advertisement.html#a747ef73a02df72709cf9bd89aabc08b3',1,'NimBLEExtAdvertisement::setPartialServices16()']]], - ['setpartialservices32_756',['setPartialServices32',['../class_nim_b_l_e_advertisement_data.html#a0ff5a72bccd349e551270ceadf528306',1,'NimBLEAdvertisementData::setPartialServices32()'],['../class_nim_b_l_e_ext_advertisement.html#ad3bd08736cc70700c00432ec9ccfe94d',1,'NimBLEExtAdvertisement::setPartialServices32()']]], - ['setpeeraddress_757',['setPeerAddress',['../class_nim_b_l_e_client.html#a93b5b7c01e58a95dcea335f837d81d07',1,'NimBLEClient']]], - ['setpower_758',['setPower',['../class_nim_b_l_e_eddystone_u_r_l.html#a8038c895e8da7c7ac861557ea0a9d91b',1,'NimBLEEddystoneURL']]], - ['setpreferredparams_759',['setPreferredParams',['../class_nim_b_l_e_advertisement_data.html#a58ba06eb062a47cc58ba2829af8aafa5',1,'NimBLEAdvertisementData::setPreferredParams()'],['../class_nim_b_l_e_ext_advertisement.html#abb66ffe5783f91f03301fc705701569f',1,'NimBLEExtAdvertisement::setPreferredParams(uint16_t min, uint16_t max)']]], - ['setprimarychannels_760',['setPrimaryChannels',['../class_nim_b_l_e_ext_advertisement.html#ab6103c5e86949d0e334101353b109775',1,'NimBLEExtAdvertisement']]], - ['setprimaryphy_761',['setPrimaryPhy',['../class_nim_b_l_e_ext_advertisement.html#ad8522542b90067e3a53076823d2087c3',1,'NimBLEExtAdvertisement']]], - ['setproximityuuid_762',['setProximityUUID',['../class_nim_b_l_e_beacon.html#a7f33ffc298285d1ab02088b2584f2256',1,'NimBLEBeacon']]], - ['setrespencryptionkey_763',['setRespEncryptionKey',['../class_nim_b_l_e_security.html#aac8434faa02a6813b7efd87224e04714',1,'NimBLESecurity']]], - ['setscanfilter_764',['setScanFilter',['../class_nim_b_l_e_advertising.html#aa3da80c7d17a7824484ee254076e4790',1,'NimBLEAdvertising::setScanFilter()'],['../class_nim_b_l_e_ext_advertisement.html#a24034d49c9ebadd947db1ef839c8b138',1,'NimBLEExtAdvertisement::setScanFilter(bool scanRequestWhitelistOnly, bool connectWhitelistOnly)']]], - ['setscannable_765',['setScannable',['../class_nim_b_l_e_ext_advertisement.html#a07b1589ad58a9e09b6ba7269fec87df0',1,'NimBLEExtAdvertisement']]], - ['setscanresponse_766',['setScanResponse',['../class_nim_b_l_e_advertising.html#a6fb4d9ad3949928ac83d3e74857ab91f',1,'NimBLEAdvertising']]], - ['setscanresponsedata_767',['setScanResponseData',['../class_nim_b_l_e_advertising.html#a04a51a0c639a70295a9b671f73b34358',1,'NimBLEAdvertising::setScanResponseData()'],['../class_nim_b_l_e_ext_advertising.html#a9395a0087e96329591ed2515cc21456b',1,'NimBLEExtAdvertising::setScanResponseData()']]], - ['setsecondaryphy_768',['setSecondaryPhy',['../class_nim_b_l_e_ext_advertisement.html#aaa47ca630ab01d75bdea8d252d10b506',1,'NimBLEExtAdvertisement']]], - ['setsecurityauth_769',['setSecurityAuth',['../class_nim_b_l_e_device.html#aa8e340c02418771ce72dec758d560938',1,'NimBLEDevice::setSecurityAuth(bool bonding, bool mitm, bool sc)'],['../class_nim_b_l_e_device.html#a2f10da171794581870d678fc947a5d1f',1,'NimBLEDevice::setSecurityAuth(uint8_t auth_req)']]], - ['setsecuritycallbacks_770',['setSecurityCallbacks',['../class_nim_b_l_e_device.html#a7d44bb960c0bb1bec02a33369c693085',1,'NimBLEDevice']]], - ['setsecurityinitkey_771',['setSecurityInitKey',['../class_nim_b_l_e_device.html#a92d36c3a34d9474fa1d7f66c0e477d1e',1,'NimBLEDevice']]], - ['setsecurityiocap_772',['setSecurityIOCap',['../class_nim_b_l_e_device.html#ab9fee9e810d5fa18bc8a37053eb9b5d0',1,'NimBLEDevice']]], - ['setsecuritypasskey_773',['setSecurityPasskey',['../class_nim_b_l_e_device.html#a84631f6d657fb6bd39722560fa229d35',1,'NimBLEDevice']]], - ['setsecurityrespkey_774',['setSecurityRespKey',['../class_nim_b_l_e_device.html#a57f0d4db1cc564176b23e860fce13f6a',1,'NimBLEDevice']]], - ['setservicedata_775',['setServiceData',['../class_nim_b_l_e_advertisement_data.html#aee4fdb5af06fcda9cab9fad3f5bf80d5',1,'NimBLEAdvertisementData::setServiceData()'],['../class_nim_b_l_e_advertising.html#a994e43e9e4ace6ce64c57e57d0575781',1,'NimBLEAdvertising::setServiceData()'],['../class_nim_b_l_e_ext_advertisement.html#a1a4fd6883b11c339e397fc52f75c9ebb',1,'NimBLEExtAdvertisement::setServiceData()']]], - ['setshortname_776',['setShortName',['../class_nim_b_l_e_advertisement_data.html#ae5b514ad9be6552727f1c7a744a29ae5',1,'NimBLEAdvertisementData::setShortName()'],['../class_nim_b_l_e_ext_advertisement.html#a6220b378a1f2361c6dc76ba125936c51',1,'NimBLEExtAdvertisement::setShortName()']]], - ['setsignalpower_777',['setSignalPower',['../class_nim_b_l_e_beacon.html#ae2dd8cd367260dd8374309576457cec0',1,'NimBLEBeacon']]], - ['setstaticpin_778',['setStaticPIN',['../class_nim_b_l_e_security.html#a0bb1535e1b0d48566c17f681b7539f82',1,'NimBLESecurity']]], - ['settemp_779',['setTemp',['../class_nim_b_l_e_eddystone_t_l_m.html#a8e8ee8fff10730089a370f9da7b6a691',1,'NimBLEEddystoneTLM']]], - ['settime_780',['setTime',['../class_nim_b_l_e_eddystone_t_l_m.html#a999d53f4bad59c2ebc688403f66474b1',1,'NimBLEEddystoneTLM']]], - ['settxpower_781',['setTxPower',['../class_nim_b_l_e_ext_advertisement.html#a63c2f5900752edad428304c5342b8458',1,'NimBLEExtAdvertisement']]], - ['setunit_782',['setUnit',['../class_nim_b_l_e2904.html#ad0cf78a2a1c3418be9a39beaa0c826ee',1,'NimBLE2904']]], - ['seturi_783',['setURI',['../class_nim_b_l_e_advertisement_data.html#aa003bc4cf9bff2b2bcac9b742ec97a36',1,'NimBLEAdvertisementData::setURI()'],['../class_nim_b_l_e_advertising.html#a6495d7c9ad80a8c2a5edf974705f8103',1,'NimBLEAdvertising::setURI()'],['../class_nim_b_l_e_ext_advertisement.html#af25522e956cfeb64bd6beca881d8786e',1,'NimBLEExtAdvertisement::setURI()']]], - ['seturl_784',['setURL',['../class_nim_b_l_e_eddystone_u_r_l.html#a8102533ff1e7b6527ea744279f8f64ca',1,'NimBLEEddystoneURL']]], - ['setuuid_785',['setUUID',['../class_nim_b_l_e_eddystone_u_r_l.html#af183e8483ae81fff65d909e67986fcad',1,'NimBLEEddystoneURL::setUUID()'],['../class_nim_b_l_e_eddystone_t_l_m.html#a49fdfb7c2edf2ae92f69856ec0ce4291',1,'NimBLEEddystoneTLM::setUUID()']]], - ['setvalue_786',['setValue',['../class_nim_b_l_e_descriptor.html#a644f739b6621702856be8db93035e9a0',1,'NimBLEDescriptor::setValue()'],['../class_nim_b_l_e_remote_service.html#a4bb8c7c85580d86fd9ab7be5c3933b72',1,'NimBLERemoteService::setValue()'],['../class_nim_b_l_e_descriptor.html#a9136cc9e4b41110b3dd99d1c9553a477',1,'NimBLEDescriptor::setValue(const T &s)'],['../class_nim_b_l_e_descriptor.html#a9447cee9092dc516266f7764131ba923',1,'NimBLEDescriptor::setValue(const uint8_t *data, size_t size)'],['../class_nim_b_l_e_client.html#a967d0c75083706f336f2283eac6d0de2',1,'NimBLEClient::setValue()'],['../class_nim_b_l_e_characteristic.html#aba05898f446e31222fbe509fa357c730',1,'NimBLECharacteristic::setValue(const T &s)'],['../class_nim_b_l_e_characteristic.html#a9daeb13599265cb0f8ea94b7ac4ef053',1,'NimBLECharacteristic::setValue(const std::vector< uint8_t > &vec)'],['../class_nim_b_l_e_characteristic.html#a7cd211a8bb9a0c2ffaed57f2af273677',1,'NimBLECharacteristic::setValue(const uint8_t *data, size_t size)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#ac94a41f0c0d42d48b29d5b18d7ad7bd8',1,'NimBLEAttValue::setValue(const T &s)'],['../class_nim_b_l_e_att_value.html#a9c0f67d150d198c5bcad6eafafee21b6',1,'NimBLEAttValue::setValue(const char *s)'],['../class_nim_b_l_e_att_value.html#a5c8c5ecfa3864d45ea5b155385e3f9fa',1,'NimBLEAttValue::setValue(const uint8_t *value, uint16_t len)']]], - ['setversion_787',['setVersion',['../class_nim_b_l_e_eddystone_t_l_m.html#a205e0e2efc09c4c5043f11aeddee4d63',1,'NimBLEEddystoneTLM']]], - ['setvolt_788',['setVolt',['../class_nim_b_l_e_eddystone_t_l_m.html#ad69af8fe47502d922203916357f6c206',1,'NimBLEEddystoneTLM']]], - ['setwindow_789',['setWindow',['../class_nim_b_l_e_scan.html#ac2e8c921413f1ad217f45fecf63c0d22',1,'NimBLEScan']]], - ['size_790',['size',['../class_nim_b_l_e_att_value.html#aa8c75101d9898c3ff4646d84521ed61c',1,'NimBLEAttValue']]], - ['start_791',['start',['../class_nim_b_l_e_scan.html#a21b1e27816717b77533755f31dfaa820',1,'NimBLEScan::start()'],['../class_nim_b_l_e_service.html#ad37324ed0404d596923d6fdc0133b985',1,'NimBLEService::start()'],['../class_nim_b_l_e_server.html#ae94ad52f3c97f62553af9765acdb7bcb',1,'NimBLEServer::start()'],['../class_nim_b_l_e_ext_advertising.html#a8044a281a37f4d7c96166ce6f0851159',1,'NimBLEExtAdvertising::start()'],['../class_nim_b_l_e_advertising.html#aeeee5a131b42a4f76010751f4c182e4f',1,'NimBLEAdvertising::start()'],['../class_nim_b_l_e_scan.html#a8459a1c69476fcdfd6370a1d10e0e159',1,'NimBLEScan::start()']]], - ['startadvertising_792',['startAdvertising',['../class_nim_b_l_e_device.html#aea8d74a45689590e965db210c7648e5a',1,'NimBLEDevice::startAdvertising(uint8_t inst_id, int duration=0, int max_events=0)'],['../class_nim_b_l_e_device.html#ad652f03bc10a469b26c5f9c213f005dd',1,'NimBLEDevice::startAdvertising()'],['../class_nim_b_l_e_server.html#a8f4b6c2fc5602f5ec34f963df6a21f75',1,'NimBLEServer::startAdvertising(uint8_t inst_id, int duration=0, int max_events=0)'],['../class_nim_b_l_e_server.html#adb1e37c174a5b62f6fd674376fac99d0',1,'NimBLEServer::startAdvertising()']]], - ['startsecurity_793',['startSecurity',['../class_nim_b_l_e_device.html#a339157bf3d8fc712fa838e9a5127cc62',1,'NimBLEDevice']]], - ['startservices_794',['startServices',['../class_nim_b_l_e_h_i_d_device.html#a5984042cd05ea4ead895f5577133a235',1,'NimBLEHIDDevice']]], - ['stop_795',['stop',['../class_nim_b_l_e_advertising.html#a3ab772936ace18c9a7e509740aa59800',1,'NimBLEAdvertising::stop()'],['../class_nim_b_l_e_scan.html#a68fa5cc715f62a9a97ac0dccfb8557c1',1,'NimBLEScan::stop()'],['../class_nim_b_l_e_ext_advertising.html#a3ea2e93f8c3ce4498d30e4dac7b29109',1,'NimBLEExtAdvertising::stop()'],['../class_nim_b_l_e_ext_advertising.html#a02b4e33908456341fb98753d51316609',1,'NimBLEExtAdvertising::stop(uint8_t inst_id)']]], - ['stopadvertising_796',['stopAdvertising',['../class_nim_b_l_e_device.html#a3be45b458aada9b37019e43840ef7275',1,'NimBLEDevice::stopAdvertising(uint8_t inst_id)'],['../class_nim_b_l_e_device.html#a3c251b1d5c651ab9ef9b4819f79c1629',1,'NimBLEDevice::stopAdvertising()'],['../class_nim_b_l_e_server.html#af827ef8988c1584795447a634502f0df',1,'NimBLEServer::stopAdvertising(uint8_t inst_id)'],['../class_nim_b_l_e_server.html#a7a4c114b572675e82700604db29e6e25',1,'NimBLEServer::stopAdvertising()']]], - ['subscribe_797',['subscribe',['../class_nim_b_l_e_remote_characteristic.html#aa08b2f62376568e1fc833e4ff91e8aa7',1,'NimBLERemoteCharacteristic']]] + ['taskrelease_0',['taskRelease',['../class_nim_b_l_e_utils.html#a7b2de1e3827f9f6750550623dc6d9288',1,'NimBLEUtils']]], + ['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_u_u_i_d.html#a9708e07b8e0915aafcfa32fe74ccdf64',1,'NimBLEUUID::toString()'],['../class_nim_b_l_e_service.html#a819ff207ef7c30f59887af277aa09ce9',1,'NimBLEService::toString()'],['../class_nim_b_l_e_remote_service.html#a347e848039121cbf3005349f9aa50680',1,'NimBLERemoteService::toString()'],['../class_nim_b_l_e_remote_descriptor.html#aeea50cff665118bfa5ac755934755735',1,'NimBLERemoteDescriptor::toString()'],['../class_nim_b_l_e_remote_characteristic.html#ad77a00c64a83dd58e985e3bbefd87ce2',1,'NimBLERemoteCharacteristic::toString()'],['../class_nim_b_l_e_ext_advertisement.html#a54d2bb1e314a975643bcd7d038f1c164',1,'NimBLEExtAdvertisement::toString()'],['../class_nim_b_l_e_eddystone_t_l_m.html#a970ba10424567d17c961ed3b3ef83d8e',1,'NimBLEEddystoneTLM::toString()'],['../class_nim_b_l_e_device.html#abf8c494b54d9f0c9466c80f25dbdd961',1,'NimBLEDevice::toString()'],['../class_nim_b_l_e_descriptor.html#a83b589a2022bbd86743b0ee4c3670a37',1,'NimBLEDescriptor::toString()'],['../class_nim_b_l_e_client.html#a8ead2efdfdf23db4f7847a133939cd75',1,'NimBLEClient::toString()'],['../class_nim_b_l_e_characteristic.html#afd70c1d2f95f78e01dbdb92cd009559a',1,'NimBLECharacteristic::toString()'],['../class_nim_b_l_e_advertisement_data.html#a6ff7fc36a9f5966792f354d2586714a6',1,'NimBLEAdvertisementData::toString()'],['../class_nim_b_l_e_advertised_device.html#ad46b9300d435e3d20997fbafa5305148',1,'NimBLEAdvertisedDevice::toString()'],['../class_nim_b_l_e_address.html#ac53b0cc945e1505d3e72d48164ad01d6',1,'NimBLEAddress::toString()']]] ]; diff --git a/search/mag.svg b/search/mag.svg new file mode 100644 index 0000000..ffb6cf0 --- /dev/null +++ b/search/mag.svg @@ -0,0 +1,24 @@ + + + + + + + diff --git a/search/mag_d.svg b/search/mag_d.svg new file mode 100644 index 0000000..4122773 --- /dev/null +++ b/search/mag_d.svg @@ -0,0 +1,24 @@ + + + + + + + diff --git a/search/mag_sel.svg b/search/mag_sel.svg index 03626f6..553dba8 100644 --- a/search/mag_sel.svg +++ b/search/mag_sel.svg @@ -1,59 +1,17 @@ - + - - - - image/svg+xml - - - - - + > - + /> + /> diff --git a/search/mag_seld.svg b/search/mag_seld.svg new file mode 100644 index 0000000..c906f84 --- /dev/null +++ b/search/mag_seld.svg @@ -0,0 +1,31 @@ + + + + + + + + + diff --git a/search/nomatches.html b/search/nomatches.html deleted file mode 100644 index 2b9360b..0000000 --- a/search/nomatches.html +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - -
    -
    No Matches
    -
    - - diff --git a/search/pages_0.html b/search/pages_0.html deleted file mode 100644 index 8517b48..0000000 --- a/search/pages_0.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_0.js b/search/pages_0.js index eb82496..2bdb453 100644 --- a/search/pages_0.js +++ b/search/pages_0.js @@ -1,4 +1,4 @@ var searchData= [ - ['bluetooth_205_2ex_20features_835',['Bluetooth 5.x features',['../md__bluetooth_5_features.html',1,'']]] + ['1_20x_20to_202_20x_0',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]] ]; diff --git a/search/pages_1.html b/search/pages_1.html deleted file mode 100644 index a0fb679..0000000 --- a/search/pages_1.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_1.js b/search/pages_1.js index 8e2c972..1d806a2 100644 --- a/search/pages_1.js +++ b/search/pages_1.js @@ -1,4 +1,4 @@ var searchData= [ - ['changelog_836',['Changelog',['../md__github_workspace__c_h_a_n_g_e_l_o_g.html',1,'']]] + ['2_20x_0',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]] ]; diff --git a/search/pages_2.html b/search/pages_2.html deleted file mode 100644 index 084edfd..0000000 --- a/search/pages_2.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_2.js b/search/pages_2.js index ec4c44b..2d3080b 100644 --- a/search/pages_2.js +++ b/search/pages_2.js @@ -1,4 +1,4 @@ var searchData= [ - ['deprecated_20list_837',['Deprecated List',['../deprecated.html',1,'']]] + ['5_20x_20features_0',['Bluetooth 5.x features',['../md__bluetooth_015_01features.html',1,'']]] ]; diff --git a/search/pages_3.html b/search/pages_3.html deleted file mode 100644 index c0b45b0..0000000 --- a/search/pages_3.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_3.js b/search/pages_3.js index 377591c..af44041 100644 --- a/search/pages_3.js +++ b/search/pages_3.js @@ -1,4 +1,5 @@ var searchData= [ - ['improvements_20and_20updates_838',['Improvements and updates',['../md__improvements_and_updates.html',1,'']]] + ['bluedroid_20to_20nimble_0',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]], + ['bluetooth_205_20x_20features_1',['Bluetooth 5.x features',['../md__bluetooth_015_01features.html',1,'']]] ]; diff --git a/search/pages_4.html b/search/pages_4.html deleted file mode 100644 index 0f05c2e..0000000 --- a/search/pages_4.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_4.js b/search/pages_4.js index 8d436ef..ae78694 100644 --- a/search/pages_4.js +++ b/search/pages_4.js @@ -1,4 +1,4 @@ var searchData= [ - ['migrating_20from_20bluedroid_20to_20nimble_839',['Migrating from Bluedroid to NimBLE',['../md__migration_guide.html',1,'']]] + ['changelog_0',['Changelog',['../md__2github_2workspace_2_c_h_a_n_g_e_l_o_g.html',1,'']]] ]; diff --git a/search/pages_5.html b/search/pages_5.html deleted file mode 100644 index 27e2b6c..0000000 --- a/search/pages_5.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_5.js b/search/pages_5.js index 87e8f2b..4d85845 100644 --- a/search/pages_5.js +++ b/search/pages_5.js @@ -1,4 +1,4 @@ var searchData= [ - ['new_20user_20guide_840',['New User Guide',['../md__new_user_guide.html',1,'']]] + ['deprecated_20list_0',['Deprecated List',['../deprecated.html',1,'']]] ]; diff --git a/search/pages_6.html b/search/pages_6.html deleted file mode 100644 index 39300b6..0000000 --- a/search/pages_6.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_6.js b/search/pages_6.js index 5baea6a..c803c21 100644 --- a/search/pages_6.js +++ b/search/pages_6.js @@ -1,4 +1,6 @@ var searchData= [ - ['overview_841',['Overview',['../index.html',1,'']]] + ['features_0',['Bluetooth 5.x features',['../md__bluetooth_015_01features.html',1,'']]], + ['from_201_20x_20to_202_20x_1',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['from_20bluedroid_20to_20nimble_2',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]] ]; diff --git a/search/pages_7.html b/search/pages_7.html deleted file mode 100644 index c005fe5..0000000 --- a/search/pages_7.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_7.js b/search/pages_7.js index b92ca3a..cd03363 100644 --- a/search/pages_7.js +++ b/search/pages_7.js @@ -1,4 +1,4 @@ var searchData= [ - ['todo_20list_842',['Todo List',['../todo.html',1,'']]] + ['guide_0',['New User Guide',['../md__new__user__guide.html',1,'']]] ]; diff --git a/search/pages_8.html b/search/pages_8.html deleted file mode 100644 index c942aa2..0000000 --- a/search/pages_8.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - -
    -
    Loading...
    -
    - -
    Searching...
    -
    No Matches
    - -
    - - diff --git a/search/pages_8.js b/search/pages_8.js index 6ec58ee..1ad91e3 100644 --- a/search/pages_8.js +++ b/search/pages_8.js @@ -1,4 +1,4 @@ var searchData= [ - ['usage_20tips_843',['Usage Tips',['../md__usage_tips.html',1,'']]] + ['list_0',['Deprecated List',['../deprecated.html',1,'']]] ]; diff --git a/search/pages_9.js b/search/pages_9.js new file mode 100644 index 0000000..dbe418d --- /dev/null +++ b/search/pages_9.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['migrating_20from_201_20x_20to_202_20x_0',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['migrating_20from_20bluedroid_20to_20nimble_1',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]] +]; diff --git a/search/pages_a.js b/search/pages_a.js new file mode 100644 index 0000000..72aed35 --- /dev/null +++ b/search/pages_a.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['new_20user_20guide_0',['New User Guide',['../md__new__user__guide.html',1,'']]], + ['nimble_1',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]] +]; diff --git a/search/pages_b.js b/search/pages_b.js new file mode 100644 index 0000000..0398f4f --- /dev/null +++ b/search/pages_b.js @@ -0,0 +1,4 @@ +var searchData= +[ + ['overview_0',['Overview',['../index.html',1,'']]] +]; diff --git a/search/pages_c.js b/search/pages_c.js new file mode 100644 index 0000000..dd1398a --- /dev/null +++ b/search/pages_c.js @@ -0,0 +1,6 @@ +var searchData= +[ + ['tips_0',['Usage Tips',['../md__usage__tips.html',1,'']]], + ['to_202_20x_1',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]], + ['to_20nimble_2',['Migrating from Bluedroid to NimBLE',['../md__migration__guide.html',1,'']]] +]; diff --git a/search/pages_d.js b/search/pages_d.js new file mode 100644 index 0000000..56ae90a --- /dev/null +++ b/search/pages_d.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['usage_20tips_0',['Usage Tips',['../md__usage__tips.html',1,'']]], + ['user_20guide_1',['New User Guide',['../md__new__user__guide.html',1,'']]] +]; diff --git a/search/pages_e.js b/search/pages_e.js new file mode 100644 index 0000000..30568ae --- /dev/null +++ b/search/pages_e.js @@ -0,0 +1,5 @@ +var searchData= +[ + ['x_20features_0',['Bluetooth 5.x features',['../md__bluetooth_015_01features.html',1,'']]], + ['x_20to_202_20x_1',['Migrating from 1.x to 2.x',['../md_1_8x__to2_8x__migration__guide.html',1,'']]] +]; diff --git a/search/search.css b/search/search.css index 9074198..19f76f9 100644 --- a/search/search.css +++ b/search/search.css @@ -1,10 +1,33 @@ -/*---------------- Search Box */ +/*---------------- Search Box positioning */ + +#main-menu > li:last-child { + /* This
  • object is the parent of the search bar */ + display: flex; + justify-content: center; + align-items: center; + height: 36px; + margin-right: 1em; +} + +/*---------------- Search box styling */ + +.SRPage * { + font-weight: normal; + line-height: normal; +} + +dark-mode-toggle { + margin-left: 5px; + display: flex; + float: right; +} #MSearchBox { + display: inline-block; white-space : nowrap; - background: white; + background: var(--search-background-color); border-radius: 0.65em; - box-shadow: inset 0.5px 0.5px 3px 0px #555; + box-shadow: var(--search-box-shadow); z-index: 102; } @@ -17,28 +40,47 @@ #MSearchSelect { display: inline-block; vertical-align: middle; - height: 1.4em; - padding: 0 0 0 0.3em; - margin: 0; + width: 20px; + height: 19px; + background-image: var(--search-magnification-select-image); + margin: 0 0 0 0.3em; + padding: 0; } +#MSearchSelectExt { + display: inline-block; + vertical-align: middle; + width: 10px; + height: 19px; + background-image: var(--search-magnification-image); + margin: 0 0 0 0.5em; + padding: 0; +} + + #MSearchField { display: inline-block; vertical-align: middle; width: 7.5em; - height: 1.1em; + height: 19px; margin: 0 0.15em; padding: 0; line-height: 1em; border:none; - color: #909090; + color: var(--search-foreground-color); outline: none; - font-family: Arial, Verdana, sans-serif; + font-family: var(--font-family-search); -webkit-border-radius: 0px; border-radius: 0px; background: none; } +@media(hover: none) { + /* to avoid zooming on iOS */ + #MSearchField { + font-size: 16px; + } +} #MSearchBox .right { display: inline-block; @@ -59,23 +101,15 @@ } #MSearchCloseImg { - height: 1.4em; padding: 0.3em; margin: 0; } .MSearchBoxActive #MSearchField { - color: #000000; + color: var(--search-active-color); } -#main-menu > li:last-child { - /* This
  • object is the parent of the search bar */ - display: flex; - justify-content: center; - align-items: center; - height: 36px; - margin-right: 1em; -} + /*---------------- Search filter selection */ @@ -83,8 +117,8 @@ display: none; position: absolute; left: 0; top: 0; - border: 1px solid #90A5CE; - background-color: #F9FAFC; + border: 1px solid var(--search-filter-border-color); + background-color: var(--search-filter-background-color); z-index: 10001; padding-top: 4px; padding-bottom: 4px; @@ -97,7 +131,7 @@ } .SelectItem { - font: 8pt Arial, Verdana, sans-serif; + font: 8pt var(--font-family-search); padding-left: 2px; padding-right: 12px; border: 0px; @@ -105,7 +139,7 @@ span.SelectionMark { margin-right: 4px; - font-family: monospace; + font-family: var(--font-family-monospace); outline-style: none; text-decoration: none; } @@ -113,7 +147,7 @@ span.SelectionMark { a.SelectItem { display: block; outline-style: none; - color: #000000; + color: var(--search-filter-foreground-color); text-decoration: none; padding-left: 6px; padding-right: 12px; @@ -121,14 +155,14 @@ a.SelectItem { a.SelectItem:focus, a.SelectItem:active { - color: #000000; + color: var(--search-filter-foreground-color); outline-style: none; text-decoration: none; } a.SelectItem:hover { - color: #FFFFFF; - background-color: #3D578C; + color: var(--search-filter-highlight-text-color); + background-color: var(--search-filter-highlight-bg-color); outline-style: none; text-decoration: none; cursor: pointer; @@ -138,7 +172,7 @@ a.SelectItem:hover { /*---------------- Search results window */ iframe#MSearchResults { - width: 60ex; + /*width: 60ex;*/ height: 15em; } @@ -146,9 +180,12 @@ iframe#MSearchResults { display: none; position: absolute; left: 0; top: 0; - border: 1px solid #000; - background-color: #EEF1F7; + border: 1px solid var(--search-results-border-color); + background-color: var(--search-results-background-color); z-index:10000; + width: 300px; + height: 400px; + overflow: auto; } /* ----------------------------------- */ @@ -156,7 +193,6 @@ iframe#MSearchResults { #SRIndex { clear:both; - padding-bottom: 15px; } .SREntry { @@ -169,8 +205,9 @@ iframe#MSearchResults { padding: 1px 5px; } -body.SRPage { +div.SRPage { margin: 5px 2px; + background-color: var(--search-results-background-color); } .SRChildren { @@ -182,17 +219,18 @@ body.SRPage { } .SRSymbol { - font-weight: bold; - color: #425E97; - font-family: Arial, Verdana, sans-serif; + font-weight: bold; + color: var(--search-results-foreground-color); + font-family: var(--font-family-search); text-decoration: none; outline: none; } a.SRScope { display: block; - color: #425E97; - font-family: Arial, Verdana, sans-serif; + color: var(--search-results-foreground-color); + font-family: var(--font-family-search); + font-size: 8pt; text-decoration: none; outline: none; } @@ -204,14 +242,14 @@ a.SRScope:focus, a.SRScope:active { span.SRScope { padding-left: 4px; - font-family: Arial, Verdana, sans-serif; + font-family: var(--font-family-search); } .SRPage .SRStatus { padding: 2px 5px; font-size: 8pt; font-style: italic; - font-family: Arial, Verdana, sans-serif; + font-family: var(--font-family-search); } .SRResult { @@ -225,14 +263,10 @@ div.searchresults { /*---------------- External search page results */ -.searchresult { - background-color: #F0F3F8; -} - .pages b { color: white; padding: 5px 5px 3px 5px; - background-image: url("../tab_a.png"); + background-image: var(--nav-gradient-active-image-parent); background-repeat: repeat-x; text-shadow: 0 1px 1px #000000; } diff --git a/search/search.js b/search/search.js index fb226f7..6fd40c6 100644 --- a/search/search.js +++ b/search/search.js @@ -73,6 +73,8 @@ function getYPos(item) return y; } +var searchResults = new SearchResults("searchResults"); + /* A class handling everything associated with the search panel. Parameters: @@ -80,7 +82,7 @@ function getYPos(item) storing this instance. Is needed to be able to set timeouts. resultPath - path to use for external files */ -function SearchBox(name, resultsPath, inFrame, label, extension) +function SearchBox(name, resultsPath, extension) { if (!name || !resultsPath) { alert("Missing parameters to SearchBox."); } if (!extension || extension == "") { extension = ".html"; } @@ -96,8 +98,6 @@ function SearchBox(name, resultsPath, inFrame, label, extension) this.hideTimeout = 0; this.searchIndex = 0; this.searchActive = false; - this.insideFrame = inFrame; - this.searchLabel = label; this.extension = extension; // ----------- DOM Elements @@ -136,30 +136,14 @@ function SearchBox(name, resultsPath, inFrame, label, extension) var searchSelectWindow = this.DOMSearchSelectWindow(); var searchField = this.DOMSearchSelect(); - if (this.insideFrame) - { - var left = getXPos(searchField); - var top = getYPos(searchField); - left += searchField.offsetWidth + 6; - top += searchField.offsetHeight; + var left = getXPos(searchField); + var top = getYPos(searchField); + top += searchField.offsetHeight; - // show search selection popup - searchSelectWindow.style.display='block'; - left -= searchSelectWindow.offsetWidth; - searchSelectWindow.style.left = left + 'px'; - searchSelectWindow.style.top = top + 'px'; - } - else - { - var left = getXPos(searchField); - var top = getYPos(searchField); - top += searchField.offsetHeight; - - // show search selection popup - searchSelectWindow.style.display='block'; - searchSelectWindow.style.left = left + 'px'; - searchSelectWindow.style.top = top + 'px'; - } + // show search selection popup + searchSelectWindow.style.display='block'; + searchSelectWindow.style.left = left + 'px'; + searchSelectWindow.style.top = top + 'px'; // stop selection hide timer if (this.hideTimeout) @@ -172,7 +156,7 @@ function SearchBox(name, resultsPath, inFrame, label, extension) this.OnSearchSelectHide = function() { - this.hideTimeout = setTimeout(this.name +".CloseSelectionWindow()", + this.hideTimeout = setTimeout(this.CloseSelectionWindow.bind(this), this.closeSelectionTimeout); } @@ -205,11 +189,13 @@ function SearchBox(name, resultsPath, inFrame, label, extension) } else { - window.frames.MSearchResults.postMessage("take_focus", "*"); + var elem = searchResults.NavNext(0); + if (elem) elem.focus(); } } else if (e.keyCode==27) // Escape out of the search field { + e.stopPropagation(); this.DOMSearchField().blur(); this.DOMPopupSearchResultsWindow().style.display = 'none'; this.DOMSearchClose().style.display = 'none'; @@ -226,7 +212,7 @@ function SearchBox(name, resultsPath, inFrame, label, extension) if (searchValue != "") // non-empty search { // set timer for search update - this.keyTimeout = setTimeout(this.name + '.Search()', + this.keyTimeout = setTimeout(this.Search.bind(this), this.keyTimeoutLength); } else // empty search field @@ -304,6 +290,7 @@ function SearchBox(name, resultsPath, inFrame, label, extension) } else if (e.keyCode==13 || e.keyCode==27) { + e.stopPropagation(); this.OnSelectItem(this.searchIndex); this.CloseSelectionWindow(); this.DOMSearchField().focus(); @@ -341,55 +328,70 @@ function SearchBox(name, resultsPath, inFrame, label, extension) idxChar = searchValue.substr(0, 2); } - var resultsPage; - var resultsPageWithSearch; - var hasResultsPage; + var jsFile; var idx = indexSectionsWithContent[this.searchIndex].indexOf(idxChar); if (idx!=-1) { var hexCode=idx.toString(16); - resultsPage = this.resultsPath + '/' + indexSectionNames[this.searchIndex] + '_' + hexCode + this.extension; - resultsPageWithSearch = resultsPage+'?'+escape(searchValue); - hasResultsPage = true; - } - else // nothing available for this search term - { - resultsPage = this.resultsPath + '/nomatches' + this.extension; - resultsPageWithSearch = resultsPage; - hasResultsPage = false; + jsFile = this.resultsPath + indexSectionNames[this.searchIndex] + '_' + hexCode + '.js'; + } + + var loadJS = function(url, impl, loc){ + var scriptTag = document.createElement('script'); + scriptTag.src = url; + scriptTag.onload = impl; + scriptTag.onreadystatechange = impl; + loc.appendChild(scriptTag); } - window.frames.MSearchResults.location = resultsPageWithSearch; var domPopupSearchResultsWindow = this.DOMPopupSearchResultsWindow(); + var domSearchBox = this.DOMSearchBox(); + var domPopupSearchResults = this.DOMPopupSearchResults(); + var domSearchClose = this.DOMSearchClose(); + var resultsPath = this.resultsPath; - if (domPopupSearchResultsWindow.style.display!='block') - { - var domSearchBox = this.DOMSearchBox(); - this.DOMSearchClose().style.display = 'inline-block'; - if (this.insideFrame) - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - domPopupSearchResultsWindow.style.position = 'relative'; - domPopupSearchResultsWindow.style.display = 'block'; - var width = document.body.clientWidth - 8; // the -8 is for IE :-( - domPopupSearchResultsWindow.style.width = width + 'px'; - domPopupSearchResults.style.width = width + 'px'; - } - else - { - var domPopupSearchResults = this.DOMPopupSearchResults(); - var left = getXPos(domSearchBox) + 150; // domSearchBox.offsetWidth; - var top = getYPos(domSearchBox) + 20; // domSearchBox.offsetHeight + 1; - domPopupSearchResultsWindow.style.display = 'block'; - left -= domPopupSearchResults.offsetWidth; - domPopupSearchResultsWindow.style.top = top + 'px'; - domPopupSearchResultsWindow.style.left = left + 'px'; - } + var handleResults = function() { + document.getElementById("Loading").style.display="none"; + if (typeof searchData !== 'undefined') { + createResults(resultsPath); + document.getElementById("NoMatches").style.display="none"; + } + + if (idx!=-1) { + searchResults.Search(searchValue); + } else { // no file with search results => force empty search results + searchResults.Search('===='); + } + + if (domPopupSearchResultsWindow.style.display!='block') + { + domSearchClose.style.display = 'inline-block'; + var left = getXPos(domSearchBox) + 150; + var top = getYPos(domSearchBox) + 20; + domPopupSearchResultsWindow.style.display = 'block'; + left -= domPopupSearchResults.offsetWidth; + var maxWidth = document.body.clientWidth; + var maxHeight = document.body.clientHeight; + var width = 300; + if (left<10) left=10; + if (width+left+8>maxWidth) width=maxWidth-left-8; + var height = 400; + if (height+top+8>maxHeight) height=maxHeight-top-8; + domPopupSearchResultsWindow.style.top = top + 'px'; + domPopupSearchResultsWindow.style.left = left + 'px'; + domPopupSearchResultsWindow.style.width = width + 'px'; + domPopupSearchResultsWindow.style.height = height + 'px'; + } + } + + if (jsFile) { + loadJS(jsFile, handleResults, this.DOMPopupSearchResultsWindow()); + } else { + handleResults(); } this.lastSearchValue = searchValue; - this.lastResultsPage = resultsPage; } // -------- Activation Functions @@ -403,22 +405,15 @@ function SearchBox(name, resultsPath, inFrame, label, extension) ) { this.DOMSearchBox().className = 'MSearchBoxActive'; - - var searchField = this.DOMSearchField(); - - if (searchField.value == this.searchLabel) // clear "Search" term upon entry - { - searchField.value = ''; - this.searchActive = true; - } + this.searchActive = true; } else if (!isActive) // directly remove the panel { this.DOMSearchBox().className = 'MSearchBoxInactive'; - this.DOMSearchField().value = this.searchLabel; this.searchActive = false; this.lastSearchValue = '' this.lastResultsPage = ''; + this.DOMSearchField().value = ''; } } } @@ -647,7 +642,7 @@ function SearchResults(name) } else // return focus to search field { - parent.document.getElementById("MSearchField").focus(); + document.getElementById("MSearchField").focus(); } } else if (this.lastKey==40) // Down @@ -677,8 +672,9 @@ function SearchResults(name) } else if (this.lastKey==27) // Escape { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); + e.stopPropagation(); + searchBox.CloseResultsWindow(); + document.getElementById("MSearchField").focus(); } else if (this.lastKey==13) // Enter { @@ -720,8 +716,9 @@ function SearchResults(name) } else if (this.lastKey==27) // Escape { - parent.searchBox.CloseResultsWindow(); - parent.document.getElementById("MSearchField").focus(); + e.stopPropagation(); + searchBox.CloseResultsWindow(); + document.getElementById("MSearchField").focus(); } else if (this.lastKey==13) // Enter { @@ -744,9 +741,10 @@ function setClassAttr(elem,attr) elem.setAttribute('className',attr); } -function createResults() +function createResults(resultsPath) { var results = document.getElementById("SRResults"); + results.innerHTML = ''; for (var e=0; e%fP_El;rL1 z!tlSn|IB^{1_sUokH}&M25w;xW@MN(M}mQYfxX1j*OmPd4?DMvp#R(O`wR?>TAnVB zAsXjbVg0nnS(2=L@r;~l zr?>pSBd5hyc0cgJos0Yb+{jy4*fpd0WYu5$q!Ohmr;-;YF461QSrMtZNG48H#U?lJ zSiF6Su&qM2PSsmhPU(j;FMrKYbe?E+w(;%Dvv>dU^|n7dzb#2W{Qh^XOWFBt>K?i-XJBAp@O1Ta JS?83{1OS@7FGc_W diff --git a/search/search_r.png b/search/search_r.png deleted file mode 100644 index 1af5d21ee13e070d7600f1c4657fde843b953a69..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 553 zcmeAS@N?(olHy`uVBq!ia0y~yU=U(pU=ZeDVPIe|pFOpbfq{V~-O<;Pfnj4m_n$;o z1_lO&WRDO zXjy3{7_xwG25(c}=Vx=p7C&ftd}p)m_oAKOg=hb``65qxj`xqKR2ILXHzXz`u_PB50j!uU5reQmC1^U6F-*NbqVxnwl4CYZLT-x zNSvlo*e92Ev-2uZw}KY1blLId-PydBQ%J)qB=l1ZgGJ+{v+Z80>V8b^YA^2!cwTx^ zWLt7+`k8etI(eUy(w;e~be~#jCR()ods?351Kq>j*LRn*-!gHkkTrXC|9w@>>EGG8 zg(|G?Jh-YNuH4O9J>il#TV>VJ{)57)t0Q(qopxh|S{Yeb8JcSw7+4t?=-NBqM$wR)pOTqYiCaTV T((iNz1_lOCS3j3^P6@VhhFKy3 z5^fiTT~&lUj3=cDh^%3HDY9k5CEku}PHXNoNC(_$U3XPb&Q*ME25pT;2(*BOgAf<+R$lzakPG`kF31()Fx{L5Wrac|GQ zzjeE=ueY1`Ze{#x<8=S|`~MgGetGce)#vN&|J{Cd^tS%;tBYTo?+^d68<#n_Y_xx` ZJ||4O@QB{^CkzY>44$rjF6*2UngCOhbJzd? literal 0 HcmV?d00001 diff --git a/class_nim_b_l_e_advertised_device_callbacks-members.html b/struct_nim_b_l_e_task_data-members.html similarity index 59% rename from class_nim_b_l_e_advertised_device_callbacks-members.html rename to struct_nim_b_l_e_task_data-members.html index b37dbc9..707bf94 100644 --- a/class_nim_b_l_e_advertised_device_callbacks-members.html +++ b/struct_nim_b_l_e_task_data-members.html @@ -1,9 +1,9 @@ - + - - + + esp-nimble-cpp: Member List @@ -23,10 +23,9 @@
    - - + @@ -34,21 +33,22 @@
    -
    esp-nimble-cpp -  1.4.1 +
    +
    esp-nimble-cpp 2.0.0
    - + +/* @license-end */ +
  • @@ -62,8 +62,8 @@ $(function() {
    @@ -76,26 +76,33 @@ $(document).ready(function(){initNavTree('class_nim_b_l_e_advertised_device_call
    - +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    -
    -
    NimBLEAdvertisedDeviceCallbacks Member List
    +
    NimBLETaskData Member List
    -

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

    +

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

    - + +
    onResult(NimBLEAdvertisedDevice *advertisedDevice)=0NimBLEAdvertisedDeviceCallbackspure virtual
    NimBLETaskData(void *pInstance=nullptr, int flags=0, void *buf=nullptr)NimBLETaskData
    ~NimBLETaskData()NimBLETaskData
    diff --git a/struct_nim_b_l_e_task_data.html b/struct_nim_b_l_e_task_data.html new file mode 100644 index 0000000..e55d52c --- /dev/null +++ b/struct_nim_b_l_e_task_data.html @@ -0,0 +1,172 @@ + + + + + + + +esp-nimble-cpp: NimBLETaskData Struct Reference + + + + + + + + + + + + + +
    +
    + + + + + + +
    +
    esp-nimble-cpp 2.0.0 +
    +
    +
    + + + + + + + +
    +
    + +
    +
    +
    + +
    + +
    +
    + + +
    +
    +
    +
    +
    +
    Loading...
    +
    Searching...
    +
    No Matches
    +
    +
    +
    +
    + +
    + +
    NimBLETaskData Struct Reference
    +
    +
    + +

    A structure to hold data for a task that is waiting for a response. + More...

    + +

    #include <NimBLEUtils.h>

    + + + + + + + + +

    +Public Member Functions

     NimBLETaskData (void *pInstance=nullptr, int flags=0, void *buf=nullptr)
     Construct a NimBLETaskData instance.
     
    ~NimBLETaskData ()
     Destructor.
     
    +

    Detailed Description

    +

    A structure to hold data for a task that is waiting for a response.

    +

    This structure is used in conjunction with NimBLEUtils::taskWait() and NimBLEUtils::taskRelease(). All items are optional, the m_pHandle will be set in taskWait().

    +

    Constructor & Destructor Documentation

    + +

    ◆ NimBLETaskData()

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    NimBLETaskData::NimBLETaskData (void * pInstance = nullptr,
    int flags = 0,
    void * buf = nullptr 
    )
    +
    + +

    Construct a NimBLETaskData instance.

    +
    Parameters
    + + + + +
    [in]pInstanceAn instance of the class that will be waiting.
    [in]flagsGeneral purpose flags for the caller.
    [in]bufA buffer for data.
    +
    +
    + +
    +
    +
    +
    + + + + diff --git a/struct_nim_b_l_e_task_data.js b/struct_nim_b_l_e_task_data.js new file mode 100644 index 0000000..61f3324 --- /dev/null +++ b/struct_nim_b_l_e_task_data.js @@ -0,0 +1,5 @@ +var struct_nim_b_l_e_task_data = +[ + [ "NimBLETaskData", "struct_nim_b_l_e_task_data.html#a7b08f7ba2161d6309da1fc40c83027c4", null ], + [ "~NimBLETaskData", "struct_nim_b_l_e_task_data.html#af2d5d10d7cc8801cf4d001f89bf301c6", null ] +]; \ No newline at end of file diff --git a/tab_ad.png b/tab_ad.png new file mode 100644 index 0000000000000000000000000000000000000000..e34850acfc24be58da6d2fd1ccc6b29cc84fe34d GIT binary patch literal 135 zcmeAS@N?(olHy`uVBq!ia0y~yU|?imU{K*;Vqjo6E_OVcfq}u#)5S5Qg7NL#M6QMa zj^^iElsNCrU+}K}(wCRbdWt@6_n%2N$jR%Uf4wY^-8Ev7(FKvrGjrpZ*6|dvo|X<< qU;A}S(aqQO^>(%k?Bs5|lTTt`^hgvp?PXwKVDNPHb6Mw<&;$Ve87{W~ literal 0 HcmV?d00001 diff --git a/tab_bd.png b/tab_bd.png new file mode 100644 index 0000000000000000000000000000000000000000..91c25249869ffe5269c24f8c441e3f1bf75df400 GIT binary patch literal 173 zcmeAS@N?(olHy`uVBq!ia0y~yU|?imU{K*;Vqjo6E_OVcfq|jK)5S5Qg7NL$Xs$yB zA}kkX&orB8rs)|Kuewh_Q$z3Y-}f3-`~SSq;^R4dM()X~cQ z0xr8(pJ`}P>Uf|e=_$5|^W*k%!&$D2IP~^TN$;C`#_`q1S9hKA?#tgPX*_Z^BF0|l zT>i7=;-4Q+zP-!T>es5qFSfNm6T(c-ocev^rJ}*z_J__cJMO$$z_dckWpVDe#mCu{ ny$bP0l+XkKgmFxm literal 0 HcmV?d00001 diff --git a/tab_sd.png b/tab_sd.png new file mode 100644 index 0000000000000000000000000000000000000000..757a565ced4730f85c833fb2547d8e199ae68f19 GIT binary patch literal 188 zcmeAS@N?(olHy`uVBq!ia0y~yU|?imU{K*;Vqjo6E_OVcfq|jf)5S5Qg7NL$YOW>& zh64{D>d(&HS7fCgW-O|-Xu$-zk`}!yPmN!y+_%54dE~>tfUo*K|Br0pckhWm_04bR z?uD}%bJsulX7sn?)||lC!mI2yt>UX+d2{lMz9la@KDBv79?J2aagC+(V88btkH_t- v_l%s`G>ZfupE@Au)bQH(nZaa>9rjrZ__+UgMCmdxFfe$!`njxgN@xNA2O&;D literal 0 HcmV?d00001 diff --git a/tabs.css b/tabs.css index 85a0cd5..71c8a47 100644 --- a/tabs.css +++ b/tabs.css @@ -1 +1 @@ -.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.sm-dox{background-image:url("tab_b.png")}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:"Lucida Grande","Geneva","Helvetica",Arial,sans-serif;font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:0 1px 1px rgba(255,255,255,0.9);color:#283a5d;outline:0}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace!important;text-align:center;text-shadow:none;background:rgba(255,255,255,0.5);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:rgba(162,162,162,0.1)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:white;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:url("tab_b.png");line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:#283a5d transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:url("tab_s.png");background-repeat:no-repeat;background-position:right;-moz-border-radius:0!important;-webkit-border-radius:0;border-radius:0!important}.sm-dox a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox a:hover span.sub-arrow{border-color:white transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent #fff transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:#fff;-moz-border-radius:5px!important;-webkit-border-radius:5px;border-radius:5px!important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent #555;border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:#555;background-image:none;border:0!important;color:#555;background-image:none}.sm-dox ul a:hover{background-image:url("tab_a.png");background-repeat:repeat-x;color:white;text-shadow:0 1px 1px black}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent white}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:#fff;height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent #555 transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:#555 transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px!important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:url("tab_b.png")}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:#fff}} \ No newline at end of file +.sm{position:relative;z-index:9999}.sm,.sm ul,.sm li{display:block;list-style:none;margin:0;padding:0;line-height:normal;direction:ltr;text-align:left;-webkit-tap-highlight-color:rgba(0,0,0,0)}.sm-rtl,.sm-rtl ul,.sm-rtl li{direction:rtl;text-align:right}.sm>li>h1,.sm>li>h2,.sm>li>h3,.sm>li>h4,.sm>li>h5,.sm>li>h6{margin:0;padding:0}.sm ul{display:none}.sm li,.sm a{position:relative}.sm a{display:block}.sm a.disabled{cursor:not-allowed}.sm:after{content:"\00a0";display:block;height:0;font:0/0 serif;clear:both;visibility:hidden;overflow:hidden}.sm,.sm *,.sm *:before,.sm *:after{-moz-box-sizing:border-box;-webkit-box-sizing:border-box;box-sizing:border-box}.main-menu-btn{position:relative;display:inline-block;width:36px;height:36px;text-indent:36px;margin-left:8px;white-space:nowrap;overflow:hidden;cursor:pointer;-webkit-tap-highlight-color:rgba(0,0,0,0)}.main-menu-btn-icon,.main-menu-btn-icon:before,.main-menu-btn-icon:after{position:absolute;top:50%;left:2px;height:2px;width:24px;background:var(--nav-menu-button-color);-webkit-transition:all .25s;transition:all .25s}.main-menu-btn-icon:before{content:'';top:-7px;left:0}.main-menu-btn-icon:after{content:'';top:7px;left:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon{height:0}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before{top:0;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after{top:0;-webkit-transform:rotate(45deg);transform:rotate(45deg)}#main-menu-state{position:absolute;width:1px;height:1px;margin:-1px;border:0;padding:0;overflow:hidden;clip:rect(1px,1px,1px,1px)}#main-menu-state:not(:checked) ~ #main-menu{display:none}#main-menu-state:checked ~ #main-menu{display:block}@media(min-width:768px){.main-menu-btn{position:absolute;top:-99999px}#main-menu-state:not(:checked) ~ #main-menu{display:block}}.sm-dox{background-image:var(--nav-gradient-image)}.sm-dox a,.sm-dox a:focus,.sm-dox a:hover,.sm-dox a:active{padding:0 12px;padding-right:43px;font-family:var(--font-family-nav);font-size:13px;font-weight:bold;line-height:36px;text-decoration:none;text-shadow:var(--nav-text-normal-shadow);color:var(--nav-text-normal-color);outline:0}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a.current{color:#d23600}.sm-dox a.disabled{color:#bbb}.sm-dox a span.sub-arrow{position:absolute;top:50%;margin-top:-14px;left:auto;right:3px;width:28px;height:28px;overflow:hidden;font:bold 12px/28px monospace !important;text-align:center;text-shadow:none;background:var(--nav-menu-toggle-color);-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox a span.sub-arrow:before{display:block;content:'+'}.sm-dox a.highlighted span.sub-arrow:before{display:block;content:'-'}.sm-dox>li:first-child>a,.sm-dox>li:first-child>:not(ul) a{-moz-border-radius:5px 5px 0 0;-webkit-border-radius:5px;border-radius:5px 5px 0 0}.sm-dox>li:last-child>a,.sm-dox>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul{-moz-border-radius:0 0 5px 5px;-webkit-border-radius:0;border-radius:0 0 5px 5px}.sm-dox>li:last-child>a.highlighted,.sm-dox>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>a.highlighted,.sm-dox>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>ul>li:last-child>*:not(ul) a.highlighted{-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox ul{background:var(--nav-menu-background-color)}.sm-dox ul a,.sm-dox ul a:focus,.sm-dox ul a:hover,.sm-dox ul a:active{font-size:12px;border-left:8px solid transparent;line-height:36px;text-shadow:none;background-color:var(--nav-menu-background-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:0 1px 1px black}.sm-dox ul ul a,.sm-dox ul ul a:hover,.sm-dox ul ul a:focus,.sm-dox ul ul a:active{border-left:16px solid transparent}.sm-dox ul ul ul a,.sm-dox ul ul ul a:hover,.sm-dox ul ul ul a:focus,.sm-dox ul ul ul a:active{border-left:24px solid transparent}.sm-dox ul ul ul ul a,.sm-dox ul ul ul ul a:hover,.sm-dox ul ul ul ul a:focus,.sm-dox ul ul ul ul a:active{border-left:32px solid transparent}.sm-dox ul ul ul ul ul a,.sm-dox ul ul ul ul ul a:hover,.sm-dox ul ul ul ul ul a:focus,.sm-dox ul ul ul ul ul a:active{border-left:40px solid transparent}@media(min-width:768px){.sm-dox ul{position:absolute;width:12em}.sm-dox li{float:left}.sm-dox.sm-rtl li{float:right}.sm-dox ul li,.sm-dox.sm-rtl ul li,.sm-dox.sm-vertical li{float:none}.sm-dox a{white-space:nowrap}.sm-dox ul a,.sm-dox.sm-vertical a{white-space:normal}.sm-dox .sm-nowrap>li>a,.sm-dox .sm-nowrap>li>:not(ul) a{white-space:nowrap}.sm-dox{padding:0 10px;background-image:var(--nav-gradient-image);line-height:36px}.sm-dox a span.sub-arrow{top:50%;margin-top:-2px;right:12px;width:0;height:0;border-width:4px;border-style:solid dashed dashed dashed;border-color:var(--nav-text-normal-color) transparent transparent transparent;background:transparent;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0}.sm-dox a,.sm-dox a:focus,.sm-dox a:active,.sm-dox a:hover,.sm-dox a.highlighted{padding:0 12px;background-image:var(--nav-separator-image);background-repeat:no-repeat;background-position:right;-moz-border-radius:0 !important;-webkit-border-radius:0;border-radius:0 !important}.sm-dox a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox a:hover span.sub-arrow{border-color:var(--nav-text-hover-color) transparent transparent transparent}.sm-dox a.has-submenu{padding-right:24px}.sm-dox li{border-top:0}.sm-dox>li>ul:before,.sm-dox>li>ul:after{content:'';position:absolute;top:-18px;left:30px;width:0;height:0;overflow:hidden;border-width:9px;border-style:dashed dashed solid dashed;border-color:transparent transparent #bbb transparent}.sm-dox>li>ul:after{top:-16px;left:31px;border-width:8px;border-color:transparent transparent var(--nav-menu-background-color) transparent}.sm-dox ul{border:1px solid #bbb;padding:5px 0;background:var(--nav-menu-background-color);-moz-border-radius:5px !important;-webkit-border-radius:5px;border-radius:5px !important;-moz-box-shadow:0 5px 9px rgba(0,0,0,0.2);-webkit-box-shadow:0 5px 9px rgba(0,0,0,0.2);box-shadow:0 5px 9px rgba(0,0,0,0.2)}.sm-dox ul a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-color:transparent transparent transparent var(--nav-menu-foreground-color);border-style:dashed dashed dashed solid}.sm-dox ul a,.sm-dox ul a:hover,.sm-dox ul a:focus,.sm-dox ul a:active,.sm-dox ul a.highlighted{color:var(--nav-menu-foreground-color);background-image:none;border:0 !important;color:var(--nav-menu-foreground-color);background-image:none}.sm-dox ul a:hover{background-image:var(--nav-gradient-active-image);background-repeat:repeat-x;color:var(--nav-text-hover-color);text-shadow:var(--nav-text-hover-shadow)}.sm-dox ul a:hover span.sub-arrow{border-color:transparent transparent transparent var(--nav-text-hover-color)}.sm-dox span.scroll-up,.sm-dox span.scroll-down{position:absolute;display:none;visibility:hidden;overflow:hidden;background:var(--nav-menu-background-color);height:36px}.sm-dox span.scroll-up:hover,.sm-dox span.scroll-down:hover{background:#eee}.sm-dox span.scroll-up:hover span.scroll-up-arrow,.sm-dox span.scroll-up:hover span.scroll-down-arrow{border-color:transparent transparent #d23600 transparent}.sm-dox span.scroll-down:hover span.scroll-down-arrow{border-color:#d23600 transparent transparent transparent}.sm-dox span.scroll-up-arrow,.sm-dox span.scroll-down-arrow{position:absolute;top:0;left:50%;margin-left:-6px;width:0;height:0;overflow:hidden;border-width:6px;border-style:dashed dashed solid dashed;border-color:transparent transparent var(--nav-menu-foreground-color) transparent}.sm-dox span.scroll-down-arrow{top:8px;border-style:solid dashed dashed dashed;border-color:var(--nav-menu-foreground-color) transparent transparent transparent}.sm-dox.sm-rtl a.has-submenu{padding-right:12px;padding-left:24px}.sm-dox.sm-rtl a span.sub-arrow{right:auto;left:12px}.sm-dox.sm-rtl.sm-vertical a.has-submenu{padding:10px 20px}.sm-dox.sm-rtl.sm-vertical a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-rtl>li>ul:before{left:auto;right:30px}.sm-dox.sm-rtl>li>ul:after{left:auto;right:31px}.sm-dox.sm-rtl ul a.has-submenu{padding:10px 20px !important}.sm-dox.sm-rtl ul a span.sub-arrow{right:auto;left:8px;border-style:dashed solid dashed dashed;border-color:transparent #555 transparent transparent}.sm-dox.sm-vertical{padding:10px 0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px}.sm-dox.sm-vertical a{padding:10px 20px}.sm-dox.sm-vertical a:hover,.sm-dox.sm-vertical a:focus,.sm-dox.sm-vertical a:active,.sm-dox.sm-vertical a.highlighted{background:#fff}.sm-dox.sm-vertical a.disabled{background-image:var(--nav-gradient-image)}.sm-dox.sm-vertical a span.sub-arrow{right:8px;top:50%;margin-top:-5px;border-width:5px;border-style:dashed dashed dashed solid;border-color:transparent transparent transparent #555}.sm-dox.sm-vertical>li>ul:before,.sm-dox.sm-vertical>li>ul:after{display:none}.sm-dox.sm-vertical ul a{padding:10px 20px}.sm-dox.sm-vertical ul a:hover,.sm-dox.sm-vertical ul a:focus,.sm-dox.sm-vertical ul a:active,.sm-dox.sm-vertical ul a.highlighted{background:#eee}.sm-dox.sm-vertical ul a.disabled{background:var(--nav-menu-background-color)}} \ No newline at end of file diff --git a/todo.html b/todo.html deleted file mode 100644 index 86587ba..0000000 --- a/todo.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - - -esp-nimble-cpp: Todo List - - - - - - - - - - - - - -
    -
    - - - - - - -
    -
    esp-nimble-cpp -  1.4.1 -
    -
    -
    - - - - - - - -
    -
    - -
    -
    -
    - -
    - -
    -
    - - -
    - -
    - -
    -
    -
    Todo List
    -
    -
    -
    -
    Member NimBLESecurity::setKeySize (uint8_t key_size=16)
    -
    Requires implementation
    -
    -
    -
    -
    - - - -