I am trying to send a variety of AT commands to my module and it looks like I am missing something or the documentation is not up to date for some of these:
- If I try to set up an APN with AT+CGDCONT=1,”IP”, “<my operator apn>”, the response is OK (same if I use IPV4V6), however if I put a time delay then try AT+CGDCONT?, the PDP context is visible but the IP address is never set up. When working on a previous board from another constructor with the same SIM, there used to be several PDP contexts with the same APN and the correct IP, and also another one which was a temporary one in order to manage the network attachment
- The command AT+CGACT=1,1, supposed to activate the PDP context #1, raises an error as if the function itself did not exist while it is visible in the documentation
- If I follow the tutorial to manage certificates in order to establish a connection with Azure, I struggle to interact with the credential store management. If I try the command AT%CMNG=1, I receive an error as arguments are missing (while the documentation explicitly states that arguments are optional if the opcode is 1, to list all the certificates within the board). If I add a sec_tag, I get the certificate for this tag, if any. However, AT%CMNG=2 works even without an additional sec_tag (contrarily to what is said in the documentation). I am stuck at Generate and provision device certificates. At step 2, when I enter the nrfcredstore command, I get the response “The device does not respond to AT commands. Please flash at_client sample”. However, I could pass AT commands with my custom firmware first, to try to setup only the LTE connection. If I try to flash the at_client sample, I get a build error as the file nrf_modem_lib.h is including a missing file nrf_modem.h
- As the module will not attach to the network, some AT commands are unsuccessful (AT+COPS? returns 0, AT+CSQ? returns 99,99, AT+CEREG? returns 2,4, AT+CGATT? returns 0)
Any help would be greatly appreciated!