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

Receive SMS error #110

Closed chickmy closed 1 year ago

chickmy commented 1 year ago

autoDeleteOnReceive: true When receiving a text message, an error will be reported. I found that on line 167 of modem.js, the parameter transmission is wrong. I correct this as modem.deleteMessage(resultData.data[resultData.data.length - 1]) I don't know if there are any sequelae of this modification

Apollon77 commented 1 year ago

The full stack trace and more details would be great, maybe code part that caused it too

Apollon77 commented 1 year ago

duplicate of #108

Apollon77 commented 1 year ago

@zabsalahid can be closed as duplicate (btw: I can also offer to support in issue mgmt ... would just need triage rights or such)