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