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

Mindstorms hub #1

Open
rickjansen-dev opened this issue Oct 27, 2020 · 2 comments
Open

Mindstorms hub #1

rickjansen-dev opened this issue Oct 27, 2020 · 2 comments

Comments

@rickjansen-dev
Copy link

I'd love to add documentation about the mindstorms hub here. If only it would use LWP that would help..

The LWP gatt service is not reported by the device. Compare this output from bluetoothctl in linux from the Technic Hub vs the mindstorms hub:

[bluetooth]# info 90:84:2B:5A:60:33
Device 90:84:2B:5A:60:33 (public)
        Name: Technic Hub
        Alias: Technic Hub
        Appearance: 0x1800
        Paired: no
        Trusted: no
        Blocked: no
        Connected: no
        LegacyPairing: no
        UUID: Vendor specific           (00001623-1212-efde-1623-785feabcd123)
        UUID: Generic Access Profile    (00001800-0000-1000-8000-00805f9b34fb)
        UUID: Generic Attribute Profile (00001801-0000-1000-8000-00805f9b34fb)
        ManufacturerData Key: 0x0397
        ManufacturerData Value:
  00 80 06 00 41 00                                ....A.          
        RSSI: -51
        TxPower: 0
info 38:0B:3C:AE:0B:4F
Device 38:0B:3C:AE:0B:4F (public)
        Name: LEGO Hub 38:0B:3C:AE:0B:4F
        Alias: LEGO Hub 38:0B:3C:AE:0B:4F
        Class: 0x00000804
        Paired: yes
        Trusted: no
        Blocked: no
        Connected: no
        LegacyPairing: no
        UUID: Vendor specific           (00000000-deca-fade-deca-deafdecacaff)
        UUID: Serial Port               (00001101-0000-1000-8000-00805f9b34fb)
        UUID: PnP Information           (00001200-0000-1000-8000-00805f9b34fb)
        Modalias: bluetooth:v0397p0002d0001
        RSSI: -40
        TxPower: 0

The mindstorms hub apparently uses a BT serial port (and does not use BLE for that matter?). I have been looking around to see if someone started on reverse engineering the serial protocol for this, haven't found anything useful really.

@tthiery
Copy link
Member

tthiery commented Nov 18, 2020

Yeah would be open for that.

@rickjansen-dev
Copy link
Author

Here's some more details of the internals of the device: https://github.com/gpdaniels/spike-prime

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

2 participants