All of lore.kernel.org
 help / color / mirror / Atom feed
* Test clients for ofono: rfone, Unicsy Demo
@ 2019-02-14 10:11 Pavel Machek
  2019-03-03 22:49 ` Manually packetizing data for motorola modem was " Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Pavel Machek @ 2019-02-14 10:11 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]

Hi!

What ofono client are you using for development.. and for real usage
on a cellphone?

There are scripts in test/ which are suitable for early development,
but not really for real use or 'does everything work?' testing.

Anyway, I created some.

RFone -- https://gitlab.com/tui/tui/tree/master/rfone -- command line
tool written in Rust, by default monitors interesting events
(incomming call, sms, signal changes, registration changes), and has
command-line options for making/answering calls and sending sms. I'm
starting gtk support.

Unicsy Demo -- https://github.com/pavelmachek/unicsy_demo -- gtk phone
application meant for a phone, written in Python so a bit slow on
Nokia N900. But it has integrated phonebook, log of sms messages, is
fully graphical so possible to control from touchscreen, and actually
plays melody on incoming call. [Few GPL compatible melodies would
be good.] Quite basic, but should be useable.

Is there any other software I should look at?

Best regards,
									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Manually packetizing data for motorola modem was Re: Test clients for ofono: rfone, Unicsy Demo
  2019-02-14 10:11 Test clients for ofono: rfone, Unicsy Demo Pavel Machek
@ 2019-03-03 22:49 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2019-03-03 22:49 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1134 bytes --]

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 181 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-03 22:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-14 10:11 Test clients for ofono: rfone, Unicsy Demo Pavel Machek
2019-03-03 22:49 ` Manually packetizing data for motorola modem was " Pavel Machek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.