hub.network.modem.pin_code.reset
- Version: 1.0
- Reset a SIM pin code for a specified ‘mobile’ interface. Can be used only if a SIM card was locked after an incorrect SIM PIN code was provided 3 times.
Edit
Field | Type | Required | Description |
---|---|---|---|
interfaceId | string | + | Id of the interface (mobileX) |
pukCode | string | + | A PUK code required to reset a PIN code |
pinCodeNew | string | + | A new SIM pin code to set |
Edit
- Return empty result or error.
Edit
Broadcast | Description |
---|---|
hub.network.modem.pin_code.reset.failed | Describe fail reason |
Edit
Code | Message | Data |
---|---|---|
-32500 | Invalid interface id | network.invalid.interface |
-32500 | Invalid pin code | network.modem.invalid.pin |