|  Developer
Updated on November 11, 2021

hub.network.settings.set

  • Version: 1.0
  • Classes: ANY
  • Configure network manager or network interface
  • Description: This request allows to change some network settings which may or may not lead to immediate changes of network.
Edit
Field Type Required Description
interfaceId string Id of an interface. Empty interface means common settings (settings for network manager itself).
settings object + Settings specific to an interface or common settings.
Edit
  • Return empty result or error. Errors can be interface specific.
Edit
Code Message Data
-32500 Invalid interface id network.invalid.interface
-32600 Bad request, settings does not exist rpc.params.notfound.settings
Edit
Edit
				
					{
    "method": "hub.network.settings.set",
    "id": "_ID_",
    "params": {
        "interfaceId" : "wlan0.1",
        "settings" : {
            "apName": "theBestAP"
        }
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}