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

◆ dult_id_read_state_cb_register()

int dult_id_read_state_cb_register ( const struct dult_user * user,
const struct dult_id_read_state_cb * cb )

#include <include/dult.h>

Register DULT identifier read state callback structure.

This function must be called after registering the DULT user with dult_user_register and before enabling DULT with dult_enable function.

Parameters
userUser structure used to authenticate the user.
cbIdentifier read state callback structure.
Returns
0 if the operation was successful. Otherwise, a (negative) error code is returned.