From 6d844b78e3d206c388eb289d57e7726177354b1e Mon Sep 17 00:00:00 2001 From: David Lechner Date: Mon, 1 May 2023 12:44:34 -0500 Subject: [PATCH] ble-pybricks-service/protocol: add UserProgramMultiMpy6Native6p1 This adds a new flag from Pybricks Profile v1.3.0 for documentation purposes. We currently don't support native modules in Pybricks Code so we aren't using this for now. --- src/ble-pybricks-service/protocol.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/ble-pybricks-service/protocol.ts b/src/ble-pybricks-service/protocol.ts index 29bb9918..b6f37739 100644 --- a/src/ble-pybricks-service/protocol.ts +++ b/src/ble-pybricks-service/protocol.ts @@ -269,11 +269,19 @@ export enum HubCapabilityFlag { */ HasRepl = 1 << 0, /** - * Hub supports {@link FileFormat.MultiMpy6} + * Hub supports {@link FileFormat.MultiMpy6} (bytecode only, no native modules). * * @since Pybricks Profile v1.2.0 */ UserProgramMultiMpy6 = 1 << 1, + + /** + * Hub supports {@link FileFormat.MultiMpy6} that include native modules + * with MPY ABI v6.1. + * + * @since Pybricks Profile v1.3.0 + */ + UserProgramMultiMpy6Native6p1 = 1 << 2, } /** Supported user program file formats. */