Files
Hodor/main/esp32_s3_cam_ovxxxx.h
T
Aida_Lashkari 72a2d714ab Add : RTSP audio/video with back channel, and auth
- cam_stream: shared JPEG feed for /pic, /stream and RTSP; RTSP server
  (port 554, TCP) with MJPEG video, G.711 mic audio and an ONVIF-style
  back channel to the speaker
- cam_auth: RTSP Digest login and HTTP Basic / ?key= check on all endpoints
- Mic task feeds HTTP and RTSP with a sticky channel choice
2026-10-08 14:12:48 +03:30

29 lines
686 B
C

#pragma once
#include "sdkconfig.h"
#include "driver/gpio.h"
#include "driver/i2c_master.h"
#include "esp_camera.h"
#include "custom_io_expander_ch32v003.h"
#define BSP_I2C_NUM 0
#define BSP_I2C_SCL (GPIO_NUM_7)
#define BSP_I2C_SDA (GPIO_NUM_8)
#define BSP_IO_EXPANDER_I2C_ADDRESS_CH32V003 (CUSTOM_IO_EXPANDER_I2C_CH32V003_ADDRESS)
#ifdef __cplusplus
extern "C" {
#endif
esp_err_t bsp_i2c_init(void);
esp_err_t bsp_i2c_deinit(void);
i2c_master_bus_handle_t bsp_i2c_get_handle(void);
esp_err_t bsp_io_expander_init(void);
esp_io_expander_handle_t bsp_get_io_expander_handle(void);
uint16_t bsp_get_io_expander_adc(void);
#ifdef __cplusplus
}
#endif