#ifndef _GSM_0707_H
#define _GSM_0707_H

/* Section 9.2.1 */
enum gsm0707_cme_error {
	GSM0707_CME_PHONE_FAILURE		= 0,
	GSM0707_CME_PHONE_NOCONNECT		= 1,
	GSM0707_CME_PHONE_ADAPT_RESERVED	= 2,
	GSM0707_CME_OPERATION_NOT_ALLOWED	= 3,
	GSM0707_CME_OPERATION_NOT_SUPPORTED	= 4,
	GSM0707_CME_PH_SIM_PIN_REQUIRED		= 5,
	GSM0707_CME_PH_FSIM_PIN_REQUIRED	= 6,
	GSM0707_CME_PH_FSIM_PUK_REQUIRED	= 7,
	GSM0707_CME_SIM_NOT_INSERTED		= 10,
	GSM0707_CME_SIM_PIN_REQUIRED		= 11,
	GSM0707_CME_SIM_PUK_REQUIRED		= 12,
	GSM0707_CME_SIM_FAILURE			= 13,
	GSM0707_CME_SIM_BUSY			= 14,
	GSM0707_CME_SIM_WRONG			= 15,
	GSM0707_CME_INCORRECT_PASSWORD		= 16,
	GSM0707_CME_SIM_PIN2_REQUIRED		= 17,
	GSM0707_CME_SIM_PUK2_REQUIRED		= 18,
	GSM0707_CME_MEMORY_FULL			= 20,
	GSM0707_CME_INVALID_INDEX		= 21,
	GSM0707_CME_NOT_FOUND			= 22,
	GSM0707_CME_MEMORY_FAILURE		= 23,
	GSM0707_CME_TEXT_STRING_TOO_LONG	= 24,
	GSM0707_CME_TEXT_STRING_INVAL_CHARS	= 25,
	GSM0707_CME_DIAL_STRING_TOO_LONG	= 26,
	GSM0707_CME_DIAL_STRING_INVAL_CHARS	= 27,
	GSM0707_CME_NO_NETWORK_SERVICE		= 30,
	GSM0707_CME_NETWORK_TIMEOUT		= 31,
	GSM0707_CME_NETWORK_NOT_ALLOWED		= 32,
	GSM0707_CME_NETPERS_PIN_REQUIRED	= 40,
	GSM0707_CME_NETPERS_PUK_REQUIRED	= 41,
	GSM0707_CME_NETSUBSET_PIN_REQUIRED	= 42,
	GSM0707_CME_NETSUBSET_PUK_REQUIRED	= 43,
	GSM0707_CME_PROVIDER_PIN_REQUIRED	= 44,
	GSM0707_CME_PROVIDER_PUK_REQUIRED	= 45,
	GSM0707_CME_CORPORATE_PIN_REQUIRED	= 46,
	GSM0707_CME_CORPORATE_PUK_REQUIRED	= 47,
	GSM0707_CME_UNKNOWN			= 100,
};

#endif /* _GSM_0707_H */
