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

◆ authorize

bool(* bt_bms_cb::authorize) (struct bt_conn *conn, struct bt_bms_authorize_params *params)

Operation authorization callback

If this callback is set, support for BMS Authorization Code functionality is enabled. This function is called whenever an authorized operation is requested by the client.

Parameters
connConnection object.
paramsAuthorization parameters.
Return values
trueIf the authorization was successful.
falseOtherwise.