ESP8266 Developer Zone The Official ESP8266 Forum 2016-03-07T15:59:39+08:00 https://bbs.espressif.com:443/feed.php?f=66&t=1833 2016-03-07T15:59:39+08:00 2016-03-07T15:59:39+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1833&p=6006#p6006 <![CDATA[Re: 'websocket_demo' from the ESP8266_RTOS_SDK 1.4.0 not working]]>
So sorry for the inconvenience, please enlarge the heap size when create the task.

/*start the websocket task*/
void websocket_start(void *optarg)
{
if (Web_QueueStop == NULL)
Web_QueueStop = xQueueCreate(1,1);

if (Web_QueueStop != NULL)
xTaskCreate(websocket_task, "websocket_task", 1024, optarg, 4, NULL);
}

Statistics: Posted by ESP_Faye — Mon Mar 07, 2016 3:59 pm


]]>
2016-02-29T01:16:29+08:00 2016-02-29T01:16:29+08:00 https://bbs.espressif.com:443/viewtopic.php?t=1833&p=5853#p5853 <![CDATA['websocket_demo' from the ESP8266_RTOS_SDK 1.4.0 not working]]>

Code:

phy ver: 762, pp ver: 10.4
 
SDK version:1.4.0(c599790)
mode : sta(5c:cf:7f:07:4e:81)
add if0
f r-1, websocket_task
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 8
pm open phy_2,type:2 0 0
cnt
 
connected with AdyShan, channel 11
dhcp client start...
ip:192.168.1.181,mask:255.255.255.0,gw:192.168.1.1
Fatal exception (28):
epc1=0x4000debe
epc2=0x00000000
epc3=0x402437f1
epcvaddr=0x00000000
depc=0x00000000
@*rPKtdr.@.Ko8a /t$v'*TP@*nzA8xvA,X'!((A{~An *R*@j|B@*
                                                      nzAn )m~v%!(P+tǬ@j|@*nzAl )m~r[r(OS SDK ver: 1.4.0(c599790) compiled @ Feb 26 2016 11:08:14
phy ver: 762, pp ver: 10.4
 
SDK version:1.4.0(c599790)

Statistics: Posted by adysan — Mon Feb 29, 2016 1:16 am


]]>