public class YUSBHub extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
YGenericHub.HTTPParams |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,YDevice> |
_devices |
protected long |
_devListExpires |
protected long |
_devListValidity |
protected int |
_hubidx |
protected Object |
_notifyHandle |
protected long |
_notifyTrigger |
protected boolean |
_reportConnnectionLost |
protected HashMap<Integer,String> |
_serialByYdx |
protected static int |
NOTIFY_V2_6RAWBYTES |
protected static int |
NOTIFY_V2_FLUSHGROUP |
protected static int |
NOTIFY_V2_LEGACY |
protected static int |
NOTIFY_V2_TYPEDDATA |
Constructor and Description |
---|
YUSBHub(int idx) |
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
getBootloaders() |
String |
getRootUrl() |
boolean |
isSameRootUrl(String url) |
static boolean |
RegisterLocalhost() |
void |
startNotifications() |
void |
stopNotifications() |
protected void |
updateFromWpAndYp(ArrayList<com.yoctopuce.YoctoAPI.WPEntry> whitePages,
HashMap<String,ArrayList<com.yoctopuce.YoctoAPI.YPEntry>> yellowPages) |
protected static final int NOTIFY_V2_LEGACY
protected static final int NOTIFY_V2_6RAWBYTES
protected static final int NOTIFY_V2_TYPEDDATA
protected static final int NOTIFY_V2_FLUSHGROUP
protected int _hubidx
protected long _notifyTrigger
protected Object _notifyHandle
protected volatile long _devListValidity
protected long _devListExpires
protected final boolean _reportConnnectionLost
public YUSBHub(int idx) throws YAPI_Exception
YAPI_Exception
public void startNotifications()
public void stopNotifications()
public ArrayList<String> getBootloaders() throws YAPI_Exception
YAPI_Exception
public String getRootUrl()
public boolean isSameRootUrl(String url)
public static boolean RegisterLocalhost()
protected void updateFromWpAndYp(ArrayList<com.yoctopuce.YoctoAPI.WPEntry> whitePages, HashMap<String,ArrayList<com.yoctopuce.YoctoAPI.YPEntry>> yellowPages) throws YAPI_Exception
YAPI_Exception
Copyright © 2015. All rights reserved.