111 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
f9cea9a6bf Yay, port object is no longer a thing 2019-12-08 22:59:25 -08:00
a02249f696 Implemented basic lights, device busy-ness 2019-12-08 22:57:44 -08:00
d382c3d9f2 Basic ColorDistanceSensor and TachoMotor handling 2019-12-08 22:06:26 -08:00
93a1369e84 Basic code for passing messages through to the device 2019-12-08 18:07:46 -08:00
8ffc60b924 attachedDevices now a map 2019-12-07 13:19:16 -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
5a3211a560
Merge pull request #54 from aileo/attach
Emit attach event any case
2019-12-03 09:57:56 -08:00
0d076aa7e1
Merge pull request #52 from aileo/hub-disconnect
Add doc to hub's disconnect event
2019-12-03 09:56:56 -08:00
Michal Szafranski
0e121a4f92 Control+ hub improvements 2019-11-24 10:53:16 +01:00
Leo Bonnargent
55bcafa637 Emit attach event any case 2019-11-20 14:42:23 +01:00
Leo Bonnargent
abd21a88b2 Add doc to hub's disconnect event 2019-11-18 09:14:32 +01:00
Michal Szafranski
31b8eb6ec8 fixed mac readout 2019-11-15 19:56:30 +01:00
1d885ff244
Merge pull request #48 from aileo/gethubbymac
Add PoweredUP#getConnectedHubByPrimaryMACAddress
2019-11-13 16:08:28 -08:00
e96b7bd47d Added RSSI back in, as reported by the hub 2019-11-13 16:05:23 -08:00
Leo Bonnargent
b88d282ae2 Add PoweredUP#getConnectedHubByPrimaryMACAddress 2019-11-14 00:26:43 +01: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
49f43f5dff Unified 9.6 max voltage values 2019-11-13 22:49:29 +01: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
a9fe059b3c Added missing device types 2019-11-12 09:08:37 +01:00
Michal Szafranski
8346988604 fix device type read regression 2019-11-12 09:07:46 +01:00
Michal Szafranski
522a8c2e23 Simplify enum name maps 2019-11-12 09:07:00 +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
f43863bd51 typo in voltage value 2019-11-12 08:47:34 +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
3dc1076a88
Merge pull request #36 from nutki/pr-4
allow switching to mode 0 in Hub.subscribe()
2019-11-10 12:30:40 -08:00
73dd34449a
Merge pull request #35 from nutki/pr-3
Fix and simplify tilt sensor reading
2019-11-10 12:30:05 -08:00
be132bd9e8
Merge pull request #34 from nutki/pr-2
allow case insensitive port names
2019-11-10 12:23:43 -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
e179be89fb Merge branch 'master' of github.com:nathankellenicki/node-poweredup
All checks were successful
continuous-integration/drone/push Build is passing
2019-11-10 12:15:31 -08:00
e3b65c07b6 Removed noble-mac dependency, fixed connection issues when manufacturerData doesn't exist 2019-11-10 12:15:26 -08:00