From 469e9d5b521d836550dad7c0d6a67fb1b42b735d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Fri, 19 Apr 2024 19:36:34 +0200 Subject: [PATCH] mgmt: hawkbit: change returns of hawkbit_probe MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit change returns of hawkbit_probe(). Signed-off-by: Fin Maaß --- include/zephyr/mgmt/hawkbit.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/zephyr/mgmt/hawkbit.h b/include/zephyr/mgmt/hawkbit.h index 85ab1c24eb5c574..247402fb9e3ecdc 100644 --- a/include/zephyr/mgmt/hawkbit.h +++ b/include/zephyr/mgmt/hawkbit.h @@ -114,11 +114,13 @@ enum hawkbit_response hawkbit_autohandler_wait(uint32_t events, k_timeout_t time /** * @brief The hawkBit probe verify if there is some update to be performed. * - * @return HAWKBIT_UPDATE_INSTALLED has an update available. - * @return HAWKBIT_NO_UPDATE no update available. * @return HAWKBIT_NETWORKING_ERROR fail to connect to the hawkBit server. + * @return HAWKBIT_UNCONFIRMED_IMAGE image is unconfirmed. + * @return HAWKBIT_PERMISSION_ERROR fail to get the permission to access the hawkBit server. * @return HAWKBIT_METADATA_ERROR fail to parse or to encode the metadata. * @return HAWKBIT_DOWNLOAD_ERROR fail while downloading the update package. + * @return HAWKBIT_UPDATE_INSTALLED has an update available. + * @return HAWKBIT_NO_UPDATE no update available. */ enum hawkbit_response hawkbit_probe(void);