UDP Interface

File: csp/interfaces/csp_if_udp.h

Description: UDP interface.

void csp_if_udp_init(csp_iface_t *iface, csp_if_udp_conf_t *ifconf)
[source]

Setup UDP peer

RX task:

A server task will attempt at binding to ip 0.0.0.0 port 9600 If this fails, it is because another udp server is already running. The server task will continue attemting the bind and will not exit before the application is closed.

TX peer:

Outgoing CSP packets will be transferred to the peer specified by the host argument