Research Article
A High Throughput Anticollision Protocol to Decrease the Energy Consumption in a Passive RFID System
Algorithm 2
Pseudocode of BwT. Tag procedure.
() sleep = false | () ; | () ; | () while (not sleep) do | () receive(Command,nW) | () switchCommand | () case Idle: | () SC=SC−1 | () case Collision: | () ifSC==0 then SC=rand()%2 | () else SC=SC+1 | () case Go-On: | () ifSC==0 then | () case Success: | () ifSC==0 then sleep=true | () else SC=SC−1 | () ifSC==0 then | () backscatter(ID[BC:BC+nW]); |
|