ble-lwp3-service/protocol: add enums for hub types

This is the full list of hub types.
This commit is contained in:
David Lechner
2021-12-27 12:38:51 -06:00
parent 0759a0878f
commit 5f7a63fe5a
2 changed files with 55 additions and 1 deletions
+3 -1
View File
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// Copyright (c) 2020 The Pybricks Authors
// Copyright (c) 2020-2021 The Pybricks Authors
// Ref: https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#lego-hub-boot-loader-service
@@ -22,6 +22,8 @@ export const MaxMessageSize = 20;
/**
* LEGO Powered Up Hub IDs
*
* This is the subset of hubs that actually support this bootloader protocol.
*/
export enum HubType {
MoveHub = 0x40,