Function
open up and detect ID card, and return the card searching result.
parameter
paraName
type
description
null
Return value
return value
int
card type, if card is not found, 0 will be returned, if error, -1 will be returned