UBPorts 1 week in
#4
Indeed you are correct, that was the case. Thank you for the lead.
As I had loaded a new image on another sd card it seemed to me that it could not be cached on the os file system. Checked if anything could be cached on a sim card, however stopped looking for this as I figure if anything this would be cleared by putting it in my old phone. After looking into internal cache to the modem I found a pdf for AT commands for the modem.
https://www.quectel.com/UploadImage/Down...l_V1.3.pdf
Which has a section on sms commands.

So through ssh I installed minicom with
apt update && apt install minicom
Followed by connecting to the modem tty through minicom by
minicom -D /dev/ttyUSB2
Entered
AT+CMGD=?
Which as far as I know from the pdf outputs a list of messages by number ending in the memory buffer / cache as.
+CMGD: (1,2,3,4,5,6,etc),(0-4)
Taking the 0-4 from the end I entered it into the delete command from the pdf like so
AT+CMGD=0,4
Which as best as I could see itterated through a list of buffers/items and cleared everything from the 0-4 memory buffer.
Rerunning the command to list the messages (AT+CMGD=?) it came back as
+CMGD: (),(0-4)
Which verified to me that the list of messages was cleared.
Then exited minicom with a reset. by pressing Ctrl + A then X and selected yes.
Rebooted the phone for safe measure and ran a few test messages and they came through as expected.

Some testing:
- Received test messages are stacking up again
- Deleting the messages from the chat application does not clear the cache.
- Clearing the cache the messages still remain available in the messaging app.
Seems to be a bug. I do not know if this is in the latest image.

Is there a way to do AT commands automatically via the command line to be able to script this delete action?
Now perhaps there is a way to move items from the modem cache to the file system / user's home and clear the cache (perhaps because they remain after purging the cache this is already so / meant to be) ?


Messages In This Thread
UBPorts 1 week in - by antiX-Dave - 04-18-2020, 09:46 PM
RE: UBPorts 1 week in - by antiX-Dave - 04-20-2020, 08:59 PM
RE: UBPorts 1 week in - by visiblink - 04-22-2020, 09:26 PM
RE: UBPorts 1 week in - by antiX-Dave - 04-23-2020, 05:27 PM
RE: UBPorts 1 week in - by antiX-Dave - 05-01-2020, 08:05 PM
RE: UBPorts 1 week in - by hikingpete - 05-02-2020, 12:15 PM
RE: UBPorts 1 week in - by thwright - 07-08-2020, 08:08 AM
RE: UBPorts 1 week in - by antiX-Dave - 05-02-2020, 01:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PinePhone UBPorts Edition stuck on PINE64 logo screen Giovanni Iannotti 4 5,751 09-01-2021, 01:20 PM
Last Post: Giovanni Iannotti
  online accounts in UBports Uturn 2 4,699 03-30-2021, 09:12 AM
Last Post: Uturn
  UBPorts Not Working Pinoideae 7 10,802 03-13-2021, 01:51 PM
Last Post: KNERD
  How to enable Ethernet with UBPorts and convergence dock? piney-tim 1 3,324 11-27-2020, 07:40 PM
Last Post: piney-tim
  UBPorts Convergence MonCon 0 2,582 11-24-2020, 04:25 PM
Last Post: MonCon
  Looks like I found a mild reason why UBPorts for pinephone hasn't seen much progress. plainenough 13 19,496 11-21-2020, 06:30 PM
Last Post: Nooblife
  "No network" on new UBPorts community edition pinephone professorsnapper 6 8,859 10-19-2020, 10:27 PM
Last Post: htc_tattoo
  UBPorts doesn't boot even after booting into recovery defekto 2 4,988 09-30-2020, 12:16 PM
Last Post: defekto
  Dekko on UBPorts PinePhone usable? djvinniev77 13 17,045 09-17-2020, 03:45 PM
Last Post: yurievitch
  How to enable SSH on UBPorts Ubuntu Touch? eaglecup 12 22,070 09-15-2020, 03:42 PM
Last Post: voidmain

Forum Jump:


Users browsing this thread: 1 Guest(s)