Commit Graph

844 Commits

Author SHA1 Message Date
cal fdcb982351 Trying to fix
Problem with multiple MQTT subscriptions #459
	https://github.com/nodemcu/nodemcu-firmware/issues/459

Fix possible wrong buffer pointer increment.
2015-06-04 11:46:20 +02:00
HuangRui 3cd5a6a1ed Merge branch 'master' of https://github.com/bruceme/nodemcu-firmware into dev
Conflicts:
	app/modules/net.c
2015-06-04 15:04:12 +08:00
Vowstar 18e84623c5 Merge pull request #463 from DiUS/newcrypto
Crypto module, take 2
2015-06-03 22:02:11 +08:00
Vowstar 1eea5ab1a0 Merge pull request #460 from dnc40085/dev096_wifi.sta.getap_output_select
Added option to wifi.sta.getap to allow changing output format
2015-06-03 22:01:46 +08:00
Johny Mattsson d855584bae Fixed off-by-one error from refactoring. 2015-06-03 17:20:55 +10:00
Johny Mattsson 06724fbb17 Renamed SHA2 support option to SHA2_ENABLE per request. 2015-06-03 11:20:16 +10:00
Johny Mattsson 2d1e69151e Extended Lua crypto module with hash & hmac. 2015-06-02 18:17:30 +10:00
Johny Mattsson 32dd9b7b7a Crypto library with unified interface.
Uses both existing MD2/MD5/SHA1 and the Gifford SHA256-512, unless WITHOUT_SHA2
is defined.
2015-06-02 18:15:18 +10:00
Johny Mattsson 68ef22ace5 Imported Aaron Gifford's SHA{256,384,512} implementation. 2015-06-02 17:02:14 +10:00
dnc40085 353209fb4e Change comments for wifi.sta.getap 2015-05-31 22:45:43 -07:00
dnc40085 a5fe3d0146 Added option to wifi.sta.getap to allow changing output format between
new style and old style
2015-05-31 21:43:03 -07:00
BruceMe 46a07700fb Rename http_server to http_server.lua 2015-05-31 09:09:23 -05:00
BruceMe d1fe4e620a HTTP Server for LED/Servo
A simple yet robust HTTP server that can parse GET parameters and turn on/off a light or set the position of a servo.
2015-05-31 09:09:05 -05:00
BruceMe bcfe753341 ADC driving RGB LED; electronic mood ring
It's as simple as ADC (analog to digital converter); easy as RGB (Color LED)...

This example can be run on any ESP8266, but it runs out of the box on the ebay search for.. "ESP8266 Battery Holder" with the light sensor on ADC0 and RGB LED.  Fun and easy way to do more than blink a light.
2015-05-31 09:08:07 -05:00
Vowstar fcde022c93 Merge pull request #450 from dnc40085/dev096_revert_commit_5261fb1
Revert "Update spiffs to latest." on dev096 branch
2015-05-29 15:06:04 +08:00
Vowstar d8a8746b9e Merge pull request #447 from creationix/dev
Add crypto module.
2015-05-29 15:05:37 +08:00
Vowstar d9bb585523 Merge pull request #445 from makefu/dev
app/modules/ws2812.c: re-add ws2812.write(), fixes #321
2015-05-29 15:05:25 +08:00
dnc40085 01d90f1cb0 revert app/spifs folder to commmit 8f925e6 2015-05-28 23:54:07 -07:00
dnc40085 1f798dabf7 Revert "Update spiffs to latest." 2015-05-28 17:38:08 -07:00
= 2128c42f02 Add headers for discovered rom functions 2015-05-28 15:10:12 -05:00
= 59df376a3a Rename base64Encode to toBase64 and hexEncode to toHex 2015-05-28 09:00:13 -05:00
= c8145434c3 Add crypto.hexEncode and crypto.mask 2015-05-28 07:47:09 -05:00
= ca78b9ea2c Add crypto module initially containing sha1 and base64_encode. 2015-05-28 07:46:57 -05:00
makefu c29edf7a22 app/modules/ws2812.c: re-add ws2812.write()
Add the original ws2812.write() function which does not scramble the
buffer while preserving the 'new' ws2812.writergb.

