Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rpc_coap_download_request Struct Reference

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.
 

Detailed Description

Download a file from a COAP server (Infuse-IoT DTLS protected)

Field Documentation

◆ action

uint8_t rpc_coap_download_request::action

Action to apply to downloaded file.

◆ block_timeout_ms

uint16_t rpc_coap_download_request::block_timeout_ms

COAP block timeout (Default 1000ms)

◆ header

struct infuse_rpc_req_header rpc_coap_download_request::header

◆ resource

char rpc_coap_download_request::resource[]

Path to file on COAP server (e.g.

files/small_file)

◆ resource_crc

uint32_t rpc_coap_download_request::resource_crc

Expected resource CRC (UINT32_MAX if unknown)

◆ resource_len

uint32_t rpc_coap_download_request::resource_len

Expected resource length (UINT32_MAX if unknown)

◆ server_address

char rpc_coap_download_request::server_address[48]

COAP server address (e.g.

coap.dev.infuse-iot.com)

◆ server_port

uint16_t rpc_coap_download_request::server_port

COAP server port.


The documentation for this struct was generated from the following file: