194 Commits

Author SHA1 Message Date
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
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
00e6840c32 fix tilt sensor readout in wedo hub as well 2019-11-03 10:18:54 +01:00
Michal Szafranski
98f1ca84b0 allow switching to mode 0 2019-11-02 17:57:04 +01:00
Michal Szafranski
c7a5efcc78 Fix and simplify tilt sensor reading 2019-11-02 17:41:11 +01:00
Michal Szafranski
0b1c5008f3 allow case insensitive port names 2019-11-02 17:39:50 +01:00
Michal Szafranski
05daa648cb allow RGB led control for the duplo train hub 2019-11-02 17:29:46 +01:00
Shane Church
a1026547cf Reverted accidental formatting changes to wedo2smarthub.ts 2019-10-13 08:45:55 -05: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
9a9d3ee4d5 Fixed Technic Control+ hub when used with web bluetooth
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-09 10:18:20 -07:00
17a64c51dd Fixed web bluetooth
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2019-08-07 22:00:49 -07: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
348037a2ab setAbsolutePosition on Control+ motors
All checks were successful
continuous-integration/drone/push Build is passing
2019-08-07 12:52:56 -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