3 Replies Latest reply on Dec 18, 2017 5:09 AM by Andreas Fauerbach

    Write 128bits EPC with Android and RFD8500

    Luis Pardo

      Hi, I cannot find any method to change the default size of EPC. Even if I send longer ids, it cuts it to 96bits.

      Also, using the example code from Scan Scan Write application, i dont find how to write USER bank (if i cant write 128 bits in EPC i could use, worse case scenario, the USER bank).

        • Re: Write 128bits EPC with Android and RFD8500
          Andreas Fauerbach

          Please refer to the RFD8500 Developer Guide.

          The write operation allows you to set bank, offset and length.

          You also need to make sure, you set the length field in the PC (Protocol Control) section of the EPC Memory bank correctly.

          Details about Tag encoding are described in the EPC Tag Data Standard.

            • Re: Write 128bits EPC with Android and RFD8500
              Luis Pardo

              Hi, thanks for your answer, but still cant find it.

              I’m using the code from Scan_Scan_Write app, and with this versión, Command_Write has no propperty to set length.

               

              Command_Write writeCommand = new Command_Write();
              //Set the param values
              int offset = 2;
              writeCommand.setBank(ENUM_MEMORY_BANK.
              EPC);
              writeCommand.setPassword(Long.decode(
              "0x00000"));
              writeCommand.setOffset((
              short) (offset));
              byte[] data = (byte[]) ASCIIUtil.ParseArrayFromString(targetEPC, "byteArray", "HEX");
              writeCommand.setData(data);
              writeCommand.setCriteriaIndex((
              short) 1);
              sendCommand(writeCommand);

               

              Also the protocol_config has no property to set the epc size

               

              public void initReader() {
              if (!readerInit) {
              sendCommand(
              new Command_abort());
              Command_ProtocolConfig command_protocolConfig =
              new Command_ProtocolConfig();
              command_protocolConfig.setEchoOff(
              true);
              command_protocolConfig.setIncStopOperationNotify(
              true);
              sendCommand(command_protocolConfig);
              setDPODisable();
              setAntenna();
              setStartStopTriggers();
              readerInit = true;
              }
              }

               

              I logged the commands sent and this is what i get:

               

              setattr .attnum 1664 .atttype B .attvalue 1

              getversion

              getcapabilities

               

              abort

              protocolconfig .echooff .incstopoperationnotify

              setdynamicpower .disable

              setantennaconfiguration .power 270

              setstarttrigger .ignorehandheldtrigger .startdelay 0 .norepeat

              setstoptrigger .disablestopontagcount .stoptagcount 0 .enablestopontimeout .stoptimeout 3000 .disablestoponinventorycount .stopinventorycount 0 .enablestoponaccesscount .stopaccesscount 1

              setaccesscriteria .accesscriteria .filter1maskbank epc .filter1maskstartpos 2 .filter1data .filter1mask  .filter1matchlength 0 .filter1domatch

              write .password 00 .bank epc .offset 2 .data 2564D369A68B29A292C36CF6 .criteriaindex 1

            • Re: Write 128bits EPC with Android and RFD8500
              Andreas Fauerbach

              Hi,

               

              Talking about PC I did not mean the ProtocolConfig Command.

              PC is the Protocol Control Section of the EPC memory bank!

               

              As I stated above, it is described in the EPC Tag Data Standard document.

              You should also have a look at the datasheet of the RFID Tag, or more precisely, the chip you are using.

              The EPC Length field is 10h to 14h of the EPC meomory bank.

              Please find the definition in the Tag Data Standard document Section 15 (EPC Memory Contents).