|
@@ -14,6 +14,7 @@ import com.routon.plsy.reader.sdk.common.Info;
|
|
|
|
|
|
import org.json.JSONObject;
|
|
|
|
|
|
+import vinno.sportinspect.bean.ErrorEntity;
|
|
|
import vinno.sportinspect.bean.IDCardEntity;
|
|
|
import vinno.sportinspect.config.Constant;
|
|
|
import vinno.sportinspect.config.StatusConstant;
|
|
@@ -62,7 +63,9 @@ public class ICReaderByIDR211 extends BaseDevices {
|
|
|
|
|
|
@Override
|
|
|
public void onReadFail(String message) {
|
|
|
- callBack(StatusConstant.BLE_ICREADER_FAIL);
|
|
|
+ final ErrorEntity entity = new ErrorEntity();
|
|
|
+ entity.MSG = message;
|
|
|
+ callBack(StatusConstant.BLE_ICREADER_FAIL, entity);
|
|
|
}
|
|
|
});
|
|
|
readerTask.init();
|