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:
parent
94bad9d9ac
commit
d28c0cf08c
2 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,6 @@
|
||||||
* @ingroup third_party
|
* @ingroup third_party
|
||||||
* @{
|
* @{
|
||||||
*/
|
*/
|
||||||
#define HAWKBIT_JSON_URL "/default/controller/v1"
|
|
||||||
|
|
||||||
#ifndef ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_
|
#ifndef ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_
|
||||||
#define ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_
|
#define ZEPHYR_INCLUDE_MGMT_HAWKBIT_HAWKBIT_H_
|
||||||
|
|
|
||||||
|
|
@ -45,6 +45,8 @@ LOG_MODULE_REGISTER(hawkbit, CONFIG_HAWKBIT_LOG_LEVEL);
|
||||||
#define HAWKBIT_RECV_TIMEOUT (300 * MSEC_PER_SEC)
|
#define HAWKBIT_RECV_TIMEOUT (300 * MSEC_PER_SEC)
|
||||||
#define HAWKBIT_SET_SERVER_TIMEOUT K_MSEC(300)
|
#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 HTTP_HEADER_CONTENT_TYPE_JSON "application/json;charset=UTF-8"
|
||||||
|
|
||||||
#define SLOT1_LABEL slot1_partition
|
#define SLOT1_LABEL slot1_partition
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue