socket.h
Go to the documentation of this file.
int cbor_encode_csp_packet(csp_packet_t *packet, uint8_t *buffer)
int socket_init(csp_socket_handle_t *socket_iface, uint8_t mode, uint16_t port)
Initializes and connects a unix socket, returns socket handle.
int socket_status(const csp_socket_handle_t *socket_iface)
Attempts to check open/closed status of socket.
int socket_close(csp_socket_handle_t *socket_driver)
bool cbor_parse_csp_packet(csp_packet_t *packet, void *buffer, int buffer_size)
CSP PACKET STRUCTURE Note: This structure is constructed to fit with all interface frame types in ord...
Definition: csp_types.h:174