Back to project page RFID_ME_GUI_APP.
The source code is released under:
%PDF-1.4 %???? 39 0 obj <</Length 2480 /Subtype /XML /Type /Metadata >> stream <?xpacket begin='?' id='W5M0MpCehiHzreSzNTczkc9d'?> <x:xmpmeta x:xmptk="3.1-701" xmlns:x="adobe:ns:meta/"> <rdf:RDF x...
If you think the Android project RFID_ME_GUI_APP listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.mti.rfid.minime; /*from w w w . j a v a 2 s .c o m*/ public class CMD_PwrMgt { public enum PowerState { Ready((byte)0x00), Standby((byte)0x01), Sleep((byte)0x02); private byte bPowerState; PowerState(byte bPowerState) { this.bPowerState = bPowerState; } } /************************************************************ ** RFID_PowerEnterPowerState * ************************************************************/ static final class RFID_PowerEnterPowerState extends MtiCmd { public RFID_PowerEnterPowerState(UsbCommunication usbComm) { super(usbComm); mCmdHead = CmdHead.RFID_PowerEnterPowerState; } public boolean setCmd(PowerState powerState) { mParam.clear(); mParam.add(powerState.bPowerState); composeCmd(); delay(200); return checkStatus(); } } /************************************************************ ** RFID_PowerSetIdleTime * ************************************************************/ static final class RFID_PowerSetIdleTime extends MtiCmd { public RFID_PowerSetIdleTime(UsbCommunication usbComm) { super(usbComm); mCmdHead = CmdHead.RFID_PowerSetIdleTime; } public boolean setCmd(PowerState powerState) { mParam.clear(); mParam.add(powerState.bPowerState); composeCmd(); delay(200); return checkStatus(); } } /************************************************************ ** RFID_PowerGetIdleTime * ************************************************************/ static final class RFID_PowerGetIdleTime extends MtiCmd { public RFID_PowerGetIdleTime(UsbCommunication usbComm) { super(usbComm); mCmdHead = CmdHead.RFID_PowerGetIdleTime; } public boolean setCmd(PowerState powerState) { mParam.clear(); mParam.add(powerState.bPowerState); composeCmd(); delay(200); return checkStatus(); } } }