Android Question I want to retrieve the data that I got from the UHF RFID scanner that scanned several RFID TAGs

abdipn9984

Member
Licensed User
I have an example of this



I want to take the data that I give this red font: (I get this data list from an UHF RFID scanner that scans 1 RFID TAG)

00 00 55 AA 12 05 1F 0C 27 39 04 06 E2 00 50 20 72 10 01 45 26 40 0D 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

The data taken is:
E2 00 50 20 72 10 01 45 26 40 0D 74

The RFID UHF scanner that I use can read data from many RFID TAGs (more than 1 TAG RFID) in a single scan, for example data from 4 RFID TAGs as follows:



00 00 55 AA 12 05 1F 0C 27 39 04 06 E2 00 50 20 72 10 01 45 26 40 0D 74 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA 12 05 1F 0C 2A 1B 04 06 E2 00 50 20 72 10 01 11 25 60 13 A4 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA 12 05 1F 0C 2D 20 04 06 E2 00 50 20 72 10 00 90 21 10 39 0B 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 AA 12 05 1F 0C 32 2E 04 06 30 08 33 B2 DD D9 01 40 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

The data taken is :

E2 00 50 20 72 10 01 45 26 40 0D 74

E2 00 50 20 72 10 01 11 25 60 13 A4

E2 00 50 20 72 10 00 90 21 10 39 0B

30 08 33 B2 DD D9 01 40 00 00 00 00


I managed to create an application program to read data from this RFID UHF Scanner using Visual Basic 2010 (I attach the Visual Basic 2010 coding project here). But when I tried to make this program into an Android application using B4A, I had not succeeded.

I hope that colleagues in this forum would like to help me in solving this trouble, so that this application program can run on Android devices using B4A (I attach the B4A coding project here)

For the solution given, I would like to thank you in advance
 

Attachments

  • Coding B4A.zip
    142 KB · Views: 231
  • Coding VB-2010.zip
    444.5 KB · Views: 189

DonManfred

Expert
Licensed User
Longtime User
i suggest using bytesbuilder and search for 55 AA 12 05 1F 0C 27 39 04 06 and then read the next 12 Bytes
 
Upvote 0

abdipn9984

Member
Licensed User
i suggest using bytesbuilder and search for 55 AA 12 05 1F 0C 27 39 04 06 and then read the next 12 Bytes


I have not been able to solve the problem that I face, please if you are pleased that I was given an example of the coding. I want the captured data to be arrayed and entered into a listview. Then if there is the same data, then what is entered into the listview is only 1 data only (there should not be the same data entered into the listview). I have not been able to implement this logic into B4A coding, please provide a solution for implementing coding in B4A. For the permission and assistance provided, before I say many thanks.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
if you are pleased that I was given an example of the coding
No. You need to do it by yourself. I never worked with bytesbuilder.

But i already gave you the tips for the tools to use. Bytesbuilder. I´m sure you should get the values using it.
 
Last edited:
Upvote 0
Top