Hi Team,
We are using nRF9160 modem and SDK 1.7 version with Segger Embedded Studio.
Using at_client sample code, observations as below.
1. Tried to read APN configuration using AT+CGDCONT command with below flow.
- Issued AT+CFUN=1 and checked for AT+CEREG? and got response as 0,4 and waited 2-5minutes and checked AT+CEREG? and still same, even though issued AT+CGDCONT? and got just "OK" response not the APN configuration.
2. Tried to write APN configuration using AT+CGDCONT command with below flow.
-Issued AT+CFUN=4 and then issued AT+CGDCONT=0,"IPV4V6","internet.m2mportal.de" and then issued AT+CFUN=0. Then tried to read APN configuration by issuing AT+CGDCONT? and got just "OK" response not the APN configuration. Power cycled and tried reading still getting just "OK" response. Why unable to read the APN configuration using AT+CGDCONT? read command. Is there any other way to confirm that the data written using AT+CGDCONT is successful?
uisng azure_iot_hub sample code, observations as below.
1. Loaded 'azure_iot_hub' sample code and try to read APN configuration using below function in azure sample code after connecting to network but still no response.
#define AT_CGDCONT_READ_CMD "AT+CDGCONT?\r\n"
err = at_cmd_write(AT_CGDCONT_READ_CMD, buf, sizeof(buf), NULL);
Why unable to read the APN configuration using AT+CGDCONT? read command to confirm that whatever we have written are successfully configured or not. So, not sure wether configuration is successful or not.
Can you please provide your valuable inputs.
Regards,
Sravan Rikka