Wireless Communications and Mobile Computing / 2017 / Article / Alg 1

Research Article

A High Throughput Anticollision Protocol to Decrease the Energy Consumption in a Passive RFID System

Algorithm 1

Pseudocode of BwT. Reader procedure.
() Command =
()
()
()
() .length
() while(unidentified tags)   do
()  broadcast(Command,W)
()  winID,crcOK] = receiveResponses
()  if  isempty(winMatch)  then  Command = Idle
()   else  crcOK==0  then
()  Command = Collision;
(2)  LIFOpush(tagID)
()   else
()   tagID = tagID+winID
()   rBC = tagID.length
()   if    then
()    Command = Go-On
()    
()   else
()    Command = Success
()    ; LIFOpop(tagID)