User Tools

Site Tools


uphp:functions:getusbstat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
uphp:functions:getusbstat [2017/05/11 23:06]
jeff
uphp:functions:getusbstat [2021/09/13 05:57] (current)
Line 28: Line 28:
 |PID|<html><b><span style="color:green">int</b></html>|USB Device PID (16bit)| |PID|<html><b><span style="color:green">int</b></html>|USB Device PID (16bit)|
 |device|<html><b><span style="color:green">string</b></html>|Name of the device (if a driver is found)| |device|<html><b><span style="color:green">string</b></html>|Name of the device (if a driver is found)|
-|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.))|<html><b><span style="color:green">int</b></html>|1 if the device supports CDC, otherwise 0|+|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:wattmons|Wattmon]] only supports CDC devices for cellular data communication.))|<html><b><span style="color:green">int</b></html>|1 if the device supports CDC, otherwise 0|
  
 ====Example==== ====Example====
Line 41: Line 41:
 ====See Also==== ====See Also====
  
-[[setusbpower()]] - Set the state of the USB power+[[setusbpower()]] - Enable or disable USB power
  
 [[net_enable3g()]] - Enable 3G support for the dongle [[net_enable3g()]] - Enable 3G support for the dongle
uphp/functions/getusbstat.1494543975.txt.gz · Last modified: 2021/09/13 05:56 (external edit)