24 #ifndef ESP8266_ESP8266_KAA_TCP_CHANNEL_H_
25 #define ESP8266_KAA_TCP_CHANNEL_H_
31 #include "../../../../kaa_error.h"
32 #include "../../../../platform/ext_transport_channel.h"
33 #include "../../../../platform/defaults.h"
38 ,
size_t supported_service_count);
41 ,
char **hostname,
size_t *hostname_size, uint16_t *port);
44 , uint8 **buffer,
size_t *buffer_size);
kaa_error_t kaa_tcp_channel_connected(kaa_transport_channel_interface_t *self)
kaa_error_t kaa_tcp_channel_create(kaa_transport_channel_interface_t *self, kaa_logger_t *logger, kaa_service_t *supported_services, size_t supported_service_count)
kaa_error_t kaa_tcp_channel_check_keepalive(kaa_transport_channel_interface_t *self)
Interface for a client transport channel implementation.
kaa_error_t kaa_tcp_channel_set_keepalive_timeout(kaa_transport_channel_interface_t *self, uint16_t keepalive)
kaa_service_t
Types of Kaa platform services.
struct kaa_logger_t kaa_logger_t
kaa_error_t kaa_tcp_channel_get_buffer_for_send(kaa_transport_channel_interface_t *self, uint8 **buffer, size_t *buffer_size)
kaa_error_t kaa_tcp_channel_free_send_buffer(kaa_transport_channel_interface_t *self, size_t bytes_written)
kaa_error_t kaa_tcp_channel_get_access_point(kaa_transport_channel_interface_t *self, char **hostname, size_t *hostname_size, uint16_t *port)
bool kaa_tcp_channel_connection_is_ready_to_terminate(kaa_transport_channel_interface_t *self)
kaa_error_t kaa_tcp_channel_disconnected(kaa_transport_channel_interface_t *self)
kaa_error_t kaa_tcp_channel_read_bytes(kaa_transport_channel_interface_t *self, const uint8 *buffer, const size_t buffer_size)