mirror of git://git.sysmocom.de/ofono
network: add support eutran sms only states
EUTRAN SMS states mapped to registered and roaming respectively.
This commit is contained in:
parent
eb70ba464a
commit
88358047c8
|
@ -669,6 +669,10 @@ const char *registration_status_to_string(int status)
|
|||
return "unknown";
|
||||
case NETWORK_REGISTRATION_STATUS_ROAMING:
|
||||
return "roaming";
|
||||
case NETWORK_REGISTRATION_STATUS_REGISTERED_SMS_EUTRAN:
|
||||
return "registered";
|
||||
case NETWORK_REGISTRATION_STATUS_ROAMING_SMS_EUTRAN:
|
||||
return "roaming";
|
||||
}
|
||||
|
||||
return "";
|
||||
|
|
|
@ -43,6 +43,8 @@ enum network_registration_status {
|
|||
NETWORK_REGISTRATION_STATUS_DENIED = 3,
|
||||
NETWORK_REGISTRATION_STATUS_UNKNOWN = 4,
|
||||
NETWORK_REGISTRATION_STATUS_ROAMING = 5,
|
||||
NETWORK_REGISTRATION_STATUS_REGISTERED_SMS_EUTRAN = 6,
|
||||
NETWORK_REGISTRATION_STATUS_ROAMING_SMS_EUTRAN = 7,
|
||||
};
|
||||
|
||||
/* 27.007 Section 7.3 <stat> */
|
||||
|
|
Loading…
Reference in New Issue