23typedef enum : uint32_t {
void c6_cam_http_serve(void)
Serve the browser UI and fresh JPEG frames forever.
void c6_cam_put_u32(uint32_t value)
Write one unsigned decimal value to SCI8.
ra8_err_t c6_cam_audio_snapshot_wav(const uint8_t **out_wav, uint32_t *out_bytes, uint32_t *out_timestamp_ms)
Snapshot the rolling microphone ring as mono PCM-S16LE WAV.
ra8_err_t c6_cam_camera_init(void)
Camera image and board-switch initialization, then one CEU capture.
c6_cam_cfg_t
Application sizing, pacing and fixed network values.
@ k_c6_cam_tcp_window
HTTP socket receive window.
@ k_c6_cam_arena_bytes
C6-link caller-owned arena size.
@ k_c6_cam_net_ip_stack
NetX IP thread stack bytes.
@ k_c6_cam_worker_prio
ThreadX worker priority.
@ k_c6_cam_uart_baud
Diagnostic console baud rate.
@ k_c6_cam_request_max
Maximum parsed request bytes.
@ k_c6_cam_net_pool_bytes
NetX packet pool bytes.
@ k_c6_cam_edge_poll_ms
C6 interrupt-edge poll period.
@ k_c6_cam_dhcp_wait_ms
DHCP lease timeout.
@ k_c6_cam_net_arp_bytes
NetX ARP cache bytes.
@ k_c6_cam_sck_hz
Camera-stream ESP-hosted SPI rate.
@ k_c6_cam_net_pkt_payload
NetX packet payload bytes.
@ k_c6_cam_assoc_polls
Maximum association status polls.
@ k_c6_cam_net_ip_prio
NetX IP thread priority.
@ k_c6_cam_listen_backlog
Single-client listen backlog.
@ k_c6_cam_assoc_gap_ms
Delay between association polls.
@ k_c6_cam_http_chunk
Maximum HTTP send chunk.
@ k_c6_cam_worker_stack
Worker thread stack bytes.
@ k_c6_cam_boot_wait_ms
C6 boot stabilization delay.
@ k_c6_cam_stream_frames
Frames served before client reconnect.
@ k_c6_cam_http_port
Browser server TCP port.
ra8_err_t c6_cam_audio_start(void)
Start continuous MIC1 capture into the SDRAM audio ring.
void c6_cam_put_ip(uint32_t ip)
Write one IPv4 address to SCI8.
ra8_err_t c6_cam_camera_capture_jpeg(const uint8_t **out_jpeg, uint32_t *out_bytes, c6_cam_frame_timing_t *out_timing)
ra8_err_t c6_cam_net_up(ra8_c6link_t *link, const ra8_c6link_mac_t *mac, c6_cam_lease_t *out)
Bind NetX to an associated raw C6 link and obtain a DHCP lease.
int32_t c6_cam_app_run(void)
Run the shared runtime-provisioned C6, DHCP, and HTTP application flow.
void c6_cam_puts(const char *text)
Write a bounded NUL-terminated string to SCI8.
void c6_cam_camera_report_last_error(void)
Emit backend-specific diagnostics for the last capture failure.
const char * c6_cam_camera_description(void)
Human-readable description of the selected camera backend.
The single integration boundary between this firmware and the ESP32-C6.
struct ra8_c6link_mac ra8_c6link_mac_t
struct ra8_c6link ra8_c6link_t
Error Code Definitions for ra8-firmware.
ra8_err_codes_t ra8_err_t
Canonical error-return type used by every ra8-firmware API.
Per-frame pipeline latency exposed in HTTP Server-Timing headers.
uint32_t convert_ms
Pixel conversion latency.
uint32_t timestamp_ms
Capture-start monotonic timestamp.
uint32_t capture_ms
Camera capture latency.
uint32_t encode_ms
Codec latency.
DHCP lease returned by the raw, bench-validated C6/NetX path.
bool bound
True after a lease is bound.
uint32_t dhcp_server
DHCP server IPv4 address.
uint32_t ip
Assigned IPv4 address.
uint32_t gateway
Assigned IPv4 default gateway.
uint32_t mask
Assigned IPv4 network mask.