VivatoMessage msg = new Vivato Message()
msg.setContentType(VivatoMessage.BINARY_SMS_TYPE); // or text/vnc.ncl.binarysms
msg.setContent("DEADBEEF");
If the binary message contains a user data header (UDH) then
Code:
msg.setContentType(VivatoMessage.BINARY_SMS_WITHUDH_TYPE); // or text/vnc.ncl.binarysms.withudh
msg.setContent("050003010101DEADBEEF");
This will cause the UDHI flag to be set in the outbound message. The User Data Header should include it's length as the first byte as per the normal UDH format.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum