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

◆ slm_at_cb_wrapper()

int slm_at_cb_wrapper ( char *  buf,
size_t  len,
char *  at_cmd,
slm_at_callback  cb 
)

Generic wrapper for a custom SLM AT command callback.

This will call the AT command handler callback, which is declared with SLM_AT_CMD_CUSTOM.

Parameters
bufResponse buffer.
lenResponse buffer size.
at_cmdAT command.
cbAT command callback.
Return values
0on success.