With this everybody should be happy again
2015-05-26 23:12:38 +02:00
Vowstar f7a6183853 Merge pull request #437 from dnc40085/dev096_adc.vdd33_fix
Added fix to adc.readvdd33() to prevent crashing in station mode
2015-05-24 07:23:16 +08:00
Vowstar 2d0689142c Merge pull request #438 from dnc40085/dev096_wifi.getchannel
added wifi.getchannel
2015-05-24 07:23:07 +08:00
dnc40085 6477f5f389 added wifi.getchannel 2015-05-22 19:42:21 -07:00
dnc40085 dd00e31027 Added fix to adc.readvdd33() to prevent crashing in station mode while
connected
2015-05-22 18:01:05 -07:00
HuangRui 5261fb1948 Update spiffs to latest. 2015-05-21 15:18:35 +08:00
HuangRui c66cced7f4 Merge branch 'dev096' of https://github.com/nodemcu/nodemcu-firmware 2015-05-21 10:59:30 +08:00
HuangRui 8887085ef8 Revert file.format method. 2015-05-21 10:58:58 +08:00
HuangRui c82cc3f7c5 Testing use all modules. 2015-05-21 10:42:28 +08:00
HuangRui a1e67c5cf0 Try to use latest spiffs but not success. 2015-05-21 10:39:02 +08:00
Vowstar 8f925e64c9 Merge pull request #435 from dnc40085/dev096-wifi.sta.getap_CB_fix
Fixed bug in wifi_scan_done (Issue #434)
2015-05-21 02:33:49 +08:00
dnc40085 7244d51b38 Fixed bug in wifi_scan_done 2015-05-20 02:21:46 -07:00
HuangRui fc8fa2cc91 Fixed readvdd33 bug. 2015-05-19 20:11:15 +08:00
HuangRui 0f3ade36d8 Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
Conflicts:
	app/modules/net.c
2015-05-19 20:06:03 +08:00
Vowstar 03761b8601 Merge pull request #431 from dnc40085/dev096-wifi.ap.setip_fix
changed wifi_setip() to allow setting SoftAP gateway to 0.0.0.0
2015-05-18 23:53:31 +08:00
Vowstar 4736f10d23 Merge pull request #425 from tamisoft/dev
Add support for lm92 temperature sensor
2015-05-18 23:53:19 +08:00
dnc40085 546bca00c1 changed wifi_setip() to allow setting SoftAP gateway to 0.0.0.0 2015-05-17 19:29:26 -07:00
Levente Tamas de053cf479 Add support for lm92 temperature sensor
Added LUA module for the lm92 +-0.33C 12bit+sign temperature sensor.
2015-05-17 12:03:42 +03:00
Vowstar 77b1dfa1b3 Merge pull request #424 from jorgempy/dev
added net.dns.setdnsserver('ip',[index]),  net.dns.getdnsserver([inde…
2015-05-17 08:59:38 +08:00
Jorge Mesquita 70580dc4ae added net.dns.setdnsserver('ip',[index]), net.dns.getdnsserver([index]), net.dns.resolve('domain.com', function cb('ip' or nil if fail) )
modified:   app/modules/net.c
2015-05-16 20:53:31 -04:00
Vowstar 61f65fb02a Merge pull request #420 from devsaurus/dev
Add missing functions for u8g
2015-05-16 20:26:50 +08:00
devsaurus 4ca95a52bc clean 2015-05-16 13:42:09 +02:00
devsaurus 5b588b7bd3 implement getStrWidth() and setFontLineSpacingFactor() 2015-05-15 21:32:28 +02:00
devsaurus de56cb084e sort member functions 2015-05-15 21:13:59 +02:00
Vowstar 0ad574705d Merge pull request #414 from robertfoss/master
Add -Os flag to release and debug builds
2015-05-15 12:09:32 +08:00
Vowstar e495170c42 Merge pull request #396 from cal101/dev
Makefile fix: "-Os" was overridden by "-O2"
2015-05-15 12:08:04 +08:00
HuangRui 71469dd70f Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware
Conflicts:
	app/include/user_version.h
	app/modules/node.c
	app/modules/wifi.c
2015-05-15 08:13:46 +08:00