The invention discloses a master-slave mode
dynamic channel assessment frequency hopping method based on SX1262, and belongs to the technical field of
wireless communication. According to the method, communication connection is established through a master node and slave nodes, RSSI, SNR and CAD states of all candidate frequency points are obtained in real time through an SX1262
chip, 100 pieces of historical data serve as a cache, basic quality, RSSI stability, CAD interference and timeliness trend four-dimensional scoring is conducted on 13 candidate frequency points, an optimal frequency point
pool is screened out, two non-adjacent high-quality frequency points are randomly selected, and the optimal frequency point
pool is obtained. And synchronous frequency hopping communication of the master and slave nodes is realized. Meanwhile, a set of simplified self-defined communication protocol is designed, a master node sends 128 bytes of frames, slave nodes respond to 4 bytes of frames, and
protocol overhead is remarkably reduced. Compared with the prior art, the optimal communication frequency point can be adaptively selected in a complex interference environment, the communication reliability is effectively improved, the
power consumption is reduced, the spectrum
utilization rate is improved, and the method is widely applied to a low-power-consumption wide-area
Internet of Things scene.