I am having problems with SMS messages that contains line feeds.
The gateway (firmware wg400-2.5. will respond always with Bad Request error if message contains line feed or any other characters with value below 0x20 (space character).
For example, following REST request will cause Bad Request error:
No matter what encoding is used (%0d%0A, \r\n, ...), the error remains.
According to change log this should work. Quote from log:
wg400-2.3.2.bin
release date: 21/12/2016
*Support CR/LF when sending sms through both HTTP and AMI interfaces;
hello Yive2
Sorry for the trouble. Firmware 2.5.6 and 2.5.8 don't support %0A, we will solve it in our next firmware.If you want to use %0A, you can update your firmware to firmware 2.5.4 or below 2.5.4. If you have any other issues, you can add my skype:live:.cid.a65498ca89f1fd0