43#include "satpcommon.h"
45#include "socketclient.h"
94 const qsc_ipinfo_ipv4_address* address, uint16_t port,
116 const qsc_ipinfo_ipv6_address* address, uint16_t port,
SATP_EXPORT_API satp_errors satp_client_connect_ipv6(satp_device_key *ckey, const qsc_ipinfo_ipv6_address *address, uint16_t port, void(*send_func)(satp_connection_state *), void(*receive_callback)(satp_connection_state *, const uint8_t *, size_t))
Establish an IPv6 connection and perform the SATP key exchange.
Definition client.c:394
SATP_EXPORT_API satp_errors satp_client_connect_ipv4(satp_device_key *ckey, const qsc_ipinfo_ipv4_address *address, uint16_t port, void(*send_func)(satp_connection_state *), void(*receive_callback)(satp_connection_state *, const uint8_t *, size_t))
Establish an IPv4 connection and perform the SATP key exchange.
Definition client.c:282
SATP_EXPORT_API void satp_client_connection_close(satp_connection_state *cns, satp_errors error)
Close the remote session and dispose of client resources.
Definition client.c:496
SATP_EXPORT_API void satp_client_send_error(const qsc_socket *sock, satp_errors error)
Send an error code to the remote host.
Definition client.c:261
SATP support header Common defined parameters and functions of the SATP client and server implementat...
satp_errors
The SATP error values. This enumeration defines the error codes returned by SATP functions.
Definition satp.h:452
The SATP socket connection state structure.
Definition satp.h:511
The SATP device key structure. This structure represents the SATP device key, which is derived from t...
Definition satp.h:529