nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ access_enable

bool(* bt_mds_cb::access_enable) (struct bt_conn *conn)

A callback for enabling Memfault access.

If this callback is not implemented, any connected peer can access the Memfault characteristics and descriptors data, including write access to them, without authentication.

The Memfault Diagnostic service allows only one client subscription.

Parameters
[in]connConnection object.
Return values
Trueif peer associated with connection object has granted access to the Memfault data. False if access to the Memfault data is forbidden.