mgmt: hawkbit: move HAWKBIT_JSON_URL

move HAWKBIT_JSON_URL out of the header.

Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
Fin Maaß 2024-05-22 11:16:51 +02:00 committed by Fabio Baltieri
parent 94bad9d9ac
commit d28c0cf08c
2 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,6 @@
* @ingroup third_party
* @{
*/
#define HAWKBIT_JSON_URL "/default/controller/v1"
#ifndef ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_
#define ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_

View File

@ -45,6 +45,8 @@ LOG_MODULE_REGISTER(hawkbit, CONFIG_HAWKBIT_LOG_LEVEL);
#define HAWKBIT_RECV_TIMEOUT (300 * MSEC_PER_SEC)
#define HAWKBIT_SET_SERVER_TIMEOUT K_MSEC(300)
#define HAWKBIT_JSON_URL "/default/controller/v1"
#define HTTP_HEADER_CONTENT_TYPE_JSON "application/json;charset=UTF-8"
#define SLOT1_LABEL slot1_partition