AdhamAwadhi / JamaaSMPP

Jamaa SMPP Client is a .NET implementation of the SMPP protocol that focuses on providing an easy-to-use and robust SMPP client library for .NET developers. This project is intended to be used by developers who want to integrate SMS functionalities in their applications as well as students who are learning the SMPP protocol.
https://github.com/AdhamAwadhi/JamaaSMPP/wiki
Other
45 stars 36 forks source link

Octet1/Octet2 binary format support, hex string output #6

Closed kuro68k closed 6 years ago

kuro68k commented 7 years ago

We need to process binary PDU messages for our application, and this seems like the simplest way to handle them.

AdhamAwadhi commented 7 years ago

Thank you @kuro68k , You made GetStringFromBytes, what about GetBytesFromString ?

kuro68k commented 7 years ago

We did the absolute minimum required for our application I'm afraid.

I added support for ASCII string decoding. I'm not sure how much sense it makes for binary PDU messages, but since you asked: https://github.com/Primayer/JamaaSMPP/commit/5945221206fe40acdcda06ecfd7dc4d15facc2e4

gerann0204 commented 6 years ago

Do you have sample code for combining UDH Message/ Concatenated Message in Submit_sm pdu?.

AdhamAwadhi commented 6 years ago

Thanks @kuro68k I added code manually cause the last changes I removed SMPPEncodingUtil.cs .