Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
coap.h File Reference

Infuse-IoT COAP download helpers. More...

#include <stdint.h>
#include <stdlib.h>

Go to the source code of this file.

Typedefs

typedef int(* infuse_coap_data_cb) (uint32_t offset, const uint8_t *data, uint16_t data_len, void *user_context)
 COAP data download callback.
 

Functions

int infuse_coap_download (int socket, const char *resource, infuse_coap_data_cb data_cb, void *user_context, uint8_t *working_mem, size_t working_size, int timeout_ms)
 Download a file over COAP from an existing socket.
 

Detailed Description

Infuse-IoT COAP download helpers.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2