Page 1 of 1

[ESP32-C3]使用 AT 频偏指令查看相对路由器的频偏

Posted: Thu Jun 24, 2021 12:05 pm
by ESP_Mary
问题描述:

根据链接 https://docs.espressif.com/projects/esp ... ml#cmd-lap,可以使用 AT+CWLAP 指令获取频偏,而实际测试过程中发现获取到的 <freq_offset> 均为 -1。
如何才能获取到频偏呢?

固件版本:

Code: Select all

AT+GMR
AT version:2.2.0.0(90458f0 - ESP32C3 - Jun 18 2021 10:23:57)
SDK version:v4.3-beta3-195-g6be10fa
compile time(c16e015):Jun 18 2021 12:56:35
Bin version:2.2.0(MINI-1)

OK
测试指令流程:

Code: Select all

AT+CWMODE=1

OK
AT+CWLAP
+CWLAP:(4,"mali_test",-16,"8c:53:c3:39:41:98",11,-1,-1,5,3,7,1)
+CWLAP:(4,"iot",-38,"30:a2:c2:70:27:88",1,-1,-1,5,3,7,1)
+CWLAP:(4,"esp-guest",-39,"70:3a:73:0c:6c:fb",1,-1,-1,4,4,7,0)
...

OK

Re: [ESP32-C3]使用 AT 频偏指令查看相对路由器的频偏

Posted: Thu Jun 24, 2021 1:09 pm
by ESP_Alson
文档已注明,freq_offset 参数和 freqcal_val 参数现在已经是 reserved item。