Skip to main content
. 2017 Sep 22;17(10):2185. doi: 10.3390/s17102185
Algorithm 1 New carrier sensing mechanism
  • Require:

    Known signal KS and received signal Y.

  • Ensure:

    Channel access success/failure.

  • 1:

    Locate backoff period boundary, and perform CCA for 128 μs;

  • 2:

    if channel is found idle then

  • 3:

        j=1;

  • 4:

        Enable transmitter and transmit one random signal KSk from KS;

  • 5:

        Receive the signal Y;

  • 6:

        while j≤m do

  • 7:

            if j≠k then

  • 8:

               Calculate C(KSj,Y,l);

  • 9:

               if C(KSj,Y,l)>KSthreshold then

  • 10:

                   Channel access failure and stop;

  • 11:

               end if

  • 12:

            else

  • 13:

               j = j + 1;

  • 14:

            end if

  • 15:

        end while

  • 16:

        Channel access success;

  • 17:

    end if