Prateek
Prateek

Reputation: 12252

Identify that Android device supports EAP-SIM for WiFi authentication programatically

Currently there are two types of Android devices available in the market. Some devices support EAP-SIM authentication, while other does not. How can I identify programmatically whether my device support EAP-SIM authentication or not?

Upvotes: 1

Views: 1660

Answers (1)

Rex Tsai
Rex Tsai

Reputation: 21

To implement EAP-SIM feature, it requires patched wpa_supplicant and API to access APDU channel.

Since the AOSP did not have EAP-SIM support, there are different implementations on the market. It's hard to identify from wpa_supplicant, but we can check the APIs or service to guess if the device has smart card support or not.

  1. Check com.android.internal.telephony.RILConstants or com.android.internal.telephony.CommandsInterface. Git at Google
  2. Check if there is android.uid.smartcard system service. (Sony)

Upvotes: 2

Related Questions