Commit Graph

767 Commits

Author SHA1 Message Date
vowstar 32e9ac204a Fix PWM init bug, set all initial duty to 0. 2015-05-01 18:35:30 +08:00
Orgmar 4b4f600038 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware 2015-05-01 18:27:48 +08:00
Vowstar 1923280572 Merge pull request #365 from nodemcu/master
Add ICMP ping to net module
2015-05-01 14:57:50 +08:00
Vowstar 8637661e11 Merge pull request #390 from dnc40085/dev096-phymode
Add setphymode and getphymode to wifi module
2015-05-01 14:56:05 +08:00
Vowstar 0f40adf49a Merge pull request #377 from MarsTechHAN/patch-4
Update the Yeelink lib, add example
2015-05-01 14:54:59 +08:00
Vowstar 6c080c9d15 Merge pull request #383 from devsaurus/dev
Doc update for u8g
2015-05-01 14:54:43 +08:00
dnc40085 f4a9de4886 Added comments for setphymode and getphymode functions in wifi module
Added constants PHYMODE_B, PHYMODE_G, PHYMODE_N to wifi module
2015-04-29 00:06:06 -07:00
dnc40085 900c43d520 Add setphymode and getphymode to wifi module 2015-04-26 20:03:44 -07:00
devsaurus 897c8cd169 further reduce memory for u8g graphics test 2015-04-24 21:57:27 +02:00
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