What are the parameters which differentiates a text SMS and binary SMS in SMPP?
I assume both the messages are encoded in submitSM
object. If not please tell how SMPP binary messages are encoded into a SMS.
Check data_coding
parameter.
Here are some values:
0 0 0 0 0 0 0 0 SMSC Default Alphabet
0 0 0 0 0 0 0 1 IA5 (CCITT T.50)/ASCII (ANSI X3.4)
0 0 0 0 0 0 1 0 Octet unspecified (8-bit binary)
0 0 0 0 0 0 1 1 Latin 1 (ISO-8859-1)
0 0 0 0 0 1 0 0 Octet unspecified (8-bit binary)
0 0 0 0 0 1 0 1 JIS (X 0208-1990)
0 0 0 0 0 1 1 0 Cyrllic (ISO-8859-5)
0 0 0 0 0 1 1 1 Latin/Hebrew (ISO-8859-8)
0 0 0 0 1 0 0 0 UCS2 (ISO/IEC-10646)
0 0 0 0 1 0 0 1 Pictogram Encoding
0 0 0 0 1 0 1 0 ISO-2022-JP (Music Codes)
0 0 0 0 1 0 1 1 reserved
0 0 0 0 1 1 0 0 reserved
0 0 0 0 1 1 0 1 Extended Kanji JIS(X 0212-1990)
0 0 0 0 1 1 1 0 KS C 5601
0 0 0 0 1 1 1 1 reserved
Here you can see some values for binaries. For the full list check the SMPP v3.4 specification.