246 Commits

Author SHA1 Message Date
2fc1622c25
Merge pull request #169 from Debenben/tiltSensorRename
Rename tiltCount to impactCount for consistency
2024-04-25 17:08:29 -07:00
505bbdc648
Merge pull request #158 from cafjs/master
Fix for #157 (and possibly #131)
2024-04-25 17:05:54 -07:00
69ee57e6ff
Merge pull request #164 from Debenben/mario-pull
Add missing Mario hub to poweredup-browser
2024-04-25 17:02:41 -07:00
e0ae64e7f3
Merge pull request #174 from Debenben/RemoteControlButton
fix #173 RemoteControlButton documentation
2024-04-25 17:00:15 -07:00
Nathan Kellenicki
abecb5385b Updated
Some checks failed
continuous-integration/drone/push Build is failing
2024-04-25 16:38:57 -07:00
bene
2b03176509 fix #173 RemoteControlButton documentation 2022-12-18 13:59:10 +01:00
bene
d117fe10ff Rename tiltCount to impactCount for consistency 2022-10-08 14:09:41 +02:00
bene
3bba7c7e73 Add missing Mario hub to poweredup-browser
fix for issue #152
2022-08-14 10:17:31 +02:00
Antonio Lain
a613e9956d Fix for #131 2022-05-27 14:01:57 -07:00
Nathan Kellenicki
e4c68e5749 Another discovery fix
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-01-20 22:17:46 -08:00
Nathan Kellenicki
72ef125d4f Connection and discovery improvements
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-01-19 20:03:06 -08:00
Nathan Kellenicki
a8a27eaeaa Expose connection status
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-01-18 21:31:55 -08:00
Nathan Kellenicki
ce0f4509be Disconnect fix
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-01-18 21:17:22 -08:00
Nathan Kellenicki
e877dbf65e Fixed Raspberry Pi discovery 2022-01-18 20:45:09 -08:00
Nathan Kellenicki
32fe39fd8c Merge branch 'master' of github.com:nathankellenicki/node-poweredup 2022-01-18 17:52:25 -08:00
fe80b0fd81
Merge pull request #144 from Debenben/commandFeedback
Command feedback
2022-01-18 17:43:52 -08:00
Nathan Kellenicki
a833732f8c Revised distance calculation 2022-01-18 17:41:37 -08:00
Nathan Kellenicki
e6c575a0da Merge branch 'master' of github.com:nathankellenicki/node-poweredup 2022-01-18 17:34:57 -08:00
322b269e5a
Merge pull request #149 from Debenben/colordistanceSensor
change colordistancesensor distance calculation
2022-01-18 17:34:51 -08:00
Nathan Kellenicki
f0169117b5 Merge branch 'master' of github.com:nathankellenicki/node-poweredup 2022-01-18 17:27:06 -08:00
a0279a1fb6
Merge pull request #146 from Debenben/tiltSensor
add workaround for wrong tilt orientation
2022-01-18 17:26:47 -08:00
7b1795c967
Merge pull request #147 from Debenben/tiltSensorExtra
add impact count mode to tiltsensor
2022-01-18 17:10:03 -08:00
de6f60b42c
Merge pull request #150 from Debenben/colordistanceSensorExtra
add additional modes to colordistancesensor
2022-01-18 17:09:07 -08:00
Nathan Kellenicki
48a8aea80a Fixed Bluetooth discovery until macOS Monterey 2022-01-18 17:02:35 -08:00
bene
0877d068a5 add additional modes to colordistancesensor 2022-01-09 16:48:25 +01:00
bene
7782d64003 change colordistancesensor distance calculation
ignores inaccurate distance values for small distances and
avoids negative values for distance=0 and partial >0
2022-01-09 16:32:55 +01:00
bene
4cc92c6d37 add impact count mode to tiltsensor 2022-01-09 15:59:15 +01:00
bene
d51851d058 add workaround for wrong tilt orientation 2022-01-09 15:25:21 +01:00
bene
02215ccf40 handle busy/full feedback message
commands with startup and completion information changed from
0x11 (= execute immediately + request feedback) to
0x01 (= buffer if neccessary + request reedback)
can return feedback 0x10 = busy/full. This feedback should not resolve
the buffered commands.
2022-01-09 13:55:18 +01:00
bene
07edc32a8a parse multiple feedback message correctly
Using a virtual port you get feedback for the virtual port and its
componentes in one message.

Change suggested by @aileo
https://github.com/nathankellenicki/node-poweredup/issues/118#issuecomment-754911527
2022-01-09 13:47:15 +01:00
bene
f570afba08 update enum documentation 2022-01-09 13:37:26 +01:00
0577491a8c Technic 3x3 Light Matrix support 2021-09-14 21:13:32 -07:00
7b1fdb42e7 Support for Technic Small Hub and Technic Small Angular Motor 2021-09-14 19:22:54 -07:00
e3259f4ba7 Support for Technic Small Hub and Technic Small Angular Motor 2021-09-14 18:21:31 -07:00
2e43ee7cf0 Fixed Duplo color sensor, color sensor output on all sensors
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-08-29 20:07:10 -07:00
Denis Pushkarev
fbf5b5ccf3 Fix path for constants after renaming it 2021-06-08 20:48:30 +03:00
David Young
88ace0f66f
Rename events enum from AlertPayload to Event 2021-05-09 19:43:59 +01:00
7e8eaf6598
Merge pull request #121 from Debenben/patch-2
possible fix for #118, always return resolve
2021-04-05 21:12:33 -07:00
08489819ec Fixed Mario initializer, Technic and Mindstorms angular motors
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2021-04-05 21:08:37 -07:00
debenben
a51aac1066 possible fix for #118, always return resolve
* changed _finished pointer to array to not overwrite callbacks
* all completed and discarded commands get resolved
* 0x10 bitset exists in documentation only? -> not implemented
2020-12-30 20:54:24 +01:00
Debenben
01d229823e
fix issue #118 (partially)
fix wrong constant, should be 0x82 like in previous version.
2020-12-29 16:31:45 +01:00
df4ea5dd86 Mario gesture support 2020-12-23 10:24:59 -08:00
5094c8269f Mario accelerometer support 2020-12-23 10:15:57 -08:00
e88cec2635 Added buffer shim to webpack
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2020-12-22 17:35:48 -08:00
e016f14059 Removed ancient temperature subscription
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-22 16:42:41 -08:00
38bdea2642 Merge branch 'master' of https://gitea.kellenicki.com/nkellenicki/node-poweredup into feature/mario
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-22 15:44:25 -08:00
2dec413e94
Merge pull request #111 from jncraton/lpf2hub-consts
All checks were successful
continuous-integration/drone/push Build is passing
Replace magic numbers with constants
2020-12-22 15:20:02 -08:00
d1fe3a49e4 Fixed Typescript defs
All checks were successful
continuous-integration/drone/push Build is passing
2020-12-22 15:17:59 -08:00
Jon Craton
7bc9603952 Replace magic numbers with constants
This replaces several magic numbers in the lpf2hub implementation with constants that were already present in src/consts.ts. This should enhance readability and maintainability. Comments that were made redundant by including the constant names have been removed.

There are still quite a few magic numbers in here that could be replaced, particularly in the byte arrays used to build messages, but I didn't attempt to clean those up.
2020-10-16 15:05:01 -04:00
7bd7d3ce6d Mario support 2020-10-02 10:14:00 -07:00