Changes

Line 161: Line 161:  
In order for the changes to take effect, you must first send a UCI commit command. Continuing from the example above, lets commit the Wireless SSID changes. The command to do so looks like this:
 
In order for the changes to take effect, you must first send a UCI commit command. Continuing from the example above, lets commit the Wireless SSID changes. The command to do so looks like this:
   −
{"jsonrpc":"2.0","id":1,"method":"call","params":["9704f676709d9dedc98d7718c4e3e7d2","uci","commit",{"config":"<span style=color:orange">wireless</span>"}]}
+
{
 
+
    "jsonrpc":"2.0", "id":1, "method":"call", "params":
 +
    [
 +
        "9704f676709d9dedc98d7718c4e3e7d2", "uci", "commit",  
 +
        {
 +
            "config":"<span style=color:orange>wireless</span>"
 +
        }
 +
    ]
 +
}
 
When committing changes, you will need to specify the name of the file where the changes took place (in this case, '''wireless''', which is highlighted in orange). If the commit was successful, you should see the same message as before:
 
When committing changes, you will need to specify the name of the file where the changes took place (in this case, '''wireless''', which is highlighted in orange). If the commit was successful, you should see the same message as before: