Editing Task:MMS

Warning: You are not logged in. Your IP address will be recorded in this page's edit history.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
-
The aim of this page is to list potential obstacles and solutions in regards to implementing MMS in Maemo 5 ”[[Open development/Maemo roadmap/Fremantle|Fremantle]]” on the [[Nokia N900|N900]].
+
__FORCETOC__
 +
 
 +
== Introduction ==
 +
The aim of this page is to list potential obstacles and solutions in regards to implementing MMS in Maemo 5 ”[[Fremantle]]” on the [[N900]].
== Use case ==
== Use case ==
Line 12: Line 15:
To successfully implement MMS sending and receiving on the N900 the following has to be done:
To successfully implement MMS sending and receiving on the N900 the following has to be done:
-
=== Hook in to SMS receiving.===
+
=== Hook in to SMS receving.===
-
According to [http://talk.maemo.org/showpost.php?p=319365&postcount=15 this] post by danielwilms the final SDK for Maemo5 should let us do this through Telepathy.  
+
According to [http://talk.maemo.org/showpost.php?p=319365&postcount=15 this] post by danielwilms the final SDK for Maemo5 should let us do this through Telepathy. Docs on this should be coming *soon*.
-
 
+
-
To handle WAP Push messages one will be required to register a handler via the D-BUS API (final docs on this pending, for alpha version please contact [http://talk.maemo.org/member.php?u=24057 frals]).
+
 +
What's needed here is basically to extract the WAP PUSH message and then reply with the correct messages.
=== Fetch the MMS from the provider.===
=== Fetch the MMS from the provider.===
Multiple issues with this.
Multiple issues with this.
-
* Fremantle UI currently only allows configuring one (GPRS) APN. Add one manually with gconftool and it will show up in the UI afterwards
+
* Fremantle UI currently only allows configuring one APN. gconf MIGHT allow you to add multiple.
-
 
+
"[...] you can only define one APN in Maemo5, at least in the release I've got." <ref>[http://talk.maemo.org/showpost.php?p=335857&postcount=22 dart45 @ talk.maemo.org]</ref>
-
Example:
+
-
gconftool-2 --set /system/osso/connectivity/IAP/Tele2@32@MMS/type --type string "GPRS"
+
-
gconftool-2 --set /system/osso/connectivity/IAP/Tele2@32@MMS/name --type string "Tele2 MMS"
+
-
gconftool-2 --set /system/osso/connectivity/IAP/Tele2@32@MMS/gprs_accesspointname --type string "internet.tele2.se"
+
-
gconftool-2 --set /system/osso/connectivity/IAP/Tele2@32@MMS/ipv4_type --type string AUTO
+
-
gconftool-2 --set /system/osso/connectivity/IAP/Tele2@32@MMS/sim_imsi --type string YOURSIMIMSI
+
-
 
+
-
To get the SIM IMSI to use:
+
-
gconftool -R /system/osso/connectivity/IAP |grep sim_imsi
+
* Most operators only allow fetching of MMS when accessing via a specific [http://en.wikipedia.org/wiki/Access_Point_Name APN]. To access this you would have to temporarily suspend your current 3G connection and switch over to this (is this correct? need someone with knowledge on this). On S60 you won't get dropped as long as you are on a 3G connection.
* Most operators only allow fetching of MMS when accessing via a specific [http://en.wikipedia.org/wiki/Access_Point_Name APN]. To access this you would have to temporarily suspend your current 3G connection and switch over to this (is this correct? need someone with knowledge on this). On S60 you won't get dropped as long as you are on a 3G connection.
Line 36: Line 29:
* If the user only got access to GPRS the current connection (if in-use) have to to be temporarily suspended while fetching the MMS. This should be doable by doing a "Deffered Retrieval". <ref>[http://www.openmobilealliance.org/Technical/release_program/docs/CopyrightClick.aspx?pck=MMS&file=V1_3-20080128-C/OMA-TS-MMS-CTR-V1_3-20080128-C.pdf Figure 7. Page 16]</ref>
* If the user only got access to GPRS the current connection (if in-use) have to to be temporarily suspended while fetching the MMS. This should be doable by doing a "Deffered Retrieval". <ref>[http://www.openmobilealliance.org/Technical/release_program/docs/CopyrightClick.aspx?pck=MMS&file=V1_3-20080128-C/OMA-TS-MMS-CTR-V1_3-20080128-C.pdf Figure 7. Page 16]</ref>
-
* Accessing the MMS "server" through a specific connection: iptables tweaking? Discussion at [[Mms_implemention_conversation#Technical]]. The following is based on that conversation:
+
* Accessing the MMS "server" through a specific connection: iptables tweaking? Discussion at [[http://wiki.maemo.org/Mms_implemention_conversation#Technical Mms_implemention_conversation#Technical]] The following is based on that conversation:
** The problem here is routing specific data to the specific connection. While this is possible with some clever routes, this does raise the problem with operators having the same gateway for both GPRS and MMS connections, which might lead to a collision (if both they are indeed the same gateway, it should be no problem just getting the MMS over the current connection?).
** The problem here is routing specific data to the specific connection. While this is possible with some clever routes, this does raise the problem with operators having the same gateway for both GPRS and MMS connections, which might lead to a collision (if both they are indeed the same gateway, it should be no problem just getting the MMS over the current connection?).
** One possibility is to tag the appropiate packets with iptables and then sent to a different routing table.
** One possibility is to tag the appropiate packets with iptables and then sent to a different routing table.
Line 43: Line 36:
** '''At the core of it - whats needed is a separate interface (e.g. ppp0, ppp1 etc) for each APN the user sets up'''.
** '''At the core of it - whats needed is a separate interface (e.g. ppp0, ppp1 etc) for each APN the user sets up'''.
-
* Applications should be able to request a certain IAP to be activated; thus should the MMS app be able to request the correct APN. [[Mms_implemention_conversation#Higher_level_technical|Source]]
+
* Applications should be able to request a certain IAP to be activated; thus should the MMS app be able to request the correct APN. [http://wiki.maemo.org/Mms_implemention_conversation#Higher_level_technical Source]
* The functionality to handle the above problem is in linux-2.6.30+ (Fremantle runs 2.6.28) so if there is a future kernel upgrade, it should be possible to implement full MMS support. [http://talk.maemo.org/showthread.php?p=349859#post349859 See this talk-post.] Alternative would be to backport the networking namespace to 2.6.28.
* The functionality to handle the above problem is in linux-2.6.30+ (Fremantle runs 2.6.28) so if there is a future kernel upgrade, it should be possible to implement full MMS support. [http://talk.maemo.org/showthread.php?p=349859#post349859 See this talk-post.] Alternative would be to backport the networking namespace to 2.6.28.
Line 72: Line 65:
* Community support; not official Nokia support
* Community support; not official Nokia support
* CLI, GUI, HIG not important
* CLI, GUI, HIG not important
-
 
-
Implemented, see: http://talk.maemo.org/showthread.php?p=450237#post450237
 
=== Quick hack, r/w ===
=== Quick hack, r/w ===
-
* Make sure a technical inclined Nokia N900 user is able to
+
* Make sure a technical inclined Nokia N90 user is able to
** Receive & sent MMS
** Receive & sent MMS
** Read MMS
** Read MMS
Line 83: Line 74:
* Community support; not official Nokia support
* Community support; not official Nokia support
* CLI, GUI, HIG not important
* CLI, GUI, HIG not important
-
 
-
Implemented, see: http://talk.maemo.org/showthread.php?p=450981#post450981
 
=== Quick hack, r/o, user-friendly ===
=== Quick hack, r/o, user-friendly ===
Line 101: Line 90:
* Community support; not official Nokia support
* Community support; not official Nokia support
* Finger/touch GUI, HIG recommended
* Finger/touch GUI, HIG recommended
-
 
-
Implemented, see http://talk.maemo.org/showthread.php?p=459426#post459426
 
=== Full specs, r/w, user-friendly ===
=== Full specs, r/w, user-friendly ===
Line 120: Line 107:
[[Category:Brainstorm]]
[[Category:Brainstorm]]
[[Category:Cellular]]
[[Category:Cellular]]
-
[[Category:N900]]
 

Learn more about Contributing to the wiki.


Please note that all contributions to maemo.org wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see maemo.org wiki:Copyrights for details). Do not submit copyrighted work without permission!


Cancel | Editing help (opens in new window)