From 8af225b99808cb024cf7b485b74756a006c30cab Mon Sep 17 00:00:00 2001 From: andrekir Date: Sun, 6 Oct 2024 08:36:22 -0300 Subject: [PATCH] feat: add new remote admin routing errors --- app/src/main/java/com/geeksville/mesh/model/Message.kt | 2 ++ app/src/main/res/values/strings.xml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/src/main/java/com/geeksville/mesh/model/Message.kt b/app/src/main/java/com/geeksville/mesh/model/Message.kt index fe791edf..9e82a180 100644 --- a/app/src/main/java/com/geeksville/mesh/model/Message.kt +++ b/app/src/main/java/com/geeksville/mesh/model/Message.kt @@ -21,6 +21,8 @@ val Routing.Error.stringRes: Int Routing.Error.NOT_AUTHORIZED -> R.string.routing_error_not_authorized Routing.Error.PKI_FAILED -> R.string.routing_error_pki_failed Routing.Error.PKI_UNKNOWN_PUBKEY -> R.string.routing_error_pki_unknown_pubkey + Routing.Error.ADMIN_BAD_SESSION_KEY -> R.string.routing_error_admin_bad_session_key + Routing.Error.ADMIN_PUBLIC_KEY_UNAUTHORIZED -> R.string.routing_error_admin_public_key_unauthorized else -> R.string.unrecognized } diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index b1aa85a0..e426926f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -42,6 +42,8 @@ Not Authorized Encrypted Send Failed Unknown Public Key + Bad session key + Public Key unauthorized App connected or standalone messaging device. Device that does not forward packets from other devices.