Skip to contentSkip to conversation

Test clients for ofono: rfone, Unicsy Demo

DISCUSSION Pavel Machek 1 participant 2 messages Feb 14, 2019 – Mar 3, 2019

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#1 lore raw

Manually packetizing data for motorola modem was Re: Test clients for ofono: rfone, Unicsy Demo

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

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html