|  Developer
Updated on November 22, 2021

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
Edit
				
					{
    "method": "hub.network.modem.pin_code.reset",
    "id": "_ID_",
    "params": {
        "interfaceId" : "mobile0",
        "pukCode": "12345678",
        "pinCodeNew" : "4242"
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}				
			
Edit
Code Message Data
-32500 Invalid interface id network.invalid.interface
-32500 Invalid pin code network.modem.invalid.pin