So I have been working to send actual binary instructions to some remote decvices using the CF gateway. I am setting the command to "data" and the messagePayload to a binary object made up of a hex string. What the stopping point is, is that CF seems to transmit the message to the SMSC as plain text almost no matter what.
I have had some success changing up the DataCoding optional parameter and it has sent the messages to my test SMSC as binary BUT the big issue is that i need to send the message with a specific DCS (datacoding) value to get the remote device to recognize and execute the command.
So, does anyone know what else I have to do to get these messages to go through as binary every time?
Do you know what the range for the DataCoding parameter is? CF SEEMS to want it as a number then it transforms it into the HEX string that the SMSC wants but it seems like any number above 128 gets totally ignored and the message goes through as plain text.
All in all its a very strange issue and it seems like i'm missing some key part of how to make this work. Any suggestions would be appreciated.
On 10/29/2010 9:54 PM, Kaptain_Krayola said:
All in all its a very strange issue and it seems like i'm missing some key
part of how to make this work. Any suggestions would be appreciated.
see if anything here helps: http://bit.ly/cITUBw
can you post the code you've got so far?