Cannot delete contacts

I mean… you could use AT commands and interact with the SIM phonebook…

# Turn on printout of replies
cat /dev/smd7 &
# Test that it works - should reply with OK
echo -e 'AT\r' > /dev/smd7
# List phonebooks
echo -e 'AT+CPBS=?\r' > /dev/smd7
# Should return something like +CPBS: ("SM","DC","MC","ME","RC","EN")
# You probably want to select the SM one
echo -e 'AT+CPBS="SM"\r' > /dev/smd7
# List entry range
echo -e 'AT+CPBW=?\r' > /dev/smd7
# Look at first range, probably something like +CPBW: (1-250) ...
# For reference: how to add an entry to poition 1
echo -e 'AT+CPBW=1,"6666666",129,"Test"\r' > /dev/smd7
# Read entry 1 
echo -e 'AT+CPBR=1\r' > /dev/smd7
# Delete entry 1
echo -e 'AT+CPBW=1\r' > /dev/smd7

Happy hunting!

And after all that, i now see you removed the SIM… eh, nevermind then.

4 Likes