i will only use one at a time.
Originally Posted by tenement9
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.
Originally Posted by stubner
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.
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!
Why negative numbers? Try using positive numbers that will achieve the same result and will be simples to map the bits.
Originally Posted by dannydai
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?