Uri Shaked
ce498462f7
Fix secure TCP connections
...
Call `espconn_secure_set_size()` before calling `esp_secure_connect()`, should fix issues like #710 and #520
2016-02-06 17:12:46 +02:00
cheloftus
58dd15e1d1
Added crypto.fhash function for hashing files
2016-02-05 22:19:00 +00:00
philip
c9cf02ba31
Send any queued packets when possible
2016-02-01 22:29:32 -05:00
Johny Mattsson
fcb14a33b3
Merge pull request #987 from DiUS/enduser_enhanced
...
Enhancements to enduser_setup module
2016-02-02 00:39:47 +11:00
Johny Mattsson
86839d6e71
Fixes and enchancements for enduser_setup module.
...
Fixes:
* Removed spurious \0 bytes being sent to the client in many cases.
* Properly terminated 404 header.
* Now including Content-length: header for index.html (including built-in).
Clients otherwise had to wait for their own timeout before considering
the page load complete, which resulting in an unpleasant sluggish
experience.
* Switched form submission to GET, as iOS sometimes does not include the
body in the same packet as the POST header, which led to the module
not finding the form values.
* Added redirect after form submission to avoid blank-page-in-browser.
* Moved common "enduser_setup" prefix to a lua_pushfstring() to reduce
string literal overhead.
* Replaced cached lua_State* with calls to lua_getstate(), as in other
modules.
* Fixed broken appending of MAC to the SSID.
* Fixed up macro definitions to not break `if` clauses unintentionally.
Enhancements:
* Support for scanning for available WiFi networks, and picking from the list.
* Support for retrieving the current WiFi station status.
* Added "manual" mode, where the module does not (re)configure the AP setup,
nor shut down automatically. Default is still automatic, as before.
* Updated docs for new `enduser_setup.manual()` function.
2016-02-01 14:42:24 +11:00
Arnim Läuger
d083122688
remove space in heading for gpio.write()
2016-01-31 21:58:49 +01:00
Marcel Stör
9e861313e9
Add chapter about firmware files and flash address
...
Had to slightly tweak the Markdown headers due to
https://github.com/mkdocs/mkdocs/issues/770 :(.
Fixes #990 .
2016-01-31 14:33:49 +01:00
Marcel Stör
ccd556be68
Add note about UART speed
2016-01-31 14:31:15 +01:00
Marcel Stör
47801ca7a0
Merge pull request #994 from devsaurus/upgrade-fw
...
Add notes about upgrading from old fw
2016-01-31 12:16:56 +01:00
Arnim Läuger
53f1761cfb
add notes about upgrading from old fw
2016-01-31 11:54:58 +01:00
Arnim Läuger
f42fdb1a76
also fix cb prototype description
2016-01-30 10:23:27 +01:00
philip
76b28c1f74
Simple mdns implementation using the Espressif code
2016-01-29 21:37:19 -05:00
Arnim Läuger
1697126a15
terminate example
2016-01-29 22:40:15 +01:00
devsaurus
8db93bcabf
make delay optional
2016-01-29 18:52:38 +01:00
devsaurus
3a597f1698
implement architecture dependent delay functions for esp8266 port
2016-01-29 18:52:38 +01:00
Johny Mattsson
4bf2bf03d7
Merge pull request #985 from devsaurus/mqtt_error_checking
...
Improve error checking in mqtt module
2016-01-29 12:07:01 +11:00
devsaurus
9741c8f1b5
fix #527
2016-01-28 23:46:35 +01:00
devsaurus
1c32d20502
improve error checking in mqtt module
...
connect(), close(), subscribe(), publish()
2016-01-28 21:36:38 +01:00
Johny Mattsson
d5f71eb0c6
Simplified linker script handling of libc.
...
Having ascertained that the SDK itself has no (zero, zilch, nada) dependencies
on the standard C library, the NodeMCU linker script now puts any and all
libc functions into irom, rather than carefully picking the ones that
were used by NodeMCU some months ago. This should help keep iram free for
the things which really need to be in iram (such as ISRs).
2016-01-28 17:56:01 +11:00
Johny Mattsson
9fd215b028
Corrected sprintf() prototype & behaviour.
2016-01-28 17:56:01 +11:00
Johny Mattsson
74d27b3486
Merge pull request #968 from devsaurus/crypto_http_mqtt_lua-gnu11
...
Enable -std=gnu11 for crypto, http, mqtt, and lua dir
2016-01-28 17:36:27 +11:00
Johny Mattsson
5ec2b695be
Merge pull request #981 from jfollas/dev
...
Fixed issue where default ESP_xxxxxx SSID was appearing
2016-01-28 11:14:24 +11:00
Marcel Stör
c3e49940eb
Fix a few titles on doc pages
2016-01-27 22:06:24 +01:00
jfollas
edbcbe1b0f
Fixed issue where default ESP_xxxxxx SSID was appearing for enduser_setup
2016-01-27 10:24:10 -05:00
Johny Mattsson
fc87316b14
Merge pull request #979 from jmattsson/http-docs-limit
...
Updated http module docs for #977 .
2016-01-27 11:03:07 +11:00
Johny Mattsson
8f7055d030
Updated http module docs for #977 .
2016-01-27 10:52:13 +11:00
Johny Mattsson
9741f2c678
Merge pull request #977 from vowstar/fixed-http-1-1
...
Fix HTTP response bug while server only support HTTP/1.0
2016-01-27 10:51:48 +11:00
Arnim Läuger
4792f1bb53
Merge pull request #978 from robertfoss/apa102_cleanup
...
Cleaned up APA102 module registration.
2016-01-26 23:30:01 +01:00
Robert Foss
6ef7ece046
Cleaned up APA102 module registration.
2016-01-26 17:14:19 -05:00
Marcel Stör
51352ed782
Merge branch 'dev' of https://github.com/nodemcu/nodemcu-firmware into dev
2016-01-26 23:07:53 +01:00
Marcel Stör
e23e07fd16
Make the APA102 docs available on RTD
2016-01-26 23:07:29 +01:00
Arnim Läuger
3124a0e6a8
add autoconnect option for publish() and update optional parameters
2016-01-26 22:55:33 +01:00
Arnim Läuger
2f9b51bf14
Merge pull request #974 from marcelstoer/dev-http-example
...
Transfer HTTP client examples to lua_examples/
2016-01-26 21:50:58 +01:00
Arnim Läuger
70c420491c
Merge pull request #854 from robertfoss/apa102
...
Added support for the APA102 LED.
2016-01-26 19:22:48 +01:00
Huang Rui
1a20f2eda8
Fix HTTP response bug while server response HTTP/1.0
...
Signed-off-by: Huang Rui <vowstar@gmail.com>
2016-01-26 16:06:11 +08:00
Robert Foss
0f3c0ffbb0
Added support for the APA102 LED.
2016-01-25 20:54:27 -05:00
Marcel Stör
08921c9871
Transfer HTTP client examples to lua_examples/
...
Fixes #941
2016-01-25 20:33:21 +01:00
Marcel Stör
2e16e3af5f
Add an additional link as for how to squash commits
2016-01-24 23:19:52 +01:00
Arnim Läuger
995f77d547
Merge pull request #972 from vowstar/fix_redefine_efault
...
Fix redefine error on some other version build environment.
2016-01-24 21:57:19 +01:00
Huang Rui
5e2eb3588c
Fix redefine bug on some other version SDK(such as espressif's lubuntu environment)
...
Signed-off-by: Huang Rui <vowstar@gmail.com>
2016-01-25 03:06:18 +08:00
Arnim Läuger
8d93ddb6d0
Merge pull request #969 from devsaurus/fix_sntp
...
sntp: Include user_interface.h to avoid implicit decls
2016-01-24 12:44:47 +01:00
devsaurus
cd06905b58
include user_interface.h to avoid implicit decls
2016-01-24 00:22:11 +01:00
devsaurus
f149b60c7f
enable -std=gnu11 for lua dir
2016-01-24 00:02:27 +01:00
devsaurus
b3b50646ef
enable -std=gnu11 for mqtt dir
2016-01-23 22:42:55 +01:00
devsaurus
19fda87e33
enable -std=gnu11 for http dir
2016-01-23 22:41:41 +01:00
devsaurus
8befcf0888
enable -std=gnu11 for crypto dir
2016-01-23 22:36:35 +01:00
Johny Mattsson
91b2533aa6
Merge pull request #965 from devsaurus/platform-gnu11
...
Enable -std=gnu11 for platform and driver dir.
2016-01-24 01:23:27 +11:00
Terry Ellison
85bd7bbeda
Merge pull request #951 from Alkorin/ws2812-uart
...
Rewrite ws2812 serialization code to use UART1 instead of bit-banging.
2016-01-23 10:42:56 +00:00
devsaurus
9f54c8f5d4
enable -std=gnu11 for driver dir with corrected os_printf* decls
2016-01-23 11:22:03 +01:00
devsaurus
0c3fc6cc78
enable -std=gnu11 for platform dir
2016-01-22 23:21:34 +01:00