espressif/esp_hosted

3.0.9

Latest
uploaded 1 hour ago
ESP-Hosted - Unified coprocessor connectivity

78 examples

  • bluetooth 25
    • bluedroid_uart 2
      • bluedroid_host_only_uart 2
        • cp
          Discovers Classic Bluetooth devices and services with Bluedroid over a dedicated HCI UART coprocessor.
          9.94 KB
        • mcu_host
          Discovers Classic Bluetooth devices and services using a Bluedroid host over a dedicated HCI UART.
          7.70 KB
    • esp_hosted_bluedroid 12
      • ble_advertise_minimal 2
        • cp
          Runs Bluedroid on a host with an ESP-Hosted coprocessor controller and starts non-connectable BLE advertising.
          9.41 KB
        • mcu_host
          This example runs Bluedroid on a host and uses ESP-Hosted HCI to start non-connectable BLE advertising.
          4.99 KB
      • ble_compatibility_test 2
        • cp
          BLE compatibility test app validates GATT behavior against phones and other centrals using Bluedroid over hosted HCI.
          9.45 KB
        • mcu_host
          A BLE GATT server tests characteristics, MTU sizes, notifications, and connection parameters over hosted HCI.
          10.29 KB
      • ble_gatt_server 2
        • cp
          A connectable BLE peripheral exposes read/write and notify characteristics using Bluedroid on a host BT coprocessor.
          9.42 KB
        • mcu_host
          This example is a BLE peripheral with a GATT service exposing read/write and notify characteristics over hosted HCI.
          5.98 KB
      • bt_hid_mouse 2
        • cp
          Acts as a Bluetooth Classic HID mouse that pairs with a host and sends mouse-movement reports.
          9.53 KB
        • mcu_host
          Acts as a Bluetooth Classic HID mouse that pairs with a host and sends mouse-movement reports.
          7.87 KB
      • classic_bt_discovery 2
        • cp
          Performs Classic Bluetooth device discovery using Bluedroid on a host and an ESP-Hosted co-processor.
          9.50 KB
        • mcu_host
          Performs a Classic Bluetooth (BR/EDR) device inquiry and prints devices seen during the discovery window.
          5.61 KB
      • controller_mac_addr 2
        • cp
          Reads or overrides the BT controller MAC, starts Bluedroid over hosted HCI, and advertises as a BLE beacon.
          9.39 KB
        • mcu_host
          Reads and optionally overrides the BT controller MAC before initialization, then starts Bluedroid over hosted HCI.
          5.61 KB
    • esp_hosted_custom 2
    • esp_hosted_nimble 6
      • bleprph_gatt 2
        • cp
          This example exposes a custom BLE GATT service with NimBLE on the host and an ESP-Hosted coprocessor controller.
          9.47 KB
        • mcu_host
          This example implements a BLE GATT server with NimBLE on the host and an ESP-Hosted co-processor controller.
          5.45 KB
      • bleprph_minimal 2
        • cp
          This example runs a minimal NimBLE BLE peripheral. It uses an ESP-Hosted co-processor as the BLE controller over HCI.
          9.46 KB
        • mcu_host
          Minimal NimBLE BLE peripheral using an ESP-Hosted co-processor controller and standard NimBLE host code.
          4.63 KB
      • bleprph_wifi_coex 2
        • cp
          Wi-Fi and BLE run concurrently on the same co-processor via hosted HCI. The host pings and advertises a GATT server.
          9.88 KB
        • mcu_host
          Wi-Fi STA and BLE peripheral run concurrently, with both radios on the same co-processor.
          22.75 KB
    • nimble_uart 3
      • bleprph_host_only_uart 3
        • cp
          NimBLE host-only BLE peripheral communicating with an external BT controller over a dedicated UART H4 link.
          11.04 KB
        • cp_wifi
          NimBLE host-only BLE peripheral that communicates with an external Bluetooth controller over a dedicated HCI UART.
          10.82 KB
        • mcu_host
          NimBLE host-only BLE peripheral that communicates with an external Bluetooth controller over a dedicated HCI UART.
          17.82 KB
  • ext_coex 2
    • cp
      Configures coprocessor external coexistence so Wi-Fi/BT can share the air with a nearby third-party radio.
      10.42 KB
    • mcu_host
      Configures the coprocessor's PTA mode and grant pins to share Wi-Fi/BT airspace with a third-party radio.
      4.93 KB
  • gpio_expander 2
    • cp
      Drives coprocessor GPIOs remotely from the host as a GPIO expander. Calls are sent over RPC.
      10.35 KB
    • mcu_host
      Drives CP-side GPIOs from the host as if the coprocessor were a remote GPIO expander.
      3.47 KB
  • mcu_hosted_sdio_sdmmc_combined 2
    • cp
      Demonstrates ESP-Hosted SDIO sharing an SDMMC controller with an external SD card on separate slots.
      10.17 KB
    • mcu_host
      Demonstrates ESP-Hosted SDIO and an external SD card sharing one SDMMC controller. It tests Wi-Fi and FATFS I/O.
      10.90 KB
  • mem_monitor 2
    • cp
      Reports coprocessor heap and task statistics periodically to help detect leaks and size buffers.
      10.25 KB
    • mcu_host
      Subscribes the host to periodic coprocessor heap and task-stat reports to detect leaks and size buffers.
      11.59 KB
  • network_split 4
    • iperf 2
      • cp
        This example measures end-to-end throughput with iperf3 across a network split between the Wi-Fi coprocessor and host.
        23.75 KB
      • mcu_host
        This example uses iperf3 to measure end-to-end throughput across the network split.
        35.41 KB
    • station 2
      • cp
        Bare-bones Wi-Fi station using the network-split netif backend, with Wi-Fi on the coprocessor and TCP/IP on the host.
        23.38 KB
      • mcu_host
        Bare-bones Wi-Fi station with the network-split netif backend wired in.
        30.58 KB
  • openthread 4
    • border_router 2
      • cp
        OpenThread Border Router runs on the host, using one ESP-Hosted coprocessor for Wi-Fi and 802.15.4 RCP.
        5.04 KB
      • esp_host
        Runs an OpenThread Border Router on a host using one ESP-Hosted co-processor for Wi-Fi and 802.15.4.
        8.13 KB
    • cli 2
      • cp
        Runs a full OpenThread CLI on the host using an ESP32-C6 as an 802.15.4 radio co-processor.
        4.78 KB
      • esp_host
        Runs a full OpenThread CLI on the host using an 802.15.4 Radio Co-Processor (RCP).
        7.12 KB
  • ota 2
    • coprocessor_ota 2
      • cp
        Pushes a new coprocessor firmware image from the host through the OTA begin/write/end/activate RPC chain.
        10.42 KB
      • mcu_host
        Pushes a new coprocessor firmware image through the OTA begin/write/end/activate RPC chain.
        35.69 KB
  • peer_data_transfer 2
    • cp
      Demonstrates peer_data custom RPC messaging, echoing payloads and rejecting unregistered IDs.
      10.78 KB
    • mcu_host
      Demonstrates the peer_data custom-RPC channel, where the host sends application-defined messages and verifies echoed payloads.
      11.14 KB
  • power_save 6
    • cp 2
      • shut_down_cp_when_unused 2
        • cp
          The host holds the co-processor in reset when unused, reducing power to ~0 mA, then cold-boots it on wake-up.
          3.71 KB
        • mcu_host
          The host power-cycles the co-processor when unused and reconnects it on each wake-up cycle.
          10.85 KB
    • host 2
      • network_split__host_deep_sleep 2
        • cp
          Network split keeps Wi-Fi alive on the coprocessor while the host enters deep sleep and wakes it when needed.
          22.65 KB
        • esp_host
          Network split keeps Wi-Fi alive while the host enters deep sleep. The CP wakes the host only when host traffic needs it.
          16.84 KB
    • host+cp 2
      • network_split__host_deep_sleep_cp_light_sleep 2
        • cp
          The host enters deep sleep while the coprocessor stays in light sleep, keeping Wi-Fi alive through network split.
          30.23 KB
        • esp_host
          The host enters deep sleep while the coprocessor stays in light sleep, with network split keeping Wi-Fi alive.
          25.70 KB
  • system 8
    • api_exerciser 2
      • cp
        3.19 KB
      • mcu_host
        A generic host+CP example exposing the native eh_host_* API as console commands for data-driven functional API coverage.
        3.79 KB
    • get_cp_fw_version 2
      • cp
        Fetches the coprocessor firmware version via one RPC round-trip as an ESP-Hosted bring-up smoke test.
        10.26 KB
      • mcu_host
        A minimal end-to-end ESP-Hosted smoke test that fetches and prints the coprocessor firmware version via a single RPC round trip.
        5.72 KB
    • hosted_events 2
      • cp
        Wires the host's ESP-IDF event loop to ESP-Hosted lifecycle events. Reconnects after coprocessor failures.
        10.25 KB
      • mcu_host
        Wires ESP-IDF events to ESP-Hosted lifecycle events so applications can react to coprocessor changes without polling.
        12.57 KB
    • mcu_transport_config 2
      • cp
        Configures host-side transport settings programmatically at runtime before esp_hosted_init().
        10.15 KB
      • mcu_host
        Configures MCU host transport at runtime before esp_hosted_init(). Overrides bus pins and clocks in application code.
        7.08 KB
  • wifi 17
    • apsta 2
      • cp
        Runs Wi-Fi in concurrent AP+STA mode on the coprocessor, with the application on the host.
        10.00 KB
      • mcu_host
        Runs Wi-Fi in concurrent AP+STA mode, with the radio on the coprocessor and application on the host.
        6.56 KB
    • dpp 2
      • cp
        Wi-Fi DPP enrollee example: the host prints a QR code, and the coprocessor joins the configured Wi-Fi network.
        10.24 KB
      • mcu_host
        Wi-Fi DPP enrollee example where a host prints a QR code and receives Wi-Fi credentials from a configurator.
        6.54 KB
    • enterprise 2
      • cp
        This example brings up a Wi-Fi station against an enterprise 802.1X/EAP AP using a coprocessor and host.
        10.29 KB
      • mcu_host
        Brings up a Wi-Fi station against an enterprise (802.1X/EAP) AP with host-side authentication and a coprocessor radio.
        3.85 KB
    • iperf 2
      • cp
        Wi-Fi throughput benchmark using a coprocessor-hosted radio and the upstream IDF iperf console app.
        10.28 KB
      • mcu_host
        Wi-Fi throughput benchmark using a coprocessor-hosted radio and host-side TCP/UDP iperf.
        5.18 KB
    • itwt 2
      • cp
        Wi-Fi 6 iTWT reduces power by scheduling periodic radio wake-ups on a coprocessor.
        10.22 KB
      • mcu_host
        Demonstrates 802.11ax individual Target Wake Time on a host, with Wi-Fi running on a coprocessor.
        16.75 KB
    • scan 2
      • cp
        Scan nearby Wi-Fi access points, printing SSID, RSSI, channel, and auth mode. The radio runs on the coprocessor.
        10.15 KB
      • mcu_host
        Scan nearby Wi-Fi access points and print SSID, RSSI, channel, and auth mode. The application runs on the host.
        4.79 KB
    • softap 2
      • cp
        Run a Wi-Fi SoftAP on the coprocessor's radio with the application running on the host.
        10.19 KB
      • mcu_host
        Run a Wi-Fi SoftAP with the radio on the coprocessor and the application on the host.
        4.70 KB
    • sta 3
      • cp
        Connect to an AP as a Wi-Fi station with the radio on the coprocessor and the application on the host.
        10.27 KB
      • cp_streaming
        Connect to an AP as a Wi-Fi station with the radio on the coprocessor and the application on the host.
        10.28 KB
      • mcu_host
        Connect to an AP as a Wi-Fi station with the radio on the coprocessor and the application on the host.
        6.41 KB
  • zigbee 2
    • thermostat 2
      • cp
        Runs a Zigbee Home Automation Thermostat coordinator on the host using an 802.15.4 Radio Co-Processor.
        4.91 KB
      • esp_host
        Runs a Zigbee Home Automation Thermostat as a host-based Zigbee Coordinator with an 802.15.4 radio co-processor.
        15.43 KB