I Want store AT command (AT%NCELLMEAS ) response as %NCELLMEAS: 0,"00313892","405861","C019",65535,2509,167,48,15,109947,2509,182,48,15,0,2415,279,38, but below code reponse is storing only OK in my buffer that to after som

void resp_callback(const char *at_response);
void foo(void);

void resp_callback(const char *at_response)
{

        printk("AT response received:\n%s", at_response);
     

}

void foo(void)
{
        int err;

        err = nrf_modem_at_cmd_async(resp_callback, "AT%NCELLMEAS", 1);
        if (err)
         {
            printf("error reading cmsd\n") ;  
           
        }
}
here i need to store this response in my buffer : %NCELLMEAS: 0,"00313892","405861","C019",65535,2509,167,48,15,109947,2509,182,48,15,0,2415,279,38,-1,80,2417,466,56,18,117,2417,439,53,13,117,0 , instead of ok , how ,please help to store that response instead of ok .
Parents Reply Children
No Data
Related