Closed vumail159951 closed 11 months ago
I gues it's a bug from node-pdu
and you should create the issue there too. I should also fix the bug in my version of node-pdu.
I believe that the project owner will not decide to switch to another library, as node-pdu
offers more possibilities.
Thank you, I will edit the node-pdu to work around when waiting for the fix
Hi, it was not a bug. The SCA type should be set manually. I have added a new feature with commit https://github.com/jackkum/node-pdu/pull/25/commits/14972ead2fb8dc05b99777c0f568629234a41669 that will set the SCA type be automatically for the address. Alternatively, I have added a function in my TypeScript rewrite that allows you to send your own submits (with cutom SCA types).
Currently, you have no possibility to correct the "error" with this library
@vumail159951 your issue will be fixed if the owner of this library update the node-pdu
version to 2.0.0
or better he want merge my pull request
Example send SMS:
using the old node-pdu, the function return error: CMS ERROR +8 Please review and use node-sms-pdu https://github.com/tiagfernandes/serialport-gsm