V40IOInterface.java 853 B

1234567891011121314151617181920212223242526272829
  1. package kr.co.icontrols.v40ioctl;
  2. public class V40IOInterface {
  3. String TAG = "V40IOInterface";
  4. static {
  5. System.loadLibrary("wpd_v40interface-jni");
  6. }
  7. public native int WpdInterfaceOpen();
  8. public native int WpdInterfaceClose();
  9. public native int WpdInterfaceControl(int cmd, int arg);
  10. public native void SetMacAddr(String mac);
  11. public native void IpAddr(String ip);
  12. public native void GatewayIp(String gw);
  13. public native void NetMask(String mask);
  14. public native void NetAll(String ip, String mask, String gw, String mac);
  15. public native void LiveUpdate();
  16. public native void UsbUpdate();
  17. public native int LcdWakeUp();
  18. public native void Reboot(int sec);
  19. public native void NetDns1(String dns);
  20. public native void NetDns2(String dns);
  21. public native int sensorread();
  22. }