Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fernsteuerung 88010 - Lego wireless hexadecimale Steuercodes #2

Open
RalfStehle opened this issue Feb 10, 2023 · 0 comments
Open

Fernsteuerung 88010 - Lego wireless hexadecimale Steuercodes #2

RalfStehle opened this issue Feb 10, 2023 · 0 comments

Comments

@RalfStehle
Copy link
Owner

(siehe: LEGO Wireless Protocol 3.0.00)

Fernsteuerung 88010

Nach Bluetooth-Connect muss man über Notifications der Fernsteuerung den Befehl geben, Tastenaktionen zurückzusenden. Sonst bekommt man keine Nachricht bei Betätigung einer Taste.
(siehe 3.3. Message Types - Hub Attached I/O in der offiziellen Dokumentation)

{0x3, 0x00, 0x04} Diesen Code senden um Messages zu aktivieren


Codes der Fernsteuerung auswerten:

Byte 1: Anzahl der Bytes
Byte 2: Hub-ID, aktuell immer 00
Byte 3: Message Typ: Hub Attached I/O = 04
Byte 4: Port: 00=A, 01=B
Byte 5: Attached or not (00 or 01)
Byte 6: 02 = Train Motor 88002, 08 = LED Licht 88005, 4B = Technic Mittelgroßer Winkelmotor 88018, 2E = Technic Großer Motor 88013

Beispiele:
0F 00 04 00 01 02 00 00 00 00 00 00 00 00 00 verbunden, A, Motor 0F 00 04 01 01 02 00 00 00 00 00 00 00 00 00 verbunden, B, Motor

0F 00 04 00 01 08 00 00 00 00 00 00 00 00 00 verbunden, A, LED
0F 00 04 01 01 08 00 00 00 00 00 00 00 00 00 verbunden, B, LED

05 00 04 00 00 getrennt, A
05 00 04 01 00 getrennt, B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant