Commit Graph

2314 Commits

Author SHA1 Message Date
Jason Follas 2ab28df92a Support clearing WiFi config (#1761)
* Add wifi.sta.clearconfig(). Adjust password validation to match 2.0.0 SDK rules (no min length enforced, i.e. for WEP)
* Updat comments about WEP key not having a minimum
* Documentation: add note about node.restore() to wifi.sta.clearconfig() docs, and add SDK verbiage to describe what node.restore() impacts.
* Normaliz if statements
* Convert leading tabs to leading spaces for consistency
2017-02-08 21:42:29 +01:00
Marcel Stör b9d9f5856a Fix cloud builder link 2017-02-06 22:03:17 +01:00
Arnim Läuger 416d53eb39 Add string support for spi.set_mosi() and spi.get_miso() (#1753)
clean-up endianess handling in spi driver
2017-02-06 13:55:26 +01:00
Yury Popov 2c8961d153 Add TTL support to net module (#1756) 2017-02-06 13:54:20 +01:00
Marcel Stör b96e31477c Merge pull request #1774 from nodemcu/dev
2.0.0 master drop
2017-02-02 07:46:52 +01:00
Marcel Stör 20a591f59a Add section about NodeMCU PyFlasher (#1771) 2017-02-02 00:04:24 +01:00
Marcel Stör 0ca4b6ba55 Add more UDP documentation, contributes to #1701 2017-02-01 20:59:43 +01:00
Marcel Stör 419ec3384a Add two small fixes 2017-02-01 18:12:56 +01:00
Marcel Stör d2fbf40c49 Add UDP-related deprecation notes, partially fixes #1762 2017-01-26 23:44:21 +01:00
Marcel Stör f9c9eff720 Add a few notes about UDP handling, fixes #1701 2017-01-26 23:06:58 +01:00
Marcel Stör a2db0c65af Fix some cosmetic issues in gdbstud doc 2017-01-26 22:15:18 +01:00
Arnim Läuger 6ca96b69f5 include gdbstub.md in doc generation (#1763)
Thank you!
2017-01-26 15:10:26 -05:00
Arnim Läuger 87e1abfb0f rtctime: change to lua_setfieldfor populating the table (#1746)
Looks good.
2017-01-22 14:17:46 -05:00
Marcel Stör 88938b441d Document mbed TLS cipher suites better, fixes #1749 2017-01-21 23:45:33 +01:00
Yury Popov a3145da52b Minify ESP8266 toolchain archive for CI (#1743)
* Minify ESP8266 toolchain archive for CI
* Disable iROM size fix for CI builds
Fixes #884
2017-01-21 21:53:08 +03:00
ffedoroff a271ce4d34 Invert signal on rfswitch pin (#1738)
Since that code was migrated from Arduino, I should invert pin
2017-01-19 12:46:45 +01:00
FrankX a18826ec54 Accept 64 byte length WiFi passwords (#1730) 2017-01-17 21:55:30 +01:00
Arnim Läuger 305d7c4672 Add file.stat() to query file/directory attributes. (#1724)
* add file.stat()

* set default time/date to 1970-01-01
use lua_setfield
2017-01-17 21:54:23 +01:00
Felix Knecht 07031f569a Correct bme280 code samples for negative values (#1735)
* Corrected examples for negative values

See issue #1734
Negative values need to be treated differently. Changed all the samples to reflect that

* Update bme280.md
2017-01-17 21:52:45 +01:00
Marcel Stör 0d572eedca Polish rfswitch documentation 2017-01-15 21:23:56 +01:00
Alexis Lothoré f176697e13 Document user/pass as optional in MQTT client doc (#1727) 2017-01-15 19:27:56 +01:00
Arnim Läuger 46dc9eaeb3 fix pcm examples to comply with current code base (#1720) 2017-01-11 21:11:38 +01:00
Marcel Stör 0a503587ee Fix typo (#1714) 2017-01-10 21:09:54 +01:00
ffedoroff 52aa1f7e3d Fix typo (#1715) 2017-01-10 21:05:48 +01:00
Marcel Stör c758908014 Add security note to WPS documenation 2017-01-09 22:55:01 +01:00
FrankX 378e5eb0ad Add WPS module (#1694)
* WPS functionality added

* WPS module switched off by default

* Update mkdocs.yml
2017-01-09 08:43:47 +01:00
Yury Popov f8e18d892f Leave only some parts of SDK in iram (#1710)
Leave only some parts of SDK in IRAM
2017-01-09 13:30:41 +11:00
devsaurus 5425adefff small fixes for sdcard and file doc 2017-01-06 16:15:29 +01:00
Yury Popov a592af7ab1 Depend http client secure part on CLIENT_SSL_ENABLE (#1702) 2017-01-04 18:31:32 +01:00
Verne Roberts cad1632e40 Add 31250 baud rate for MIDI support (#1690)
* add 31250 baud rate for MIDI support
* add bitrate to uart_bitrates array for the get operation
2017-01-04 12:31:47 +01:00
devsaurus 0a0c7c0637 ammendments to tmr API doc cleanup 2017-01-04 10:34:18 +01:00
Marcel Stör a89b008087 Replace old tmr API in docs with OO API (#1695) 2017-01-03 21:50:56 +01:00
Thomas Mohaupt 61d20a75e2 Dev (#1698)
* Toogle between full screen and clip range test
2017-01-02 21:45:06 +01:00
Philip Gladstone 9b86937d45 Fix crash in sntp and add more reliable defaults servers (#1682)
* Fix bug in sntp where callback was run at interrupt level. Also add
the nodemcu pool servers as the default.

* Add comments on where the mysterious numbers came from

* Fix a crash with auto repeat mode and errors on repeat
2017-01-01 22:26:17 +01:00
Marcel Stör 9dfedaf55c Fix admonitions in WiFi docs 2017-01-01 17:32:29 +01:00
Marcel Stör 61f4e18301 Use an executable example for net.socket:on() 2017-01-01 14:15:37 +01:00
Marcel Stör f8f1069225 Fix mbed TLS naming 2016-12-31 21:00:20 +01:00
Yury Popov 3adba91b15 Net functionality rewrite on top of LWIP (#1379)
* Rewrite net.dns.resolve on LWIP

* Move IGMP (net multicast) to LWIP

* Cleanup net module

* Move secure connection operations to tls module

* Net module on LWIP

* Server timeout parameter

* TCP hold

* Fixes in documentation

* Documentation fixes

* Note TLS module depends on net

* Add TLS module to user_modules.h

* Callback on connect event

* Fix depends net module on tls module

* Fix unhold exponential time issue
2016-12-31 13:14:03 +01:00
Tobias Tangemann 57950413ca Fix and extend sample in apa102 module docu (#1689) 2016-12-30 07:03:13 +01:00
Marcel Stör 007f870cb6 Fix list indentation 2016-12-29 09:23:06 +01:00
Yury Popov 2b897e56c7 Cron module (#1674) 2016-12-26 14:19:12 +01:00
Arnim Läuger c57af8972f Rework support for >4MB modules: place SPIFFS after SDK data (#1646) 2016-12-26 14:17:57 +01:00
Philip Gladstone 543f438b6b Added node.random implementation (#1665) 2016-12-26 14:14:49 +01:00
Marcel Stör 7c9fdef77a Tiny formatting fix 2016-12-25 16:10:31 +01:00
Philip Gladstone feab8b2208 Various minor bits of cleanup (#1647)
* Check the return code of the read function when doing crypto.fhash so that we don't pass negative lengths to the hashing functions
*  Fix various assert failures in the LVM arising from rotables. No functional change
* Add the gpio interrupt time to the callback (and pass it from the interrupt handler)
* Get the PC right in the perf module
* Make the headers static in the websocket module
* Fix the documentation
2016-12-25 10:45:34 +11:00
kicer 118acb808e Fix crypto.mask() to encode with correct mask (#1677) (#1678)
Thank you.
2016-12-23 12:03:02 -05:00
Marcel Stör 1452fbfd13 Fix list formatting 2016-12-23 13:43:52 +01:00
Marcel Stör 680d349039 Fix list formatting 2016-12-23 12:59:46 +01:00
Johny Mattsson c5c0143b2f rtctime.dsleep() current draw improvements (#1659)
* Switch off interrupts before rtctime dsleep.

* Deal with the fact that MCU keeps running after being told to enter deep sleep
(It can keep running for quite a few instructions at times (and none at
all at others), and it appears that trying to cache additional code from
SPI flash while trying to go to sleep fails miserably at both....)

* Ensure flash is not active when going into deep sleep.
2016-12-14 12:39:31 +01:00
Marcel Stör 1b8e9a33e5 Use constant for start_level 2016-12-14 08:07:23 +01:00