+ if (select){
+ uint8_t cmd2[16];
+ uint8_t cmdLen = 3;
+ bool crc2 = true;
+ cmd2[0] = 0x05;
+ cmd2[1] = 0x00;
+ cmd2[2] = 0x08;
+
+ if (HF14BCmdRaw(true, &crc2, true, cmd2, &cmdLen, false)==0) return rawClose();
+
+ if (cmd2[0] != 0x50 || cmdLen != 14 || !crc2) return rawClose();
+
+ data[0] = 0x1D;
+ data[5] = 0x00;
+ data[6] = 0x08;
+ data[7] = 0x01;
+ data[8] = 0x00;
+
+ cmdLen = 9;
+ if (HF14BCmdRaw(true, &crc2, true, cmd2, &cmdLen, false)==0) return rawClose();
+
+ if (cmd2[0] != 0x10 || cmdLen != 3 || !crc2) return rawClose();
+ }
+