Repository navigation
Device Definition
PAEW_DEV_INFOTYPE_PIN_STATE 0x00000001 Offset flag in Device Info: PIN State.
PAEW_DEV_INFO_PIN_INVALID_STATE 0xFF PIN State:null value //set this value before function call
PAEW_DEV_INFO_PIN_LOGOUT 0x00 PIN State:Logout
PAEW_DEV_INFO_PIN_LOGIN 0x01 PIN State:Login
PAEW_DEV_INFO_PIN_LOCKED 0x02 PIN State:Locked
PAEW_DEV_INFO_PIN_UNSET 0x03 0x03 PIN State:Not Set
PAEW_DEV_INFOTYPE_COS_TYPE 0x00000002 Offset flag in Device Info: Firmware type
PAEW_DEV_INFO_COS_TYPE_INVALID 0xFF firmware type: null value
PAEW_DEV_INFO_COS_TYPE_DRAGONBALL 0x00 firmware type: db
PAEW_DEV_INFO_COS_TYPE_PERSONAL 0x01 firmware type: solo
PAEW_DEV_INFO_COS_TYPE_BIO 0x02 firmware type: bladeX
PAEW_DEV_INFOTYPE_CHAIN_TYPE 0x00000004 Offset flag in Device Info: chain type
PAEW_DEV_INFO_CHAIN_TYPE_FORMAL 0x01 chain type: formal
PAEW_DEV_INFO_CHAIN_TYPE_TEST 0x02 chain type: test
PAEW_DEV_INFOTYPE_SN 0x00000008 Offset flag in Device Info: SN
PAEW_DEV_INFO_SN_LEN 0x20 SN max length
PAEW_DEV_INFOTYPE_COS_VERSION 0x00000010 Offset flag in Device Info: Firmware version
PAEW_DEV_INFO_COS_VERSION_LEN 0x04 firmware version length
PAEW_DEV_INFOTYPE_LIFECYCLE 0x00000020 Offset flag in Device Info: Life Cycle
PAEW_DEV_INFO_LIFECYCLE_INVALID 0xFF Life Cycle:null value
PAEW_DEV_INFO_LIFECYCLE_AGREE 0x01 Life Cycle: waiting for generating seed
PAEW_DEV_INFO_LIFECYCLE_USER 0x02 Life Cycle: seed generated
PAEW_DEV_INFO_LIFECYCLE_PRODUCE 0x04 Life Cycle: not availabe
PAEW_DEV_INFO_SESSKEY_HASH_LEN 0x04 db session key length
PAEW_DEV_INFO_N_T_INVALID 0x04 db N/T: null value
ucPINState byte ref PAEW_DEV_INFO_PIN_XX
ucCOSType byte ref PAEW_DEV_INFO_COS_TYPE_XXX
ucChainType byte ref AEW_DEV_INFO_CHAIN_TYPE_XXX
nLcdState long TBD
pbSerialNumber byte[PAEW_DEV_INFO_SN_LEN] SN in ASCII
pbCOSVersion byte[PAEW_DEV_INFO_COS_VERSION_LEN] firmware version
ucLifeCycle byte ref PAEW_DEV_INFO_LIFECYCLE_XXX
pbSessKeyHash byte[PAEW_DEV_INFO_SESSKEY_HASH_LEN] ref PAEW_DEV_INFO_SESSKEY_HASH_LEN
nN byte db N
nT byte db T
Method:
String toString(int nSNLen)
int nSNLen valid SN length
retValue device info string
PAEW_FP_ID_LEN 0x01 Fingerprint ID length
FingerPrintID Struct:
data byte[PAEW_FP_ID_LEN] fingerprint ID array