Hi,
AT commands can be used when connected to the router via CLI/SSH to interact with the modem directly. For example, to find SIM ID you can execute the following command:
To find the phonenumber, you can execute this command:
However, if this command responds with just a single 'OK', then you will need to add your phone number to the phone book and read it from there. For this, you can use the command:
- gsmctl -A 'AT+CPBW=1,"12341234",129,"MyNumber"'
'1' is the index of the entry, '12341234' is your phone number and 'MyNumber' is the name of the entry.
Then, to read your phone number execute a command to read the entry at index 1:
You can find out more about these commands on our wiki page HERE and in official Quectel documentation HERE.
Kind Regards,
Andzej