How to correctly represent message class in SMPP

早过忘川 提交于 2019-12-03 13:42:13

I recommend to read 3GPP TS 23.038 specification with detailed DCS (Data Coding Scheme) description.

In case of DCS bits 7654 are 00xx, you should check DCS for bit 4 value.

  • bit 4 == 0 - no message class for this message (bits 1 and 0 are reserved)
  • bit 4 == 1 - bits 1 and 0 contains message class

So you should set data_coding SMPP parameter in accordance to 3GPP TS 23.038 specification to handle message_class properly.

By default GSM SMS message has no message_class and this is not the same as message_class = 1.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!