Keywords: Mode: All keywords (AND) |
Wed Mar 24, 2010 15:10
|
des: Hi Keke,
Thank you for reply.
The GPS tracker is highly customized indeed.
The problem is almost clear for me and resides ot the tracker's side.
Most probably this tracker uses ISO 8-bit encoding but put "TP_DCS:00" field into PDU.
So smsd handles incoming message written in 8-bit as 7-bit message. Special symbols are interpreted wrongly in this case.
I sent an e-mail to tracker's SW developper. Now waiting for final clarification.
BTW my locale is UTF-8.
Many thanks and best regards,
Dmitry
|
Sun Mar 21, 2010 20:32
|
des: Hi, keke.
Thank you for quick reply.
Look, at this PDU from debug log:
0011000B919750214365F70000AA09821CEE66DBED4C26
which I've just converted it with http://www.twit88.com/home/utility/sms-pdu-encode-decode :
SMSC#
Sender:+79051234567
TP_PID:00
TP_DCS:00
TP_DCS-popis:Uncompressed Text
class:0
Alphabet:Default
$9876;;&&
Length:9
Seems it's completely ok as DCS is set to 00 (7 bit)...
I've also tried to send it from my handset with no result.
Also when the GPS device send a message preceeded with "@" it's somehow converted and stored in file as "<A1>". Alphabet is set to ISO in this incoming message. What this may mean?
BR,
Dmitry
|
Sun Mar 21, 2010 11:46
|
des: Forgot to say that the device is most probably awaiting for the message in 7 bit charset encoding.
I also tried to send the same message to myself (to modem).
1. Alphabet: ISO
"$" is converted into "<A1>".
It seems like Unicode symbol in received massage.
2. Alphabet: GSM
"$" is received as "$".
But the device still does not understand it.
BR,
Dmitry
|
Sun Mar 21, 2010 11:32
|
des: Operating system name and version: FreeBSD 7.1
Version of smsd: 3.1
Smsd installed from: ports
Name and model of a modem / phone: SIM 300
Interface: serial
Hi guys.
I'm trying to manage some GSM-enabled device (GPS Tracker).
In order to send a command I need to create an SMS with next data:
$field1;field2;etc;&&
The device receiving this SMS wants to find first "$" character. But instead it gets space " ".
I've tried a lot to tune parameters:
1. Changed charsets in smsd.conf:
# Char sets: +CSCS: ("GSM","HEX","IRA","PCCP","PCDN","UCS2","8859-1")
#init = AT+CSCS="GSM"
2. Set "cs_convert" to both yes/no
3. Set "Alphabet: GSM" at the SMS.
Please advice me what am I doing wrong?
Thanks in advance!
BR,
Dmitry
|