11-10-2020, 04:42 PM
(This post was last modified: 11-10-2020, 04:44 PM by Subsentient.)
So, saddened by the current pace of PinePhone development, I've decided to take some of this stuff into my own hands.
I'm writing an easy-to-use voice, SMS, and MMS interoperability library for the PinePhone in C, called libfossphone.
It's largely forked from purple-mm-sms, using the same mm-glib bindings but with substantial reworking, and support for MMS and phone calls.
I have a substantial amount of work done already, but it doesn't yet function or compile.
I am designing it to have a simple API that is easy to map to any language, to allow for as wide a use case as possible.
I'm abstracting away ModemManager details etc, and just providing you with a session handle you can use to get messages, place calls, and set callbacks for all incoming calls and messages.
This will hopefully allow development of better phone call applications in several languages. I'm trying to do the hard part, which is get the modem to talk nicely. So, then the community just needs to write GUIs.
What it offers:
I haven't yet created the repo, but you can expect to see this thread updated with one in the next couple days once I have something presentable.
Let me know any thoughts, requests, or questions here. Better to get ideas out before it gets too far down the line to change. :^)
I'm writing an easy-to-use voice, SMS, and MMS interoperability library for the PinePhone in C, called libfossphone.
It's largely forked from purple-mm-sms, using the same mm-glib bindings but with substantial reworking, and support for MMS and phone calls.
I have a substantial amount of work done already, but it doesn't yet function or compile.
I am designing it to have a simple API that is easy to map to any language, to allow for as wide a use case as possible.
I'm abstracting away ModemManager details etc, and just providing you with a session handle you can use to get messages, place calls, and set callbacks for all incoming calls and messages.
This will hopefully allow development of better phone call applications in several languages. I'm trying to do the hard part, which is get the modem to talk nicely. So, then the community just needs to write GUIs.
What it offers:
- Voice calls API
- SMS API
- MMS API
- Voicemail notification API (if possible)
- Call history API
- Call audio routing API (it will work the same as now, routed through ALSA, for now.)
- C (C89 and up)
- C++ (C++98 and up)
- Rust (via Bindgen)
- Python (via SWIG)
I haven't yet created the repo, but you can expect to see this thread updated with one in the next couple days once I have something presentable.
Let me know any thoughts, requests, or questions here. Better to get ideas out before it gets too far down the line to change. :^)