|
|
|
|
|
|
|
|
isIpAddr(ip)
Return True if the given string is a valid IPv4 or IPv6 address. |
source code
|
|
|
List
|
devlist(vendor=None,
product=None,
gps=None,
include=None)
Return device information for all present devices, filtering if
requested by vendor and/or product IDs on USB devices, and running
device fingerprint functions on serial devices. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Tuple
|
isgoodfetccspi(serialdev)
Determine if a given serial device is running the GoodFET firmware
with the CCSPI application. |
source code
|
|
|
Boolean
|
iszigduino(serialdev)
Determine if a given serial device is running the GoodFET firmware
with the atmel_radio application. |
source code
|
|
|
Boolean
|
isfreakduino(serialdev)
Determine if a given serial device is a Freakduino attached with the
right sketch loaded. |
source code
|
|
|
|
search_usb(device)
Takes either None, specifying that any USB device in the global
vendor and product lists are acceptable, or takes a string that
identifies a device in the format
<BusNumber>:<DeviceNumber>, and returns the pyUSB objects
for bus and device that correspond to the identifier string. |
source code
|
|
|
|
search_usb_bus_v0x(bus,
busNum,
devNum)
Helper function for USB enumeration in pyUSB 0.x enviroments. |
source code
|
|
|
String
|
|
|
String
|
|
|
String
|
randmac(length=8)
Returns a random MAC address using a list valid OUI's from ZigBee
device manufacturers. |
source code
|
|
|
|
makeFCS(data)
Do a CRC-CCITT Kermit 16bit on the data given Implemented using
pseudocode from: June 1986, Kermit Protocol Manual See also:
http://regregex.bbcmicro.net/crc-catalogue.htm#crc.cat.kermit |
source code
|
|