farhadi / node-smpp

SMPP client and server implementation in node.js
MIT License
419 stars 180 forks source link

COctet String : max length #216

Open 11bis opened 2 years ago

11bis commented 2 years ago

Hi @farhadi and maintainers, Unless I am wrong the lib is not considering the field size as per SMPP specification. For example, "bind_transmitter.password" is "C-Octet String" with max length = 9. Am I correct ? If so, is it intentional or maybe planned in future release ? I noticed that all types are statically defined in "defs.types". What would be the best way to implement such evolution ? Thanks a lot for your support