I am using a module by uBlox (LARA-R211 with a SIM-card) which I need to get my device online. My problem is that sometimes the module is receiving a phone call, making the module abort all other procedures, which is unwanted. The module is configured with AT-commands, and uBlox has released documentation regarding this.
I want to set my module in such a way, that it rejects/blocks/ignores all incomming calls.
I've searched through the documentation, and found that I might need to use the "AT+CLCK"-command, so I tried that. I immediately ran into the issue, that I need a password to use this command, which I dont have. I noticed that they (uBlox in their documentation) uses the SIMs PIN-code as password, but my SIM card has no PIN (SIM provider said that it's set to "0000" when PIN code is not required) I tried using the "0000" code, but with no results. I've tried the following commands, but with no success:
AT+CLCK="AI",1,"0000"
AT+CLCK="AI",0,"0000"
AT+CLCK="AI",1,""
AT+CLCK="AI",0,""
I expected some sort of reaction and a "OK" statement to symbolise that the command has been implemented. Instead i get "ERROR" for each of the commands stated above
To whoever it might interest:
The functions mentionen above require a password, and it seems that this specific module can't handle any password-depending commands, if the PIN code on the used SIM card is deactivated. My guess, since the password is by default set to the SIMs PIN code, is that the module can't compare the password inputted in the command with the PIN code, and therefore returns "password incorrect", making all password-depending unuseable.
I've contacted the producers of the module, so hopefully they will fix this error in future products, if my assumption is correct.
Another solution I found to be working similarly, is to use the command AT+CGCLASS='CG'