Commit Graph

758 Commits

Author SHA1 Message Date
devsaurus 4cd2b554ec Merge remote-tracking branch 'upstream/dev' into dev 2015-04-24 20:34:35 +02:00
Martin Han effb57247c Add Example to yeelink lib 2015-04-22 13:16:37 +08:00
Martin Han a60f28cf9c Ver 0.1.2 r1 Add init ok callback function 2015-04-22 13:10:06 +08:00
Martin Han 5bda87845f Update to Ver0.1.2, fix logic bug
Detail:
When require lib before connect to ap, program will return nil but the table.
2015-04-22 12:50:02 +08:00
devsaurus fc19725fef make variables local to save heap 2015-04-21 21:48:12 +02:00
zeroday 92c98c52d6 Merge pull request #361 from n0bel/master
Add multicastJoin and multicastLeave to net module
2015-04-20 22:12:28 +08:00
zeroday 6eb5b9c874 Merge pull request #375 from MarsTechHAN/patch-3
Reduce RAM Usage
2015-04-20 22:10:16 +08:00
Martin Han 0f203f32c3 Resuce RAM Usage 2015-04-20 19:43:24 +08:00
Kevin Uhlir f68d41608e Add multicastJoin and multicastLeave to net module
net.multicastJoin(if_ip, multicast_ip)
net.multicastLeave(if_ip, multicast_ip)

if_ip is a string containing the interface ip to join/leave the
multicast group.  multicast_ip is the multicast ip of the group to
join/leave. if_ip can be "" or "any" to affect all interfaces.
2015-04-15 03:41:13 -05:00
Vowstar 399e85f9b9 Merge pull request #358 from MarsTechHAN/patch-2
Add Yeelink Modules
2015-04-14 20:58:23 +08:00
Martin Han a3b72906d5 Yeelink Modules 2015-04-14 20:42:16 +08:00
zeroday 81d9f8893a fix #353 2015-04-12 23:34:11 +08:00
zeroday 1ce5deff98 Merge pull request #349 from klukonin/patch-3
Update tmr.c
2015-04-12 23:30:13 +08:00
Vowstar 7c759a6113 Merge pull request #352 from electronic-dudeness/master
fixed floating point problem in bcd conversions
2015-04-11 23:12:29 +08:00
Sander Boele 4437c46825 fixed floating point problem in bcd conversions 2015-04-11 11:26:44 +02:00
Kirill f19e24c7ac Update tmr.c
According to NodeMCU team recommendations.
2015-04-10 14:56:17 +05:00
Vowstar e61ad9d7ba Merge pull request #339 from wladurner/issue_321
fixes issue #321 "ws2812.writergb scrambles buffer" reported by makefu.
2015-04-06 21:26:04 +08:00
Vowstar 4ac5aba2cf Merge pull request #338 from MarsTechHAN/patch-1
Really Fix the BUGs, add come comment
2015-04-06 21:24:48 +08:00
Martin Han 9df94c7ee6 Really Fix the BUGs, add come comment
Sorry for the mistake, I forgot to save the file when gitting...
2015-04-06 14:38:35 +08:00
funshine 560ad8e029 remove dht22 lib, use dht_lib instead 2015-04-06 00:11:12 +08:00
funshine fee2cf476a Merge branch 'master' into dev 2015-04-06 00:06:08 +08:00
funshine 450b79dbde add more mqtt example, add a mqtt subfolder 2015-04-06 00:05:08 +08:00
funshine 74a70790f5 Merge branch 'master' into dev 2015-04-06 00:04:15 +08:00
zeroday 68607e3d2e Merge pull request #334 from model101/buf1kdev
LUAL_BUFFERSIZE back to 1K and warning notice added
2015-04-06 00:01:12 +08:00
zeroday f67bb8131b Merge pull request #335 from MarsTechHAN/dev
Fix DHT11 10times BUG, add auto-select feature, fix program bug in md
2015-04-05 23:35:56 +08:00
Martin Han c21dea9d8e Fix DHT11 10times BUG, add auto-select feature 2015-04-05 23:23:18 +08:00
Martin Han b1287756bc Adjust the detail, fix program bug 2015-04-05 23:22:25 +08:00
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