Commit Graph

563 Commits

Author SHA1 Message Date
zeroday a333d6a9b9 Merge pull request #333 from wbartnick/dev
wifi submodule enhancements, thanks to @wbartnick
2015-04-05 23:09:33 +08:00
cal 06193090e6 LUAL_BUFFERSIZE back to 1K and warning notice added 2015-04-05 16:14:52 +02:00
Wolfram Ladurner ff85cf4371 fixes issue #321 "ws2812.writergb scrambles buffer" reported by makefu.
Don't modify Lua-internal lstring - use a copy instead.
2015-04-05 15:49:32 +02:00
Wayne Bartnick f13c5c61e6 wifi.sta.config (wifi_station_config):
- range checking password length (8~64)

wifi.ap.config (wifi_ap_config):
- range checking ssid length (1~32)
- range checking pwd length (8~64)
- new params:
  - auth: wifi.OPEN, wifi.WPA_PSK, wifi.WPA2_PSK, wifi.WPA_WPA2_PSK
    - default WITH pwd: wifi.WPA_WPA2_PSK
    - default WITHOUT pwd: wifi.OPEN
  - channel: 1~13 (default: 6)
  - hidden: 0/1 (default: 0)
  - max: 1~4 (default: 4)
  - beacon: 100~60000ms (default: 100)

wifi.ap.getclient (wifi_ap_listclient):
- returns table(mac,ip) of all connected clients

wifi.ap.dhcp:
- new submodule
- config (wifi_ap_dhcp_config), returns start/end ips
  - params:
    - start (e.g., "192.168.1.100")
  - end ip calculated from wifi.ap.config.max
- start (wifi_ap_dhcp_start), returns boolean
- stop (wifi_ap_dhcp_stop), returns boolean
2015-04-05 09:21:16 -04:00
funshine bcbde08bf7 fix mqtt keepalive ping, add a example for mqtt in lua_examples. 2015-04-05 02:22:51 +08:00
Vowstar 263179ea14 Merge pull request #329 from MarsTechHAN/patch-2
Add support to DHT11 and add some comments.
2015-04-04 08:12:29 +08:00
Vowstar b0e34e11bf Merge pull request #328 from MarsTechHAN/patch-1
Add support to DHT11 and add some comments.
2015-04-03 23:45:02 +08:00
Martin Han 1bc81f4c3e Add support to DHT11 and add some comments. 2015-04-03 23:44:26 +08:00
Martin Han 4ca371f473 Add support to DHT11 and add some comments.
Change function names.
read->-read11() support DHT11
        ->read22() support DHT21 DHT22
