|
From: Matthias L. <la...@in...> - 2007-08-13 16:57:07
|
Dear Sana thank you for interest in Accada! Unfortunately, in the current implementation of the reader-hal simulator framework we don't support tag memory, kill and programID. That's why you received the errors (which should actually be a different error message as you state). We would highly appreciate if you are willing to add these features to the simulator framework. You would have to add tag memory to the simulator model and implement read/write in the simulator controller. In addition, if you would like to use the graphical simulator you would have to add methods/GUI elements to write/display tag memory. Kill and programID should also be straightforward to do. You can take a look at the source code in the package org.accada.reader.hal.impl.sim to get an idea of the simulator framework. Actually, some of the tag memory stuff is already provided but not enabled in all simulators. Let me know if you would like to go ahead. I can then give you more detailed information about the simulator framework. Best Matthias _____ From: acc...@li... [mailto:acc...@li...] On Behalf Of sana qadir Sent: Montag, 13. August 2007 05:07 To: acc...@li... Subject: [accada-reader-user] killing and writing to a tag Hello Everyone, I have been experimenting with Reader Simulator and Test Client and have run into a bit of problem with: 1. To kill a tag, I sent the following command: <targetName>Shelf4</targetName> <source> <kill/> </source> I get the following response message: <resultCode>23</resultCode> <error> <name>ERROR_MULTIPLE_TAGS</name> </error> This message does not seem to make sense as the read report produced in response to the following request clearly shows that there is only one tag with range of Shelf4: <targetName>Shelf4</targetName> <source> <rawReadIDs/> </source> <resultCode>0</resultCode> <source> <rawReadIDs> <returnValue> <sourceReport> <sourceInfo> <sourceFrequency>0</sourceFrequency> <sourceProtocol>not supported</sourceProtocol> </sourceInfo> <tag> <tagID>009204F0004B00000ABC</tagID> <tagIDAsPureURI>100100100000010011110000000000000100101100000000000000000000 101010111100</tagIDAsPureURI> <tagIDAsTagURI>1001001000000100111100000000000001001011000000000000000000001 01010111100</tagIDAsTagURI> <tagType>not supported</tagType> </tag> </sourceReport> </returnValue> </rawReadIDs> </source> Am I missing something here? Any help would be appreciated. 2. Writing a given ID to a tag using the Source.writeID() command: <targetName>Shelf4</targetName> <source> <writeID> <id>100100100000010011110000000000000100101100000000000000000110101010111000 </id> </writeID> </source> The response is: <resultCode>0</resultCode> <source> <writeID/> </source> But when I try to generate the read report to check that the ID of the tag has indeed been changed, I find that it has not changed. A closer look at the messages generated by the Reader Simulator, I find the following: . 23074500 [Thread-16] DEBUG org.accada.reader.rprm.core.msg.CommandDispatcher -Calling Source.writeID() 23074500 [Thread-16] ERROR org.accada.reader.rprm.core.Source - Reader "SimulatorController" does not support programID operations 23074500 [Thread-16] DEBUG org.accada.reader.rprm.core.msg.MessageDispatcher -Response message: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> . Is it true that writeID() command is not supported? What about the write() command?. How hard would it be to get these commands working? I need to be able to simulate a scenario where a tag's fields can be modified. Thanks in advance... Sana _____ Be a better Globetrotter. Get <http://us.rd.yahoo.com/evt=48254/*http://answers.yahoo.com/dir/_ylc=X3oDMTI 5MGx2aThyBF9TAzIxMTU1MDAzNTIEX3MDMzk2NTQ1MTAzBHNlYwNCQUJwaWxsYXJfTklfMzYwBHN sawNQcm9kdWN0X3F1ZXN0aW9uX3BhZ2U-?link=list&sid=396545469> better travel answers from someone who knows. Yahoo! Answers - Check it out. |