https://redmine.graphics-muse.org/https://redmine.graphics-muse.org/favicon.ico?16278048512019-03-24T23:03:13ZGraphics Muse Issue TrackerXeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=25132019-03-24T23:03:13ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>In Progress</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>10</i></li></ul><p>Original PiPhone in python is here: git clone <a class="external" href="https://github.com/climberhunt/PiPhone.git">https://github.com/climberhunt/PiPhone.git</a></p>
<p>This is very short and could probably be written in C fairly easily. It's biggest change from my other apps is the AT modem usage. Modem information is available from <a href="https://www.adafruit.com/product/1946" class="external">Adafruit</a> along with their <a href="https://learn.adafruit.com/adafruit-fona-mini-gsm-gprs-cellular-phone-module/downloads#overview" class="external">tutorial</a> which has pinouts and a link to the <a href="https://cdn-shop.adafruit.com/product-files/1946/SIM800+Series_AT+Command+Manual_V1.09.pdf" class="external">command manual</a>, although the original didn't get nearly that involved.</p>
<p>I'll probably want to figure out how to make a phone call and send an sms.</p>
<p>Here is <a href="http://linuxcalling.blogspot.com/2016/03/interfacing-sim800-module-with.html" class="external">some code to send SMS messages</a>. It's written in C for RPi so it's probably a reasonable start for phone calls too. It may be necessary to <a href="https://raspberrypi.stackexchange.com/a/67240" class="external">disable serial port use</a> as configured by default by the bootloader, though I kinda doubt it in my case.</p>
<p>To get notified when a call or message comes in I need to <a href="https://developer.ridgerun.com/wiki/index.php?title=Gpio-int-test.c" class="external">poll on an interrupt on a GPIO pin</a>. The Adafruit page has a link to the reference manual that says which pins to monitor. However, the sysfs interface is now deprecated and new code is supposed to use the new <a href="https://www.cnx-software.com/2017/11/03/learn-more-about-linuxs-new-gpio-user-space-subsystem-libgpiod/" class="external">character device</a> <a href="https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/" class="external">libgpiod library</a> <a href="https://framagit.org/cpb/example-programs-using-libgpiod" class="external">Example code</a> is available.</p> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=25282019-04-27T21:57:50ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Immediate</i></li><li><strong>% Done</strong> changed from <i>10</i> to <i>30</i></li><li><strong>Severity</strong> changed from <i>03 - Medium</i> to <i>01 - Critical</i></li></ul><p>The UI is written and appears to work okay on both the desktop and in Xeon. I can press numbers and special characters (# and *), delete characters and exit the app. The number is displayed at the top of the display.</p>
<p>Next step is to port the call commands from the original app. Then wire up the modem and give it a shot. Of course, I need to order a SIM card first. Probably ought to do that soon.</p> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=34542023-05-11T17:03:14ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/3454/diff?detail_id=4001">diff</a>)</li></ul> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=34772023-05-18T18:01:27ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Target version</strong> changed from <i>v0.1</i> to <i>Xeon 1.0 - Asimov</i></li></ul><p>The phone app will need to be rewritten now that the hardware switched to PinePhone Pro, but may be able to use some of the code/algorithms from <a href="https://xnux.eu/ui/index.html" class="external">Megi's voice calling app</a>. There may also be some ideas that can be gleaned from dialing apps on <a href="https://linuxphoneapps.org/apps/" class="external">LinuxPhoneApps.org</a>.</p> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=34872023-05-18T22:50:25ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Severity</strong> changed from <i>01 - Critical</i> to <i>05 - Very Low</i></li></ul> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=41872023-11-16T18:24:06ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Target version</strong> changed from <i>Xeon 1.0 - Asimov</i> to <i>3.0 - Corrino</i></li></ul> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=41902023-11-16T21:18:46ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/4190/diff?detail_id=4927">diff</a>)</li></ul> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=43472024-03-09T01:26:48ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Severity</strong> changed from <i>05 - Very Low</i> to <i>01 - Critical</i></li></ul> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=43482024-03-09T01:31:11ZHammelmjhammel@graphics-muse.org
<ul></ul><p>Restarting this work. I just tested the app on the PinePhone Pro and it comes up okay. The text field showing the dialed number is not displayed but the close button does work (which means the touchscreen seems to work, or at least is pretending to).</p> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=43552024-03-13T04:11:00ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/4355/diff?detail_id=5104">diff</a>)</li></ul> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=43612024-03-16T02:58:29ZHammelmjhammel@graphics-muse.org
<ul></ul><p>I have fixes for this in the pidialer sandbox but need to fix RM <a class="issue tracker-9 status-5 priority-7 priority-highest closed" title="Action Item: Verify touchscreen support on Pinephone Pro (Closed)" href="https://redmine.graphics-muse.org/issues/975">#975</a> before I can accurately test them.</p> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=43622024-03-16T02:58:45ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-9 status-5 priority-7 priority-highest closed" href="/issues/975">Action Item #975</a>: Verify touchscreen support on Pinephone Pro</i> added</li></ul> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=43672024-03-17T04:40:29ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Description</strong> updated (<a title="View differences" href="/journals/4367/diff?detail_id=5109">diff</a>)</li></ul> Xeon - Feature #700: Need Phone Apphttps://redmine.graphics-muse.org/issues/700?journal_id=43822024-03-21T17:52:34ZHammelmjhammel@graphics-muse.org
<ul><li><strong>Severity</strong> changed from <i>01 - Critical</i> to <i>03 - Medium</i></li></ul>