Home
last modified time | relevance | path

Searched refs:hb_context (Results 1 – 1 of 1) sorted by relevance

/Zephyr-latest/subsys/mgmt/hawkbit/
Dhawkbit.c146 struct hawkbit_context hb_context; member
665 static int hawkbit_parse_deployment(struct hawkbit_context *hb_context, struct hawkbit_dep_res *res, in hawkbit_parse_deployment() argument
692 if (hex2bin(artifact->hashes.sha256, SHA256_HASH_SIZE << 1, hb_context->dl.file_hash, in hawkbit_parse_deployment()
693 sizeof(hb_context->dl.file_hash)) != SHA256_HASH_SIZE) { in hawkbit_parse_deployment()
697 hb_context->dl.file_size = artifact->size; in hawkbit_parse_deployment()
699 if (hb_context->dl.file_size > SLOT1_SIZE) { in hawkbit_parse_deployment()
700 LOG_ERR("Artifact file size too big (got %d, max is %d)", hb_context->dl.file_size, in hawkbit_parse_deployment()
869 struct hawkbit_context *hb_context = userdata; in response_cb() local
877 hb_context->code_status = HAWKBIT_PERMISSION_ERROR; in response_cb()
879 hb_context->code_status = HAWKBIT_METADATA_ERROR; in response_cb()
[all …]