byte tagEPCBytes = nano.getTagEPCBytes(); //Get the number of bytes of EPC from response
The comment gives you a clue that the name of the variable is garbage.
byte byteCount = nano.getTagEPCBytes(); //Get the number of bytes
//Print EPC bytes, this is a subsection of bytes from the response/msg array
Serial.print(F(" epc["));
for (byte x = 0 ; x < tagEPCBytes ; x++)
{
if (nano.msg[31 + x] < 0x10) Serial.print(F("0")); //Pretty print
Serial.print(nano.msg[31 + x], HEX);
Serial.print(F(" "));
}
Serial.print(F("]"));
Serial.println();
YOU need to understand what every one of these print() calls is doing.
Comment them out one at a time, and observe the differences in the output to the Serial Monitor. When you KNOW which ones output data that you want in Excel, you will be well positioned to get rid of the other ones.
Serial.print("#S|LOGTEST|[");
Serial.print(itoa((value1), buffer, 10));
Serial.print(";");
Serial.print(itoa((value2), buffer, 10));
Serial.print(";");
Serial.print(itoa((value3), buffer, 10));
Serial.println("]#");
Do you understand what each of these lines is doing? Without starting GoBetwino, just open the Serial Monitor application, and see what you get.
Google itoa(), if you need to, to see what it is doing, and what it returns.
You'll see that it converts the int to a string, which is a useless thing to do because print() knows how to do that.
So, that code really could be a lot simpler.
Serial.print("#S|LOGTEST|[");
Serial.print(value1);
Serial.print(";");
Serial.print(value2);
Serial.print(";");
Serial.print(value3);
Serial.println("]#");
If you read the GoBetweenino documentation, you'll know that commands to GoBetweenino are indicated by a # followed by some letter with additional stuff after the letter that depend on the letter.
What that is doing is telling GoBetweenino to open a file and write semi-colon separated values to it.
Experiment with changing the number of print() statements between the first and last one, to see how many columns you get in the file.
When you understand what the lines between the first and last one do, you'll easily be able to change them to transfer the bytes from your RFID reader, instead of hardcoded, or random, values.