From c28a4e84940f50799d88c599d0f30478ff617f3b Mon Sep 17 00:00:00 2001 From: Andrew Date: Wed, 20 Jan 2021 10:09:35 -0800 Subject: [PATCH 1/2] Add CriticalErrorCode_TransmitFailed to docs.md --- docs/docs.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs.md b/docs/docs.md index 6df00a3..132bd78 100644 --- a/docs/docs.md +++ b/docs/docs.md @@ -569,6 +569,7 @@ post on the meshtastic.discourse.group and we'll try to help. | UBloxInitFailed | 5 | We failed while configuring a UBlox GPS | | NoAXP192 | 6 | This board was expected to have a power management chip and it is missing or broken | | InvalidRadioSetting | 7 | The channel tried to set a radio setting which is not supported by this chipset, radio comms settings are now undefined. | +| TransmitFailed | 8 | Radio transmit hardware failure. We sent data to the radio chip, but it didn't reply with an interrupt. | From f95495987f8ff6569d73b46924134b7682878efa Mon Sep 17 00:00:00 2001 From: Andrew Mark Date: Wed, 20 Jan 2021 10:34:36 -0800 Subject: [PATCH 2/2] Add CriticalError_TransmitFailed to protobufs --- .vscode/settings.json | 3 +++ mesh.proto | 5 +++++ 2 files changed, 8 insertions(+) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..cad7657 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,3 @@ +{ + "cmake.configureOnOpen": false +} \ No newline at end of file diff --git a/mesh.proto b/mesh.proto index 066b547..f159209 100644 --- a/mesh.proto +++ b/mesh.proto @@ -777,6 +777,11 @@ enum CriticalErrorCode { // The channel tried to set a radio setting which is not supported by this chipset, // radio comms settings are now undefined. InvalidRadioSetting = 7; + + // Radio transmit hardware failure. We sent data to the radio chip, but it didn't + // reply with an interrupt. + TransmitFailed = 8; + } /**