nRF Connect SDK API 0.1.0
|
int bt_mds_cb_register | ( | const struct bt_mds_cb * | cb | ) |
#include <include/bluetooth/services/mds.h>
Register the Memfault Diagnostic service callback.
This function should be called before enabling Bluetooth stack to ensure proper access grating to MDS characteristics data through access_enable
callback.
[in] | cb | Memfault callback structure. This parameter can be set to NULL but it will let the first connected client access the Memfault data without authentication. |
0 | If the operation was successful. Otherwise, a negative error code is returned |