2020-03-27 09:13 AM
It's my first experience of web question, so I hope for your understanding
Solved! Go to Solution.
2020-03-30 06:30 AM
Hello MLust,
Reading/Writing and more generally accessing a tag is really simple.
The example code is provided in function demo_evalAPI_Gen2RdWr() from file STUHFL_demoEvalApi.c.
Let me explain the code:
=> lists all tags available in antenna range
=> invData contains the full list of all inventoried tags
=> the first entry (the first tag) will be used for reading/writing
=> by default, the read/writes/all access will be done on first visible tag
=> the Gen2_Select() call creates filters to ensure all susequent read/writes will be done on same tag
=> as mentioned above the first entry is used for subsequent accesses thus the ceration of filter on tagList[0]
=> prepares readData parameters that follows Gen2 specifications
=> launches data read:
=> prepares writeData parameters that follows Gen2 specifications
That's all you need to write/read data to/from tag,
similar functions can be called to lock, kill, ... the tags.
best regards,
Cedric
2020-03-30 06:30 AM
Hello MLust,
Reading/Writing and more generally accessing a tag is really simple.
The example code is provided in function demo_evalAPI_Gen2RdWr() from file STUHFL_demoEvalApi.c.
Let me explain the code:
=> lists all tags available in antenna range
=> invData contains the full list of all inventoried tags
=> the first entry (the first tag) will be used for reading/writing
=> by default, the read/writes/all access will be done on first visible tag
=> the Gen2_Select() call creates filters to ensure all susequent read/writes will be done on same tag
=> as mentioned above the first entry is used for subsequent accesses thus the ceration of filter on tagList[0]
=> prepares readData parameters that follows Gen2 specifications
=> launches data read:
=> prepares writeData parameters that follows Gen2 specifications
That's all you need to write/read data to/from tag,
similar functions can be called to lock, kill, ... the tags.
best regards,
Cedric