Page 1 of 1

Firmware 2.10. and 2.10.1 has a problem with WIFI via LUA

Posted: Thu Nov 03, 2016 8:34 pm
by Rainer
Hi ASL-team,
I fear the new firmware has a problem with contolling the WIFI module via LUA although I disabled all WIFI switches in the HMI (as Brent suggested). While the connection to a network works, sending or receiving of data won't. With the 2.9.2 firmware it works perfectly fine. As basis for the test I used the GOPRO script.

It seems to me that the eventually recieved and sent data is not read/sent as a string but as integer. I tried to spot the difference in your source code, but after this monster merge - it's hard to find.

What I can say is that if I change in LuaLoggerBinding.c:
lua_serial_write_char: lua_tostring to lua_tonumber (as it was in 2.9.2) and
lua_serial_read_char: lua_pushlstring to lua_pushnumber

than it works providing the lua skript is adjusted.

Thanks for checking.

BTW.: I'm quite sure it's the same problem as JJLudemann has "2.10.0 Firmware Won't Print(integer)"

Posted: Sat Nov 05, 2016 6:26 pm
by brentp
Hi - we'll take a look at this and get back shortly!

Posted: Mon Nov 07, 2016 2:11 am
by stieg

Posted: Mon Nov 07, 2016 2:50 pm
by Rainer
Thank you Brent, thank you Stieg,

I can't stress enough how much I enyoy working with your great product.

Both thumbs up,
Rainer