Robert Foss
cd85e50e73
Added support for connected, error and debug callbacks.
2015-09-19 15:06:56 -04:00
Robert Foss
8982d370f2
Removed #define for forcing storage on flash
2015-09-17 14:30:46 -04:00
Robert Foss
3d5c54cef7
Moved all debug prints into the NODE_DEBUG macro.
2015-09-14 18:43:09 -04:00
Robert Foss
3a05c3e402
Moved CONST data to occupy flash, and remove storage instructions for functions.
2015-09-12 12:07:53 -04:00
Robert Foss
0f883b1842
Added ROM_CONST_ATTR attribute for forcing constants to live in flash.
2015-09-12 12:07:01 -04:00
Robert Foss
e2ada487f3
Added ENDUSER_SETUP module.
...
The module will start a SoftAP, DNS, HTTP server acting as a captive portal.
The portal will have the SSID SetupGadget and will serve a website where
credentials for the end users WLAN can be submitted.
Once valid credentials have been submitted and used to connect to the
local WLAN this module will stop.
This module requires USE_DNS to enabled in dhcpserver.h
2015-09-10 18:40:39 -04:00
Robert Foss
f9510eda49
Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
...
Conflicts:
app/lwip/app/dhcpserver.c
2015-08-03 01:15:20 +02:00
Robert Foss
93be1b7998
Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
...
Conflicts:
app/lwip/app/dhcpserver.c
2015-08-03 01:13:30 +02:00
Robert Foss
428d3b37e4
Merge branch 'dev' of github.com:robertfoss/nodemcu-firmware into dev
...
Conflicts:
app/lwip/app/dhcpserver.c
2015-08-03 01:12:17 +02:00
Robert Foss
579dc27ee0
Use #if instead of #ifdef.
2015-08-03 01:09:49 +02:00
Robert Foss
8f05556ab9
Use #if instead of #ifdef.
2015-08-02 19:17:36 +02:00
zeroday
9e6c62aa4d
Add notice to use json module in readme, due to the merged PR #584
2015-08-02 23:58:37 +08:00
zeroday
c19596cae8
Merge pull request #581 from robertfoss/dev
...
Added USE_DNS define.
2015-08-02 23:40:37 +08:00
zeroday
53a035411e
Merge pull request #584 from DiUS/cjson-lua-mem-wrap
...
Improvements to cjson memory handling, Note that when cjson fails a memory allocation, it leaks a bit of memory, it's possible to detect that it did fail, and schedule a restart.
2015-08-02 23:38:13 +08:00
zeroday
6751811ffb
Merge pull request #585 from DiUS/hmac-key-fix
...
Fix for HMAC with long keys
2015-08-02 23:36:26 +08:00
Johny Mattsson
b583af94a5
Fixed long key bug in HMAC calculation.
2015-07-31 14:11:09 +10:00
Johny Mattsson
eae72699d0
Fixed broken linear growth allocation in cjson.
2015-07-31 13:17:05 +10:00
Bernd Meyer
595509a7f3
More sensible cjson realloc strategy.
2015-07-31 11:36:46 +10:00
Johny Mattsson
719abca418
Stop cjson from killing the node on out-of-mem.
2015-07-31 11:36:46 +10:00
Robert Foss
1b8e015f33
Removed some whitespace.
2015-07-28 16:34:25 +02:00
Robert Foss
5822d4c4ed
Add define for advertising DNS in the DHCP OFFER message.
2015-07-28 16:32:38 +02:00
Vowstar
00e1e6bcbe
Merge pull request #572 from devsaurus/dev
...
Upgrade u8g module and add display bindings
2015-07-26 22:55:52 +08:00
Vowstar
95ee0c68f9
Merge pull request #570 from skybus-io/tsl2561
...
Lua module for TSL2561 I2C Digital Light Sensor
2015-07-22 10:47:01 +08:00
devsaurus
311283124d
u8g doc update
2015-07-21 21:32:42 +02:00
devsaurus
f4f62fb255
fix display table construction
2015-07-21 20:37:44 +02:00
Marius Schmeding
f343af9683
adding lua_module for Grove Digital Light Sensor ( http://www.seeedstudio.com/wiki/Grove_-_Digital_Light_Sensor )
2015-07-21 18:56:29 +02:00
devsaurus
6fd106afac
added more displays:
...
sh1106_128x64_i2c
ssd1306_64x48_i2c
ssd1309_128x64_i2c
ssd1327_96x96_gr_i2c
uc1611_dogm240_i2c
uc1611_dogxl240_i2c
ld7032_60x32_hw_spi
pcd8544_84x48_hw_spi
pcf8812_96x65_hw_spi
sh1106_128x64_hw_spi
ssd1306_64x48_hw_spi
ssd1309_128x64_hw_spi
ssd1322_nhd31oled_bw_hw_spi
ssd1322_nhd31oled_gr_hw_spi
ssd1325_nhd27oled_bw_hw_spi
ssd1325_nhd27oled_gr_hw_spi
ssd1327_96x96_gr_hw_spi
ssd1351_128x128_332_hw_spi
ssd1351_128x128gh_332_hw_spi
ssd1351_128x128_hicolor_hw_spi
ssd1351_128x128gh_hicolor_hw_spi
ssd1353_160x128_332_hw_spi
ssd1353_160x128_hicolor_hw_spi
st7565_64128n_hw_spi
st7565_dogm128_hw_spi
st7565_dogm132_hw_spi
st7565_lm6059_hw_spi
st7565_lm6063_hw_spi
st7565_nhd_c12832_hw_spi
st7565_nhd_c12864_hw_spi
uc1601_c128032_hw_spi
uc1608_240x128_hw_spi
uc1608_240x64_hw_spi
uc1610_dogxl160_bw_hw_spi
uc1610_dogxl160_gr_hw_spi
uc1611_dogm240_hw_spi
uc1611_dogxl240_hw_spi
uc1701_dogs102_hw_spi
uc1701_mini12864_hw_spi
2015-07-20 23:11:13 +02:00
devsaurus
ce271f24f7
update u8glib version and site
2015-07-20 22:11:20 +02:00
devsaurus
b837726013
simplify device/display macros
2015-07-20 22:07:59 +02:00
devsaurus
05e3267f24
update to u8glib 1.18.1
2015-07-19 23:22:50 +02:00
devsaurus
8bd3d7d2bf
introduce lua_api_name parameter when building the display table
...
keeps the API as before and gets rid of hw_spi vs sw_spi topics
2015-07-19 21:57:14 +02:00
Vowstar
849407b275
Merge pull request #558 from DiUS/spiffs-0.3.2
...
Updated SPIFFS to 0.3.2.
2015-07-18 00:48:00 +08:00
Johny Mattsson
8d68ad7e15
Updated SPIFFS to 0.3.2, plus alignment fix.
2015-07-17 13:40:55 +10:00
devsaurus
1bc156e4d1
move display constructors into template-based functions
...
+ uniform generaration
+ addition of further displays
- slight unneccesary heap allocation when display drivers are included but not used
2015-07-16 23:23:43 +02:00
devsaurus
02d473dab0
revert local changes to u8glib
2015-07-16 21:31:00 +02:00
devsaurus
7886222ee8
Merge remote-tracking branch 'upstream/dev' into dev
2015-07-14 22:02:36 +02:00
Vowstar
239008d5b9
Merge pull request #553 from nodemcu/dev096
...
Merge Dev096 to Dev
2015-07-14 15:02:37 +08:00
Vowstar
697c8c96ea
Merge pull request #551 from dnc40085/dev096_event_monitor
...
wifi station connection event monitor
2015-07-14 14:57:54 +08:00
dnc40085
0020c1d167
added code to check if in softap mode before continuing event monitor
...
callback
2015-07-13 22:12:16 -07:00
dnc40085
be79d1d3b6
added wifi station event monitor
2015-07-13 21:13:26 -07:00
Vowstar
19be09242f
Merge pull request #548 from kbeckmann/pr_ws2812_fix
...
Improved ws2812 implementation
2015-07-13 23:11:51 +08:00
Konrad Beckmann
6538d22d1f
Improved ws2812 implementation
...
- Fixes the "first led problem" (#534 #487 ).
- Adds support for 160MHz mode.
- Optimized timings. Time to write pixels is reduced by about 25%
This is useful when having a large amount of chained LEDs (>500).
2015-07-12 13:43:33 +02:00
devsaurus
93a762a714
Merge remote-tracking branch 'upstream/dev' into dev
2015-07-11 11:29:57 +02:00
Vowstar
98b2bffa75
Merge pull request #545 from DiUS/rtc
...
RTC and advanced timekeeping
2015-07-11 12:17:51 +08:00
Vowstar
d836ebf569
Merge pull request #544 from DiUS/wifi-ap-getconfig
...
Declare wifi.ap.getconfig() in the right map.
2015-07-11 12:16:13 +08:00
Vowstar
6ec4ad3e90
Merge pull request #538 from DiUS/dev
...
Fixed RAM_CONST_ATTR macro.
2015-07-11 12:13:26 +08:00
Johny Mattsson
dd38a0a0e6
Imported reworked rtctime support.
2015-07-10 16:16:25 +10:00
Johny Mattsson
09410d55c6
Added SNTP module, for easy time sync.
...
Integrates with the rtctime component if it's available.
2015-07-10 15:12:31 +10:00
Johny Mattsson
67e72c45df
Imported RTC FIFO component + added Lua interface.
...
The rtcfifo module uses RTC memory to store sensor samples across deep-sleeps,
making it possible to batch up samples for less frequent uploads. This
component uses 9 RTC memory slots for control, and a variable number of
slots for sample storage (see rtcfifo.prepare() on how to control the
size/location of the latter).
When used together with the rtctime module, it also exposes the convenience
function rtcfifo.dsleep_until_sample() which can be used to easily take
readings on a regular basis without having to manually take into account
time spent awake to get an accurate sleep time.
The format used for storing samples is quite dense, and allows for 16 bits
of data in a fixed point format (per sample).
2015-07-10 15:12:31 +10:00
Johny Mattsson
2187424928
Imported RTC+sleep timekeeping from an internal DiUS project.
...
Added Lua module rtctime to interface with it.
This keeps as accurate time as is possible on the ESP8266, including across
deep sleeps (provided rtctime.dsleep() is used rather than node.dsleep()).
Intended to be used together with NTP for high accuracy time keeping. The
API is via rtctime.{get,set}timeofday(), working from Unix epoch.
Note that 160MHz CPU clock is not currently supported by the rtctime code,
as it is only aware of the 52MHz boot clock and the regular 80Mhz default
clock.
See rtctime.h for detailed info on how this all works.
2015-07-10 15:12:31 +10:00