【Close】基于esp_iot_sdk_v1.5.1测试APP_IR_TxRx_Demo的GEN_IR_CLK_FROM_IIS问题

pl01665077
Posts: 2
Joined: Sat Apr 09, 2016 6:25 pm

【Close】基于esp_iot_sdk_v1.5.1测试APP_IR_TxRx_Demo的GEN_IR_CLK_FROM_IIS问题

Postby pl01665077 » Sat Apr 09, 2016 6:53 pm

我在使用基于esp_iot_sdk_v1.5.1版本的SDK,测试APP_IR_TxRx_Demo例程,其中要使用IIS产生38K的载波,即在头文件中定义GEN_IR_CLK_FROM_IIS为1。

在单STA模式下,会出现死机的情况,死机的现象是串口没有正常打印出信息,过了一段时间后会发现串口打印WiFi重连的信息(或重启的信息)。

打印信息如下:

?rl湗r??#鈔?堗 ? 傡p寍巶??8掃菕茕lp  騨n??;騨膾茕 ? b?$ rrp騨嗝? 鄠嚴l? ? ? b?n忏n滥瀕? ?8 岒nn?牧寧l`鼝?#俷?巖nr帓?;睦 ?鄉rp騨嗝軃 鄏?廛 ? p p捾<泥l? b??>~騨?酿 r??#俷?rnr帓?;睦 ?俵8rp騨嗝? 鄏?廛?? p p捾<哪 庁 b??>~騨?睦 r??#俷??;nr帓?;睦 ?捾;?r熪抧?庎鉁抈黵?霉*K疘仮曂褋jR敃j╆奣T媀$'H.]X擫湞fe:34:a1:33:0e)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt

connected with TP-LINK_0D3E, channel 11
dhcp client start...
rep = 0 end
ip:192.168.0.111,mask:255.255.255.0,gw:192.168.0.1
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
pm open,type:2 0
r?霉-K 疘仮曂褋jR敃j╆奣T媀$'H.]X擫湞fe:34:a1:33:0e)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt

connected with TP-LINK_0D3E, channel 11
dhcp client start...
ip:192.168.0.111,mask:255.255.255.0,gw:192.168.0.1
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
pm open,type:2 0
---?r?霉*K疘仮曂褋jR敃j╆奣T媀$'H.]X擫湞fe:34:a1:33:0e)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt

connected with TP-LINK_0D3E, channel 11
dhcp client start...
ip:192.168.0.111,mask:255.255.255.0,gw:192.168.0.1
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
pm open,type:2 0
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
r?霉-K疘仮曂褋jR敃j╆奣T媀$'H.]X擫湞fe:34:a1:33:0e)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt

connected with TP-LINK_0D3E, channel 11
dhcp client start...
ip:192.168.0.111,mask:255.255.255.0,gw:192.168.0.1
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
pm open,type:2 0


========================================================================================
在其他模式下(NULL_MODE、SOFTAP_MODE、STATIONAP_MODE)并不会出现重启现象。

STATIONAP_MODE模式下打印出的信息:

?rl溫r??#鈔?? ? 傡p寍巶??8掃菕茕lp  騨n??;騨膾茕 ? b?$塺rp騨嗝軃 鄠抢l? ? ? b?n忏n滥瀕? ?8 岒nn?牧寧l`鼝?#俷?巖nr帓?;睦 鉁;p騨鄡? 鄏?廛 ? p p挏<泥l? b滥緙騨?酿 r??#俷?rnr帓?;睦 ?? rp騨嗝? 鄏?廛?? p p捾<哪 庁 b滥緙騨?睦 r??#俷?巤nr帓?;睦 ?忪xrr咣抧???8rr??9l滥?b咪 倢br鉨pb忏窍 ?l恖靫~抧?n軖??l坂駈?垶 ? 倢?l鄬? 庝l庁l`>`能捾腷 ? ? b?線能捾腷 鈱b?$`$`麼K蓙⑨綊醽脱乯R敃j╆奣T媀$'H.]X擫湞fe:34:a1:33:0e) + softAP(1a:fe:34:a1:33:0e)
add if0
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt

connected with TP-LINK_0D3E, channel 11
dhcp client start...
rep = 0 end
ip:192.168.0.111,mask:255.255.255.0,gw:192.168.0.1
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end
-----------------------
ir rx
==================
ir tx..
addr:55h;cmd:28h;repeat:10;
rep = 0 end



====================================================================================
请问,为什么在STATION_MODE模式下,APP_IR_TxRx_Demo中使用IIS产生38K载波会出现死机的情况?

硬件环境为ESP-LAUNCHER 开发板

ESP_Faye
Posts: 1646
Joined: Mon Oct 27, 2014 11:08 am

Re: 基于esp_iot_sdk_v1.5.1测试APP_IR_TxRx_Demo的GEN_IR_CLK_FROM_IIS问题

Postby ESP_Faye » Tue Apr 12, 2016 11:03 am

您好,

我们更新了 IR 的示例,请更新测试看是否还有问题。http://bbs.espressif.com/viewtopic.php?f=31&t=1199

给您带来不便,深感抱歉。

pl01665077
Posts: 2
Joined: Sat Apr 09, 2016 6:25 pm

Re: 基于esp_iot_sdk_v1.5.1测试APP_IR_TxRx_Demo的GEN_IR_CLK_FROM_IIS问题

Postby pl01665077 » Wed Apr 13, 2016 9:20 am

Espressif_Faye wrote:您好,

我们更新了 IR 的示例,请更新测试看是否还有问题。http://bbs.espressif.com/viewtopic.php?f=31&t=1199

给您带来不便,深感抱歉。


修复如此之快,辛苦了~感谢辛勤的工程师。

lansecanji
Posts: 1
Joined: Wed Aug 17, 2016 4:38 pm

Re: 【Close】基于esp_iot_sdk_v1.5.1测试APP_IR_TxRx_Demo的GEN_IR_CLK_FROM_IIS问题

Postby lansecanji » Wed Aug 17, 2016 4:43 pm

你好 我是一名使用ESP8266的新手
我想用ESP8266的红外demo来控制格力空调 请问我该如何发送自己的数据
比如我想发送的数据是 irsys2[9]={0x09,0x09,0x20,0x50,0X02,0X00,0X20,0X00,0Xc0}这样的一个数组 希望能够回复下我 多谢!

Who is online

Users browsing this forum: No registered users and 2 guests