HexUtilities.HexEncode
It looks like only the 'Tag Id' value can be encoded into the Axpata hex2 format. I used the 'HexUtilities.HexEncode(tagReadEvent.GetId())' method to encode it into a string.
It doesn't seem to be the case with the 'Tag Data'. the 'HexUtilities.HexEncode(tagReadEvent.GetDate())' didn't work. I have to 'Encoding.UTF8.GetString(tagReadEvent.GetData())' method to convert it into a string.
Is the 'Tag Data' value alway convertible into a string?
For your last question - NO, the Tag Data field can contain any kind of data user wish to program in it.
TagData field usually plays a secondary roll in RFID, some IHV even don't support it (though Alien DOES
.)
At least in UHF the TagID field (which represents a hexadecimal string of EPC) is more important.
Hope this helps,
Thanks Valyantina. it's very helpfull. I am interested in location sensors; is the x,y,z incoded in the TagData or do I have to map from the tag's EPC to the location coordinates?
Another question I am interested in is how is the location approximation, among two or three sensors, done?
Oh yes, in your case the location most probably should be stored as user data.
I'd suggest you contact your IHV directly for exact encoding convetion, data location, and sensor information since those are not included into the DSPI as standard but should be vendor-defined.
Good Luck,