zabsalahid / serialport-gsm

SerialPort-GSM is a simplified plugin for communicating with gsm modems. (Primarily for sms) (Focused in PDU mode)
MIT License
88 stars 46 forks source link

Add CNMI as option / Add 'message status' to message data / Enable reading SMS in SMS text mode #97

Closed forelleblau closed 2 years ago

forelleblau commented 2 years ago

Depending on hardware and CNMI - settings, messages are stored on SIM or delivered. At least some hardware won't do both, so it might be favorable to be able to specify CNMI - settings according to the own hardware.

Hope I found the right spots to adjust with the PR.

forelleblau commented 2 years ago

The last commit (37bf83d) enables reading SMS also in SMS Text Mode and adds the message Status (read / unread) to the messages delivered. in PDU-mode as number, in SMS text mode as string. Thus for 'getSimInbox' and for 'readSMSById', so for incoming SMS and for stored SMS on SIM.