|  Developer
Updated on November 11, 2021

hub.network.enabled.set

  • Version: 1.0
  • Classes: ANY
  • Title: Control enable policy of an interface
  • Description: Control enable policy of an interface. For H2+/H2++(H2 Secure)/G150/G450/G550 an type interface is always enabled, any attempts to change it will be rejected. For Atom32 a type interface is always enabled, any attempts to change it will be rejected.
Edit
Field Type Required Description
interfaceId string + Id of the interface
enabled enum + (, , )
Edit
  • Return empty result or error
Edit
Edit
				
					{
    "method": "hub.network.enabled.set",
    "id": "_ID_",
    "params": {
        "interfaceId" : "wifi0",
        "enabled" : "auto"
    }
}				
			
Edit
				
					{
    "error": null,
    "id": "_ID_",
    "result": {}
}