Change state order to send node info before config (#1606)

* Change state order to send node info before config

* Kill groups
This commit is contained in:
Ben Meadors
2022-08-07 16:03:58 -05:00
committed by GitHub
parent de47cc55a0
commit 591ae7a803
2 changed files with 33 additions and 37 deletions

View File

@@ -22,10 +22,9 @@ class PhoneAPI
enum State {
STATE_SEND_NOTHING, // Initial state, don't send anything until the client starts asking for config
STATE_SEND_MY_INFO, // send our my info record
STATE_SEND_GROUPS, // new in 1.3?
STATE_SEND_NODEINFO, // states progress in this order as the device sends to to the client
STATE_SEND_CONFIG, // Replacement for the old Radioconfig
STATE_SEND_MODULECONFIG, // Send Module specific config
STATE_SEND_NODEINFO, // states progress in this order as the device sends to to the client
STATE_SEND_COMPLETE_ID,
STATE_SEND_PACKETS // send packets or debug strings
};