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

◆ ssf_client_notif_decode()

int ssf_client_notif_decode ( const struct ssf_notification notif,
void *  decoded_notif 
)

Decode a received notification.

Parameters
[in]notifA pointer to the incoming notification.
[out]decoded_notifA pointer to a (zcbor) structure, allocated by the caller, to be populated by the associated listener's decode function.
Returns
0 on success, -SSF_EINVAL if parameters are invalid. -SSF_EPROTO if decode function fails or is missing.