This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
uphp:functions:getusbstat [2017/04/10 18:04] jeff created |
uphp:functions:getusbstat [2021/09/13 05:57] (current) |
||
---|---|---|---|
Line 7: | Line 7: | ||
====Description==== | ====Description==== | ||
- | <well size=" | + | <well size=" |
- | < | + | |
<span style=" | <span style=" | ||
- | <span style=" | + | <span style=" |
- | </ | + | </ |
- | [[getusbstat]] ( ) | + | |
- | </ | + | |
Return an array containing information about the state of the USB interface | Return an array containing information about the state of the USB interface | ||
Line 21: | Line 18: | ||
None | None | ||
- | ====Return | + | ====Return |
< | < | ||
Line 31: | Line 28: | ||
|PID|< | |PID|< | ||
|device|< | |device|< | ||
- | |CDC((CDC stands for Communications Device Class, which is a composite USB device class that supports communication. The class may include more than one interface, such as a custom control interface, data interface, audio, or mass storage related interfaces. Currently the Wattmon only supports CDC devices for cellular data communication.))|< | + | |CDC((CDC stands for Communications Device Class, which is a composite USB device class that supports communication. The class may include more than one interface, such as a custom control interface, data interface, audio, or mass storage related interfaces. Currently the [[hardware: |
====Example==== | ====Example==== | ||
Line 44: | Line 41: | ||
====See Also==== | ====See Also==== | ||
- | [[setusbpower()]] - Set the USB host power on or off (1 or 0) | + | [[setusbpower()]] - Enable or disable |
- | [[net_enable3g()]] - Enable | + | [[net_enable3g()]] - Enable |
- | [[net_disable3g()]] - Disable | + | [[net_disable3g()]] - Disable |
- | [[getethstat()]] - Get Ethernet connection information | + | [[getethstat()]] - Get Ethernet connection |