B2G/Architecture: Difference between revisions

Line 387: Line 387:
</pre>
</pre>


The <em>Dialer</em> app [https://github.com/mozilla-b2g/gaia/blob/master/apps/dialer/js/dialer.js#L389 receives these events] and updates the UI etc.:
Apps such as the <em>Dialer</em> [https://github.com/mozilla-b2g/gaia/blob/master/apps/dialer/js/dialer.js#L389 can receive these events] and update their UI etc.:
<pre>
<pre>
   handleEvent: function fm_handleEvent(evt) {
   handleEvent: function fm_handleEvent(evt) {
Line 403: Line 403:
</pre>
</pre>


=== DOM: Telephony ===
=== 3G Data ===


=== DOM: SMS ===
There is a RIL message that places a "data call" to the cellular tower, which enables data-transfer mode in the modem.  This data call ends up creating/activating a PPP interface device in the linux kernel that can be configured through usual interfaces. '''TODO WRITEME'''


=== DOM: Mobile Connection ===
=== DOM APIs ===
 
=== 3G Data ===


There is a RIL message that places a "data call" to the cellular tower, which enables data-transfer mode in the modem. This data call ends up creating/activating a PPP interface device in the linux kernel that can be configured through usual interfaces. '''TODO'''
* Telephony
** [https://wiki.mozilla.org/WebAPI/WebTelephony Web API discussion/proposal]
** [https://mxr.mozilla.org/mozilla-central/source/dom/telephony/ Implementation]
* SMS
** [https://wiki.mozilla.org/WebAPI/WebSMS Web API discussion/proposal]
** [https://mxr.mozilla.org/mozilla-central/source/dom/sms/src/ril Implementation]
* Mobile Connection info
** [https://wiki.mozilla.org/WebAPI/WebMobileConnection Web API discussion/proposal]
** [https://mxr.mozilla.org/mozilla-central/source/dom/network Implementation]


== WiFi ==
== WiFi ==
canmove, Confirmed users
725

edits