nrfxlib API 2.8.99
|
int nrf_modem_at_cmd_custom_set | ( | struct nrf_modem_at_cmd_custom * | custom_commands, |
size_t | len ) |
#include <nrf_modem/include/nrf_modem_at.h>
Set a list of custom AT commands that are implemented in the application.
When a custom AT command list is set, AT commands sent via nrf_modem_at_cmd
that match any AT command in the list, will be redirected to the custom callback function instead of being sent to the modem.
custom_commands
and 0 to the len
.custom_commands | List of custom AT commands. |
len | Custom AT command list size. |
0 | On success. |
-NRF_EINVAL | On invalid parameters. |