diff options
Diffstat (limited to 'include/gsmd/event.h')
-rw-r--r-- | include/gsmd/event.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/gsmd/event.h b/include/gsmd/event.h index 38cefae..d10c26e 100644 --- a/include/gsmd/event.h +++ b/include/gsmd/event.h @@ -43,6 +43,25 @@ enum gsmd_pin_type { /* waiting for ... */ __NUM_GSMD_PIN }; +static const char *pin_type_names[__NUM_GSMD_PIN] = { + [GSMD_PIN_NONE] = "NONE", + [GSMD_PIN_SIM_PIN] = "SIM PIN", + [GSMD_PIN_SIM_PUK] = "SIM PUK", + [GSMD_PIN_PH_SIM_PIN] = "Phone-to-SIM PIN", + [GSMD_PIN_PH_FSIM_PIN] = "Phone-to-very-first SIM PIN", + [GSMD_PIN_PH_FSIM_PUK] = "Phone-to-very-first SIM PUK", + [GSMD_PIN_SIM_PIN2] = "SIM PIN2", + [GSMD_PIN_SIM_PUK2] = "SIM PUK2", + [GSMD_PIN_PH_NET_PIN] = "Network personalization PIN", + [GSMD_PIN_PH_NET_PUK] = "Network personalizaiton PUK", + [GSMD_PIN_PH_NETSUB_PIN]= "Network subset personalisation PIN", + [GSMD_PIN_PH_NETSUB_PUK]= "Network subset personalisation PUK", + [GSMD_PIN_PH_SP_PIN] = "Service provider personalisation PIN", + [GSMD_PIN_PH_SP_PUK] = "Service provider personalisation PUK", + [GSMD_PIN_PH_CORP_PIN] = "Corporate personalisation PIN", + [GSMD_PIN_PH_CORP_PUK] = "Corporate personalisation PUK", +}; + enum gsmd_call_type { GSMD_CALL_NONE = 0, GSMD_CALL_UNSPEC = 1, |