socket.h File Reference

Go to the source code of this file.

Functions

int socket_init (csp_socket_handle_t *socket_iface, uint8_t mode, uint16_t port)
 Initializes and connects a unix socket, returns socket handle. More...
 
int socket_close (csp_socket_handle_t *socket_driver)
 
int socket_status (const csp_socket_handle_t *socket_iface)
 Attempts to check open/closed status of socket. More...
 
bool cbor_parse_csp_packet (csp_packet_t *packet, void *buffer, int buffer_size)
 
int cbor_encode_csp_packet (csp_packet_t *packet, uint8_t *buffer)