Discuss type-mask (Number) -2 at the iPhone OS 3.x - Hackint0sh.org; Originally Posted by tenement9
MMS works by connecting to a proxy server to get your ...
-

Originally Posted by
tenement9
MMS works by connecting to a proxy server to get your media. That uses your internet to do that. So you can only use one at a time. If your tethering, then your mms is off until you stop tethering.
i will only use one at a time.
but i must reconfig my carrier.plist to change the functionality between tethering and mms. there must be a way to use both (tethering and mms) not at the same time but with the same carrier.plist settings.
the string "type-mask (Number) -2" activates the mms apn for send and receive mms
or it activates the tethering (when it is set in the internet apn)
but when i set the string in both apns only tethering works.
i have also tried some -1 -2 -3 and -4 combination between both apns but no success.
-
-
The Man
Array

Originally Posted by
stubner
i will only use one at a time.
but i must reconfig my carrier.plist to change the functionality between tethering and mms. there must be a way to use both (tethering and mms) not at the same time but with the same carrier.plist settings.
the string "type-mask (Number) -2" activates the mms apn for send and receive mms
or it activates the tethering (when it is set in the internet apn)
but when i set the string in both apns only tethering works.
i have also tried some -1 -2 -3 and -4 combination between both apns but no success.
My guess is that there is a catch here: -2 seems to be the "mask" that "activates" a special service, like MMS or tethering.
Since your carrier requires a special MMS apn, it will not work for both as it may be doing a search for the APN with -2, and it's always returning the "internet" one, and that one does not have MMS services.
So fart I think on the worst case there will up to 4 APNs:
iPhone-Data, VVM, MMS and tethering. From what I've seen this is very reasonable. Since they are all inside a single dictionary, there is no ordering, so there must be a method to "mark" each one, and I think this is the task for the "type-mask". "Mask", so it's masking some value to define the services available on that APN (sounds like a reasonable idea: each bit represents a service???).
I say we need more bundles to check.
-
-
Here's something what I've tried and managed to get working (at least for now), maybe someone else wants to try it too and see what happens..
Set type-mask on your interconnection ap to -6
Set type-mask of your wap (mms) ap to 4
It seemed that third bit marks AP for MMS, and some other unknown bit marks it for tethering (that's why it is -6, 2/8/16 won't work), but this is just guessing at this point.
Edit: Naturally wrote MMS twice.
Edit2: I have two interconnection ap's defined, another without type-mask, and another with type-mask -6, just in case. The one without type-mask is the first one in the array.
Last edited by mptiku; 04-06-2009 at 08:49 AM.
-
The Man
Array
So far the type-mask information available is not enough for a complete map of the values. For example ATT iphone-only-data uses "5". We need to keep track of the values found in the original ipcc files (or in the bundles) and from there try to figure out what is the real meaning of the bits.
The we will be able to create proper ipcc hacks.
-
-
it just works!
great job stubner !
internet apn mask => -6
mms apn mask => 4
and then apn auto switch just works magically!
with tethering also!
-
The Man
Array

Originally Posted by
dannydai
great job stubner !
internet apn mask => -6
mms apn mask => 4
and then apn auto switch just works magically!
with tethering also!
Why negative numbers? Try using positive numbers that will achieve the same result and will be simples to map the bits.
-
-
Well here's my best guess at things. I'm pretty much going by assumptions made from the at&t carriers.plist in beta 2, and no "inside knowledge" or anything. I've only got a 2G, so none of these settings make any difference to me, and therefore can't really test these, but if someone else would like to test them out and let me know if you have any success, maybe we can make some progress with this.
-
It doesnt work for me on iphone 3g os3.0 . I have 2 APN.One for mms, one for internet. the type mask value is 13 and i wrote to under the internet apn
-
-
Sorry it works under the mms apn
thanks great job
-
i have only one problem.mms works great, internet on iphone works great, but tethering doesnt work for me with mask 13 under mms apn.any idea?
-
Similar Threads
-
By fbadini in forum iOS 4.x (iPhone OS 4.x)
Replies: 8
Last Post: 04-22-2010, 04:12 PM
-
By iGun 4 Fun in forum Turbo-, Supersim and Simcloning Solution
Replies: 3
Last Post: 11-28-2008, 10:58 AM
-
By Baxt3r in forum General
Replies: 1
Last Post: 12-22-2007, 03:47 AM
-
By lukich in forum General
Replies: 2
Last Post: 11-01-2007, 02:05 PM
-
By BonzaiMBLM in forum iPhone "2G" (Rev. 1)
Replies: 32
Last Post: 10-04-2007, 11:28 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks