Receive binary data from my SMS
- This topic has 6 replies, 2 voices, and was last updated 12 years ago by
Bryon Davis.
-
AuthorPosts
-
June 19, 2013 at 1:03 pm #2943
Laurent ROUX
ParticipantHi,
I have some SMS who contain binary data like this “21 8B 84 00 0C 40 00 00 8A 44 A0 A3” (i write ascii codes) and i try to read them with the HTTP API (or the TCP API) and some caracters are transformed in “20” like this “21 8B 84 20 20 40 20 20 20 44 A0 A3” by the iSMS SF400-G-EU.
Can you help me?
June 20, 2013 at 8:16 pm #4554Bryon Davis
ModeratorHi Laurent,
Are you using 7 bit ASCII?
By default the iSMS using PCCP437 7-bit character set, which doesn’t support many special characters. If an unsupported character is in a message, the iSMS replaces that character with a space (20).
It may help if you update to the v1.51.14 firmware which has support for 3GPP 23.038 character set. This character set supports many more special characters. This firmware also has support for PDU mode which may also help with sending special characters.
The settings for the Character Set and PDU mode are in the SMS Settings menu.
You can find the v1.51.14 firmware on our FTP site at:
SF100:
SF400 and SF800:
Regards,
Bryon
June 21, 2013 at 3:02 pm #4555Laurent ROUX
ParticipantHi Davis,
I use 8 bit character and i use all hexa code (from 0x00 to 0xFF).
I will test the firmware 1.51.14 and i tell you if it’s better.
Regards.
August 13, 2013 at 3:36 am #4614Laurent ROUX
ParticipantHi Davis,
I tests the firmware 1.51.14 and i still have some truncated characters with 0X20. I need full 8 bits data in receive mode.
A next firmware can help me?Regards
August 13, 2013 at 8:20 am #4615Bryon Davis
ModeratorHi Laurent,
Unfortunately we are treating incoming data as text, so any value that isn’t a displayable ASCII character is set to 20. The only way to get raw binary data from the modem is to control the modem directly by doing telnet to the iSMS on port 5000 (for modem 1) to 5007 (for modem 8), but then you would have to manage all modem functions yourself. The iSMS won’t send or receive anything from the modem while a telnet to a modem is connected.Regards,
BryonSeptember 12, 2013 at 9:08 am #4675Laurent ROUX
ParticipantHi,
I will try to manage the isms. Have you some documents that it describe the “AT” commands of the isms?Regards
September 16, 2013 at 4:03 pm #4692Bryon Davis
ModeratorHi Laurent,
The current wireless modem on the iSMS is the GPRS G2 Modem. Below is a link to document that covers this modem’s AT commands. The previous F4 modem also uses most of the same AT commands.http://www.multitech.com/en_US/DOCUMENTS/Collateral/manuals/S000463F.pdf
Regards,
Bryon -
AuthorPosts
- You must be logged in to reply to this topic.