We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37a152a commit cbf1d39Copy full SHA for cbf1d39
lib/lte_link_control/modules/cereg.c
@@ -350,7 +350,7 @@ int cereg_status_get(enum lte_lc_nw_reg_status *status)
350
}
351
352
/* Read network registration status */
353
- err = nrf_modem_at_scanf("AT+CEREG?",
+ err = nrf_modem_at_scanf(AT_CEREG_READ,
354
"+CEREG: "
355
"%*u," /* <n> */
356
"%hu," /* <stat> */
0 commit comments