LEGO / lego-ble-wireless-protocol-docs

This repository contains information about LEGO Hubs (name, battery level, etc.) and to interact with any sensors and motors connected to it.
https://lego.github.io/lego-ble-wireless-protocol-docs
MIT License
334 stars 43 forks source link

Missing , Technic Hub, and new Motor specific data, related to CONTROL+ #10

Open marcrupprath opened 4 years ago

marcrupprath commented 4 years ago

Hello all, i wish you a happy ew year , even if it is a litte bit too early ;-) Most of all: Many thanks for publishing the documentation.

Thinks i have noticed:According from version 3.0.0 of the documentation

#1: Section 2 - Advertising:

On Scan i reveive the following Advertising information: Packet received from: 90:84:2B:4A:3A:0C PAYLOAD: 31 bytes 02-01-06-11-07-23-D1-BC-EA-5F-78-23-16-DE-EF-12-12-23-16-00-00-09-FF-97-03-00-80-06-00-61-00

128-Bit UUID:: 00001623-1212-EFDE-1623-785FEABCD123 MAN SPEC DATA: 97-03-00-80-06-00-61-00

It seems, that not all bytes (Technic Hub specific) are explained in doc ?!

#2: 3.8.1. Hub Attached I/O Message Format

After having set notifcation on characteristic, i got the following data set:

--> Specific to hardware Ports A-D:

Data revieved: 0F-00-04-00-01-2F-00-00-10-00-00-00-10-00-00 Data revieved: 0F-00-04-01-01-2F-00-00-10-00-00-00-10-00-00 Data revieved: 0F-00-04-02-01-2E-00-00-10-00-00-00-10-00-00 Data revieved: 0F-00-04-03-01-2E-00-00-10-00-00-00-10-00-00

2F,2E is meant for new technic L and XL Motor, not listed in doc ?!

--> A number of internal devices connected to internal ports

Data revieved: 0F-00-04-32-01-17-00-00-00-00-10-00-00-00-10 Data revieved: 0F-00-04-3B-01-15-00-00-00-00-10-00-00-00-10 Data revieved: 0F-00-04-3C-01-14-00-00-00-00-10-00-00-00-10 Data revieved: 0F-00-04-3D-01-3C-00-00-00-00-10-00-00-00-10 Data revieved: 0F-00-04-60-01-3C-00-01-00-00-00-01-00-00-00 Data revieved: 0F-00-04-61-01-39-00-01-00-00-00-01-00-00-00 Data revieved: 0F-00-04-62-01-3A-00-01-00-00-00-01-00-00-00 Data revieved: 0F-00-04-63-01-3B-00-01-00-00-00-01-00-00-00 Data revieved: 0F-00-04-64-01-36-00-01-00-00-00-01-00-00-00

--> Most of the devices / Functions are not listed ?!

Please add missing informations in next release and please explain in more detail the meaning of the values

Thanks in advance and nice weekend.

Happy new year ;-)

vincentbriglia commented 4 years ago

hi @marcrupprath we will take a look at this, we are aware that the documentation is a little outdated.