Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why do Android doesn't have a mac address for 3g when iOS does? [closed]

I know this maybe a stupid question but maybe I'm just confused with the concept of mac address.

As far as I know, each device has its own mac address. For example, a wiFi interface has its own mac address. If all devices has its own mac address, then the device for 3g must also have a mac address. This is true for iPhones because the 3g in iPhone still gives a mac address. However, in Android, only the mac address for wiFi can be determined. There is no mac address for 3g. Or I'm not sure if it is just not accessible. Can you explain why Android doesn't have a mac address for 3g?

like image 389
Arci Avatar asked Feb 24 '12 02:02

Arci


People also ask

Does 3G require a MAC address?

The answer is yes, and no. 1X/3G/4G interfaces on cellular devices do have a MAC address, but those MACs are dynamically assigned and change on every reboot of the device... this is because MAC addresses only apply to IEEE 802 technologies, of which cellular networks are not.

Do Android phones have MAC addresses?

Android Phone On the Home screen, tap the Menu button and go to Settings. Tap About Phone. Tap Status or Hardware Information (depending on your model of phone). Scroll down to see your WiFi MAC address.

Why does my Android phone have a MAC address?

MAC addresses are used by devices when connecting to a Wi-Fi network or an access point. Because these MAC addresses are transmitted without encryption, they can be captured and used to potentially track a user's location. Historically, devices use the factory MAC address to associate to a Wi-Fi network.


1 Answers

I believe that MAC address is specific to network technologies that implement the IEEE 802 standard, such as ethernet. 3G is not an IEEE 802 network, so MAC address really doesnt apply.

That said, there should be very few reasons to use the MAC address in your app, unless youre writing a network driver or doing something specific with the TCP/IP network.

Often people reach for MAC address thinking that it represents a unique device id, when really you should use something like http://developer.android.com/reference/android/provider/Settings.Secure.html#ANDROID_ID to get a unique id that will work across all of the different hardware combinations for android, some of which might include no IEE 802 network whatsoever.

I suspect Apple is just being sloppy with their API and/or able to assume that ALL iOS devices have IEE 802 network hardware because they control the entire ecosystem. Does IOs give a different MAC address when on Wifi than on 3G?

like image 138
mmeyer Avatar answered Oct 07 '22 20:10

mmeyer