来自< DATA_REGISTRATION_STATE 1表示已注册的2表示未注册。什么是13?响应将包含许多参数,这是第一个参数。
答案 0 :(得分:0)
有点迟到的答案,但也许对于在这里偶然发现的其他人有用:
/**
* RIL level registration state values from ril.h
* ((const char **)response)[0] is registration state 0-6,
* 0 - Not registered, MT is not currently searching
* a new operator to register
* 1 - Registered, home network
* 2 - Not registered, but MT is currently searching
* a new operator to register
* 3 - Registration denied
* 4 - Unknown
* 5 - Registered, roaming
* 10 - Same as 0, but indicates that emergency calls
* are enabled.
* 12 - Same as 2, but indicates that emergency calls
* are enabled.
* 13 - Same as 3, but indicates that emergency calls
* are enabled.
* 14 - Same as 4, but indicates that emergency calls
* are enabled.
* @hide
*/
更多详情here,搜索RIL_REG_STATE_*
。