zabsalahid / serialport-gsm

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

Receive SMS error #110

Closed chickmy closed 2 years ago

chickmy commented 2 years 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 2 years ago

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

Apollon77 commented 2 years ago

duplicate of #108

Apollon77 commented 2 years ago

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