安信可小安派-Cam-D200测评之【编译】

[复制链接]
查看1155 | 回复5 | 2024-10-1 23:37:16 | 显示全部楼层 |阅读模式
本帖最后由 molun 于 2024-10-3 00:49 编辑


                               
登录/注册后可看大图

书接上回,固件烧录的第二种方法,即源码编译烧录。
关于编译环境的搭建参照我之前分享的《安信可小安派Windos开发环境搭建》篇,在此不在赘述。
亦或是,直接按照此篇开始:
1.安装git工具,下载网址:
  1. https://git-scm.com/
复制代码

2.拉取最新源码

                               
登录/注册后可看大图

找一个文件夹,右键>在终端中打开

                               
登录/注册后可看大图


                               
登录/注册后可看大图

输入这段神奇的代码,也许需要一点魔法
  1. gh repo clone Ai-Thinker-Open/AiPi-BL618-Open-SDK
复制代码


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图

源码拉取完成

                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图

把上面三个文件夹加入到环境变量即可。

windows 11 配置完以后需要重启电脑才生效。

                               
登录/注册后可看大图

  1. make -v
复制代码


                               
登录/注册后可看大图

  1. riscv64-unknown-elf-gcc -v
复制代码

如上图所示,说明环境安装无误,可以开始编译了。

固件编译:

                               
登录/注册后可看大图

进入源码文件夹,右键>在终端中打开

                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图

直接make进行编译

                               
登录/注册后可看大图

