#ifndef TCP_DEBUG_H #define TCP_DEBUG_H #include /** * Initializes the TCP debug server on port 4242. * Registers a stdio driver that redirects printf output to connected TCP clients. * Returns true on success. */ bool tcp_debug_init(void); typedef void (*tcp_connection_callback_t)(bool connected); void tcp_set_connection_callback(tcp_connection_callback_t callback); #endif