-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wifi_remote): Per review comments
- Loading branch information
1 parent
8896d10
commit 75e2a37
Showing
29 changed files
with
807 additions
and
513 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,8 +25,7 @@ jobs: | |
${IDF_PATH}/install.sh --enable-pytest | ||
. ${IDF_PATH}/export.sh | ||
cd ./components/esp_wifi_remote/scripts | ||
python parse_header.py | ||
./check_headers.sh | ||
python generate_and_check.py | ||
build_wifi_remote: | ||
if: contains(github.event.pull_request.labels.*.name, 'wifi_remote') || github.event_name == 'push' | ||
|
@@ -40,6 +39,10 @@ jobs: | |
steps: | ||
- name: Checkout esp-protocols | ||
uses: actions/checkout@v3 | ||
- name: ccache | ||
uses: hendrikmuhs/[email protected] | ||
with: | ||
key: ${{ matrix.idf_ver }} | ||
- name: Build ${{ matrix.test.app }} with IDF-${{ matrix.idf_ver }} | ||
shell: bash | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
# The below file is generated from esp_wifi_types_native.h in IDF, which doesn't follow atyle | ||
components/esp_wifi_remote/include/esp_wifi_types_native.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
# This file is auto-generated | ||
menu "Wi-Fi Remote" | ||
orsource "./Kconfig.soc_wifi_caps.in" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/* | ||
* SPDX-FileCopyrightText: 2024 Espressif Systems (Shanghai) CO LTD | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
#pragma once | ||
#include "esp_wifi.h" | ||
#include "esp_wifi_remote.h" | ||
|
||
esp_err_t remote_esp_wifi_init_slave(void); | ||
|
||
// handling channels | ||
esp_err_t esp_wifi_remote_channel_rx(void *h, void *buffer, void *buff_to_free, size_t len); | ||
esp_err_t esp_wifi_remote_channel_set(wifi_interface_t ifx, void *h, esp_remote_channel_tx_fn_t tx_cb); | ||
esp_err_t esp_wifi_remote_rpc_channel_rx(void *h, void *buffer, size_t len); | ||
esp_err_t esp_wifi_remote_rpc_channel_set(void *h, esp_remote_channel_tx_fn_t tx_cb); |
Oops, something went wrong.