Commit Graph

  • 3847ba8711 0.3.3 udpate deps master David Kebler 2020-07-26 15:45:03 -0700
  • 6192601fcf 0.3.2 David Kebler 2020-03-24 15:59:10 -0700
  • ab71ebc518 fix default socket options for mcp230xxi so socket name only need include the word 'interrupt' David Kebler 2020-03-24 15:58:47 -0700
  • 5c57e614e9 0.3.1 mcp230xxi rework added default consumer socket to interrupt process, named pipe by default added commands.interrupt to consumer namespace so pushed packets from interrupt process will be handled. interrupt process could still 'send' the packet if that is prefered but command would be prefaced with 'interrupt.' Fixed the interrupt:reset ready observer to it will get the interrupt ready state correctly. ready state after reset is sent in outgoing packet so action can be taken if something goes wrong. creates an iterrupt name for observers based on passed opts.interrupt.name or 'interrupt' by default. Improved switches example that uses options read from yaml file. Desgined to work with multi intererupt example and i2cbus example. David Kebler 2020-03-24 14:50:50 -0700
  • 890c130f5f 0.3.0 bump version for 3-2020 deployment of light code use observer names supplied by socket update deps v0.3.0 David Kebler 2020-03-15 16:22:35 -0700
  • 915cdbc8ef 0.1.42 David Kebler 2020-02-21 20:24:12 -0800
  • d39bf80d3c 0.1.41 support closed property as dupe to state on interrupt packet David Kebler 2020-02-10 21:37:00 -0800
  • 98a1d14f0e 0.1.40 2300xxi interrupt:reset observer refactor combined ready observer use new method to create incoming consumer observer from gpio interrupt David Kebler 2020-01-23 22:48:28 -0800
  • 6a02b0510e 0.1.39 remove old lport, lpath registers (now done via base) change observers name with new :suffixes David Kebler 2020-01-16 22:03:55 -0800
  • 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 David Kebler 2020-01-09 20:17:32 -0800
  • 9650698683 0.1.37 Added listener for read:i2c which call the chip config function for at least the default configuration can register custom function to also call emits ready:mcp if chip is configured correctly emits log events David Kebler 2019-12-05 14:57:05 -0800
  • d3f905e86c 0.1.36 update deps David Kebler 2019-08-15 14:05:27 -0700
  • 6b137abb71 0.1.33 remove emitting from find (can do local stuff via interrupt processor. update from changes to sockets David Kebler 2019-04-28 10:08:51 -0700
  • d75c431231 0.1.32 update i2c-device dep after fixing socket access David Kebler 2019-04-27 15:53:03 -0700
  • 01a7b8ccf0 0.1.31 update deps, cleanup logging David Kebler 2019-04-26 11:21:01 -0700
  • 6a0b33d2b3 0.1.28 David Kebler 2019-04-20 16:44:57 -0700
  • 7e0327ebf0 removed removed this.pins to revert back to using this.commands.pins emit locally on interrupt David Kebler 2019-04-20 16:44:32 -0700
  • 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 David Kebler 2019-04-11 21:15:26 -0700
  • d28d05b2aa 0.1.26 update uci socket David Kebler 2019-03-24 11:46:13 -0700
  • 73de63a32d 0.1.25 Set Port B pins aslo to outputs by default David Kebler 2019-03-22 18:03:16 -0700
  • c497e0fd27 0.1.24 bump version for @uci-utils/byte David Kebler 2019-03-22 11:24:57 -0700
  • 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) David Kebler 2019-03-16 16:45:29 -0700
  • b987c446a4 0.1.22 fix chip config bug for 23008, for interrupt find packet pass on all props from interrupt. David Kebler 2019-03-11 14:52:22 -0700
  • 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 David Kebler 2019-03-08 09:09:48 -0800
  • f6b40be73b 0.1.20 make sure options don't mutuate, also that if pin is string it gets cast to number David Kebler 2019-03-07 07:48:16 -0800
  • 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 David Kebler 2019-03-06 16:45:53 -0800
  • 7ede4d93b5 0.1.18 update i2c-device which has a fixed issue for the device address number David Kebler 2019-02-26 11:58:59 -0800
  • a44e6426d2 0.1.17 incorporate new byte utility location, and logging David Kebler 2019-02-14 14:01:30 -0800
  • 54a2c237f3 little cleanup update dependencies David Kebler 2019-01-01 19:45:25 -0800
  • 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. David Kebler 2018-07-31 17:11:43 -0700
  • 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 David Kebler 2018-07-31 10:29:11 -0700
  • 1497491d9c moved to master branch after copying master to V1 removed V1 stuff David Kebler 2018-05-28 15:14:30 -0700
  • a0eb28fdc0 upgrade to esm from @std/esm David Kebler 2018-05-16 07:19:03 -0700
  • 9652041671 added mcp interrupt extension class that adds functionality to handle the mcp port interrupt using and external socket David Kebler 2018-03-04 15:13:55 -0800
  • 0de3dfd825 change module name and loading/main update interrupt pin processing for interrupt module changes David Kebler 2018-03-02 08:41:06 -0800
  • 31c15c2230 add no pullup input update interrupt processing add index to src/ David Kebler 2018-03-02 08:30:54 -0800
  • cb1977a8ea add mcp interrupt processing commands, find, reset David Kebler 2018-02-23 21:16:35 -0800
  • 5833f42464 removed the two default mcp sockets. Make them as needed instead. Now just pass i2c bus options through to i2c-device. updated all packages. David Kebler 2018-02-23 13:44:40 -0800
  • 342c6f98d2 improve refactor socket options, add _state to module export and bind all functions in pins and chip David Kebler 2018-02-17 18:25:27 -0800
  • 3c21bd66da refactored to use new uci-i2c-device packet module David Kebler 2018-02-14 19:01:08 -0800
  • da862a7c1a remove busSend now using base's send and sockets await send add chip option chip17 when using 230017 add relay example David Kebler 2018-02-13 18:18:03 -0800
  • f605508982 fixed chip.cfg so it sets BANK=1 correctly added pin.status to read a pin, defaults to gpio regsiter if no reg: given in packet for others like olat David Kebler 2018-02-11 19:56:44 -0800
  • 851b73c7f5 refactored pin config and pin state commands now handle various pins: property formats David Kebler 2018-02-11 11:41:45 -0800
  • 8a9950459a basic commands working configure chip ack chip cfg pin change state of pin (on,off,toggle) David Kebler 2018-02-10 15:28:51 -0800
  • 71bd508a0c first commit of packet based mcp code. incoming packet interpreted and sent on to bus listens for response and processes and sends back to requestor Working pin.test example David Kebler 2018-02-08 09:19:46 -0800
  • 35605352bf fix bad comment David Kebler 2017-10-18 17:34:34 -0700
  • a46e9501eb return boolean for read pin instead of pin number David Kebler 2017-10-17 09:38:46 -0700
  • 6dcd4da327 updated David Kebler 2017-06-23 11:03:50 -0700
  • a7ea2e2372 fix toggleall issue David Kebler 2017-06-02 00:11:31 -0700
  • c83c0914b7 aggreate class with event emitter, add bubble up event emitter from interrupts to class David Kebler 2017-05-30 13:22:45 -0700
  • 095a11064e improved sample demo, added interrrupt demo, and added mocha hooks to test suite, added function to determine which pin of port fired the interrupt, added pin id to port pins David Kebler 2017-05-28 21:44:35 -0700
  • 02b291811d improved testing, significant start to readme, added sample demo David Kebler 2017-05-28 00:00:07 -0700
  • f428abc394 refactored port/pin simplified, refactored mcp config writes to async/await, new read/write mocha test David Kebler 2017-05-26 21:00:04 -0700
  • 1a97705ab5 refactoring to include port/pin library. Moved some examples to become tests within repo David Kebler 2017-05-26 08:14:29 -0700
  • 0fb62e2db1 added port read and write methods to mcp class David Kebler 2017-05-24 21:15:54 -0700
  • 832a507204 refactoring using async/await and new interrupt class code based on pigpio. Handler keeps proper scope. Interrupts working!!! David Kebler 2017-05-20 22:23:24 -0700
  • 1d659aeb58 start of conversion to async/await David Kebler 2017-05-20 17:13:58 -0700
  • 9c88903d42 start of conversion to async/await David Kebler 2017-05-20 17:13:14 -0700
  • 15e9c2fcd2 update packages to registry from git David Kebler 2017-05-15 12:42:20 -0700
  • 7e3e92db14 add documentation David Kebler 2017-05-15 11:01:29 -0700
  • ecb455e7ea add start method fix pinRead for port B David Kebler 2017-02-21 21:40:09 -0800
  • 3f0d0ad407 fully working control example with interrupts David Kebler 2017-02-02 01:41:42 -0800
  • cd52c3ffab trying to fix gpio sync issue David Kebler 2017-02-01 22:51:48 -0800
  • 39b0e43d56 working interrupt with both ports David Kebler 2017-01-31 23:28:09 -0800
  • e333378c36 operation interrupt processing from mcp to rpi and resetting David Kebler 2017-01-27 21:05:43 -0800
  • ba2db815e5 working on interrupt init David Kebler 2017-01-24 14:46:01 -0800
  • 8368b5d3fe updating ignored David Kebler 2017-01-21 12:22:47 -0800
  • 120ba35cd3 no need to test for existence of opts.interrupt David Kebler 2017-01-21 12:22:18 -0800
  • 4e4a43a099 adding interrupt class for gpio pins on RPi and the like David Kebler 2017-01-18 20:31:53 -0800
  • 1c7af6009f last cleanup after uci-dev split out David Kebler 2017-01-16 22:44:10 -0800
  • 50cc30069a using uci-dev now David Kebler 2017-01-16 21:59:20 -0800
  • f93ab1f994 adapt for new uci-dev package and utility changes David Kebler 2017-01-16 21:41:42 -0800
  • 13097c8d22 read write tests David Kebler 2017-01-16 16:26:28 -0800
  • 860b38b621 fix super calls to write and promise chains David Kebler 2017-01-16 00:04:24 -0800
  • f724ef775e remove queue wrap of bus r/w David Kebler 2017-01-15 18:47:43 -0800
  • 635d7fc35e refactor bus and device class, testing of i2c r/w David Kebler 2017-01-15 17:59:50 -0800
  • 34b951f528 mcp test edits David Kebler 2017-01-14 00:04:34 -0800
  • 4dca2803ac git subrepo pull uci-mcp David Kebler 2017-01-13 20:57:35 -0800
  • 041204dabd refactoring into unified uci library David Kebler 2017-01-13 19:51:55 -0800
  • 4c08f12300 initial David Kebler 2017-01-12 20:05:20 -0800