embassy-net-esp-hosted

Crates

git

Versions

default

Flavors

Crate embassy_net_esp_hosted

Crate embassy_net_esp_hosted 

Source
Expand description

§ESP-Hosted embassy-net integration

embassy-net integration for Espressif SoCs running the ESP-Hosted-Fg or ESP-Hosted-Mcu stack.

See examples directory for usage examples with the nRF52840.

§Interoperability

This crate can run on any executor.

It supports any SPI driver implementing embedded-hal-async.

§Feature flags

  • bluetooth — Enable Bluetooth (BLE) support using bt-hci.

§Hosted firmware support

At least one of the following features must be enabled. When both are enabled, the active version will be detected during device initialization. Some features may only be available in one version or the other.

  • esp-hosted-fg — Enable esp-hosted-fg support
  • esp-hosted-mcu — Enable esp-hosted-mcu support

Modules§

bluetooth
Bluetooth (BLE) HCI transport over the ESP-Hosted HCI interface.
iface
Transport interface.

Structs§

Control
Handle for managing the network and WiFI state.
HostedResources
Handles returned by new for interacting with the esp-hosted driver.
Network
WiFi network information.
Runner
Runner for communicating with the WiFi device.
State
State for the esp-hosted driver.
Status
WiFi status.

Enums§

Error
Errors reported by control.
FwVersion
Firmware version.
Security
WiFi security mode.

Functions§

new
Create a new esp-hosted driver.

Type Aliases§

NetDriver
Type alias for network driver.