Home
last modified time | relevance | path

Searched refs:ZFM20 (Results 1 – 9 of 9) sorted by relevance

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dzfm20-register.cxx38 upm::ZFM20* fp = new upm::ZFM20(0); in main()
77 while (fp->generateImage() != ZFM20::ERR_OK) in main()
83 if ((rv = fp->image2Tz(1)) != ZFM20::ERR_OK) in main()
92 while (fp->generateImage() != ZFM20::ERR_NO_FINGER) in main()
98 while (fp->generateImage() != ZFM20::ERR_OK) in main()
104 if ((rv = fp->image2Tz(2)) != ZFM20::ERR_OK) in main()
116 if ((rv = fp->createModel()) != ZFM20::ERR_OK) in main()
118 if (rv == ZFM20::ERR_FP_ENROLLMISMATCH) in main()
127 if ((rv = fp->storeModel(1, 1)) != ZFM20::ERR_OK) in main()
Dzfm20.cxx38 upm::ZFM20* fp = new upm::ZFM20(0); in main()
70 while (fp->generateImage() == ZFM20::ERR_NO_FINGER) in main()
77 if ((rv = fp->image2Tz(1)) != ZFM20::ERR_OK) in main()
91 if ((rv = fp->search(1, &id, &score)) != ZFM20::ERR_OK) in main()
93 if (rv == ZFM20::ERR_FP_NOTFOUND) in main()
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dzfm20-register.py28 myFingerprintSensor = upmZfm20.ZFM20(0)
78 while (myFingerprintSensor.generateImage() != upmZfm20.ZFM20.ERR_OK):
86 if (rv != upmZfm20.ZFM20.ERR_OK):
93 while (myFingerprintSensor.generateImage() != upmZfm20.ZFM20.ERR_NO_FINGER):
99 while (myFingerprintSensor.generateImage() == upmZfm20.ZFM20.ERR_NO_FINGER):
106 if (rv != upmZfm20.ZFM20.ERR_OK):
117 if (rv != upmZfm20.ZFM20.ERR_OK):
118 if (rv == upmZfm20.ZFM20.ERR_FP_ENROLLMISMATCH):
126 if (rv != upmZfm20.ZFM20.ERR_OK):
Dzfm20.py28 myFingerprintSensor = upmZfm20.ZFM20(0)
59 while (myFingerprintSensor.generateImage() == upmZfm20.ZFM20.ERR_NO_FINGER):
66 if (rv != upmZfm20.ZFM20.ERR_OK):
81 if (rv != upmZfm20.ZFM20.ERR_OK):
82 if (rv == upmZfm20.ZFM20.ERR_FP_NOTFOUND):
/hardware/bsp/intel/peripheral/libupm/src/zfm20/
Dzfm20.cxx36 ZFM20::ZFM20(int uart) in ZFM20() function in ZFM20
74 ZFM20::~ZFM20() in ~ZFM20()
82 bool ZFM20::dataAvailable(unsigned int millis) in dataAvailable()
106 int ZFM20::readData(char *buffer, int len) in readData()
127 int ZFM20::writeData(char *buffer, int len) in writeData()
157 bool ZFM20::setupTty(speed_t baud) in setupTty()
187 int ZFM20::writeCmdPacket(uint8_t *pkt, int len) in writeCmdPacket()
221 void ZFM20::initClock() in initClock()
226 uint32_t ZFM20::getMillis() in getMillis()
254 bool ZFM20::verifyPacket(uint8_t *pkt, int len) in verifyPacket()
[all …]
Dzfm20.h89 class ZFM20 {
157 ZFM20(int uart);
162 ~ZFM20();
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dzfm20-register.js29 var myFingerprintSensor = new fingerprint_lib.ZFM20(0);
63 while (myFingerprintSensor.generateImage() != fingerprint_lib.ZFM20.ERR_OK)
71 if (rv != fingerprint_lib.ZFM20.ERR_OK)
80 while (myFingerprintSensor.generateImage() != fingerprint_lib.ZFM20.ERR_NO_FINGER)
86 while (myFingerprintSensor.generateImage() == fingerprint_lib.ZFM20.ERR_NO_FINGER)
93 if (rv != fingerprint_lib.ZFM20.ERR_OK)
106 if (rv != fingerprint_lib.ZFM20.ERR_OK)
108 if (rv == fingerprint_lib.ZFM20.ERR_FP_ENROLLMISMATCH)
117 if (rv != fingerprint_lib.ZFM20.ERR_OK)
Dzfm20.js29 var myFingerprintSensor = new fingerprint_lib.ZFM20(0);
45 while (myFingerprintSensor.generateImage() == fingerprint_lib.ZFM20.ERR_NO_FINGER)
52 if (rv != fingerprint_lib.ZFM20.ERR_OK)
69 if (rv != fingerprint_lib.ZFM20.ERR_OK)
71 if (rv == fingerprint_lib.ZFM20.ERR_FP_NOTFOUND)
/hardware/bsp/intel/peripheral/libupm/examples/java/
DZFM20Sample.java40 upm_zfm20.ZFM20 fp = new upm_zfm20.ZFM20(0); in main()
66 while (fp.generateImage() == upm_zfm20.ZFM20.ZFM20_ERRORS_T.ERR_NO_FINGER.swigValue()); in main()
71 if (rv != upm_zfm20.ZFM20.ZFM20_ERRORS_T.ERR_OK.swigValue()) { in main()
82 if (rv != upm_zfm20.ZFM20.ZFM20_ERRORS_T.ERR_OK.swigValue()) { in main()
83 if (rv == upm_zfm20.ZFM20.ZFM20_ERRORS_T.ERR_FP_NOTFOUND.swigValue()) { in main()