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

◆ payload_get

int(* dult_id_read_state_cb::payload_get) (uint8_t *buf, size_t *len)

Get identifier payload.

This callback is called to get the DULT user-specific identifier payload.

Parameters
[out]bufPointer to the buffer used to store identifier payload.
[in,out]lenPointer to the length (in bytes) of the buffer used to store identifier payload. A negative error code shall be returned if this value is too small. If the operation was successful, the length of the identifier payload shall be written to this pointer.
Returns
0 if the operation was successful. Otherwise, a (negative) error code is returned.