FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

14455 questions

17168 answers

28195 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
380 views 0 comments
by anonymous
we are using firmware 7.02 and  we are trying to set the SIM pin for sim1 (or sim 2 for that matter, shouldn't be an issue right?)  via JSON/rpc and the uci set commands but unable to do so where by the modem will actually update the SIM that it is using.

1) we do a uci set simcard pincode

2) we do a uci commit simcard

3) we try ubus call sim change

4) we try another ubus call sim change

doing a reload_settings was not enough to make the sim take effect in the firmware...so I added 3) and 4) to do that

Is this a bug or what are we doing wrong?

1 Answer

0 votes
by anonymous

Hey!

You should be able to change the SIM card's PIN via JSON-RPC without any issues. The examples of changing the router’s SIM card’s PIN via JSON-RPC on Windows and Linux OS devices can be seen in the PDF document below.

JSON-RPC code


Let me know if you have any further questions.

Best regards,
Domas