Rename events enum from AlertPayload to Event

This commit is contained in:
David Young 2021-05-09 19:43:59 +01:00 committed by GitHub
parent dbe7f1999b
commit 88ace0f66f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -445,7 +445,7 @@ export enum AlertPayload {
* @param {number} ATTACHED_VIRTUAL_IO 0x02 * @param {number} ATTACHED_VIRTUAL_IO 0x02
* @description https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#event * @description https://lego.github.io/lego-ble-wireless-protocol-docs/index.html#event
*/ */
export enum AlertPayload { export enum Event {
DETACHED_IO = 0x00, DETACHED_IO = 0x00,
ATTACHED_IO = 0x01, ATTACHED_IO = 0x01,
ATTACHED_VIRTUAL_IO = 0x02, ATTACHED_VIRTUAL_IO = 0x02,