From fed0503c2b9c3f94c737694110790ad403db4e59 Mon Sep 17 00:00:00 2001
From: Alopez <alopez@iri.upc.edu>
Date: Thu, 19 Jan 2023 18:15:50 +0100
Subject: [PATCH] Added return codes unknown error and no rooms to search

---
 action/ask_questionary.action | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/action/ask_questionary.action b/action/ask_questionary.action
index 16c5343..a19faf8 100644
--- a/action/ask_questionary.action
+++ b/action/ask_questionary.action
@@ -2,10 +2,12 @@
 ##### Result code
 uint8 SUCCESS=0 # All ok.
 uint8 SEARCHNAVERR=1 # Navigation error when searching the person.
-uint8 PNOTFOUND=2 # Person not found.
-uint8 QNOTFINISH=3 # Something went wrong in the questionary
-uint8 ANOTSENT=4 # Error sending answers.
-uint8 NOTHOME=5 # Error when going back to home
+uint8 NOROOMS=2 # No rooms received to search.
+uint8 PNOTFOUND=3 # Person not found.
+uint8 QNOTFINISH=4 # Something went wrong in the questionary
+uint8 ANOTSENT=5 # Error sending answers.
+uint8 NOTHOME=6 # Error when going back to home
+uint8 UNKNOWNERR=7 # Unknown error.
 
 ##### Status code
 uint8 SEARCHING=0 # Searching the person
-- 
GitLab