我想使用Open Smpp协议向设备发送命令。api人员向我提供了ProgramID,但我没有找到在open smpp API中接受programId的任何方法。
So i thought to add it in setExtraOptional(TLV tlv)
but i am not able to set TLV parameter.
I have below values,
tag = 0x1234,
programId = 12345
How can i build the TLV from above values?提前感谢您的帮助。
发布于 2018-05-14 22:12:11
您可以简单地添加request.setExtraOptional((short) 0x1400,new ByteBuffer("programId:12345,String,5“.getBytes();作为发送SM请求的extraParameter
https://stackoverflow.com/questions/39716276
复制相似问题