Go to the documentation of this file.
26 #ifndef CONN_INTERNAL_H
27 #define CONN_INTERNAL_H
46 bool he_internal_is_valid_state_for_server_config(
he_conn_t *conn);
56 void he_internal_generate_event(
he_conn_t *conn, he_conn_event_t event);
58 size_t he_internal_calculate_data_packet_length(
he_conn_t *conn,
size_t length);
69 #endif // CONN_INTERNAL_H
void he_internal_update_timeout(he_conn_t *conn)
Updates the timeout for a connection and triggers the timeout callback if set.
Definition: conn.c:758
Core internal header file for libhelium.
enum he_conn_state he_conn_state_t
Status codes for a Helium connection.
enum he_return_code he_return_code_t
All possible return codes for helium.
he_return_code_t he_internal_send_message(he_conn_t *conn, uint8_t *message, uint16_t length)
Sends a message over the secured tunnel.
Definition: conn.c:449
Definition: he_internal.h:92
he_return_code_t he_internal_generate_session_id(he_conn_t *conn, uint64_t *session_id_out)
Generate a random session ID.
Definition: conn.c:868
Definition: he_internal.h:170