Ryan Malloy ab699bbca3 Add HFP (Hands-Free Profile) support
Implement HFP client (Hands-Free Unit role) for the ESP32 test harness:

Firmware:
- bt_hfp.c/h: Full HFP client with call control, audio, volume, DTMF,
  voice recognition
- Enable HFP in sdkconfig.defaults with Wide Band Speech support
- Add HFP commands/events to protocol.h and cmd_dispatcher.c

Python MCP tools:
- 15 new tools: enable, connect, audio_connect, answer, reject, dial,
  send_dtmf, volume, voice_recognition_start/stop, query_calls, status
- Full protocol constants in protocol.py

Tested: HFP enable returns role='hands_free_unit', ready for AG pairing
2026-02-03 14:34:13 -07:00

20 lines
341 B
CMake

idf_component_register(
SRCS
"main.c"
"uart_handler.c"
"cmd_dispatcher.c"
"bt_classic.c"
"bt_ble.c"
"bt_hid.c"
"bt_hfp.c"
"personas.c"
"event_reporter.c"
INCLUDE_DIRS "."
REQUIRES
driver
bt
nvs_flash
json
esp_event
)