GCoAP Forward Proxy Thread

Forward proxy thread implementation for GCoAP. More...

Detailed Description

Forward proxy thread implementation for GCoAP.

Files

file  forward_proxy_internal.h
 Definitions for the GCoAP forward proxy internal communication.
 

Data Structures

struct  client_ep_t
 client ep structure More...
 

Macros

#define GCOAP_PROXY_STACK_SIZE
 Stack size for the forward proxy thread. More...
 

Enumerations

enum  { GCOAP_FORWARD_PROXY_MSG_SEND }
 Definition of forward proxy thread msgs.
 

Functions

void gcoap_forward_proxy_thread_init (void)
 Initialize the forward proxy thread.
 
int gcoap_forward_proxy_req_send (client_ep_t *cep)
 Forward the CoAP request to the server The client endpoint is passed as an argument and freed if the send failed. More...
 

Macro Definition Documentation

◆ GCOAP_PROXY_STACK_SIZE

#define GCOAP_PROXY_STACK_SIZE
Value:
#define DEBUG_EXTRA_STACKSIZE
Extra stacksize needed when ENABLE_DEBUG==1.
Definition: debug.h:142
#define GCOAP_DTLS_EXTRA_STACKSIZE
Stack size for module thread.
Definition: gcoap.h:650
CoAP PDU parsing context structure.
Definition: nanocoap.h:222
#define THREAD_STACKSIZE_DEFAULT
A reasonable default stack size that will suffice most smaller tasks.
Definition: thread_config.h:43

Stack size for the forward proxy thread.

Definition at line 58 of file forward_proxy_internal.h.

Function Documentation

◆ gcoap_forward_proxy_req_send()

int gcoap_forward_proxy_req_send ( client_ep_t cep)

Forward the CoAP request to the server The client endpoint is passed as an argument and freed if the send failed.

Parameters
[in]cepclient endpoint
Returns
gcoap_req_send