You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Purpose of this component is to provide WiFi functionality on ESP chipsets that don't have WiFi. For these chips, you don't need anything but adding a dependency to this component from your project, which will bring WiFi-remote menuconfig and standard `esp_wifi` interface.
6
+
7
+
It's also possible to use this component on ESP chipsets that so support native WiFi to have one more WiFi interface available using `esp_wifi_remote` interface.
8
+
9
+
To use the component you also need a slave device (which must support WiFi) connected to your target device in a specific way (defined by a transport layer of esp_hosted).
10
+
5
11
This component wraps the public API of `esp_wifi` and provides a set of the same function calls namespaces with `esp_wifi_remote` prefix that translate to RPC calls to another target device (called `slave` device) which executes the appropriate `esp_wifi` APIs.
6
12
7
13
This component is heavily dependent on a specific version of the `esp_wifi` component, as that's why most of its headers, sources and configuration files are pre-generated based on the actual version of `esp_wifi`.
@@ -13,8 +19,8 @@ This component doesn't implement the RPC calls by itself, but uses their depende
13
19
14
20
Public API needs to correspond exactly to the `esp_wifi` API. Some of the internal types depend on the actual wifi target, as well as some default configuration values. Therefore it's easier to maintain consistency between this component and the exact version of `esp_wifi` automatically in CI:
15
21
16
-
We extract function prototypes from `esp_wifi.h` and use them to generate `esp_wifi_remote` function declarations (and forwarding the definitions to the underlying RPC component -- `esp_hosted`)
17
-
We process the local `esp_wifi_types_native.h` and replace `CONFIG_IDF_TARGET` to `CONFIG_SLAVE_IDF_TARGET` and `CONFIG_SOC_WIFI_...` to `CONFIG_SLAVE_...`.
18
-
Similarly we process `esp_wifi`'s Kconfig, so the dependencies are on the slave target and slave SOC capabilities.
22
+
*We extract function prototypes from `esp_wifi.h` and use them to generate `esp_wifi_remote` function declarations (and forwarding the definitions to the underlying RPC component -- [`esp_hosted`](https://github.com/espressif/esp-hosted)).
23
+
*We process the local `esp_wifi_types_native.h` and replace `CONFIG_IDF_TARGET` to `CONFIG_SLAVE_IDF_TARGET` and `CONFIG_SOC_WIFI_...` to `CONFIG_SLAVE_...`.
24
+
*Similarly we process `esp_wifi`'s Kconfig, so the dependencies are on the slave target and slave SOC capabilities.
19
25
20
26
Please check the [README.md](./scripts/README.md) for more details on the generation step and testing consistency.
0 commit comments