Line 151: |
Line 151: |
| As you can see most of the values are '''0''' and '''1''', 0 meaning OFF and 1 meaning ON. For example, if you want to turn '''WiFi OFF''', this command should be used: | | As you can see most of the values are '''0''' and '''1''', 0 meaning OFF and 1 meaning ON. For example, if you want to turn '''WiFi OFF''', this command should be used: |
| | | |
− | $ modbus write -w -p 12345 192.168.1.1 %MW210 0 | + | $ modbus write -w -p 12345 192.168.1.1 %MW203 0 |
| | | |
| If you want to turn '''WiFi ON''', use this command instead: | | If you want to turn '''WiFi ON''', use this command instead: |
| | | |
− | $ modbus write -w -p 12345 192.168.1.1 %MW210 1 | + | $ modbus write -w -p 12345 192.168.1.1 %MW203 1 |
| | | |
| As you can see, the only difference is the digit at the end - '''0 for OFF''', '''1 for ON'''. The same is true for all other parameters that accept only two input values. | | As you can see, the only difference is the digit at the end - '''0 for OFF''', '''1 for ON'''. The same is true for all other parameters that accept only two input values. |
Line 161: |
Line 161: |
| In the case of '''SIM switch''' there are three values - '''0''', '''1''' and '''2'''. 1 makes the first SIM card slot in use, 2 makes the second SIM card slot in use and 0 initiates a switc from the SIM card in use to the opposite SIM card. For example, to initiate a switch to the second SIM card the command should look like this: | | In the case of '''SIM switch''' there are three values - '''0''', '''1''' and '''2'''. 1 makes the first SIM card slot in use, 2 makes the second SIM card slot in use and 0 initiates a switc from the SIM card in use to the opposite SIM card. For example, to initiate a switch to the second SIM card the command should look like this: |
| | | |
− | $ modbus write -w -p 12345 192.168.1.1 %MW212 2 | + | $ modbus write -w -p 12345 192.168.1.1 %MW205 2 |
| | | |
| The '''reboot''' function only takes one value: '''1'''. It simply reboots the router. To initiate a reboot, use this command: | | The '''reboot''' function only takes one value: '''1'''. It simply reboots the router. To initiate a reboot, use this command: |
| | | |
− | $ modbus write -w -p 12345 192.168.1.1 %MW220 1 | + | $ modbus write -w -p 12345 192.168.1.1 %MW206 1 |
| | | |
| ===APN=== | | ===APN=== |