本帖最后由 molun 于 2024-10-3 00:49 编辑
书接上回,固件烧录的第二种方法,即源码编译烧录。
关于编译环境的搭建参照我之前分享的《安信可小安派Windos开发环境搭建》篇,在此不在赘述。
亦或是,直接按照此篇开始:
1.安装git工具,下载网址:
2.拉取最新源码
找一个文件夹,右键>在终端中打开
输入这段神奇的代码,也许需要一点魔法
- gh repo clone Ai-Thinker-Open/AiPi-BL618-Open-SDK
复制代码
源码拉取完成
把上面三个文件夹加入到环境变量即可。
windows 11 配置完以后需要重启电脑才生效。
- riscv64-unknown-elf-gcc -v
复制代码
如上图所示,说明环境安装无误,可以开始编译了。
固件编译:
进入源码文件夹,右键>在终端中打开
直接make进行编译
会在build>build_out文件夹下输出编译固件,参照上一篇使用芯片原厂固件烧录工具进行烧录,或者直接用代码进行烧录。
烧录
make flash COMX=COM7(设备管理器自行查看对应COM口)
注意进入烧录模式,长按Burn(S2)不松手,短按一下RST(S1)后,再松开Burn。
- <p></p><pre><code class="language-plaintext">[2024-09-18 18:38:50.473]# RECV ASCII>
- ?
- [2024-09-18 18:38:50.697]# RECV ASCII>
- ____ __ __ _ _ _
- | _ \ / _|/ _| | | | | | |
- | |_) | ___ _ _| |_| |_ __ _| | ___ | | __ _| |__
- | _ < / _ \| | | | _| _/ _` | |/ _ \| |/ _` | '_ \
- | |_) | (_) | |_| | | | || (_| | | (_) | | (_| | |_) |
- |____/ \___/ \__,_|_| |_| \__,_|_|\___/|_|\__,_|_.__/
- Build:20:53:30,Sep 15 2024
- Copyright (c) 2022 Bouffalolab team
- Version of used components:
- Version: component_version_phyrf_v1.0.1-12-geca50a7
- Version: component_version_sdk_2.0.0
- ======== flash cfg ========
- flash size 0x00800000
- jedec id 0xC84017
- mid 0xC8
- iomode 0x04
- clk delay 0x01
- clk invert 0x01
- read reg cmd0 0x05
- read reg cmd1 0x35
- write reg cmd0 0x01
- write reg cmd1 0x31
- qe write len 0x01
- cread support 0x01
- cread code 0x20
- burst wrap cmd 0x77
- ===========================
- dynamic memory init success, ocram heap size = 247 Kbyte, psram heap size = 3046 Kbyte
- sig1:ffffffff
- sig2:000
- [2024-09-18 18:38:50.704]# RECV ASCII>
- 0f32f
- cgen1:9ffffffd
- Starting wifi ...[0m[I][rfparam] xtal value 40000000
- [0m[I][rfparam] pwr_mode is bf
- Empty slot:0
- No written slot found
- [0m[I][rfparam] no pwr_offset in efuse
- [0m[I][rfparam] tlv wlan pwr_offset[14]: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- [0m[I][rfparam] wlan pwr_offset[14]: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- Empty slot:0
- No written slot found
- [0m[I][rfparam] no lp pwr_offset in efuse
- [0m[I][rfparam] tlv wlan lp pwr_offset[14]: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- [0m[I][rfparam] wlan lp pwr_offset[14]: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
- Empty slot:0
- No written slot found
- [0m[I][rfparam] no bz pwr_offset in efuse
- [0m[I][rfparam] tlv bz pwr_offset[5]: 0,0,0,0,0,
- [0m[I][rfparam] bz pwr_offset[5]: 0,0,0,0,0,
- [0m[I][rfparam] pwr_11b[4]: 20,20,20,20,
- [0m[I][rfparam] pwr_11g[8]: 18,18,18,18,18,18,16,16,
- [0m[I][rfparam] pwr_11n_ht20[8]: 18,18,18,18,18,16,15,15,
- [0m[I][rfparam] pwr_11n_ht40[8]: 18,18,18,18,18,16,15,14,
- [0m[I][rfparam] pwr_11ac_vht20[10]: 18,18,18,18,18,16,15,15,15,14,
- [
- [2024-09-18 18:38:50.713]# RECV ASCII>
- 0m[I][rfparam] pwr_11ac_vht40[10]: 18,18,18,18,18,16,15,14,14,13,
- [0m[I][rfparam] pwr_11ac_vht80[10]: 18,18,18,18,18,15,14,13,13,12,
- [0m[I][rfparam] pwr_11ax_he20[12]: 18,18,18,18,18,16,15,15,15,14,13,13,
- [0m[I][rfparam] pwr_11ax_he40[12]: 18,18,18,18,18,16,15,14,14,13,12,12,
- [0m[I][rfparam] pwr_11ax_he80[12]: 18,18,18,18,18,15,14,13,13,12,11,11,
- [0m[I][rfparam] pwr_11ax_he160[12]: 18,18,18,18,18,15,14,13,12,11,10,10,
- [0m[I][rfparam] capcode mode is MF
- Empty slot:1
- [0m[I][rfparam] efuse capcode_in 32,capcode_out 32
- [0m[I][rfparam] capcode_in 32,capcode_out 32
- [0m[I][rfparam] tcal.en_tcal = 0
- [0m[I][rfparam] tcal.linear_or_follow = 1
- [0m[I][rfparam] tcal.Tchannels[5]: 2412,2427,2442,2457,2472,
- [0m[I][rfparam] tcal.Tchannel_os[5]: 180,168,163,160,157,
- [0m[I][rfparam] tcal.Tchannel_os_low[5]: 199,186,170,165,160,
- [0m[I][rfparam] tcal.Troom_os = -1
- [0m[I][rfparam] pwr_ble = 13
- [0m[I][rfparam] pwr_bt[3]: 10,8,8,
- [0m[I][rfparam] pwr_zigbee = 13
- [0m[I][rfparam] country_code = 8
- [2024-09-18 18:38:50.756]# RECV ASCII>
- 6
- [2024-09-18 18:38:50.877]# RECV ASCII>
- PHY RF init success!fail to mount filesystem,error= 3
- SD card might fail to initialise.
- 歷6.10.0.0 - build: sd Nov 22 2021 21:10:20
- get sta mac: b4:0e:cf:3a:4a:d9
- get ap mac: b4:0e:cf:3a:4a:d9
- wifi_mgmr_set_country_code:code = CN
- CODE_WIFI_ON_MGMR_DONE
- bl618_button_task
- camera_muxsem_handle creat success!
- [2024-09-18 18:38:51.510]# RECV ASCII>
- Sensor name: GC2145
- dvp x: 1280
- dvp y: 720
- [2024-09-18 18:38:53.891]# RECV ASCII>
- bl618 wifi connecct
- [2024-09-18 18:40:29.345]# SEND ASCII>
- AT+WJAP=CU_J8FE,13835105031kd
- [2024-09-18 18:40:29.674]# RECV ASCII>
- CU_J8FE
- 13835105031kdlength:13
- wifi_mgmr_sta_connect: ssid:<CU_J8FE>/<7> key:<13835105031kd>/<13> akm:<>/<0> 0-0-0-1
- start connecting ...
- OK
- Exec key_mgmt WPA-PSK WPA-PSK-SHA256 SAE
- Exec pairwise TKIP CCMP GCMP GCMP-256 CCMP-256
- Exec group TKIP CCMP GCMP GCMP-256 CCMP-256
- Exec ieee80211w 0
- Exec scan_ssid 1
- Exec ssid "CU_J8FE"
- Exec psk "13835105031kd"
- [2024-09-18 18:40:31.724]# RECV ASCII>
- WPA network 0: created and condivdStarting AP scan for specific SSID: CU_J8FE, ssid_len:7, BSSID: 00:00:00:00:00:00
- [2024-09-18 18:40:34.185]# RECV ASCII>
- 歔WPA] CTRL-EVENT-BSS-ADDED 0 48:2C:D0:DE:4E:B8
- 歔WPA] CTRL-EVENT-SCAN-RESULTS
- 歔WPA] Trying to associate with 48:2C:D0:DE:4E:B8 (SSID='CU_J8FE' freq=2462 MHz)
- --- OPT rxu_mgmt_ind is detected
- rc_init: station_id=0 format_mod=2 pre_type=1 short_gi=1 max_bw=0
- rc_init: nss_max=0 mcs_max=7 r_idx_min=0 r_idx_max=3 no_samples=10
- [FU]Set timer,state is 5,ongoing++
- [FU]Tx cfm ongoing--, value is 0
- [FL]RECV AUTH,sn:901
- [FU]RECV AUTH,sn:901
- [FU]Rx handler,state:5,fctl:0xb0
- [FU]Clear timer in auth handler
- [FU]Set timer,state is 8,ongoing++
- [FU]Tx cfm ongoing--, value is 0
- [FL]RECV ASSOCRSP,sn:902
- [FU]RECV ASSOCRSP,sn:902
- [FU]Rx handler,state:8,fctl:0x10
- [FU]Clear timer in assoc rsp handler
- [FU] rcv eapol 888e
- 歔WPA] Associated with 48:2C:D0:DE:4E:B8
- 歔WPA] CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
- [FU] rcv eapol 888e
- 歔WPA] WPA: Key negotiation completed with 48:2C:D0:DE:4E:B8 [PTK=CCMP GTK=TKIP]
- 歔WPA] CTRL-EVENT-CONNECTED - Connection to 48:2C:D0:DE:4E:B8 completed [id=0 id_str=]
- wpa_supplicant_ctrl_if
- [2024-09-18 18:40:34.243]# RECV ASCII>
- ace_msg_cb: cmd send succeded, txt is CTRL-EVENT-CONNECTED - Connection to 48:2C:D0:DE:4E:B8 completed [id=0 id_str=]
- =================================================================
- [AT][RX] Connection Status
- [AT][RX] status_code 0
- [AT][RX] reason_code 0
- [AT][RX] status detail: sm connect ind ok
- [AT][RX] MAC 48:2C:D0:DE:4E:B8
- [AT][RX] vif_idx 1
- [AT][RX] ap_idx 0
- [AT][RX] ch_idx 0
- [AT][RX] qos 1
- [AT][RX] aid 10
- [AT][RX] band 2.4G
- [AT][RX] channel 11
- =================================================================
- start dhcping ...
- [2024-09-18 18:40:36.391]# RECV ASCII>
- IP:192.168.1.174
- MASK: 255.255.255.0
- Gateway: 192.168.1.1
- [2024-09-18 18:40:37.251]# RECV ASCII>
- bl618_wifi_got_ip_process
- [0] wl1: MAC=b4:0e:cf:3a:4a:d9 ip=192.168.1.174/24 UP,CONNECTED
- [2024-09-18 18:40:37.721]# RECV ASCII>
- accept start
- [2024-09-18 18:40:42.233]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:475
- get:GET / HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/ len:1
- command1
- accept start
- [2024-09-18 18:40:43.192]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:351
- get:GET /status HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: */*
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/status len:7
- status
- accept start
- [2024-09-18 18:40:45.266]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:501
- get:GET / HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- Cache-Control: max-age=0
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/ len:1
- command1
- accept start
- accept start 1
- http_server_thread 1
- [2024-09-18 18:40:45.529]# RECV ASCII>
- read len:351
- get:GET /status HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: */*
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/status len:7
- status
- accept start
- [2024-09-18 18:40:46.443]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:417
- get:GET /favicon.ico HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/favicon.ico len:12
- read len:-1
- get:GET /favicon.ico HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- size <= 0
- accept start
- [2024-09-18 18:40:48.255]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:442
- get:GET /stream HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Origin: http://192.168.1.174
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/stream len:7
- stream
- accept start
- stream_task_process
- [2024-09-18 18:40:53.329]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- text write failed 1 -1
- [2024-09-18 18:40:55.861]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:461
- get:GET /capture?_cb=1726656055761 HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Origin: http://192.168.1.174
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/capture?_cb=1726656055761 len:26
- capture
- [2024-09-18 18:40:56.125]# RECV ASCII>
- accept start
- [2024-09-18 18:40:58.512]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:442
- get:GET /stream HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Origin: http://192.168.1.174
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/stream len:7
- stream
- stream_task_process
- accept start
- [2024-09-18 18:41:00.527]# RECV ASCII>
- text write failed 1 -1
- [2024-09-18 18:41:03.361]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:442
- get:GET /stream HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Origin: http://192.168.1.174
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/stream len:7
- stream
- stream_task_process
- accept start
- [2024-09-18 18:41:06.502]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:10.778]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:12.492]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:14.319]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:15.756]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:17.354]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:19.031]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:23.244]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:24.298]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:28.170]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:32.688]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:34.090]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:38.798]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:43.387]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:41:45.110]# RECV ASCII>
- text write failed 1 -1
- [2024-09-18 18:41:46.600]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:442
- get:GET /stream HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Origin: http://192.168.1.174
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/stream len:7
- stream
- stream_task_process
- accept start
- [2024-09-18 18:41:49.347]# RECV ASCII>
- text write failed 1 -1
- [2024-09-18 18:42:01.803]# RECV ASCII>
- accept start 1
- http_server_thread 1
- [2024-09-18 18:42:11.970]# RECV ASCII>
- read len:370
- get:GET /control?var=wb_mode&val=0 HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: */*
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/control?var=wb_mode&val=0 len:26
- read len:-1
- get:GET /control?var=wb_mode&val=0 HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: */*
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- size <= 0
- accept start
- accept start 1
- http_server_thread 1
- read len:501
- get:GET / HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- Cache-Control: max-age=0
- Upgrade-Insecure-Requests: 1
- User-Age
- [2024-09-18 18:42:12.001]# RECV ASCII>
- nt: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/ len:1
- command1
- accept start
- accept start 1
- http_server_thread 1
- read len:370
- get:GET /control?var=wb_mode&val=0 HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: */*
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/control?var=wb_mode&val=0 len:26
- read len:-1
- get:GET /control?var=wb_mode&val=0 HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.
- [2024-09-18 18:42:12.050]# RECV ASCII>
- 0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: */*
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- size <= 0
- accept start
- [2024-09-18 18:42:12.524]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:351
- get:GET /status HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: */*
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/status len:7
- status
- accept start
- [2024-09-18 18:42:13.603]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:417
- get:GET /favicon.ico HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/favicon.ico len:12
- read len:-1
- get:GET /favicon.ico HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- size <= 0
- accept start
- [2024-09-18 18:42:47.723]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:442
- get:GET /stream HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Origin: http://192.168.1.174
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/stream len:7
- stream
- stream_task_process
- accept start
- [2024-09-18 18:44:15.501]# RECV ASCII>
- ASSERT REC at txl_agg_check_rtscts_retry_limit:3178
- DMA S1=0x200,S2=0x0,S3=0x0,S4=0x20b
- DMA T_currPtr=0x23020c00,R_pld_sp=0x0,R_hd_sp=0x0,R_pld_ptr=0x0, SM=0x0
- TxQueue BCN=0x0 AC[0-3]:0x0-0x23020c00-0x0-0x2301a86c
- feclk(0x24940008)=0x1400, wifibw(0x20001220)=0x2000
- ac:0, cfmlist 0, transmitting 0
- ac:1, cfmlist 0, transmitting 7
- ac:2, cfmlist 0, transmitting 0
- ac:3, cfmlist 0, transmitting 0
- internal frame:total:2,left:2,done:0
- [2024-09-18 18:46:07.081]# SEND ASCII>
- AT+LED=1
- [2024-09-18 18:46:07.408]# RECV ASCII>
- OK
- [2024-09-18 18:46:09.798]# SEND ASCII>
- AT+LED=1
- [2024-09-18 18:46:10.151]# RECV ASCII>
- OK
- [2024-09-18 18:46:16.108]# RECV ASCII>
- Fail to open or create files: 3.
- [2024-09-18 18:46:17.512]# RECV ASCII>
- Fail to open or create files: 3.
- [2024-09-18 18:46:20.291]# RECV ASCII>
- Fail to open or create files: 3.
- [2024-09-18 18:49:51.817]# RECV ASCII>
- accept fail sc is:7 semaphore is:1
- accept start
- [2024-09-18 18:49:51.938]# RECV ASCII>
- text write failed 1 -1
- [2024-09-18 18:49:52.961]# RECV ASCII>
- accept start 1
- http_server_thread 1
- [2024-09-18 18:49:54.749]# RECV ASCII>
- read len:501
- get:GET / HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- Cache-Control: max-age=0
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/ len:1
- command1
- accept start
- accept start 1
- http_server_thread 1
- read len:501
- get:GET / HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- Cache-Control: max-age=0
- Upgrade-Insecure-Requests: 1
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
- Accept-En
- [2024-09-18 18:49:54.810]# RECV ASCII>
- coding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/ len:1
- command1
- text write failedaccept start
- accept start 1
- http_server_thread 1
- [2024-09-18 18:49:55.182]# RECV ASCII>
- read len:351
- get:GET /status HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: */*
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/status len:7
- status
- accept start
- [2024-09-18 18:49:57.543]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:417
- get:GET /favicon.ico HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/favicon.ico len:12
- read len:-1
- get:GET /favicon.ico HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- size <= 0
- accept start
- [2024-09-18 18:50:03.942]# RECV ASCII>
- accept start 1
- http_server_thread 1
- read len:442
- get:GET /stream HTTP/1.1
- Host: 192.168.1.174
- Connection: keep-alive
- User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
- Origin: http://192.168.1.174
- Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
- Referer: http://192.168.1.174/
- Accept-Encoding: gzip, deflate
- Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6
- get:/stream len:7
- stream
- stream_task_process
- accept start
- [2024-09-18 18:52:28.935]# RECV ASCII>
- [FU] rcv eapol 888e
- 歔WPA] WPA: Group rekeying completed with 48:2C:D0:DE:4E:B8 [GTK=TKIP]
- [2024-09-18 18:54:31.443]# RECV ASCII>
- text write failed 1 -1
- [2024-09-18 18:59:32.552]# RECV ASCII>
- accept start 1
- http_server_thread 1</code></pre>
复制代码
错误更正:
AT+LED=1
AT+LED=0
以上命令仅用于开关闪光灯功能,并不能直接开关闪关灯,开启后按S2激活闪光灯。
|