How to compress an hexadecimal number into a short string?

I wrote all the code in post #7.
From then on, only the code that was changed

int counter = 0;

after each scanned TAG the counter is increased by 1

Serial.println(counter++);

I think, I've got the wrong type. I am trying to store the an int in a byte. I try to cast it to byte

tagEPCBytes[(byte)counter][x] = nano.msg[31 + x];

this gives me following error

error: invalid types 'byte {aka unsigned char}[byte {aka unsigned char}]' for array subscript

         tagEPCBytes[(byte)counter][x] = nano.msg[31 + x];

now i am confused :astonished: