Hi Frederik,
I had a similar problem and the reason was the hangout of the modem on the
SMS sending.
I solved with the following command on my plaugin:
g_at_chat_send(data->chat, "AT&C0", NULL, NULL, NULL, NULL);
Hope this helps.
Enrico
2015-02-25 14:48 GMT+01:00 Frederik Lotter <
frederik.lotter(a)mixtelematics.com>:
Hi Ofono experts,
I am using a UBLOX U200 modem and I wrote the driver for it some months
ago, and have since been using GPRS successfully.
I have now added the SMS feature and I am running into a problem:
It looks like once the SMS PDU byte block is sent (with CTRL-Z) the stream
disconnects.
Aux: > 0011000A8170033962660000A7044679990C<CtrlZ>
Any ideas? It looks like the g_io_channel_set_encoding() is called on both
my tty channels to RAW mode, so I am not sure why the CTRL-Z (I guess) is
causing this.
Instrumented output below:
------------------------------------
ofonod[1502]:
/home/flotter/mix6000-angstrom/build/tmp-angstrom_v2014_06-eglibc/work/armv7at2hf-vfp-angstrom-linux-gnueabi/ofono/1.14-r0/ofono-1.14/drivers/atmodem/sms.c:at_cmgl_done()
ofonod[1502]: Aux: > AT+CGSMS=3\r
FRED[Write watcher destroyed...]
ofonod[1502]: Aux: < \r\nOK\r\n
FRED>>[
OK
] - 6 - 6 <<
ofonod[1502]: Aux: > AT+CMGS=17\r
FRED[Write watcher destroyed...]
ofonod[1502]: RegisterProfile() replied an error:
org.freedesktop.DBus.Error.UnknownMethod, Method "RegisterProfile" with
signature "osa{sv}" on interface "org.bluez.ProfileManager1"
doesn't exist
ofonod[1502]: Aux: < \r\n>
FRED>>[
> ] - 4 - 4 <<
ofonod[1502]: Aux: > 0011000A8170033962660000A7044679990C<CtrlZ>
FRED[Write watcher destroyed...]
FRED[Read watcher destroyed...]
FRED[IO Disconnect]
_______________________________________________
ofono mailing list
ofono(a)ofono.org
https://lists.ofono.org/mailman/listinfo/ofono