17 #ifndef EXT_TRANSPORT_CHANNEL_H_
18 #define EXT_TRANSPORT_CHANNEL_H_
20 #include "../kaa_common.h"
21 #include "../kaa_platform_protocol.h"
22 #include "../kaa_bootstrap_manager.h"
96 ,
size_t *service_count);
112 ,
size_t service_count);
Identifier used to uniquely represent transport protocol.
Interface for a client transport channel implementation.
kaa_service_t
Types of Kaa platform services.
Uses to initialize transport channel implementation with Kaa specific transport context.
kaa_error_t(* kaa_tcp_channel_destroy_fn)(void *context)
Releases channel context.
kaa_error_t(* kaa_init_channel_fn)(void *channel_context, kaa_transport_context_t *transport_context)
Initializes the transport channel implementation.
kaa_error_t(* kaa_get_protocol_id_fn)(void *context, kaa_transport_protocol_id_t *protocol_info)
Retrieves a transport protocol id supported by a transport channel implementation.
kaa_get_supported_services_fn get_supported_services
struct kaa_bootstrap_manager_t kaa_bootstrap_manager_t
kaa_get_protocol_id_fn get_protocol_id
kaa_platform_protocol_t * platform_protocol
kaa_error_t(* kaa_set_access_point_fn)(void *channel_context, kaa_access_point_t *access_point)
Sets transport connection data.
kaa_error_t(* kaa_sync_handler_fn)(void *context, const kaa_service_t services[], size_t service_count)
Kaa sync request handler function for specific services.
struct kaa_platform_protocol_t kaa_platform_protocol_t
Connection parameters used by transport channels to establish connection both to Bootstrap and Operat...
kaa_sync_handler_fn sync_handler
kaa_set_access_point_fn set_access_point
kaa_error_t(* kaa_get_supported_services_fn)(void *context, kaa_service_t **supported_services, size_t *service_count)
Retrieves the list of the supported services.
kaa_tcp_channel_destroy_fn destroy
kaa_bootstrap_manager_t * bootstrap_manager