Lines Matching refs:payload_len
391 uint16_t payload_len; in install_update_cb_check_blk_num() local
394 (void)coap_packet_get_payload(resp, &payload_len); in install_update_cb_check_blk_num()
396 if ((payload_len == 0) || (blk2_opt < 0)) { in install_update_cb_check_blk_num()
417 uint16_t payload_len; in install_update_cb() local
447 payload_start = coap_packet_get_payload(&response_packet, &payload_len); in install_update_cb()
453 ctx.downloaded_size = ctx.downloaded_size + payload_len; in install_update_cb()
458 payload_len)) { in install_update_cb()
465 if (updatehub_storage_write(&ctx.storage_ctx, payload_start, payload_len, in install_update_cb()
690 uint16_t payload_len; in probe_cb() local
715 payload_start = coap_packet_get_payload(&reply, &payload_len); in probe_cb()
716 if (payload_len == 0) { in probe_cb()
722 if (metadata_size < payload_len) { in probe_cb()
729 memcpy(metadata, payload_start, payload_len); in probe_cb()