2015-04-03 23:34:12 +08:00
funshine 8558641190 add gpio.serout() api to help serialize bit out 2015-04-03 16:05:14 +08:00
Vowstar b49e458376 Merge pull request #326 from AllAboutEE/dev
Make Phone Calls, Send SMS(Text Message)
2015-04-03 13:40:45 +08:00
AllAboutEE ea64cc7566 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev 2015-04-02 23:42:59 -05:00
HuangRui 2859286e03 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware 2015-04-03 09:50:24 +08:00
funshine 1c2ee75a00 fix mqtt, do a format when wrong flash size is detected 2015-04-03 00:51:02 +08:00
HuangRui fc3ad90136 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware 2015-03-31 23:54:44 +08:00
funshine 32e062f523 polish mqtt module 2015-03-31 23:38:28 +08:00
funshine dcb6e53af7 add auto-reconnect option to mqtt:connect api 2015-03-31 00:36:44 +08:00
funshine 09750b5653 add queue to mqtt module 2015-03-30 00:24:09 +08:00
Vowstar d8f2c2ba34 Merge pull request #315 from aeickho/patch-1
corr typo
2015-03-29 22:33:00 +08:00
Alex f5a7448d39 corr typo
wrong ip in example
2015-03-28 20:48:09 +01:00
HuangRui 3dd1ac3739 Move node.readvdd33 to adc.readvdd33, fix #162. 2015-03-27 00:52:55 +08:00
HuangRui f4223f0bf2 Update esptool.py supported NodeMCU devkit automatic flash. 2015-03-25 10:37:25 +08:00
funshine e1f8b604a0 fix init_data detect flash api 2015-03-24 23:21:40 +08:00
AllAboutEE 1c267dfac7 Added phone calls and sms example. 2015-03-23 21:57:54 -05:00
funshine 52ca40b8ea add init.lua examples 2015-03-22 21:09:37 +08:00
devsaurus ef7ed47ac3 document XBM conversion 2015-03-21 22:58:58 +01:00
funshine 4332b21ef3 minor fix 2015-03-20 19:42:10 +08:00
Vowstar 1562215905 Merge pull request #301 from devsaurus/dev
Use correct function for stop in U8G_COM_MSG_WRITE_BYTE
2015-03-19 12:17:11 +08:00
devsaurus 2d254bd47c use correct function for stop in U8G_COM_MSG_WRITE_BYTE 2015-03-18 22:33:16 +01:00
zeroday 1bd3f56693 Merge pull request #297 from nodemcu/dev
Dev
2015-03-18 19:39:03 +08:00
funshine 3d14530b80 fix cjson.encode() when in integer version 2015-03-18 19:37:47 +08:00
funshine 3aead6d230 try to fix cjson.encode in integer only version 2015-03-18 17:01:01 +08:00
zeroday a61cbfb238 Merge pull request #295 from nodemcu/master
merge from master
2015-03-18 16:43:12 +08:00
funshine a70709268b merge cjson and dev to master, make a stable release 2015-03-18 14:22:17 +08:00
zeroday a01bda03dd Merge pull request #294 from nodemcu/json
Json branch merged to master
2015-03-18 13:11:11 +08:00
zeroday fa7cf87832 Merge pull request #287 from nodemcu/dev
Dev merge to master
2015-03-18 12:57:59 +08:00
zeroday 1652df50cf Merge pull request #293 from devsaurus/dev
Update u8glib integration, thanks to @devsaurus
2015-03-18 12:46:49 +08:00
devsaurus b34a8b46fe use RES pin for examples 2015-03-17 21:03:15 +01:00
devsaurus 09b650be41 disable untested pcd8544 driver for the moment 2015-03-17 20:52:47 +01:00
devsaurus 87598c5dfe Merge remote-tracking branch 'upstream/dev' into dev 2015-03-17 20:35:39 +01:00
funshine 808a359eb8 quick fix when wide charactor issue 2015-03-17 22:42:22 +08:00
zeroday 51881158ec Merge pull request #289 from markusgritsch/dev
Added node.setcpufreq(mhz) function. thanks @markusgritsch,
should use with caution, when bitbang
2015-03-17 21:03:48 +08:00
Markus Gritsch b648e9a8db Added node.setcpufreq(mhz) function.
This function allows setting the CPU frequency to node.CPU80MHZ or
node.CPU160MHZ.
2015-03-17 10:23:45 +01:00
markusgritsch abfdb58d40 Merge pull request #4 from nodemcu/dev
Dev
2015-03-17 09:15:45 +01:00
funshine e19e026d49 update readme 2015-03-17 00:24:30 +08:00
funshine 45e7f270cc Merge branch 'dev' into json 2015-03-17 00:13:15 +08:00
funshine 4d3c1a930f code clean up for cjson 2015-03-17 00:12:25 +08:00
funshine 54004a4beb fix cjson bugs and reduce mem usage 2015-03-16 23:59:57 +08:00
Vowstar d8c8d257ce Merge pull request #285 from AllAboutEE/dev
Read and Send Email Examples
2015-03-16 18:28:43 +08:00
AllAboutEE eef53a532f Merge remote-tracking branch 'upstream/dev' into dev 2015-03-16 04:22:07 -05:00