static bool can_send_cmp_frame(cmp_ctx_t *ctx) { struct can_frame frame; if (!can_frame_cmp_read(ctx, &frame)) { return false; } can_interface_send(&frame); return true; }
static bool receive_packet(const telemetry_t* packet, message_metadata_t metadata) { can_interface_send(&can_interface, packet, metadata); return true; }