NimBLE-Arduino icon indicating copy to clipboard operation
NimBLE-Arduino copied to clipboard

[Breaking] Update callbacks to use NimBLEConnInfo.

Open h2zero opened this issue 3 years ago • 0 comments

Chnage the callback functions that receive a ble_gap_conn_desc pointer to instead receive a NimBLEConnInfo reference.

  • Add a reason parameter to the server disconnect callback.

  • Remove connect and disconnect callback that do not receive info parameters.

  • Remove onRead and onWrite Characteristic callbacks that do not receive info parameters.

  • Add info parameter to Descriptor onWrite and onRead callbacks.

  • Add details to migration guide.

h2zero avatar Aug 02 '22 01:08 h2zero