The invention discloses a WiFi-to-LoRa long-distance transmission method based on cross-protocol communication, and the method comprises the steps: carrying out the up-sampling and
cyclic prefix removal of a simulated LoRa
signal, carrying out the calculation of a LoRa sub-
signal through an FFT
algorithm, obtaining a
frequency domain component of a corresponding bandwidth, and determining a to-be-used OFDM sub-carrier; selecting the closest
constellation point to replace the deviated
frequency domain component, and zeroing other
constellation points except the
constellation point corresponding to the effective
subcarrier to complete
QAM decoding of the LoRa
signal; converting the symbols after
QAM decoding into bit data, performing convolutional coding on the bit data, grouping the bit data according to preset bits, and performing
QAM coding to generate corresponding QAM symbols; a plurality of QAM symbols are distributed to OFDM subcarriers at the same time,
frequency domain components are converted into
time domain signals through inverse
Fourier transform, and long-distance transmission is carried out. According to the invention, long-distance transmission from WiFi to LoRa can be realized.