Hi!
I'm still fighting with SMS sending on Motorola Droid 4. Yes, its
kernel driver is somehow interesting... and work in progress.
If packets are split correctly, SMS sending works.
ofonod[2900]: OutSMS: > AT+GCMGS=\r
ofonod[2900]: OutSMS: > 3100098106343401F30000A70A73F45B4E07D1CB733A<CtrlZ>
ofonod[2900]: OutSMS: < +GCMGS=10,"00/00/00,01:00:00+00"\r\n
But if data are sent in one write, it does not... (and even this
is not easy to do with ofono).
ofonod[3131]: OutSMS: >
AT+GCMGS=\r3100098106343401F30000A70A73F45B4E07D1CB733A<CtrlZ>
ofonod[3131]: OutSMS: < :ERROR=18\r\n
Handle command response: :ERROR=18
Handle terminator list
Is there easy way to do the splitting? I can do
g_at_io_write(data->send_chat->parent->io, buf, strlen(buf));
g_io_channel_flush(data->send_chat->parent->io->channel, NULL);
But that needs exporting functions I guess you'd rather not have
exported.
Is there better way?
Best regards,
Pavel
--
(english)
http://www.livejournal.com/~pavelmachek
(cesky, pictures)
http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html