Chat freely about anything...

User avatar
By alonewolfx2
#4050 @igrr output is here but there is no result for heap size. have you any idea?
Code: Select all ets Jan  8 2013,rst cause:1, boot mode:(3,7)

load 0x40100000, len 29280, room 16
tail 0
chksum 0x19
load 0x3ffe8000, len 1972, room 8
tail 12
chksum 0xf6
ho 0 tail 12 room 4
load 0x3ffe87c0, len 7396, room 12
tail 8
chksum 0x03
csum 0x03
pp_task_hdl : 3fff2578, prio:20, stack:512
ApiMsgMutex created
idle_task_hdl : 3fff3fb8
tim_task_hdl : 3fff4210
xPortStartScheduler

OS SDK ver: 0.0.5 compiled @ Dec  5 2014 15:52:22
phy ver: 273, pp ver: 6

SDK version:0.0.5
mode : sta(18:fe:34:9f:16:ed) + softAP(1a:fe:34:9f:16:ed)
add if0
add if1
bcn 100
Hello, welcome to client!
C > socket ok!
S > create socket: 2
scandone
add 0
aid 7
aid end
cnt

connected with WoLFStationLVL4, channel 7
dhcp client start...
ip:192.168.2.130
mask:255.255.255.0
gw:192.168.2.1
User avatar
By alonewolfx2
#4052 and here is new output. i putt to code before starting tasks and after tasks.41k is very good. but i dont know why dont send in line 136?

Code: Select allSDK version:0.0.5
heap free before tasks: 43984
Hello, welcome to client!
heap free after tasks: 41008
mode : sta(18:fe:34:9f:16:ed) + softAP(1a:fe:34:9f:16:ed)

EDITED: Client send info to the server and connection continue. i am getting heap information when i close connection on the server side. (socketserver3) an here is free heap after send data
Code: Select allheap free size2: 38096


igrr wrote:I have a small request to whoever happens to build the included example: could you please add the following around line 136 in user_main.c, right after "free(recv_buf);"
Code: Select allprintf("heap free size: %d\n", system_get_free_heap_size());

And post the console output?
Thanks!