client-c  0.8.1
esp8266_kaa_tcp_channel.h File Reference
+ Include dependency graph for esp8266_kaa_tcp_channel.h:

Go to the source code of this file.

Macros

#define ESP8266_KAA_TCP_CHANNEL_H_
 

Functions

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_get_access_point (kaa_transport_channel_interface_t *self, char **hostname, size_t *hostname_size, uint16_t *port)
 
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_read_bytes (kaa_transport_channel_interface_t *self, const uint8 *buffer, const size_t buffer_size)
 
kaa_error_t kaa_tcp_channel_disconnected (kaa_transport_channel_interface_t *self)
 
kaa_error_t kaa_tcp_channel_connected (kaa_transport_channel_interface_t *self)
 
bool kaa_tcp_channel_connection_is_ready_to_terminate (kaa_transport_channel_interface_t *self)
 
kaa_error_t kaa_tcp_channel_check_keepalive (kaa_transport_channel_interface_t *self)
 

Macro Definition Documentation

#define ESP8266_KAA_TCP_CHANNEL_H_

Copyright 2014-2016 CyberVision, Inc.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

 http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition at line 25 of file esp8266_kaa_tcp_channel.h.

Function Documentation

kaa_error_t kaa_tcp_channel_check_keepalive ( kaa_transport_channel_interface_t self)
kaa_error_t kaa_tcp_channel_connected ( kaa_transport_channel_interface_t self)
bool kaa_tcp_channel_connection_is_ready_to_terminate ( 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_disconnected ( kaa_transport_channel_interface_t self)
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 
)
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_read_bytes ( kaa_transport_channel_interface_t self,
const uint8 *  buffer,
const size_t  buffer_size 
)