Current Lua downloadable firmware will be posted here

User avatar
By picstart1
#2994 OK the only issue that is a little tiresome is with the rs232 interface ( ex a Coolterrn Windows app and a usb to comm port) lua files need to be typed in.
An IDE that allows the *.lua file to be read in and uploaded in a way that doesn't overrun the '>' esp8266 prompts would be less tiresome.
IDE would also choose and configure the comm port. In this way *.lua files could be edited with a PC editor and uploaded to update the esp8266 lua scripts.
There is a python app to do this via a PC TCP/IP server to a client esp8266 which is nice for net updating but for testing scripts a terminal type IDE might be pleasant.
Do we have a terminal type IDE available?
User avatar
By 4refr0nt
#2997
picstart1 wrote:OK the only issue that is a little tiresome is with the rs232 interface ( ex a Coolterrn Windows app and a usb to comm port) lua files need to be typed in.
An IDE that allows the *.lua file to be read in and uploaded in a way that doesn't overrun the '>' esp8266 prompts would be less tiresome.
IDE would also choose and configure the comm port. In this way *.lua files could be edited with a PC editor and uploaded to update the esp8266 lua scripts.
There is a python app to do this via a PC TCP/IP server to a client esp8266 which is nice for net updating but for testing scripts a terminal type IDE might be pleasant.
Do we have a terminal type IDE available?


Not IDE, but you can use you favorite editor and upload lua script to ESP8266 flash with luatool
User avatar
By rrezaii
#3001
haven't test this with IOS app yet.
Note: put ap in 11b/g mode only, will not work in 11n or 11ac mode.
Code: Select allwifi.startsmart(6, callback())

should be
Code: Select allwifi.startsmart(6, callback)


Thanks. I'll try tonight, but the API documentation may need to be corrected as it requires the "()":

Code: Select allSyntax

wifi.startsmart(channel, function succeed_callback())

Parameters

channel: 1~13, startup channel for searching, if nil, default to 6. 20 seconds for each channel.
succeed_callback: callback function called after configuration, which is called when got password and connected to AP.

Returns

nil

Example

    wifi.startsmart(6, cb())