espressif/esp_hosted

3.0.2

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

66 examples

  • bluetooth 15
    • cp 4
      • hosted_hci
        This CP firmware enables ESP-Hosted Bluetooth features using VHCI over various transport channels.
        7.97 KB
      • standard_hci_uart
        This firmware configures the Bluetooth controller for UART H4 mode, allowing HCI communication without the ESP-Hosted bridge components.
        8.68 KB
      • wifi_hosted_hci
        This firmware enables Wi-Fi and Bluetooth on a control plane using the Hosted VHCI path for HCI frames.
        8.46 KB
      • wifi_standard_hci_uart
        This profile enables Wi-Fi + BT on CP and configures the BT controller for UART H4 mode.
        9.02 KB
    • host_mcu 11
      • bluedroid 7
        • examples 7
          • hosted_hci 6
            • ble_advertise_minimal
              Smallest possible Bluedroid + ESP-Hosted example that starts non-connectable BLE advertising.
              9.53 KB
            • ble_compatibility_test
              BLE interoperability test app for GATT servers, validating BLE behavior against various devices.
              14.63 KB
            • ble_gatt_server
              Connectable BLE peripheral with a custom 128-bit GATT service exposing read/write and notify characteristics.
              10.11 KB
            • bt_hid_mouse
              Acts as a Bluetooth Classic HID mouse, pairing with a host to send mouse-movement reports.
              12.24 KB
            • classic_bt_discovery
              Performs a Classic Bluetooth device inquiry and prints every device seen during the discovery window.
              9.81 KB
            • controller_mac_addr
              Reads and optionally overrides the BT controller's MAC address before initialization and advertises as a BLE beacon.
              9.94 KB
          • standard_hci_uart 1
            • bluedroid_host_only_uart
              This is a Bluetooth Host using UART as HCI IO, requiring UART devices to support RTS/CTS. It allows configuration of UART baudrate via menuconfig.
              7.06 KB
      • nimble 4
        • examples 4
          • hosted_hci 3
            • bleprph_gatt
              Connectable BLE peripheral exposing a custom 128-bit GATT service with two characteristics (read/write + notify).
              9.64 KB
            • bleprph_minimal
              Smallest possible NimBLE BLE peripheral that runs NimBLE host code with ESP-Hosted on a coprocessor.
              8.80 KB
            • bleprph_wifi_coex
              This example runs Wi-Fi and BLE concurrently on the same co-processor, using a shared setup to connect to an AP and advertise a GATT server.
              27.10 KB
          • standard_hci_uart 1
            • bleprph_host_only_uart
              This example demonstrates using UART transport in a BLE application, requiring custom configuration for the ESP32 chip.
              14.84 KB
  • ext_coex 2
    • cp
      Configures the coprocessor's external-coex work mode for Wi-Fi/BT radio sharing with third-party radios.
      10.42 KB
    • mcu_host
      Configures the coprocessor's external-coex work mode for Wi-Fi/BT radio sharing with third-party radios.
      4.93 KB
  • gpio_expander 2
    • cp
      Drives CP-side GPIOs from the host over RPC as if the coprocessor were a remote GPIO expander.
      10.36 KB
    • mcu_host
      Drives host GPIOs remotely as if the coprocessor were a GPIO expander, allowing efficient pin usage.
      3.47 KB
  • mcu_hosted_sdio_sdmmc_combined 2
    • cp
      Demonstrates running ESP-Hosted's SDIO transport on the same SDMMC controller that also hosts an external SD card.
      10.17 KB
    • mcu_host
      Demonstrates running ESP-Hosted's SDIO transport while managing an external SD card on the same controller.
      10.90 KB
  • mem_monitor 2
    • cp
      Subscribes the host to periodic heap/task-stat reports from the coprocessor to catch slow leaks.
      10.30 KB
    • mcu_host
      Subscribes the host to periodic heap/task-stat reports from the coprocessor to monitor memory usage.
      11.59 KB
  • network_split 4
    • iperf 2
      • cp
        This example demonstrates using iperf3 on a split network where the coprocessor manages Wi-Fi and the host runs its own TCP/IP stack.
        23.60 KB
      • mcu_host
        This example uses iperf3 to measure end-to-end throughput in a network-split setup with host and coprocessor.
        35.26 KB
    • station 2
      • cp
        A bare-bones Wi-Fi station with a network-split backend enabling shared IP between host and co-processor.
        23.22 KB
      • mcu_host
        Bare-bones Wi-Fi station with a network-split backend, sharing one IP between host and co-processor.
        30.43 KB
  • openthread 4
    • border_router 2
      • cp
        OpenThread Border Router operates with a single ESP-Hosted co-processor for 802.15.4 RCP and Wi-Fi backhaul.
        4.78 KB
      • esp_host
        OpenThread Border Router on the host manages a single ESP-Hosted co-processor providing both 802.15.4 RCP and Wi-Fi backhaul.
        7.87 KB
    • cli 2
      • cp
        Runs a full OpenThread CLI on the host with the 802.15.4 Radio Co-Processor, exchanging traffic over UART.
        4.22 KB
      • esp_host
        Runs a full OpenThread CLI on the host with the 802.15.4 Radio Co-Processor, exchanging traffic over UART.
        6.83 KB
  • ota 2
    • coprocessor_ota 2
      • cp
        Pushes new CP firmware from the host using the OTA RPC chain, sourcing from HTTPS, LittleFS, or raw flash.
        10.43 KB
      • mcu_host
        This project enables pushing new coprocessor firmware from the host through a structured OTA RPC chain.
        35.69 KB
  • peer_data_transfer 2
    • cp
      Demonstrates the `peer_data` custom-RPC channel where the host sends messages and verifies intact payloads.
      10.77 KB
    • mcu_host
      Demonstrates the peer_data custom-RPC channel where the host sends messages and verifies payload integrity.
      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 CP to maintain Wi-Fi while the host enters deep sleep, waking it when needed.
          22.49 KB
        • esp_host
          Network split allows the co-processor to maintain Wi-Fi connectivity and wake the host for specific traffic while it sleeps.
          16.84 KB
    • host+cp 2
      • network_split__host_deep_sleep_cp_light_sleep 2
        • cp
          This example demonstrates a system where the host enters deep sleep while the coprocessor remains in light sleep, allowing Wi-Fi connectivity to persist.
          28.46 KB
        • esp_host
          This project enables deep sleep for the host while maintaining Wi-Fi on the coprocessor, facilitating energy efficiency.
          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 as console commands, enhancing functional API coverage.
        3.79 KB
    • get_cp_fw_version 2
      • cp
        This example demonstrates the simplest ESP-Hosted scenario to fetch the coprocessor firmware version via a single RPC request.
        10.26 KB
      • mcu_host
        A minimal ESP-Hosted scenario that fetches and prints the coprocessor firmware version using a single RPC request.
        5.63 KB
    • hosted_events 2
      • cp
        Wires the host's ESP-IDF event loop to ESP-Hosted's lifecycle events, allowing user applications to react to coprocessor state changes without polling.
        10.25 KB
      • mcu_host
        Hosts the ESP-IDF event loop for ESP-Hosted's lifecycle events, enabling reaction to coprocessor state changes.
        12.57 KB
    • mcu_transport_config 2
      • cp
        Configures the host-side transport programmatically at runtime before esp_hosted_init(). This example shows how to override Kconfig defaults in code.
        10.15 KB
      • mcu_host
        Configures the host-side transport at runtime before esp_hosted_init(). Useful for overriding bus settings programmatically.
        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 allows devices to join Wi-Fi networks by scanning a QR code without needing pre-shared keys.
        10.23 KB
      • mcu_host
        The Wi-Fi Easy-Connect enrollee enables a host MCU to print a QR code for Wi-Fi credential provisioning via a configurator device.
        6.77 KB
    • enterprise 2
      • cp
        Wi-Fi enterprise setup for 802.1X/EAP networks, utilizing a coprocessor for radio management and host application.
        10.29 KB
      • mcu_host
        Wi-Fi station setup for enterprise networks using 802.1X/EAP, allowing clients to authenticate with certificates instead of a shared PSK.
        3.94 KB
    • iperf 2
      • cp
        Wi-Fi throughput benchmark utilizing a coprocessor, measuring end-to-end throughput via TCP/UDP iperf.
        10.30 KB
      • mcu_host
        Wi-Fi throughput benchmark allowing the host to drive TCP/UDP iperf to measure end-to-end throughput across the hosted transport.
        5.18 KB
    • itwt 2
      • cp
        Wi-Fi iTWT is a feature of 802.11ax that reduces power consumption by negotiating sleep schedules for devices.
        10.24 KB
      • mcu_host
        Wi-Fi iTWT enables devices to negotiate wake schedules for power savings, using a coprocessor for radio control.
        16.71 KB
    • scan 2
      • cp
        This example scans for nearby Wi-Fi access points and prints their SSID, RSSI, channel, and auth mode.
        10.18 KB
      • mcu_host
        Scan for nearby Wi-Fi access points, displaying SSID, RSSI, channel, and auth mode on the host.
        4.79 KB
    • softap 2
      • cp
        Run a Wi-Fi SoftAP on the coprocessor with the application on the host, enabling clients to connect and obtain IPs.
        10.22 KB
      • mcu_host
        Run a Wi-Fi SoftAP with the radio on the coprocessor and the application on the host, auto-assigning DHCP addresses.
        4.70 KB
    • sta 3
      • cp
        Connect to an AP as a Wi-Fi station using a co-processor while the application runs on the host.
        10.27 KB
      • cp_streaming
        8.91 KB
      • mcu_host
        Connect to an AP as a Wi-Fi station using the coprocessor for radio and host for application, following the IDF example.
        6.41 KB