会在build>build_out文件夹下输出编译固件,参照上一篇使用芯片原厂固件烧录工具进行烧录,或者直接用代码进行烧录。
烧录
make flash COMX=COM7(设备管理器自行查看对应COM口)
注意进入烧录模式,长按Burn(S2)不松手,短按一下RST(S1)后,再松开Burn。


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


                               
登录/注册后可看大图


  1. <p></p><pre><code class="language-plaintext">[2024-09-18 18:38:50.473]# RECV ASCII>
  2. ?

  3. [2024-09-18 18:38:50.697]# RECV ASCII>

  4.   ____               __  __      _       _       _     
  5. |  _ \             / _|/ _|    | |     | |     | |   
  6. | |_) | ___  _   _| |_| |_ __ _| | ___ | | __ _| |__  
  7. |  _ < / _ \| | | |  _|  _/ _` | |/ _ \| |/ _` | '_ \
  8. | |_) | (_) | |_| | | | || (_| | | (_) | | (_| | |_) |
  9. |____/ \___/ \__,_|_| |_| \__,_|_|\___/|_|\__,_|_.__/

  10. Build:20:53:30,Sep 15 2024
  11. Copyright (c) 2022 Bouffalolab team
  12. Version of used components:
  13.         Version: component_version_phyrf_v1.0.1-12-geca50a7
  14.         Version: component_version_sdk_2.0.0
  15. ======== flash cfg ========
  16. flash size 0x00800000
  17. jedec id     0xC84017
  18. mid              0xC8
  19. iomode           0x04
  20. clk delay        0x01
  21. clk invert       0x01
  22. read reg cmd0    0x05
  23. read reg cmd1    0x35
  24. write reg cmd0   0x01
  25. write reg cmd1   0x31
  26. qe write len     0x01
  27. cread support    0x01
  28. cread code       0x20
  29. burst wrap cmd   0x77
  30. ===========================
  31. dynamic memory init success, ocram heap size = 247 Kbyte, psram heap size = 3046 Kbyte
  32. sig1:ffffffff
  33. sig2:000

  34. [2024-09-18 18:38:50.704]# RECV ASCII>
  35. 0f32f
  36. cgen1:9ffffffd
  37. Starting wifi ...[I][rfparam] xtal value 40000000
  38. [I][rfparam] pwr_mode is bf
  39. Empty slot:0
  40. No written slot found
  41. [I][rfparam] no pwr_offset in efuse
  42. [I][rfparam] tlv wlan pwr_offset[14]: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  43. [I][rfparam] wlan pwr_offset[14]: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  44. Empty slot:0
  45. No written slot found
  46. [I][rfparam] no lp pwr_offset in efuse
  47. [I][rfparam] tlv wlan lp pwr_offset[14]: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  48. [I][rfparam] wlan lp pwr_offset[14]: 0,0,0,0,0,0,0,0,0,0,0,0,0,0,
  49. Empty slot:0
  50. No written slot found
  51. [I][rfparam] no bz pwr_offset in efuse
  52. [I][rfparam] tlv bz pwr_offset[5]: 0,0,0,0,0,
  53. [I][rfparam] bz pwr_offset[5]: 0,0,0,0,0,
  54. [I][rfparam] pwr_11b[4]: 20,20,20,20,
  55. [I][rfparam] pwr_11g[8]: 18,18,18,18,18,18,16,16,
  56. [I][rfparam] pwr_11n_ht20[8]: 18,18,18,18,18,16,15,15,
  57. [I][rfparam] pwr_11n_ht40[8]: 18,18,18,18,18,16,15,14,
  58. [I][rfparam] pwr_11ac_vht20[10]: 18,18,18,18,18,16,15,15,15,14,
  59. [

  60. [2024-09-18 18:38:50.713]# RECV ASCII>
  61. 0m[I][rfparam] pwr_11ac_vht40[10]: 18,18,18,18,18,16,15,14,14,13,
  62. [I][rfparam] pwr_11ac_vht80[10]: 18,18,18,18,18,15,14,13,13,12,
  63. [I][rfparam] pwr_11ax_he20[12]: 18,18,18,18,18,16,15,15,15,14,13,13,
  64. [I][rfparam] pwr_11ax_he40[12]: 18,18,18,18,18,16,15,14,14,13,12,12,
  65. [I][rfparam] pwr_11ax_he80[12]: 18,18,18,18,18,15,14,13,13,12,11,11,
  66. [I][rfparam] pwr_11ax_he160[12]: 18,18,18,18,18,15,14,13,12,11,10,10,
  67. [I][rfparam] capcode mode is MF
  68. Empty slot:1
  69. [I][rfparam] efuse capcode_in 32,capcode_out 32
  70. [I][rfparam] capcode_in 32,capcode_out 32
  71. [I][rfparam] tcal.en_tcal = 0
  72. [I][rfparam] tcal.linear_or_follow = 1
  73. [I][rfparam] tcal.Tchannels[5]: 2412,2427,2442,2457,2472,
  74. [I][rfparam] tcal.Tchannel_os[5]: 180,168,163,160,157,
  75. [I][rfparam] tcal.Tchannel_os_low[5]: 199,186,170,165,160,
  76. [I][rfparam] tcal.Troom_os = -1
  77. [I][rfparam] pwr_ble = 13
  78. [I][rfparam] pwr_bt[3]: 10,8,8,
  79. [I][rfparam] pwr_zigbee = 13
  80. [I][rfparam] country_code = 8

  81. [2024-09-18 18:38:50.756]# RECV ASCII>
  82. 6


  83. [2024-09-18 18:38:50.877]# RECV ASCII>
  84. PHY RF init success!fail to mount filesystem,error= 3
  85. SD card might fail to initialise.
  86. 歷6.10.0.0 - build: sd Nov 22 2021 21:10:20
  87. get sta mac: b4:0e:cf:3a:4a:d9

  88. get ap mac: b4:0e:cf:3a:4a:d9

  89. wifi_mgmr_set_country_code:code = CN
  90. CODE_WIFI_ON_MGMR_DONE
  91. bl618_button_task
  92. camera_muxsem_handle creat success!


  93. [2024-09-18 18:38:51.510]# RECV ASCII>

  94. Sensor name: GC2145
  95. dvp x: 1280
  96. dvp y: 720


  97. [2024-09-18 18:38:53.891]# RECV ASCII>
  98. bl618 wifi connecct


  99. [2024-09-18 18:40:29.345]# SEND ASCII>
  100. AT+WJAP=CU_J8FE,13835105031kd


  101. [2024-09-18 18:40:29.674]# RECV ASCII>
  102. CU_J8FE
  103. 13835105031kdlength:13
  104. wifi_mgmr_sta_connect: ssid:<CU_J8FE>/<7> key:<13835105031kd>/<13> akm:<>/<0> 0-0-0-1
  105. start connecting ...
  106. OK
  107. Exec key_mgmt WPA-PSK WPA-PSK-SHA256 SAE
  108. Exec pairwise TKIP CCMP GCMP GCMP-256 CCMP-256
  109. Exec group TKIP CCMP GCMP GCMP-256 CCMP-256
  110. Exec ieee80211w 0
  111. Exec scan_ssid 1
  112. Exec ssid "CU_J8FE"
  113. Exec psk "13835105031kd"


  114. [2024-09-18 18:40:31.724]# RECV ASCII>
  115. WPA network 0: created and condivdStarting AP scan for specific SSID: CU_J8FE, ssid_len:7, BSSID: 00:00:00:00:00:00


  116. [2024-09-18 18:40:34.185]# RECV ASCII>
  117. 歔WPA] CTRL-EVENT-BSS-ADDED 0 48:2C:D0:DE:4E:B8
  118. 歔WPA] CTRL-EVENT-SCAN-RESULTS
  119. 歔WPA] Trying to associate with 48:2C:D0:DE:4E:B8 (SSID='CU_J8FE' freq=2462 MHz)
  120. --- OPT rxu_mgmt_ind is detected
  121. rc_init: station_id=0 format_mod=2 pre_type=1 short_gi=1 max_bw=0
  122. rc_init: nss_max=0 mcs_max=7 r_idx_min=0 r_idx_max=3 no_samples=10
  123. [FU]Set timer,state is 5,ongoing++
  124. [FU]Tx cfm ongoing--, value is 0
  125. [FL]RECV AUTH,sn:901
  126. [FU]RECV AUTH,sn:901
  127. [FU]Rx handler,state:5,fctl:0xb0
  128. [FU]Clear timer in auth handler
  129. [FU]Set timer,state is 8,ongoing++
  130. [FU]Tx cfm ongoing--, value is 0
  131. [FL]RECV ASSOCRSP,sn:902
  132. [FU]RECV ASSOCRSP,sn:902
  133. [FU]Rx handler,state:8,fctl:0x10
  134. [FU]Clear timer in assoc rsp handler
  135. [FU] rcv eapol 888e
  136. 歔WPA] Associated with 48:2C:D0:DE:4E:B8
  137. 歔WPA] CTRL-EVENT-SUBNET-STATUS-UPDATE status=0
  138. [FU] rcv eapol 888e
  139. 歔WPA] WPA: Key negotiation completed with 48:2C:D0:DE:4E:B8 [PTK=CCMP GTK=TKIP]
  140. 歔WPA] CTRL-EVENT-CONNECTED - Connection to 48:2C:D0:DE:4E:B8 completed [id=0 id_str=]
  141. wpa_supplicant_ctrl_if

  142. [2024-09-18 18:40:34.243]# RECV ASCII>
  143. ace_msg_cb: cmd send succeded, txt is CTRL-EVENT-CONNECTED - Connection to 48:2C:D0:DE:4E:B8 completed [id=0 id_str=]
  144. =================================================================
  145. [AT][RX] Connection Status
  146. [AT][RX]   status_code 0
  147. [AT][RX]   reason_code 0
  148. [AT][RX]   status detail: sm connect ind ok
  149. [AT][RX]   MAC 48:2C:D0:DE:4E:B8
  150. [AT][RX]   vif_idx 1
  151. [AT][RX]   ap_idx 0
  152. [AT][RX]   ch_idx 0
  153. [AT][RX]   qos 1
  154. [AT][RX]   aid 10
  155. [AT][RX]   band 2.4G
  156. [AT][RX]   channel 11
  157. =================================================================
  158. start dhcping ...


  159. [2024-09-18 18:40:36.391]# RECV ASCII>
  160. IP:192.168.1.174
  161. MASK: 255.255.255.0
  162. Gateway: 192.168.1.1


  163. [2024-09-18 18:40:37.251]# RECV ASCII>
  164. bl618_wifi_got_ip_process
  165. [0] wl1: MAC=b4:0e:cf:3a:4a:d9 ip=192.168.1.174/24 UP,CONNECTED


  166. [2024-09-18 18:40:37.721]# RECV ASCII>
  167. accept start


  168. [2024-09-18 18:40:42.233]# RECV ASCII>
  169. accept start 1
  170. http_server_thread 1
  171. read len:475
  172. get:GET / HTTP/1.1
  173. Host: 192.168.1.174
  174. Connection: keep-alive
  175. Upgrade-Insecure-Requests: 1
  176. 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
  177. 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
  178. Accept-Encoding: gzip, deflate
  179. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  180. get:/ len:1
  181. command1
  182. accept start


  183. [2024-09-18 18:40:43.192]# RECV ASCII>
  184. accept start 1
  185. http_server_thread 1
  186. read len:351
  187. get:GET /status HTTP/1.1
  188. Host: 192.168.1.174
  189. Connection: keep-alive
  190. 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
  191. Accept: */*
  192. Referer: http://192.168.1.174/
  193. Accept-Encoding: gzip, deflate
  194. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  195. get:/status len:7
  196. status
  197. accept start


  198. [2024-09-18 18:40:45.266]# RECV ASCII>
  199. accept start 1
  200. http_server_thread 1
  201. read len:501
  202. get:GET / HTTP/1.1
  203. Host: 192.168.1.174
  204. Connection: keep-alive
  205. Cache-Control: max-age=0
  206. Upgrade-Insecure-Requests: 1
  207. 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
  208. 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
  209. Accept-Encoding: gzip, deflate
  210. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  211. get:/ len:1
  212. command1
  213. accept start
  214. accept start 1
  215. http_server_thread 1


  216. [2024-09-18 18:40:45.529]# RECV ASCII>
  217. read len:351
  218. get:GET /status HTTP/1.1
  219. Host: 192.168.1.174
  220. Connection: keep-alive
  221. 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
  222. Accept: */*
  223. Referer: http://192.168.1.174/
  224. Accept-Encoding: gzip, deflate
  225. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  226. get:/status len:7
  227. status
  228. accept start


  229. [2024-09-18 18:40:46.443]# RECV ASCII>
  230. accept start 1
  231. http_server_thread 1
  232. read len:417
  233. get:GET /favicon.ico HTTP/1.1
  234. Host: 192.168.1.174
  235. Connection: keep-alive
  236. 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
  237. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  238. Referer: http://192.168.1.174/
  239. Accept-Encoding: gzip, deflate
  240. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  241. get:/favicon.ico len:12
  242. read len:-1
  243. get:GET /favicon.ico HTTP/1.1
  244. Host: 192.168.1.174
  245. Connection: keep-alive
  246. 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
  247. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  248. Referer: http://192.168.1.174/
  249. Accept-Encoding: gzip, deflate
  250. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  251. size <= 0
  252. accept start


  253. [2024-09-18 18:40:48.255]# RECV ASCII>
  254. accept start 1
  255. http_server_thread 1
  256. read len:442
  257. get:GET /stream HTTP/1.1
  258. Host: 192.168.1.174
  259. Connection: keep-alive
  260. 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
  261. Origin: http://192.168.1.174
  262. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  263. Referer: http://192.168.1.174/
  264. Accept-Encoding: gzip, deflate
  265. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  266. get:/stream len:7
  267. stream
  268. accept start
  269. stream_task_process


  270. [2024-09-18 18:40:53.329]# RECV ASCII>
  271. accept fail sc is:7  semaphore is:1
  272. accept start
  273. text write failed 1 -1

  274. [2024-09-18 18:40:55.861]# RECV ASCII>
  275. accept start 1
  276. http_server_thread 1
  277. read len:461
  278. get:GET /capture?_cb=1726656055761 HTTP/1.1
  279. Host: 192.168.1.174
  280. Connection: keep-alive
  281. 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
  282. Origin: http://192.168.1.174
  283. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  284. Referer: http://192.168.1.174/
  285. Accept-Encoding: gzip, deflate
  286. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  287. get:/capture?_cb=1726656055761 len:26
  288. capture


  289. [2024-09-18 18:40:56.125]# RECV ASCII>
  290. accept start


  291. [2024-09-18 18:40:58.512]# RECV ASCII>
  292. accept start 1
  293. http_server_thread 1
  294. read len:442
  295. get:GET /stream HTTP/1.1
  296. Host: 192.168.1.174
  297. Connection: keep-alive
  298. 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
  299. Origin: http://192.168.1.174
  300. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  301. Referer: http://192.168.1.174/
  302. Accept-Encoding: gzip, deflate
  303. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  304. get:/stream len:7
  305. stream
  306. stream_task_process
  307. accept start


  308. [2024-09-18 18:41:00.527]# RECV ASCII>
  309. text write failed 1 -1

  310. [2024-09-18 18:41:03.361]# RECV ASCII>
  311. accept start 1
  312. http_server_thread 1
  313. read len:442
  314. get:GET /stream HTTP/1.1
  315. Host: 192.168.1.174
  316. Connection: keep-alive
  317. 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
  318. Origin: http://192.168.1.174
  319. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  320. Referer: http://192.168.1.174/
  321. Accept-Encoding: gzip, deflate
  322. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  323. get:/stream len:7
  324. stream
  325. stream_task_process
  326. accept start


  327. [2024-09-18 18:41:06.502]# RECV ASCII>
  328. accept fail sc is:7  semaphore is:1
  329. accept start


  330. [2024-09-18 18:41:10.778]# RECV ASCII>
  331. accept fail sc is:7  semaphore is:1
  332. accept start


  333. [2024-09-18 18:41:12.492]# RECV ASCII>
  334. accept fail sc is:7  semaphore is:1
  335. accept start


  336. [2024-09-18 18:41:14.319]# RECV ASCII>
  337. accept fail sc is:7  semaphore is:1
  338. accept start


  339. [2024-09-18 18:41:15.756]# RECV ASCII>
  340. accept fail sc is:7  semaphore is:1
  341. accept start


  342. [2024-09-18 18:41:17.354]# RECV ASCII>
  343. accept fail sc is:7  semaphore is:1
  344. accept start


  345. [2024-09-18 18:41:19.031]# RECV ASCII>
  346. accept fail sc is:7  semaphore is:1
  347. accept start


  348. [2024-09-18 18:41:23.244]# RECV ASCII>
  349. accept fail sc is:7  semaphore is:1
  350. accept start


  351. [2024-09-18 18:41:24.298]# RECV ASCII>
  352. accept fail sc is:7  semaphore is:1
  353. accept start


  354. [2024-09-18 18:41:28.170]# RECV ASCII>
  355. accept fail sc is:7  semaphore is:1
  356. accept start


  357. [2024-09-18 18:41:32.688]# RECV ASCII>
  358. accept fail sc is:7  semaphore is:1
  359. accept start


  360. [2024-09-18 18:41:34.090]# RECV ASCII>
  361. accept fail sc is:7  semaphore is:1
  362. accept start


  363. [2024-09-18 18:41:38.798]# RECV ASCII>
  364. accept fail sc is:7  semaphore is:1
  365. accept start


  366. [2024-09-18 18:41:43.387]# RECV ASCII>
  367. accept fail sc is:7  semaphore is:1
  368. accept start


  369. [2024-09-18 18:41:45.110]# RECV ASCII>
  370. text write failed 1 -1

  371. [2024-09-18 18:41:46.600]# RECV ASCII>
  372. accept start 1
  373. http_server_thread 1
  374. read len:442
  375. get:GET /stream HTTP/1.1
  376. Host: 192.168.1.174
  377. Connection: keep-alive
  378. 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
  379. Origin: http://192.168.1.174
  380. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  381. Referer: http://192.168.1.174/
  382. Accept-Encoding: gzip, deflate
  383. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  384. get:/stream len:7
  385. stream
  386. stream_task_process
  387. accept start


  388. [2024-09-18 18:41:49.347]# RECV ASCII>
  389. text write failed 1 -1

  390. [2024-09-18 18:42:01.803]# RECV ASCII>
  391. accept start 1
  392. http_server_thread 1


  393. [2024-09-18 18:42:11.970]# RECV ASCII>
  394. read len:370
  395. get:GET /control?var=wb_mode&val=0 HTTP/1.1
  396. Host: 192.168.1.174
  397. Connection: keep-alive
  398. 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
  399. Accept: */*
  400. Referer: http://192.168.1.174/
  401. Accept-Encoding: gzip, deflate
  402. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  403. get:/control?var=wb_mode&val=0 len:26
  404. read len:-1
  405. get:GET /control?var=wb_mode&val=0 HTTP/1.1
  406. Host: 192.168.1.174
  407. Connection: keep-alive
  408. 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
  409. Accept: */*
  410. Referer: http://192.168.1.174/
  411. Accept-Encoding: gzip, deflate
  412. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  413. size <= 0
  414. accept start
  415. accept start 1
  416. http_server_thread 1
  417. read len:501
  418. get:GET / HTTP/1.1
  419. Host: 192.168.1.174
  420. Connection: keep-alive
  421. Cache-Control: max-age=0
  422. Upgrade-Insecure-Requests: 1
  423. User-Age

  424. [2024-09-18 18:42:12.001]# RECV ASCII>
  425. 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
  426. 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
  427. Accept-Encoding: gzip, deflate
  428. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  429. get:/ len:1
  430. command1
  431. accept start
  432. accept start 1
  433. http_server_thread 1
  434. read len:370
  435. get:GET /control?var=wb_mode&val=0 HTTP/1.1
  436. Host: 192.168.1.174
  437. Connection: keep-alive
  438. 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
  439. Accept: */*
  440. Referer: http://192.168.1.174/
  441. Accept-Encoding: gzip, deflate
  442. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  443. get:/control?var=wb_mode&val=0 len:26
  444. read len:-1
  445. get:GET /control?var=wb_mode&val=0 HTTP/1.1
  446. Host: 192.168.1.174
  447. Connection: keep-alive
  448. User-Agent: Mozilla/5.0 (Windows NT 10.

  449. [2024-09-18 18:42:12.050]# RECV ASCII>
  450. 0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/129.0.0.0 Safari/537.36 Edg/129.0.0.0
  451. Accept: */*
  452. Referer: http://192.168.1.174/
  453. Accept-Encoding: gzip, deflate
  454. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  455. size <= 0
  456. accept start


  457. [2024-09-18 18:42:12.524]# RECV ASCII>
  458. accept start 1
  459. http_server_thread 1
  460. read len:351
  461. get:GET /status HTTP/1.1
  462. Host: 192.168.1.174
  463. Connection: keep-alive
  464. 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
  465. Accept: */*
  466. Referer: http://192.168.1.174/
  467. Accept-Encoding: gzip, deflate
  468. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  469. get:/status len:7
  470. status
  471. accept start


  472. [2024-09-18 18:42:13.603]# RECV ASCII>
  473. accept start 1
  474. http_server_thread 1
  475. read len:417
  476. get:GET /favicon.ico HTTP/1.1
  477. Host: 192.168.1.174
  478. Connection: keep-alive
  479. 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
  480. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  481. Referer: http://192.168.1.174/
  482. Accept-Encoding: gzip, deflate
  483. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  484. get:/favicon.ico len:12
  485. read len:-1
  486. get:GET /favicon.ico HTTP/1.1
  487. Host: 192.168.1.174
  488. Connection: keep-alive
  489. 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
  490. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  491. Referer: http://192.168.1.174/
  492. Accept-Encoding: gzip, deflate
  493. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  494. size <= 0
  495. accept start


  496. [2024-09-18 18:42:47.723]# RECV ASCII>
  497. accept start 1
  498. http_server_thread 1
  499. read len:442
  500. get:GET /stream HTTP/1.1
  501. Host: 192.168.1.174
  502. Connection: keep-alive
  503. 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
  504. Origin: http://192.168.1.174
  505. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  506. Referer: http://192.168.1.174/
  507. Accept-Encoding: gzip, deflate
  508. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  509. get:/stream len:7
  510. stream
  511. stream_task_process
  512. accept start


  513. [2024-09-18 18:44:15.501]# RECV ASCII>
  514. ASSERT REC at txl_agg_check_rtscts_retry_limit:3178
  515. DMA S1=0x200,S2=0x0,S3=0x0,S4=0x20b
  516. DMA T_currPtr=0x23020c00,R_pld_sp=0x0,R_hd_sp=0x0,R_pld_ptr=0x0, SM=0x0
  517. TxQueue BCN=0x0 AC[0-3]:0x0-0x23020c00-0x0-0x2301a86c
  518. feclk(0x24940008)=0x1400, wifibw(0x20001220)=0x2000
  519. ac:0, cfmlist 0, transmitting 0
  520. ac:1, cfmlist 0, transmitting 7
  521. ac:2, cfmlist 0, transmitting 0
  522. ac:3, cfmlist 0, transmitting 0
  523. internal frame:total:2,left:2,done:0


  524. [2024-09-18 18:46:07.081]# SEND ASCII>
  525. AT+LED=1


  526. [2024-09-18 18:46:07.408]# RECV ASCII>
  527. OK


  528. [2024-09-18 18:46:09.798]# SEND ASCII>
  529. AT+LED=1


  530. [2024-09-18 18:46:10.151]# RECV ASCII>
  531. OK


  532. [2024-09-18 18:46:16.108]# RECV ASCII>
  533. Fail to open or create files: 3.


  534. [2024-09-18 18:46:17.512]# RECV ASCII>
  535. Fail to open or create files: 3.


  536. [2024-09-18 18:46:20.291]# RECV ASCII>
  537. Fail to open or create files: 3.


  538. [2024-09-18 18:49:51.817]# RECV ASCII>
  539. accept fail sc is:7  semaphore is:1
  540. accept start


  541. [2024-09-18 18:49:51.938]# RECV ASCII>
  542. text write failed 1 -1

  543. [2024-09-18 18:49:52.961]# RECV ASCII>
  544. accept start 1
  545. http_server_thread 1


  546. [2024-09-18 18:49:54.749]# RECV ASCII>
  547. read len:501
  548. get:GET / HTTP/1.1
  549. Host: 192.168.1.174
  550. Connection: keep-alive
  551. Cache-Control: max-age=0
  552. Upgrade-Insecure-Requests: 1
  553. 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
  554. 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
  555. Accept-Encoding: gzip, deflate
  556. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  557. get:/ len:1
  558. command1
  559. accept start
  560. accept start 1
  561. http_server_thread 1
  562. read len:501
  563. get:GET / HTTP/1.1
  564. Host: 192.168.1.174
  565. Connection: keep-alive
  566. Cache-Control: max-age=0
  567. Upgrade-Insecure-Requests: 1
  568. 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
  569. 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
  570. Accept-En

  571. [2024-09-18 18:49:54.810]# RECV ASCII>
  572. coding: gzip, deflate
  573. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  574. get:/ len:1
  575. command1
  576. text write failedaccept start
  577. accept start 1
  578. http_server_thread 1


  579. [2024-09-18 18:49:55.182]# RECV ASCII>
  580. read len:351
  581. get:GET /status HTTP/1.1
  582. Host: 192.168.1.174
  583. Connection: keep-alive
  584. 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
  585. Accept: */*
  586. Referer: http://192.168.1.174/
  587. Accept-Encoding: gzip, deflate
  588. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  589. get:/status len:7
  590. status
  591. accept start


  592. [2024-09-18 18:49:57.543]# RECV ASCII>
  593. accept start 1
  594. http_server_thread 1
  595. read len:417
  596. get:GET /favicon.ico HTTP/1.1
  597. Host: 192.168.1.174
  598. Connection: keep-alive
  599. 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
  600. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  601. Referer: http://192.168.1.174/
  602. Accept-Encoding: gzip, deflate
  603. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  604. get:/favicon.ico len:12
  605. read len:-1
  606. get:GET /favicon.ico HTTP/1.1
  607. Host: 192.168.1.174
  608. Connection: keep-alive
  609. 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
  610. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  611. Referer: http://192.168.1.174/
  612. Accept-Encoding: gzip, deflate
  613. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  614. size <= 0
  615. accept start


  616. [2024-09-18 18:50:03.942]# RECV ASCII>
  617. accept start 1
  618. http_server_thread 1
  619. read len:442
  620. get:GET /stream HTTP/1.1
  621. Host: 192.168.1.174
  622. Connection: keep-alive
  623. 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
  624. Origin: http://192.168.1.174
  625. Accept: image/avif,image/webp,image/apng,image/svg+xml,image/*,*/*;q=0.8
  626. Referer: http://192.168.1.174/
  627. Accept-Encoding: gzip, deflate
  628. Accept-Language: zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6


  629. get:/stream len:7
  630. stream
  631. stream_task_process
  632. accept start


  633. [2024-09-18 18:52:28.935]# RECV ASCII>
  634. [FU] rcv eapol 888e
  635. 歔WPA] WPA: Group rekeying completed with 48:2C:D0:DE:4E:B8 [GTK=TKIP]


  636. [2024-09-18 18:54:31.443]# RECV ASCII>
  637. text write failed 1 -1

  638. [2024-09-18 18:59:32.552]# RECV ASCII>
  639. accept start 1
  640. http_server_thread 1</code></pre>
复制代码

错误更正:

                               
登录/注册后可看大图

AT+LED=1
AT+LED=0
以上命令仅用于开关闪光灯功能,并不能直接开关闪关灯,开启后按S2激活闪光灯。



等风,等雨,也等你!
回复

使用道具 举报

iiv | 2024-10-2 19:41:29 | 显示全部楼层
好长
回复

使用道具 举报

大猫的鱼 | 2024-10-3 11:24:20 | 显示全部楼层
好!
回复

使用道具 举报

bzhou830 | 2024-10-3 14:04:58 | 显示全部楼层
厉害呀
选择去发光,而不是被照亮
回复

使用道具 举报

沈夜 | 2024-10-3 15:44:57 | 显示全部楼层
不需要 重启电脑的,,,
回复 支持 反对

使用道具 举报

WT_0213 | 2024-10-7 16:08:59 | 显示全部楼层
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则