Commit Graph

18 Commits (890c130f5f588ddef99a312cbfb8b69c3e24fa2e)

Author SHA1 Message Date
David Kebler 890c130f5f 0.3.0 bump version for 3-2020 deployment of light code
use observer names supplied by socket
update deps
2020-03-15 16:22:35 -07:00
David Kebler d39bf80d3c 0.1.41 support closed property as dupe to state on interrupt packet 2020-02-10 21:37:14 -08:00
David Kebler 98a1d14f0e 0.1.40
2300xxi
  interrupt:reset observer refactor combined ready observer
  use new method to create incoming consumer observer from gpio interrupt
2020-01-23 22:48:57 -08:00
David Kebler 9a7fdd9539 0.1.38
commands.js
added pin.cfgs for multiple pin configurations
refactored pin.status, pin._state to better handle multiple pins and 08 vs 17
mpc230xx.js
  changed to not having default sockets but socket can be added by passing lport or lpath
  now supports new new uci-utils/ready module and adds an observer for when chip and pins are configured
mcp230xxi.js
   now supports new new uci-utils/ready module by adds an observer for when the interrupt process connects and also resets
   refactored the interrupt methods and commands to compliment changes in the interrupt module
2020-01-09 20:17:55 -08:00
David Kebler 6b137abb71 0.1.33 remove emitting from find (can do local stuff via interrupt processor. update from changes to sockets 2019-04-28 10:09:05 -07:00
David Kebler 01a7b8ccf0 0.1.31 update deps, cleanup logging 2019-04-26 11:21:24 -07:00
David Kebler 7e0327ebf0 removed removed this.pins to revert back to using this.commands.pins
emit locally on interrupt
2019-04-20 16:44:32 -07:00
David Kebler ea9a04f6dc 0.1.27 reworked mcp interrupt class to be more robust resetting the interrupt
added a reset command to allow other processes to trigger an mcp port interrupt reset
2019-04-11 21:15:55 -07:00
David Kebler bbe8ee511c 0.1.23 refactored pin configuration types. Now output and 5 flavors of input (4 of which interrupt inputs)
swapped order of package returned for interrupt find so that the pin state is not lost (overwritten)
2019-03-16 16:45:42 -07:00
David Kebler b987c446a4 0.1.22 fix chip config bug for 23008, for interrupt find packet pass on all props from interrupt. 2019-03-11 14:54:06 -07:00
David Kebler be1787fa45 0.1.21 added/improved chip configuration now have two more intPullup and intPullupOneInt
fixed issue with forEach by replacing with for loop on pins configuration so it would do in correct order.
added some logging on commands file
2019-03-08 09:10:33 -08:00
David Kebler f6b40be73b 0.1.20 make sure options don't mutuate, also that if pin is string it gets cast to number 2019-03-07 13:00:00 -08:00
David Kebler 078b24e9d7 0.1.19
alter the multple pin options processing,  now accepts opts.interrupt and deals with port and path so as to match uci/interrupt options changes when making consumers
2019-03-06 16:46:07 -08:00
David Kebler a44e6426d2 0.1.17 incorporate new byte utility location, and logging 2019-02-26 10:46:20 -08:00
David Kebler 54a2c237f3 little cleanup
update dependencies
2019-01-01 19:45:25 -08:00
David Kebler 16cea2ef02 made find function more robust against user abuse like flipping switches fast and continuouly.
changed the reset command to be for pushed reset request and moved old/actual reset to private function of class.
Now when instance connects to interrupt socket it should get a reset command pushed.
2018-07-31 17:11:43 -07:00
David Kebler 95926a892c reorganizes commands
add new server/socket namespace "commands" for server side base module
add new namespace "commands" for consumer side for interrupt version of module
2018-07-31 10:35:53 -07:00
David Kebler a0eb28fdc0 upgrade to esm from @std/esm 2018-05-16 07:19:03 -07:00