Skip to content

uim: 'Application Identifier' is not a string

Aleksander Morgado requested to merge aleksander/deprecate-aid-string into master

The 'Application Identifier' value given in the 'Session Information' TLVs is not a string, it's a generic byte array, as seen in the "UIM Get Card Status" output, e.g.:

Card [0]:
    Card state: 'present'
    UPIN state: 'not-initialized'
        UPIN retries: '0'
        UPUK retries: '0'
    Application [0]:
        Application type:  'usim (2)'
        Application state: 'ready'
        Application ID:
            A0:00:00:00:87:10:02:FF:34:FF:07:89:31:2E:30:FF
        Personalization state: 'ready'
        UPIN replaces PIN1: 'no'
        PIN1 state: 'disabled'
            PIN1 retries: '3'
            PUK1 retries: '10'
        PIN2 state: 'enabled-not-verified'
            PIN2 retries: '3'
            PUK2 retries: '10'

We update the libqmi API to allow setting/getting the TLV with the correct format, and for that we rename the TLV to just 'Session', and we flag as deprecated the old TLV format, for which we provide compat replacements.

Merge request reports

Loading