-->
Page 1 of 1

firmware diference

PostPosted: Sat Mar 11, 2017 4:09 am
by popi
Hi, with this firmware:
commit: b580bfe79e6e73020c2bd7cd92a6afe01a8bc867
SSL: false
modules: file,gpio,http,net,node,tmr,uart,wifi
build built on: 2016-07-22 12:40
powered by Lua 5.1.4 on SDK 1.5.1(e67da894)

this code:
conn=net.createConnection(net.UDP, 0);
conn:connect(port, domain);
conn:send( data)
it's ok, but with a new compiled firmware on cloud build service won't

commit: b96e31477ca1e207aa1c0cdc334539b1f7d3a7f0
SSL: false
modules: adc,bit,file,gpio,http,net,node,ow,sntp,spi,struct,tmr,u8g,uart,websocket,wifi
build built on: 2017-03-11 08:06
powered by Lua 5.1.4 on SDK 2.0.0(656edbf)

give this error: : attempt to call method 'connect' (a nil value)

tank you

Re: firmware diference

PostPosted: Sun Mar 12, 2017 2:27 am
by marcelstoer
The answer is in the release notes and in the net module documentation. UDP handling is different now.