androidril

Android RIL command designation


Im learning about RIL (Radio Interface Layer) and baseband commands, and I saw that there is command that it unused by android source:

 RIL_REQUEST_ENTER_NETWORK_DEPERSONALIZATION

I wonder what its designation ?


Solution

  • Requests that network personlization be deactivated

    "data" is const char ** 
    ((const char **)(data))[0]] is network depersonlization code
    
    "response" is int *
    ((int *)response)[0] is the number of retries remaining, or -1 if unknown
    

    Valid errors:

    SUCCESS
    RADIO_NOT_AVAILABLE (radio resetting)
    GENERIC_FAILURE
    PASSWORD_INCORRECT
    

    Source: ril.h (Android Open Source Project)