Skip to Content
0
Former Member
Dec 08, 2008 at 04:22 PM

RFID tag reading failed - MI 7.0, MAM 3.0

120 Views

Hello at all,

I try to make RFID available for Mi7.0 SR14, MAM3.0 SR5, DB2e, Windows Mobile 5, RFID Reader - Microsensys CFCard, Passive Tags (non metal and on metal9).

Currently I don't be able to read any RFID tag. The standard software of RFID scanner manufacturer can read them without any problems. I got the technical details of tags from manufacturer of tags too (see pirfmsycfcrd.tagcfg).

So my questions are:

Why the standard MAM application cannot identify the tags at least?

What can be wrong in my configuration or what I did wrong?

How we can write Tags inital for MAM? Software?

Please take a look to the details of my scenario below:

Thanks a lot in advance if you can help.

Kind regards

Andreas Dommes

-


I was preparing drivers as described in note 761833 - PIRFMSYCFCRD_ReleaseNote_v1_2_6.htm. Following compoenent have been installed in sequence on device:

  • MOBILEENGINE_JSP (701400)

  • DB2E (9.1.2)

  • CONNECTOR_WM50_XSL_CRM (126)

  • MICROSENSYS_DRIVER_ADDON_WM50 (adapted PIRFMSYCFCRD_WM50_XSL_CRM by means of 761833)

  • XMAM30_HANDHELD_SR05

