EuiccManager.OperationSmdxSubjectReasonCode Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Caution
This constant will be removed in the future version. Use Android.Telephony.Euicc.Operation enum directly instead of this field.
SubjectCode[5.
[Android.Runtime.Register("OPERATION_SMDX_SUBJECT_REASON_CODE", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.Euicc.Operation enum directly instead of this field.", true)]
public const Android.Telephony.Euicc.Operation OperationSmdxSubjectReasonCode = 10;
[<Android.Runtime.Register("OPERATION_SMDX_SUBJECT_REASON_CODE", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Telephony.Euicc.Operation enum directly instead of this field.", true)>]
val mutable OperationSmdxSubjectReasonCode : Android.Telephony.Euicc.Operation
Field Value
Value = 10- Attributes
Remarks
SubjectCode[5.2.6.1] and ReasonCode[5.2.6.2] error from GSMA (SGP.22 v2.2) When #OPERATION_SMDX_SUBJECT_REASON_CODE
is used as the #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE
, the remaining three bytes of the integer result from #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE
will be used to stored the SubjectCode and ReasonCode from the GSMA spec and NOT ErrorCode.
The encoding will follow the format of: 1. The first byte of the result will be 255(0xFF). 2. Remaining three bytes(24 bits) will be split into six sections, 4 bits in each section. 3. A SubjectCode/ReasonCode will take 12 bits each. 4. The maximum number can be represented per section is 15, as that is the maximum number allowed to be stored into 4 bits 5. Maximum supported nested category from GSMA is three layers. E.g 8.11.1.2 is not supported.
E.g given SubjectCode(8.11.1) and ReasonCode(5.1)
Base10: 0 10 8 11 1 0 5 1 Base2: 0000 1010 1000 1011 0001 0000 0101 0001 Base16: 0 A 8 B 1 0 5 1
Thus the integer stored in #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE
is 0xA8B1051(176885841)
Java documentation for android.telephony.euicc.EuiccManager.OPERATION_SMDX_SUBJECT_REASON_CODE
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.