espressif/esp_hosted

3.0.5

Latest
uploaded 23 hours ago
ESP-Hosted - Unified coprocessor connectivity

66 examples

  • bluetooth 15
    • cp 4
      • hosted_hci
        This CP firmware enables ESP-Hosted BT feature with VHCI path for HCI frames over various transport channels.
        8.14 KB
      • standard_hci_uart
        This CP firmware configures the BT controller for UART H4 mode, bypassing ESP-Hosted bridge components in host examples.
        8.86 KB
      • wifi_hosted_hci
        This profile enables Wi-Fi + Bluetooth on CP using Hosted VHCI for HCI frames over the transport channel.
        8.46 KB
      • wifi_standard_hci_uart
        This CP firmware enables Wi-Fi and Bluetooth on CP, configuring the BT controller for UART H4 mode.
        9.02 KB
    • host_mcu 11
      • bluedroid 7
        • examples 7
          • hosted_hci 6
            • ble_advertise_minimal
              The smallest Bluedroid + ESP-Hosted example that starts non-connectable BLE advertising using a BT controller.
              9.53 KB
            • ble_compatibility_test
              BLE interoperability test app validating BLE behavior against phones and other centrals using a GATT server.
              14.63 KB
            • ble_gatt_server
              Connectable BLE peripheral featuring a custom GATT service with read/write and notify characteristics.
              10.11 KB
            • bt_hid_mouse
              Acts as a Bluetooth Classic HID mouse, pairing with a host and sending mouse-movement reports.
              12.24 KB
            • classic_bt_discovery
              Performs a Classic Bluetooth device inquiry and prints detected devices during the discovery window.
              9.81 KB
            • controller_mac_addr
              Reads and optionally overrides the BT controller's MAC address, then brings Bluedroid up as a BLE beacon.
              9.94 KB
          • standard_hci_uart 1
            • bluedroid_host_only_uart
              This example demonstrates a Bluetooth Host using UART as HCI IO, requiring the UART device to support RTS/CTS.
              7.06 KB
      • nimble 4
        • examples 4
          • hosted_hci 3
            • bleprph_gatt
              Connectable BLE peripheral exposing one custom 128-bit GATT service with two characteristics (read/write + notify).
              9.64 KB
            • bleprph_minimal
              The smallest possible NimBLE BLE peripheral boots the BLE controller on the coprocessor via ESP-Hosted and runs NimBLE host code.
              8.80 KB
            • bleprph_wifi_coex
              This example runs Wi-Fi and BLE concurrently on the same co-processor, allowing the host to connect to an AP and advertise a GATT server.
              27.10 KB
          • standard_hci_uart 1
            • bleprph_host_only_uart
              This example demonstrates a BLE peripheral using a custom UART transport. Configure the project and build with the ESP-IDF.
              14.84 KB
  • ext_coex 2
    • cp
      Configures the coprocessor's external-coex work mode, allowing Wi-Fi and BT radios to share the air with a third-party radio.
      10.42 KB
    • mcu_host
      Configures the coprocessor's external-coex mode for CP's Wi-Fi/BT radio sharing with a third-party radio.
      4.93 KB
  • gpio_expander 2
    • cp
      Drives coprocessor GPIOs from the host as a remote GPIO expander, useful when the host MCU has limited pins.
      10.36 KB
    • mcu_host
      Drives host GPIOs as if the coprocessor were a remote GPIO expander, useful when the host runs out of pins.
      3.47 KB
  • mcu_hosted_sdio_sdmmc_combined 2
    • cp
      Demonstrates running ESP-Hosted's SDIO transport on an SDMMC controller with an external SD card, ensuring Wi-Fi functionality.
      10.17 KB
    • mcu_host
      Demonstrates running ESP-Hosted's SDIO transport on the SDMMC controller while hosting an external SD card.
      10.90 KB
  • mem_monitor 2
    • cp
      Subscribes the host to periodic heap/task-stat reports from the coprocessor for monitoring memory usage.
      10.30 KB
    • mcu_host
      Subscribes the host to periodic heap/task-stat reports from the coprocessor, useful for catching slow leaks.
      11.59 KB
  • network_split 4
    • iperf 2
      • cp
        This example demonstrates using iperf3 with a network split architecture for measuring end-to-end throughput on supported coprocessors.
        23.60 KB
      • mcu_host
        This example uses iperf3 to measure throughput in a split network setup with a host running its own TCP/IP stack.
        35.26 KB
    • station 2
      • cp
        A bare-bones Wi-Fi station with a network-split backend, allowing co-processor and host to share one IP.
        23.22 KB
      • mcu_host
        This is a bare-bones Wi-Fi station featuring a network-split netif backend, enabling shared IP for host and co-processor.
        30.43 KB
  • openthread 4
    • border_router 2
      • cp
        OpenThread Border Router uses a single ESP-Hosted co-processor for both 802.15.4 RCP and Wi-Fi backhaul.
        4.78 KB
      • esp_host
        OpenThread Border Router on the host uses a single ESP-Hosted co-processor for 802.15.4 and Wi-Fi, driving RCP lifecycle and data exchange.
        7.87 KB
    • cli 2
      • cp
        Runs a full OpenThread CLI on the host, using an 802.15.4 Radio Co-Processor (RCP) and ESP-Hosted transport.
        4.22 KB
      • esp_host
        Runs a full OpenThread CLI on the host, using an 802.15.4 Radio Co-Processor for communication.
        6.83 KB
  • ota 2
    • coprocessor_ota 2
      • cp
        This example demonstrates how to push a new coprocessor firmware image from the host using an OTA RPC chain.
        10.43 KB
      • mcu_host
        This example demonstrates pushing a new coprocessor firmware image from the host using an OTA RPC chain.
        35.69 KB
  • peer_data_transfer 2
    • cp
      Demonstrates sending and receiving application-defined messages between the host and co-processor over a custom-RPC channel.
      10.77 KB
    • mcu_host
      Demonstrates the peer_data custom-RPC channel, allowing arbitrary messages from the host to a co-processor with verification.
      11.12 KB
  • power_save 6
    • cp 2
      • shut_down_cp_when_unused 2
    • host 2
      • network_split__host_deep_sleep 2
        • cp
          Network split allows the co-processor to keep Wi-Fi active and manage low-port traffic while the host is in deep sleep.
          22.49 KB
        • esp_host
          Network split allows the co-processor to maintain Wi-Fi while the host enters deep sleep, waking only for specific packets.
          16.84 KB
    • host+cp 2
      • network_split__host_deep_sleep_cp_light_sleep 2
        • cp
          This example demonstrates host and coprocessor power-saving modes, allowing the host to sleep deeply while keeping the coprocessor in light sleep.
          28.48 KB
        • esp_host
          This project enables power-saving modes where the host is in deep sleep and the coprocessor in light sleep while maintaining Wi-Fi connectivity.
          16.78 KB
  • system 8
    • api_exerciser 2
      • cp
        3.19 KB
      • mcu_host
        A generic host+CP example that exposes the native `eh_host_*` API surface as console commands.
        3.79 KB
    • get_cp_fw_version 2
      • cp
        The smallest end-to-end ESP-Hosted scenario that fetches the coprocessor firmware version.
        10.26 KB
      • mcu_host
        The smallest end-to-end ESP-Hosted scenario brings up the host stack, fetches CP firmware version, and exercises the transport path.
        5.63 KB
    • hosted_events 2
      • cp
        Wires the host's ESP-IDF event loop to ESP-Hosted's lifecycle events for coprocessor state changes.
        10.25 KB
      • mcu_host
        Wires the host's ESP-IDF event loop to ESP-Hosted's lifecycle events for handling coprocessor state changes.
        12.57 KB
    • mcu_transport_config 2
      • cp
        This example configures the host-side transport programmatically at runtime before esp_hosted_init(). It demonstrates how to override Kconfig defaults for bus configurations.
        10.15 KB
      • mcu_host
        Configures host-side transport programmatically at runtime, allowing overrides for bus pins and clock.
        7.08 KB
  • wifi 17
    • apsta 2
      • cp
        Run Wi-Fi in AP + STA concurrent mode, connecting to an upstream AP while serving a SoftAP on the coprocessor.
        10.02 KB
      • mcu_host
        Run Wi-Fi in AP + STA concurrent mode, connecting to an upstream AP while serving a SoftAP.
        6.56 KB
    • dpp 2
      • cp
        Wi-Fi Easy-Connect enrollee enables devices to join an AP by scanning a QR code without pre-shared credentials.
        10.24 KB
      • mcu_host
        Wi-Fi Easy-Connect enrollee allows a host MCU to print a QR code for Wi-Fi credential provisioning via a configurator device.
        6.54 KB
    • enterprise 2
      • cp
        Wi-Fi station brings up against an enterprise AP using 802.1X/EAP, supporting certificate-based authentication in various environments.
        10.29 KB
      • mcu_host
        This example demonstrates Wi-Fi station setup against an enterprise AP, utilizing 802.1X/EAP for authentication.
        3.85 KB
    • iperf 2
      • cp
        Wi-Fi throughput benchmark utilizing a coprocessor, enabling TCP/UDP iperf for end-to-end throughput measurement.
        10.30 KB
      • mcu_host
        Wi-Fi throughput benchmark measuring end-to-end throughput across the hosted transport using the iperf console app.
        5.18 KB
    • itwt 2
      • cp
        802.11ax individual Target Wake Time enables periodic wake schedules for Wi-Fi 6 devices, reducing power consumption.
        10.24 KB
      • mcu_host
        802.11ax individual Target Wake Time negotiates a wake schedule with the AP to reduce power for connected devices.
        16.71 KB
    • scan 2
      • cp
        Scan for nearby Wi-Fi access points and print SSID, RSSI, channel, and auth mode for each using a coprocessor.
        10.18 KB
      • mcu_host
        This example scans for nearby Wi-Fi access points and prints their SSID, RSSI, channel, and auth mode.
        4.79 KB
    • softap 2
      • cp
        Run a Wi-Fi SoftAP on the coprocessor with auto-spawning DHCP for client address assignment.
        10.22 KB
      • mcu_host
        Run a Wi-Fi SoftAP on the coprocessor with the application on the host, allowing clients to connect seamlessly.
        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
        8.91 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