From 88ace0f66f17c400e696c173e856944810279b7e Mon Sep 17 00:00:00 2001 From: David Young Date: Sun, 9 May 2021 19:43:59 +0100 Subject: [PATCH] Rename events enum from AlertPayload to Event --- src/consts.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/consts.ts b/src/consts.ts index eb54c23..c61a680 100644 --- a/src/consts.ts +++ b/src/consts.ts @@ -445,7 +445,7 @@ export enum AlertPayload { * @param {number} ATTACHED_VIRTUAL_IO 0x02 * @description https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#event */ -export enum AlertPayload { +export enum Event { DETACHED_IO = 0x00, ATTACHED_IO = 0x01, ATTACHED_VIRTUAL_IO = 0x02,