======setusbpower======
WMPRO, WMMINI FW >= 1.0 WMMEGA FW >= 2.0
Enable or disable USB power
====Description====
setusbpower (
int
$state
)
This function will turn on or off the power for USB. This can be used to reset a USB dongle or just to disable it if required.
====Parameter====
$state:
* **1** - Enable USB power
* **0** - Disable USB power
====Return Values====
None
====Example====
setusbpower(0);
?>
====See Also====
[[get3gstat()]] - Get cellular data connection status information
[[net_disable3g()]] - Disable 3G support for the dongle
[[net_enable3g()]] - Enable 3G support for the dongle
[[getusbstat()]] - Get USB host status information