Function unlock
pub unsafe extern "C" fn unlock(sim_id: Id, pin: *const u8) -> c_int👎Deprecated since 0.2.0: Use ‘mcm::sim’ module instead.
Available on non-
ag35 only.Expand description
Unlock the SIM card: it will disables the request of PIN code.
If PIN code is too long (max 8 digits), it is a fatal error, the function will not return.