canmove, Confirmed users
725
edits
| Line 387: | Line 387: | ||
</pre> | </pre> | ||
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> | ||
=== | === 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 WRITEME''' | |||
=== DOM | === DOM APIs === | ||
* 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 == | ||