public class YJniWrapper extends Object
Constructor and Description |
---|
YJniWrapper() |
Modifier and Type | Method and Description |
---|---|
static String |
addUdevRule(int force) |
static void |
Check() |
static void |
devRequestAsync(String serialNumber,
byte[] req_head_and_body,
com.yoctopuce.YoctoAPI.YGenericHub.RequestAsyncResult asyncResult,
Object context) |
static byte[] |
devRequestSync(String serialNumber,
byte[] req_head_and_body) |
static String |
getAPIVersion() |
static ArrayList<String> |
getBootloaders() |
static void |
releaseUSBAccess() |
static void |
reserveUSBAccess() |
static void |
startNotifications(com.yoctopuce.YoctoAPI.YUSBHub yusbHub) |
static void |
stopNotifications() |
static void |
updateDeviceList(ArrayList<com.yoctopuce.YoctoAPI.WPEntry> whitePages,
ArrayList<com.yoctopuce.YoctoAPI.YPEntry> functions) |
static void |
usbProcess(com.yoctopuce.YoctoAPI.YUSBHub yusbHub) |
public static void Check() throws YAPI_Exception
YAPI_Exception
public static String getAPIVersion()
public static String addUdevRule(int force)
public static void reserveUSBAccess()
public static void releaseUSBAccess()
public static void updateDeviceList(ArrayList<com.yoctopuce.YoctoAPI.WPEntry> whitePages, ArrayList<com.yoctopuce.YoctoAPI.YPEntry> functions)
public static byte[] devRequestSync(String serialNumber, byte[] req_head_and_body)
public static void devRequestAsync(String serialNumber, byte[] req_head_and_body, com.yoctopuce.YoctoAPI.YGenericHub.RequestAsyncResult asyncResult, Object context)
public static void startNotifications(com.yoctopuce.YoctoAPI.YUSBHub yusbHub)
public static void stopNotifications()
public static void usbProcess(com.yoctopuce.YoctoAPI.YUSBHub yusbHub)
Copyright © 2021. All rights reserved.