From b3fac71a8d60422a99cb7068ae9b1c505383ced3 Mon Sep 17 00:00:00 2001 From: Ben Meadors Date: Thu, 16 Feb 2023 12:52:03 -0600 Subject: [PATCH] Missed some stuff --- src/mesh/PhoneAPI.cpp | 2 ++ src/mesh/PhoneAPI.h | 1 + 2 files changed, 3 insertions(+) diff --git a/src/mesh/PhoneAPI.cpp b/src/mesh/PhoneAPI.cpp index c69694196..cdda05913 100644 --- a/src/mesh/PhoneAPI.cpp +++ b/src/mesh/PhoneAPI.cpp @@ -121,6 +121,7 @@ bool PhoneAPI::handleToRadio(const uint8_t *buf, size_t bufLength) * STATE_SEND_NODEINFO, // states progress in this order as the device sends to the client STATE_SEND_CONFIG, STATE_SEND_MODULE_CONFIG, + STATE_SEND_METADATA, STATE_SEND_COMPLETE_ID, STATE_SEND_PACKETS // send packets or debug strings */ @@ -366,6 +367,7 @@ bool PhoneAPI::available() case STATE_SEND_CHANNELS: case STATE_SEND_CONFIG: case STATE_SEND_MODULECONFIG: + case STATE_SEND_METADATA: case STATE_SEND_COMPLETE_ID: return true; diff --git a/src/mesh/PhoneAPI.h b/src/mesh/PhoneAPI.h index cc219b690..de7f3532d 100644 --- a/src/mesh/PhoneAPI.h +++ b/src/mesh/PhoneAPI.h @@ -26,6 +26,7 @@ class PhoneAPI STATE_SEND_CHANNELS, // Send all channels STATE_SEND_CONFIG, // Replacement for the old Radioconfig STATE_SEND_MODULECONFIG, // Send Module specific config + STATE_SEND_METADATA, STATE_SEND_COMPLETE_ID, STATE_SEND_METADATA, STATE_SEND_PACKETS // send packets or debug strings