Research Article

Data-Sharing Method for Multi-Smart Devices at Close Range

Pseudocode 1

Pseudocode for the trigger signal detection of the receiving devices.
;
While (receive ) Do
   FFT();
  If ( has the base signals) Then
    If ( has key low-latency) Then
      ;
      If ( is more than threshold ) Then
        GPS data send to server;
        Request sharing data;
        Break;
      END If
    ELSE
    ;
    END If
  ELSE
    ;
  END IF
END WHILE