Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
|
Download a file from a COAP server (Infuse-IoT DTLS protected) More...
#include <types.h>
Data Fields | |
struct infuse_rpc_req_header | header |
char | server_address [48] |
COAP server address (e.g. | |
uint16_t | server_port |
COAP server port. | |
uint16_t | block_timeout_ms |
COAP block timeout (Default 1000ms) | |
uint8_t | action |
Action to apply to downloaded file. | |
uint32_t | resource_len |
Expected resource length (UINT32_MAX if unknown) | |
uint32_t | resource_crc |
Expected resource CRC (UINT32_MAX if unknown) | |
char | resource [] |
Path to file on COAP server (e.g. | |
Download a file from a COAP server (Infuse-IoT DTLS protected)
uint8_t rpc_coap_download_request::action |
Action to apply to downloaded file.
uint16_t rpc_coap_download_request::block_timeout_ms |
COAP block timeout (Default 1000ms)
struct infuse_rpc_req_header rpc_coap_download_request::header |
char rpc_coap_download_request::resource[] |
Path to file on COAP server (e.g.
files/small_file)
uint32_t rpc_coap_download_request::resource_crc |
Expected resource CRC (UINT32_MAX if unknown)
uint32_t rpc_coap_download_request::resource_len |
Expected resource length (UINT32_MAX if unknown)
char rpc_coap_download_request::server_address[48] |
COAP server address (e.g.
coap.dev.infuse-iot.com)
uint16_t rpc_coap_download_request::server_port |
COAP server port.