]>
hydra-www.ietfng.org Git - acmetensortoys-esp-lua_core/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Nathaniel Wesley Filardo [Thu, 26 Dec 2019 00:36:19 +0000 (00:36 +0000)]
nwfmqtt: catch up with upstream
9f8b74debd9f030d63f8b4db3db07bc15b748765 made secure a boolean
Nathaniel Wesley Filardo [Fri, 4 Oct 2019 17:03:48 +0000 (18:03 +0100)]
nwfmqtt: refactor fifo interposition
Expose the wrapper as its own operation and switch to a single FIFO for
all of sub/unsub/pub operations.
Nathaniel Wesley Filardo [Sat, 6 Jul 2019 23:26:18 +0000 (00:26 +0100)]
nwfmqtt: interpose on pub/sub/unsub with fifo
Blech, but this way we don't confuse the underlying mqtt module by
ever trying to, say, subscribe twice before the server's gotten
back to us.
Nathaniel Wesley Filardo [Sat, 6 Jul 2019 20:44:39 +0000 (21:44 +0100)]
Remove nwfnet.conf2
Once upon a time, it was useful because wifi.sta.config() wrote its
changes to flash and we wanted to minimize wear and tear. Those days
are long past.
Similarly, the utility of nwfnet-sntp is decreasing with time. Let it
just default as upstream does now.
Nathaniel Wesley Filardo [Sat, 6 Jul 2019 19:18:37 +0000 (20:18 +0100)]
net/nwfmqtt: fix handling of the "secure" option
Really wants a number and not a boolean, apparently. Ick, I should
fix that upstream, but for the moment, just use the parsed value or 0.
Nathaniel Wesley Filardo [Sat, 29 Jun 2019 14:36:24 +0000 (15:36 +0100)]
nwfmqtt: remove deprecated autoreconn option
NFC; it was false anyway.
Nathaniel Wesley Filardo [Fri, 22 Feb 2019 23:26:57 +0000 (23:26 +0000)]
Remove fifo; has been pushed upstream
Keep fifotest and fifodiag, tho', which may be useful and were
inappropriate to send upstream.
Nathaniel Wesley Filardo [Wed, 6 Feb 2019 05:00:45 +0000 (05:00 +0000)]
fifosock: coalesce when possible before sending
Bigger packets going out can't hurt, right? Idea stolen from TerryE's
original two-stage fifo, but ported to more generic fifo core and
combined with earlier fifosock work.
Nathaniel Wesley Filardo [Wed, 6 Feb 2019 00:52:38 +0000 (00:52 +0000)]
telnet-file: sha256 use hex for convenience; dox
Nathaniel Wesley Filardo [Wed, 6 Feb 2019 00:50:28 +0000 (00:50 +0000)]
Update dox
Nathaniel Wesley Filardo [Wed, 6 Feb 2019 00:34:35 +0000 (00:34 +0000)]
fifo{,sock}: lazy and "phantom" function entries
fifo already supported functions acting as lazy generators of events, so
now teach it about phantom entries (which just cause additional
dequeueing).
Push support down into fifosock and add tests.
Nathaniel Wesley Filardo [Tue, 8 Jan 2019 19:39:07 +0000 (19:39 +0000)]
init: switch to OO tmr interface
We now assume exclusively the use of OO timers, so always use the
"t:alarm(...)" form rather than "tmr.alarm(t, ...)".
Nathaniel Wesley Filardo [Sun, 4 Nov 2018 17:21:42 +0000 (17:21 +0000)]
Drop panic linger time to 60 seconds from 300
Nathaniel Wesley Filardo [Sun, 12 Aug 2018 13:58:23 +0000 (14:58 +0100)]
nwfmqtt: remove deprecated heartbeat function
This also drops another use of tq from the tree
Nathaniel Wesley Filardo [Sun, 12 Aug 2018 11:06:03 +0000 (12:06 +0100)]
nwfnet-go: behavioral changes
don't persist changes
don't remove primary configuration file
don't configure softap, since we don't really support it
Nathaniel Wesley Filardo [Sun, 12 Aug 2018 10:27:02 +0000 (11:27 +0100)]
Tree tidying
Nathaniel Wesley Filardo [Sat, 11 Aug 2018 22:52:22 +0000 (23:52 +0100)]
Rework in light of LFS
Nathaniel Wesley Filardo [Sun, 12 Aug 2018 10:22:46 +0000 (11:22 +0100)]
New fifosock implementation
Two-layer approach borrowing from TerryE's example telnet server
Nathaniel Wesley Filardo [Sat, 11 Aug 2018 22:53:37 +0000 (23:53 +0100)]
Fix fifotest in light of tq API changes
Nathaniel Wesley Filardo [Sat, 11 Aug 2018 22:53:10 +0000 (23:53 +0100)]
Move morsetest where it belongs
Nathaniel Wesley Filardo [Thu, 14 Dec 2017 21:16:41 +0000 (16:16 -0500)]
telnetd: diag "restart" command
It's a bit of a pain to restart a node over telnet using "diag exec"
because network callbacks will crash due to races(?) against
node.restart if that's dispatched immediately. Add a command to
dispatch it "soon".
Nathaniel Wesley Filardo [Fri, 10 Nov 2017 22:06:04 +0000 (17:06 -0500)]
nwfnet-go: move to modern wifi configuration
Nathaniel Wesley Filardo [Sat, 5 Aug 2017 08:29:01 +0000 (04:29 -0400)]
Begin deprecation of tq in favor of dyn. tmr API
Nathaniel Wesley Filardo [Fri, 4 Aug 2017 20:04:24 +0000 (16:04 -0400)]
add telnetd-file sha256 subcommand
Nathaniel Wesley Filardo [Fri, 4 Aug 2017 20:04:13 +0000 (16:04 -0400)]
Further robustify host/pushcommon
Nathaniel Wesley Filardo [Tue, 1 Aug 2017 00:20:09 +0000 (20:20 -0400)]
host/pushcommon: use dirname $0 to find pushvia
Nathaniel Wesley Filardo [Mon, 31 Jul 2017 09:04:23 +0000 (05:04 -0400)]
telnetd-diag: add 'send' to 'exec' interp. scope
Nathaniel Wesley Filardo [Sun, 30 Jul 2017 07:20:14 +0000 (03:20 -0400)]
doc improvements
Nathaniel Wesley Filardo [Sun, 30 Jul 2017 01:34:55 +0000 (21:34 -0400)]
push* scripts: use luasrcdiet if directed
If ${LUADIET} is empty, send files as they are; otherwise, stream them
through luasrcdiet. To use the default options, use 'LUADIET=' '" or
something to that effect. This can be set per-file, should some module
turn out to be broken by dieting.
The "dopush" utility macro is split and now called "dopushlua" and
"dopushtext" (which skips luasrcdiet even if it is engaged).
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 21:51:43 +0000 (17:51 -0400)]
Add luasrcdiet submodule
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 20:29:13 +0000 (16:29 -0400)]
Expunge cjson in favor of sjson
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 20:22:46 +0000 (16:22 -0400)]
Move loop over filesystem compilation to own file
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 20:16:51 +0000 (16:16 -0400)]
i2c utilities
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 20:16:37 +0000 (16:16 -0400)]
1Wire utilities
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 20:12:00 +0000 (16:12 -0400)]
fix typo in telnetd-diag rtcfifo
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 20:11:19 +0000 (16:11 -0400)]
pushvia.expect: raise timeout to 15 seconds
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 20:09:42 +0000 (16:09 -0400)]
fifosock: dramatically simplify
All we really need here is a thin shim around send; stop trying to be
clever, it just makes things obfucsated when they go wrong.
Chase consequences around the tree. Extensive testing was done looking
for memory leaks despite the newfound simplicity, with none found.
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 20:08:16 +0000 (16:08 -0400)]
init: Add 'go()' to skip wait at boot
While here, fix indentation
Nathaniel Wesley Filardo [Sat, 29 Jul 2017 19:32:45 +0000 (15:32 -0400)]
tq bugfixes (and API change)
- not all lapsed time should be credited to the head node
- needs to reset the time base (_tst) in all cases
- always return the object for cancellation
- defend against time going backwards (just in case)
While here, rework to simplify, simplify API, and add comments
Rachael [Sat, 8 Jul 2017 23:52:11 +0000 (16:52 -0700)]
Merge branch 'master' of https://github.com/AcmeTensorToys/esp-lua
Nathaniel Wesley Filardo [Sat, 8 Jul 2017 23:40:00 +0000 (19:40 -0400)]
init tweaks
Workaround cjson to sjson migration upstream with an ugly hack
Add an early init hook for framework plugins
Rachael [Sun, 30 Apr 2017 21:32:54 +0000 (14:32 -0700)]
tries to implement rgb --> hsl -> rgb, but fails compiling for an index out of range exception
Rachael [Thu, 27 Apr 2017 03:17:30 +0000 (20:17 -0700)]
Merge branch 'master' of https://github.com/AcmeTensorToys/esp-lua
Rachael [Thu, 13 Apr 2017 03:59:05 +0000 (20:59 -0700)]
Merge branch 'master' of https://github.com/AcmeTensorToys/esp-lua
Nathaniel Wesley Filardo [Mon, 30 Jan 2017 20:08:09 +0000 (15:08 -0500)]
init: no real need for that metatable
Nathaniel Wesley Filardo [Mon, 30 Jan 2017 20:07:37 +0000 (15:07 -0500)]
nwfnet-go: Just delete the config file already
Unless explicitly told to keep it for some reason.
Nathaniel Wesley Filardo [Mon, 30 Jan 2017 20:07:15 +0000 (15:07 -0500)]
util/diag: loaded packages printout
Nathaniel Wesley Filardo [Mon, 30 Jan 2017 20:06:52 +0000 (15:06 -0500)]
nwfnet-sntp: silence uninformative printout
Nathaniel Wesley Filardo [Mon, 23 Jan 2017 01:03:10 +0000 (20:03 -0500)]
nwfnet-go: don't hard depend on mDNS
Some examples don't need it, so work even if it's not present
Nathaniel Wesley Filardo [Mon, 23 Jan 2017 00:59:18 +0000 (19:59 -0500)]
Fork dvv-nodemcu-things lcd1602
Improve initialization sequence, remove buggy 'run' method.
This file and all changes to it retain the original (MIT) license,
independent of the rest of this project.
Nathaniel Wesley Filardo [Tue, 17 Jan 2017 08:59:19 +0000 (03:59 -0500)]
net/*: Robustify calls to json parsers
Nathaniel Wesley Filardo [Tue, 17 Jan 2017 06:41:57 +0000 (01:41 -0500)]
util/diag: robustify
Nathaniel Wesley Filardo [Tue, 17 Jan 2017 06:41:42 +0000 (01:41 -0500)]
nwfnet: callback tables weak keys
Nathaniel Wesley Filardo [Tue, 17 Jan 2017 06:41:11 +0000 (01:41 -0500)]
Add deprecation comments to some util functions
Nathaniel Wesley Filardo [Tue, 17 Jan 2017 06:40:47 +0000 (01:40 -0500)]
zshify host push tools
Nathaniel Wesley Filardo [Tue, 17 Jan 2017 05:55:23 +0000 (00:55 -0500)]
Add external modules
Nathaniel Wesley Filardo [Wed, 28 Dec 2016 02:34:39 +0000 (21:34 -0500)]
Fix typos in morse table
Rachael [Mon, 2 Jan 2017 18:51:15 +0000 (10:51 -0800)]
Merge branch 'master' of https://github.com/AcmeTensorToys/esp-lua
Nathaniel Wesley Filardo [Wed, 28 Dec 2016 02:34:39 +0000 (21:34 -0500)]
Fix typos in morse table
Nathaniel Wesley Filardo [Fri, 16 Dec 2016 05:59:54 +0000 (00:59 -0500)]
New morse module
Nathaniel Wesley Filardo [Mon, 21 Nov 2016 21:50:05 +0000 (16:50 -0500)]
Merge remote-tracking branch 'github/master'
Nathaniel Wesley Filardo [Mon, 21 Nov 2016 00:10:24 +0000 (19:10 -0500)]
Plumbing: modularize fifo, improve tq
Nathaniel Wesley Filardo [Mon, 21 Nov 2016 00:12:28 +0000 (19:12 -0500)]
Missed 'local' in nwfmqtt
Nathaniel Wesley Filardo [Thu, 13 Oct 2016 23:09:52 +0000 (19:09 -0400)]
Slightly improve MQTT client construction
Add early check for nil user and password
Add support for cleansession flag from JSON file
Nathaniel Wesley Filardo [Tue, 11 Oct 2016 23:39:44 +0000 (19:39 -0400)]
Add COPYING and README.rst
Nathaniel Wesley Filardo [Tue, 11 Oct 2016 22:09:45 +0000 (18:09 -0400)]
host/pushcommon.sh for push scripts
Nathaniel Wesley Filardo [Fri, 7 Oct 2016 03:27:43 +0000 (23:27 -0400)]
Initial checkin of framework and lamp example