<h3>eSerial driver also installed (litte Hack mentioned in release-notes of driver - Timbatec-Recon Device</h3>

following flag I set manually (as described in 761833 - PIRFMSYCFCRD_ReleaseNote_v1_2_6.htm)

HKEY_LOCAL_MACHINE/Drivers/PCMCIA/elSerail/EnableXScaleHacks = 1

<h3>Following settings we use</h3>

File: pirfmsycfcrd.cfg (we increased timeout (*2)

Configs=DriverParameters

DriverParameters=

DriverParameters.CFPort=COM2:

DriverParameters.IdentifyTimeout=6000

DriverParameters.PortType=0

DriverParameters.ReadTimeout=4000

DriverParameters.WriteTimeout=4000

DriverParameters._Type=DriverParameters

File: pirfmsycfcrd.md

Types=DriverParameters,Integrated

Parameters.DriverParameters=ReadTimeout,WriteTimeout,IdentifyTimeout,PortType,CFPort

DriverParameters.ReadTimeout=4000

DriverParameters.WriteTimeout=4000

DriverParameters.IdentifyTimeout=6000

DriverParameters.PortType=0

DriverParameters.CFPort=COM2:

Parameters.Integrated

File: pirfmsycfcrd.tagcfg - relevant for us is type "TIHFIPLUS"

Configs=EM4135,MYD_ISO,ICODESLI,TIHFIPLUS

EM4135=

EM4135.Name=EM4135

EM4135.NoOfBytes=288

EM4135.NoOfBytesPerBlock=8

EM4135.TagIDLen=8

EM4135.TagIDPasswordLen=0

EM4135.Type=0x01,\ 0x16

EM4135.UserReadableAreas=0-287

EM4135.UserWritableAreas=0-287

EM4135._Type=Tag

ICODESLI=

ICODESLI.Name=ICODESLI

ICODESLI.NoOfBytes=112

ICODESLI.NoOfBytesPerBlock=4

ICODESLI.TagIDLen=8

ICODESLI.TagIDPasswordLen=0

ICODESLI.Type=0x01,\ 0x04

ICODESLI.UserReadableAreas=0-111

ICODESLI.UserWritableAreas=0-111

ICODESLI._Type=Tag

MYD_ISO=

MYD_ISO.Name=MYD_ISO

MYD_ISO.NoOfBytes=992

MYD_ISO.NoOfBytesPerBlock=4

MYD_ISO.TagIDLen=8

MYD_ISO.TagIDPasswordLen=0

MYD_ISO.Type=0x01,\ 0xF5

MYD_ISO.UserReadableAreas=0-991

MYD_ISO.UserWritableAreas=0-991

MYD_ISO._Type=Tag

TIHFIPLUS=

TIHFIPLUS.Name=TIHFIPLUS

TIHFIPLUS.NoOfBytes=240

TIHFIPLUS.NoOfBytesPerBlock=4

TIHFIPLUS.TagIDLen=8

TIHFIPLUS.TagIDPasswordLen=0

TIHFIPLUS.Type=0x00,\ 0x07

TIHFIPLUS.UserReadableAreas=0-239

TIHFIPLUS.UserWritableAreas=0-239

TIHFIPLUS._Type=Tag

<h3>Following error occurred, if I try to read RFID tag:</h3>

RFID-Tag couldn't read

[20081208 15:32:57:706] D [MI/API/Runtime/JSP ] AbstractMEHttpServlet:getEvent() done with event name = 'onRFIDRead'

[20081208 15:32:57:716] P [MI/PIOS ] Called method: ConnectorImpl.open()

[20081208 15:32:57:720] D [MI/PIOS ] param: parameters=com.sap.ip.me.api.pios.rfid.RfidParameters@19e6af

[20081208 15:32:57:729] P [MI/PIOS ] Called method: RfidConnectionImpl(-1).RfidConnectionImpl()

[20081208 15:32:57:735] P [MI/PIOS ] Called method: ConnectorImpl.getConfigFile()

[20081208 15:32:57:740] D [MI/PIOS ] param: driverInfo=com.sap.ip.me.api.pios.connection.DriverInfo@19e6bc

[20081208 15:32:57:745] P [MI/PIOS ] Called method: ConnectionHelper.open()

[20081208 15:32:57:753] D [MI/PIOS ] param: conn=com.sap.ip.me.api.pios.impl.rfid.RfidConnectionImpl@19e682

[20081208 15:32:57:758] D [MI/PIOS ] param: params=com.sap.ip.me.api.pios.rfid.RfidParameters@19e6af

[20081208 15:32:57:761] D [MI/PIOS ] param: configFile=/MI/pios/config/pirfmsycfcrd.cfg

[20081208 15:32:57:766] P [MI/PIOS ] Called method: RfidConnectionImpl(-1).open

[20081208 15:32:57:772] D [MI/PIOS ] param: DrvName:=pirfmsycfcrd

[20081208 15:32:57:776] D [MI/PIOS ] param: DrvDescription:=Microsensys CF RFID

[20081208 15:32:57:780] D [MI/PIOS ] param: DrvVersion:=1.2.6.11

[20081208 15:32:57:783] D [MI/PIOS ] param: MIDir:=/MI/

[20081208 15:32:57:787] D [MI/PIOS ] param: PIOSDir:=/MI/pios/

[20081208 15:32:57:790] D [MI/PIOS ] param: LogDir:=/MI/pios/log/

[20081208 15:32:57:794] D [MI/PIOS ] param: ConfigDir:=/MI/pios/config/

[20081208 15:32:57:797] D [MI/PIOS ] param: InstallDir:=/MI/pios/install/

[20081208 15:32:57:801] D [MI/PIOS ] param: PropsDir:=/MI/pios/props/

[20081208 15:32:57:804] D [MI/PIOS ] param: CfgFile:=/MI/pios/config/pirfmsycfcrd.cfg

[20081208 15:32:57:814] D [MI/PIOS ] param: IsTraceOn:=true

[20081208 15:32:57:817] D [MI/PIOS ] param: EffectiveSeverity:=90

[20081208 15:32:57:821] D [MI/PIOS ] param: isOpen:=false

[20081208 15:33:01:830] P [MI/PIOS ] Called method: RfidConnectionImpl(314944).identify

[20081208 15:33:01:834] D [MI/PIOS ] param: tagTypeList=EM4135,0,8,288,8,{{0-287}{0-287};ICODESLI,0,8,112,4,{{0-111}{0-111};MYD_ISO,0,8,992,4,{{0-991}{0-991};TIHFIPLUS,0,8,240,4,{{0-239}{0-239}

[20081208 15:33:07:861] E [Unknown ] RFID READ ERROR: RFID-Etikett nicht erkannt

[20081208 15:33:07:864] E [Unknown ] com.sap.mbs.mam.rfid.exception.RFIDTagAccessException: RFID-Etikett nicht erkannt

com.sap.mbs.mam.rfid.exception.RFIDTagAccessException: RFID-Etikett nicht erkannt

at com.sap.mbs.mam.rfid.util.impl.RFIDTagHandlerImpl.executeRFIDTagRead()

at com.sap.mbs.mam.rfid.control.RFIDList.onRFIDRead()

at com.sap.mbs.core.control.AbstractViewController.process()

at com.sap.mbs.core.control.DefaultStateMachine.process()

at com.sap.mbs.core.web.FrontServlet.doHandleEvent()

at com.sap.mbs.mam.application.web.FrontServlet.doHandleEvent()

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe()

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet()

at javax.servlet.http.HttpServlet.service()

at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service()

at javax.servlet.http.HttpServlet.service()

at org.apache.tomcat.core.ServletWrapper.doService()

at org.apache.tomcat.core.Handler.service()

at org.apache.tomcat.core.ServletWrapper.service()

at org.apache.tomcat.core.ContextManager.internalService()

at org.apache.tomcat.core.ContextManager.service()

at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection()

at org.apache.tomcat.service.TcpWorkerThread.runIt()

at org.apache.tomcat.util.ThreadPool$ControlRunnable.run()

at java.lang.Thread.run()

[20081208 15:33:08:047] P [MI/PIOS ] Called method: RfidConnectionImpl(314944).close

<h3>Error log of pirfmsycfcrd.log</h3>

Mon Dec 08 16:30:00 2008 : Starting Log: [\Windows\pirfmsycfcrd.dll 1.2.6.11]

Mon Dec 08 16:30:00 2008 : CRfidPeripheral::RfOpen=

Mon Dec 08 16:30:04 2008 : ExportObject::Open

Mon Dec 08 16:30:04 2008 : CRfidPeripheral::RfIdentify=

Mon Dec 08 16:30:04 2008 : Calling CRfidPeripheral::GetTagTypeByName=

Mon Dec 08 16:30:04 2008 : CMicrosensysRFID::Rfid_Identify - *** Starting identify process ***

Mon Dec 08 16:30:10 2008 : *** Identify process finished ***

Mon Dec 08 16:30:10 2008 : CRfidPeripheral::RfClose=

Mon Dec 08 16:30:10 2008 : ExportObject::Close

Mon Dec 08 16:30:10 2008 : ExportObject::Destroy

Mon Dec 08 16:30:10 2008 : ExportObject::~CExportObject

Mon Dec 08 16:32:57 2008 : Starting Log: [\Windows\pirfmsycfcrd.dll 1.2.6.11]

Mon Dec 08 16:32:57 2008 : CRfidPeripheral::RfOpen=

Mon Dec 08 16:33:01 2008 : ExportObject::Open

Mon Dec 08 16:33:01 2008 : CRfidPeripheral::RfIdentify=

Mon Dec 08 16:33:01 2008 : Calling CRfidPeripheral::GetTagTypeByName=

Mon Dec 08 16:33:01 2008 : CMicrosensysRFID::Rfid_Identify - *** Starting identify process ***

Mon Dec 08 16:33:07 2008 : *** Identify process finished ***

Mon Dec 08 16:33:08 2008 : CRfidPeripheral::RfClose=

Mon Dec 08 16:33:08 2008 : ExportObject::Close

Mon Dec 08 16:33:08 2008 : ExportObject::Destroy

Mon Dec 08 16:33:08 2008 : ExportObject::~CExportObject