Commit Graph

566 Commits

Author SHA1 Message Date
Johny Mattsson 223a936779 Switched crypto module to use ROM SHA1/MD5.
Also disabled MD2 support by default (see MD2_ENABLE in user_config.h).
2015-06-05 12:12:24 +10: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
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
= 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 4736f10d23 Merge pull request #425 from tamisoft/dev
Add support for lm92 temperature sensor
2015-05-18 23:53:19 +08: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 e495170c42 Merge pull request #396 from cal101/dev
Makefile fix: "-Os" was overridden by "-O2"
2015-05-15 12:08:04 +08:00
Vowstar a14971fa5b Merge pull request #402 from trilader/dev
Allow connecting to unsecured WiFi networks
2015-05-15 07:41:01 +08:00
devsaurus 8ceb536f7c update missing functions 2015-05-14 23:32:34 +02:00
trilader bc7b9f86c4 Allow connecting to unsecured WiFi networks 2015-05-07 15:12:57 +02:00
Vowstar 749e71d9cb Fixed strange SPI flash API error. Added word_of_aligned_array. 2015-05-05 23:59:30 +08:00
cal 6f31a20240 Makefile fix: "-Os" was overridden by "-O2" 2015-05-01 17:39:47 +02:00
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 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
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 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
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
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