63 Commits

Author SHA1 Message Date
6a7c4899b4 Added more motor types
All checks were successful
continuous-integration/drone/push Build is passing
2019-12-15 14:07:43 -08:00
1793eb05e0 Removing commented code 2019-12-10 08:21:56 +09:00
5c03e5c3b6 More refactoring 2019-12-10 08:15:21 +09:00
7fdc754084 Start of hub refactor 2019-12-10 07:23:33 +09:00
a02249f696 Implemented basic lights, device busy-ness 2019-12-08 22:57:44 -08:00
93a1369e84 Basic code for passing messages through to the device 2019-12-08 18:07:46 -08:00
4af1d3d69b Added autosubscribe when adding eventlisteners 2019-12-06 17:31:12 -08:00
d453fe52fb Basic implementation of BasicMotor types 2019-12-06 11:31:56 -08:00
138e1cc041
Merge pull request #57 from nutki/pr-11
Control+ hub improvements
2019-12-03 22:57:40 -08:00
Michal Szafranski
0e121a4f92 Control+ hub improvements 2019-11-24 10:53:16 +01:00
Michal Szafranski
31b8eb6ec8 fixed mac readout 2019-11-15 19:56:30 +01:00
e96b7bd47d Added RSSI back in, as reported by the hub 2019-11-13 16:05:23 -08:00
3a816b9f11 Refactered connection on lpf2hub 2019-11-13 15:04:05 -08:00
Leo Bonnargent
89ad6fe39b Use primaryMACAddress naming for consistency 2019-11-13 23:30:45 +01:00
Leo Bonnargent
655b21c0e9 Merge branch 'master' into macaddress 2019-11-13 23:26:02 +01:00
64e5743893
Merge pull request #45 from nutki/pr-8
Extended port information requests
2019-11-13 14:16:02 -08:00
Michal Szafranski
e72f3f72f5 improved port information switching 2019-11-13 22:47:42 +01:00
Léo Bonnargent
1d575cf63c
code optimization from @nutki
Co-Authored-By: Michał Szafrański <szafranski@gmail.com>
2019-11-13 22:13:49 +01:00
Leo Bonnargent
7c23bd437f Better MAC address paring
- as per @dlech suggestion
2019-11-13 21:38:59 +01:00
Leo Bonnargent
e65c8eb71e Merge branch 'master' into macaddress 2019-11-13 21:27:04 +01:00
Leo Bonnargent
abbbd218ee Add mac address to hub/lpf2hub
- should close nathankellenicki/node-poweredup/issues/46
2019-11-13 20:58:20 +01:00
Michal Szafranski
5f13c98529 Moved toBin and toHex to utils 2019-11-12 20:41:18 +01:00
Michal Szafranski
3ab3f97122 report hw/sw versions for discovered devices 2019-11-12 09:09:02 +01:00
Michal Szafranski
8346988604 fix device type read regression 2019-11-12 09:07:46 +01:00
Michal Szafranski
8e144c8311 more verbose port information output 2019-11-12 09:06:42 +01:00
Michal Szafranski
243d65699f Extended port information requests 2019-11-12 09:03:38 +01:00
Michal Szafranski
545e8ee177 remove unused _padMessage 2019-11-12 08:47:24 +01:00
Michal Szafranski
d2f71aa993 Voltage readout added for duplo train and fixed for PUP remote 2019-11-12 08:47:05 +01:00
0fbd27d41f Fixed bug with retrieving hardware versions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-11-11 17:03:54 -08:00
8ff0664641 Made Control+ tilt and accelerometer behave like normal devices 2019-11-11 11:16:49 -08:00
6315f54a23 Fixed double disconnect bug, added hardware versions
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-11-10 20:40:59 -08:00
491a8ab340 Merge branch 'pr-3' of github.com:nutki/node-poweredup 2019-11-10 12:26:57 -08:00
2797081091
Merge pull request #33 from nutki/pr-1
allow RGB led control for the duplo train hub
2019-11-10 12:19:48 -08:00
77c470f616
Merge pull request #31 from churchs19/master
Updating noble dependency to @abandonware/noble for Node >= 10.0 support
2019-11-10 12:14:39 -08:00
Michal Szafranski
172c1b826c Firmware version is encoded with BCD 2019-11-05 22:08:33 +01:00
Michal Szafranski
1e40bdd537 Fix setLEDColor regression 2019-11-03 14:44:44 +01:00
Michal Szafranski
c7a5efcc78 Fix and simplify tilt sensor reading 2019-11-02 17:41:11 +01:00
Michal Szafranski
05daa648cb allow RGB led control for the duplo train hub 2019-11-02 17:29:46 +01:00
Shane Church
e5bba46b80 Updated references to @abandonware/noble since noble is no longer maintained
Allows building on Node.js >= 10
2019-10-13 08:38:58 -05:00
732c3626b5 Added ability to reset absolute zero
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-07 13:22:57 -07:00
6651b79188 Support for tilt, accel, temp on Control+ Hub
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-07 11:04:51 -07:00
373737ddaf Port info debug reporting
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-06 17:48:53 -07:00
cc1571dc26 Added initial support for LEGO Technic CONTROL+
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-06 14:52:14 -07:00
7b61b6981a Updated for latest Boost Move Hub firmware
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-02 21:11:31 -07:00
2c08e8b3ee Fixed typescript errors 2019-04-25 21:57:16 -07:00
e959230a22 Correct voltage and current readings 2019-04-25 21:48:10 -07:00
2e6d2b0dbc Library will now throw error if your firmware is too old
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2019-04-15 10:46:32 -07:00
5ad9bc5748 Now supports PUP Hub firmware 1.1.00.0004 - rotation works on Boost tacho motor. Also manual setup of virtual ports.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2019-04-12 15:14:00 -07:00
57ceb4cbcc Fixed race condition on second device 2019-02-07 15:35:48 -08:00
f9b99e0481 Fully abstracted out to BLEDevice 2019-02-06 09:54:28 -08:00