Loading...
Searching...
No Matches

UDPCL implementation. More...

Detailed Description

UDPCL implementation.

Author
Simon Grund mail@.nosp@m.simo.nosp@m.ngrun.nosp@m.d.de

Definition in file bplib_cla_udp.h.

#include <stdint.h>
#include "thread_config.h"
#include "net/sock/udp.h"
+ Include dependency graph for bplib_cla_udp.h:

Go to the source code of this file.

Data Structures

struct  bplib_cla_udp_t
 Holds an instance of a UDP CLA, including its stacks. More...
 

Macros

#define CONFIG_BPLIB_CLA_UDP_BUFLEN   (1024)
 Size of the send AND receive buffer, each.
 
#define CONFIG_BPLIB_CLA_UDP_TIMEOUT   (10000)
 The CLA polling from the socket and from bplib is stopped after this time [ms].
 
#define BPLIB_CLA_UDP_RX_STACK_SIZE   (THREAD_STACKSIZE_MEDIUM + CONFIG_BPLIB_CLA_UDP_BUFLEN)
 RX stack size, including receive buffer.
 
#define BPLIB_CLA_UDP_TX_STACK_SIZE   (THREAD_STACKSIZE_MEDIUM + CONFIG_BPLIB_CLA_UDP_BUFLEN)
 TX stack size, including egress buffer.
 

Functions

int bplib_cla_udp_start (bplib_cla_udp_t *cla, uint32_t contact_id)
 Starts the UDP CLA.
 
void bplib_cla_udp_stop (bplib_cla_udp_t *cla)
 Stops the CLA.