at_cmd_write() not supported

Hello, 

I've been using the modem library from NCS1.7.0 specifically 'at_cmd.h' and at_notif.h'. Now I'm trying to port to NCS2.0.0 and I believe that the AT CMD interface has changed and the two files have been removed. 

Could you point me to a doc that shows how to replace them and tell me what the equivalent apis are. 

Here's what I am trying to do: 

/* Read IMEI */

    char at_imei_store_buf[64] = {0};
    at_cmd_write("AT+CGSN", at_imei_store_buf, sizeof(at_imei_store_buf), NULL);

/* Get MODEM band*/
    char modem_band[64] = {0};
    at_cmd_write("AT%XCBAND", modem_band, sizeof(modem_band), NULL);

What should the code in NCS2.0.0 be to achieve these? Similarly, what are the api equivalents for apis in at_notif.h?
Parents Reply Children
No Data
Related