Umar Naeem / C027_SupportTest_coapp

Dependencies:   C027_Support mbed-dev

Fork of C027_SupportTest_coap by Umar Naeem

Embed: (wiki syntax)

« Back to documentation index

coap_client_t Struct Reference

coap_client_t Struct Reference

Client structure. More...

#include <coap_client.h>

Data Fields

int sd
 Socket descriptor.
int timer_fd
 Timer file descriptor.
struct tm timeout
 Timeout value.
unsigned num_retrans
 Current number of retransmissions.
int server_sin_len
 Socket structure length.
char server_host [COAP_CLIENT_HOST_BUF_LEN]
 String to hold the server host address.
char server_port [COAP_CLIENT_PORT_BUF_LEN]
 String to hold the server port number.

Detailed Description

Client structure.

Definition at line 107 of file coap_client.h.


Field Documentation

unsigned num_retrans

Current number of retransmissions.

Definition at line 112 of file coap_client.h.

int sd

Socket descriptor.

Definition at line 109 of file coap_client.h.

char server_host[COAP_CLIENT_HOST_BUF_LEN]

String to hold the server host address.

Definition at line 114 of file coap_client.h.

char server_port[COAP_CLIENT_PORT_BUF_LEN]

String to hold the server port number.

Definition at line 115 of file coap_client.h.

Socket structure length.

Definition at line 113 of file coap_client.h.

struct tm timeout

Timeout value.

Definition at line 111 of file coap_client.h.

int timer_fd

Timer file descriptor.

Definition at line 110 of file coap_client.h.