Gammu internals
1.38.0
|
Data Structures | |
struct | GSM_SecurityCode |
Enumerations | |
enum | GSM_SecurityCodeType { SEC_SecurityCode = 0x01, SEC_Pin, SEC_Pin2, SEC_Puk, SEC_Puk2, SEC_None, SEC_Phone, SEC_Network } |
Functions | |
GSM_Error | GSM_EnterSecurityCode (GSM_StateMachine *s, GSM_SecurityCode *Code) |
GSM_Error | GSM_GetSecurityStatus (GSM_StateMachine *s, GSM_SecurityCodeType *Status) |
Security related operations with phone.
enum GSM_SecurityCodeType |
Definition of security codes.
Enumerator | |
---|---|
SEC_SecurityCode | Security code. |
SEC_Pin | PIN. |
SEC_Pin2 | PIN 2. |
SEC_Puk | PUK. |
SEC_Puk2 | PUK 2. |
SEC_None | Code not needed. |
SEC_Phone | Phone code needed. |
SEC_Network | Network code needed. |
Definition at line 28 of file gammu-security.h.
GSM_Error GSM_EnterSecurityCode | ( | GSM_StateMachine * | s, |
GSM_SecurityCode * | Code | ||
) |
Enters security code (PIN, PUK,...) .
Definition at line 359 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone_Functions::EnterSecurityCode, GSM_Phone::Functions, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.
GSM_Error GSM_GetSecurityStatus | ( | GSM_StateMachine * | s, |
GSM_SecurityCodeType * | Status | ||
) |
Queries whether some security code needs to be entered.
Queries whether some security code needs to be entered./
Definition at line 372 of file api.c.
References CHECK_PHONE_CONNECTION, GSM_Phone::Functions, GSM_Phone_Functions::GetSecurityStatus, _GSM_StateMachine::Phone, and PRINT_LOG_ERROR.