nRF5 IoT SDK  v0.9.0
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages

TFTP initialization structure. More...

#include <iot_tftp.h>

Data Fields

ipv6_addr_tp_ipv6_addr
 
uint16_t src_port
 
uint16_t dst_port
 
iot_tftp_callback_t callback
 
const char * p_password
 

Detailed Description

TFTP initialization structure.

Field Documentation

iot_tftp_callback_t iot_tftp_init_t::callback

Reference to the user callback.

uint16_t iot_tftp_init_t::dst_port

Destination port - UDP port on which server listens for new connections.

ipv6_addr_t* iot_tftp_init_t::p_ipv6_addr

IPv6 address of the server.

const char* iot_tftp_init_t::p_password

Server password for all requests. Shall be NULL if no password is required.

uint16_t iot_tftp_init_t::src_port

Source port (local UDP port) from which all request and data will be sent. Should be choosen randomly.