问题描述
目前有两种类型的机器人装置在市场上买到。有些设备支持EAP-SIM认证,而其他的则没有。我怎么能识别编程是否我的设备支持EAP-SIM认证与否?
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?
推荐答案
要实施EAP-SIM功能,它需要修补的wpa_supplicant
和API来访问APDU通道。
To implement EAP-SIM feature, it requires patched wpa_supplicant
and API to access APDU channel.
由于AOSP没有EAP-SIM支持中,有在市场上不同的实现。很难确定从的wpa_supplicant
,但我们可以检查API或服务来想,如果设备有智能卡的支持与否。
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.
- 检查
com.android.internal.telephony.RILConstants
或com.android.internal.telephony.CommandsInterface
。 的Git在谷歌 - 检查是否有
android.uid.smartcard
系统服务。 (索尼)
- Check
com.android.internal.telephony.RILConstants
orcom.android.internal.telephony.CommandsInterface
. Git at Google - Check if there is
android.uid.smartcard
system service. (Sony)
这篇关于标识Android设备支持EAP-SIM支持WiFi认证编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!