Nachiket Kukade
f38144a689
esp_wifi: Miscellaneous FTM bugfixes
...
1. Update wifi libs with bugfixes for corner cases
2. Avoid ASSERT for scan failure in FTM example
Closes https://github.com/espressif/esp-idf/issues/8127
2021-12-30 12:22:42 +05:30
Marius Vikhammer
82325f6037
docs: update docs to be able to build with esp8684
2021-12-20 10:32:49 +08:00
Nachiket Kukade
c3d971c52e
esp_wifi: Update wifi lib
...
Update wifi lib with below fixes -
1. In FTM Responder, add session timer for cleanup, also remove
unnecessary mutex locks
2. In FTM Responder, fix incorrect print in case of failure
while setting up the SofTAP
2. In FTM Initiator, increase FTM Request response timeout to
avoid failures in noisy environments
3. In FTM Initiator, abort for high start delta time, also fix
timeout issue in ASAP mode
Closes https://github.com/espressif/esp-idf/issues/7702
Closes https://github.com/espressif/esp-idf/issues/7753
2021-11-25 15:48:53 +05:30
Christoph Rackwitz
4af1da0f21
esp_wifi: Reset event bits in ftm example to avoid repeated failures
...
Closes https://github.com/espressif/esp-idf/pull/7773
2021-11-25 15:48:34 +05:30
Hrudaynath Dhabe
4cad64babf
esp_wifi: Add example code for EAP-FAST.
2021-11-22 17:33:36 +05:30
Roland Dobai
766aa57084
Build & config: Remove leftover files from the unsupported "make" build system
2021-11-11 15:32:36 +01:00
Kapil Gupta
8e211c1179
esp_example: Enable GCMP, GMAC for 192 bit config
2021-10-19 19:02:26 +05:30
Kapil Gupta
f1b4a027aa
esp_examples: Update WiFi enterprise example
2021-10-12 20:48:53 +08:00
alex.li
26d8b7ee17
Add HW external coexist api.
...
Simplify the external coex flow.
And replace gpio of driver interface with hal one.
2021-10-12 14:05:14 +08:00
WangShichang
9f37cfc7fc
add docs "How to improve Wi-Fi performance" in api-guides for esp32s3.
2021-10-11 15:08:02 +08:00
Jakob Hasse
f86e154a56
Merge branch 'feature/removed_hyphens_from_examples' into 'master'
...
[examples]: Project names consistent with their directories
Closes IDFGH-3673
See merge request espressif/esp-idf!13570
2021-10-11 03:43:37 +00:00
Jakob Hasse
81e9266204
[examples]: removed hyphens
...
Replaced hyphens with underscores in examples
project definition for all examples which had
hyphens in their project name. dpp-enrollee is
an exceptions because the name matches the
project directory name while the project
directory also contains hyphens.
2021-10-09 13:58:24 +08:00
Kapil Gupta
834afad47e
esp_wifi: Add support for MBO certification
2021-10-04 15:56:14 +08:00
zhangwenxu
2be77287b3
openthread: add iperf example for ot-network test
2021-09-06 15:32:38 +08:00
morris
aafb628683
Merge branch 'examples/network_folder' into 'master'
...
examples: Created a new folder structure for generic network examples
Closes IDF-3311
See merge request espressif/esp-idf!14513
2021-08-25 11:45:21 +00:00
Nachiket Kukade
09ab053ea1
esp_wifi: Fix some PMF and FTM issues
...
1. Update wifi lib with fix for dropping bcast PMF deauths/disassocs
with certain reason codes
2. Fix FTM not working in connected state and some other bugs
2021-08-11 17:02:29 +05:30
Li Shuai
4ae9428cb7
light sleep: add wifi power save example for esp32s3
2021-08-04 21:31:45 +08:00
Ondrej Kosta
4e77430107
examples: Update Ethernet examples to use new PHY LAN87xx init function
...
Ethernet examples device usage and Kconfig options synchronized
2021-07-28 19:34:05 +08:00
Lu Ai Jun
d29335710d
test: add ethernet iperf example test case
2021-07-28 09:39:02 +08:00
Ondrej Kosta
4ac24549ad
examples: create a new folder structure for generic network examples
...
simple_sniffer was moved from /wifi folder to /network folder
network_tests was moved from /system to /network folder
README's were updated accordingly to reflect new structure
2021-07-26 12:25:19 +02:00
SalimTerryLi
1abf5c861d
examples: unify iperf component
2021-07-16 11:59:52 +08:00
Omar Chebib
0fd74a43c8
console: re-use the available REPL console API and improve linenoise
...
Console example doesn't duplicate code in `console` component.
Linenoise has been improved: it now has a parametrized command line
length. It is now possible to paste data efficiently to the console.
Note: this can only be done if the cursor is at the end of the line.
Closes https://github.com/espressif/esp-idf/issues/7057
2021-07-15 11:37:11 +08:00
chenjianxing
564068d5af
esp_wifi: support esp32s3 wifi and fix not tx 9M rate issue
2021-07-06 11:38:40 +08:00
Cao Sen Miao
3aa9ac2469
usb_serial_jtag: Add blocking driver to support vfs.
2021-07-05 11:22:38 +08:00
Nachiket Kukade
eb49ee75b8
wifi/ftm: Additional FTM features implementation
...
Update wifi lib with below features -
1. ASAP mode for both Initiator and Responder
2. Offchannel FTM while connected to AP (ASAP only)
3. Support up to 3 Initiators simultaneously
4. Session termination, failure support etc
5. Mem-zero AP scan buffer in get_records API
2021-06-30 17:52:07 +05:30
Jiang Jiang Jian
a3197a5b1e
Merge branch 'bugfix/enable_pmf_in_iperf_test' into 'master'
...
iperf example: set PMF capable to connect to PMF required APs
Closes TCI-675
See merge request espressif/esp-idf!13853
2021-06-10 12:21:08 +00:00
Marius Vikhammer
bdfda351bd
build docs: enable building of S3 docs
...
* Added suport for building esp32s3 docs
* Fixed all related warnings
* Activated building of S3 docs for build HTML fast CI job
2021-06-09 09:30:36 +08:00
He Yin Ling
1a9abeda6b
example: set PMF capable to connect to PMF required APs
2021-06-03 20:03:59 +08:00
Ondrej Kosta
b0f79a6ae3
wifi/simple_sniffer: Add sniffer feature for Ethernet
...
Extends the example by adding option to sniff traffic on Ethernet interface. User have interactive option to use either WiFi or Ethernet interface to sniff on.
2021-05-28 10:56:50 +00:00
He Yin Ling
8cc4cd775e
test: support multiple targets for iperf example test
2021-05-20 16:58:38 +08:00
Jiang Jiang Jian
9afd57057d
Merge branch 'bugfix/add_sniffer_fcs_filter' into 'master'
...
example: Add sniffer FCSFAIL filter
Closes IDFGH-4661
See merge request espressif/esp-idf!12249
2021-05-08 07:31:51 +00:00
Jiang Jiang Jian
3c0801584a
Merge branch 'bugfix/update_esp32c3_docs' into 'master'
...
Bugfix/update esp32c3 wifi driver docs
See merge request espressif/esp-idf!13274
2021-04-28 07:40:20 +00:00
xiehang
91e019ea97
example: Add sniffer FCSFAIL filter
...
Closes https://github.com/espressif/esp-idf/issues/6473
2021-04-27 11:56:30 +00:00
chenjianxing
c66b1aeda7
update esp32c3 iperf config
2021-04-27 14:41:08 +08:00
laokaiyao
92670e499c
examples/simple_sniffer: add SPI work mode to SD card to support all chips
2021-04-22 19:52:41 +08:00
Ivan Grokhotkov
08f7ac962c
examples/simple_sniffer: only enable apptrace if JTAG is selected
...
Fixes compilation of this example on esp32c3, where apptrace is not
yet supported.
2021-04-22 11:39:11 +08:00
Nachiket Kukade
c93907fb27
wifi/ftm: Move FTM report logging into application and some bugfixes
...
Move FTM report processing and logging to application
Update wifi lib with below bugfixes
1. Initiator parameters sanity checks
2. Responder config option, fix beacon caps
3. To save space, register FTM modules only when FTM is enabled
Co-Authored-By: Nachiket Kukade <nachiket.kukade@espressif.com>
Co-Authored-By: Zhang Jun Hao <zhangjunhao@espressif.com>
2021-04-20 03:44:51 +00:00
pedro.minatel
da471dfcd1
Examples README's updated on peripherals, system and wifi
...
Updated main examples README to add missing examples folders and Getting Started links
Updated wifi/fastscan example README
Updated wifi examples README
Updated wifi main examples README
Added instructions and removed obviousness from examples README
Updates on example README in peripherals, system and wifi
Updates on example README in peripherals and added wave form pictures on wave_gen example
Updates and review on example README
Revision on unit style convention
Added the getting started link for each supported version
Readme review and recommended enhancements
Added the default note on the wave form option info
Added the ESP32-C3 support information on the temperature sensor example README
Added Getting Started information for ESP32-S2 and ESP32-C3
Issue fixed on the supported target on README
Resolved merge conflict
2021-04-07 14:24:38 +00:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
dongyou
543664f247
add exception handling for iperf example's scan when no ap was found
2021-02-04 08:40:10 +00:00
Jiang Jiang Jian
46b3cde07b
Merge branch 'bugfix/fix_espnow_example_issue' into 'master'
...
espnow example: Fix the issue of restart in espnow blocking system
See merge request espressif/esp-idf!12084
2021-02-04 16:22:02 +08:00
Nachiket Kukade
8de3b31d2d
FTM support for ESP32-C3 and connectionless mode
...
1. Support for FTM to work without any connection
1. Support for ESP32-C3 chip
3. Fix error case handling if FTM fails
4. Fix asynchronization, re-transmission related issues
2021-01-27 20:49:07 +05:30
Nachiket Kukade
a71976ab54
wifi/ftm: Stability fixes, raw FTM data in event
...
Update wifi lib with below additions -
1. Add FTM frame formation, IEEE definitions, event and IOCTL.
2. Implementation of FTM bursts, Measurements and RTT calculations
3. Fix Watchdog timeout, crashes with better cleanup of timers
4. Included FTM Report raw data in FTM event
Closes https://github.com/espressif/esp-idf/issues/5059
2021-01-27 11:16:35 +05:30
Nachiket Kukade
acb1143409
Add support for FTM operation
...
Add FTM support for below configuration -
1. Station(connected) as Initiator with AP as responder
2. SoftAP as responder with the connected Station
Added Station example with runtime FTM configurations.
2021-01-27 10:57:41 +05:30
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Nachiket Kukade
76b2cb28d2
Add DPP Enrollee example
...
1. Add Example for DPP Enrollee
2. Use DPP Supplicant API's to setup connection
3. Add support for multiple channels in Bootstrapping
4. Add Unity testcase for testing Offchannel operations
Closes https://github.com/espressif/esp-idf/issues/5654
2021-01-25 13:26:33 +05:30
Jiang Jiang Jian
76bb9565af
Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
xiehang
d331d7f2a6
example: Fix espnow stuck issue
2021-01-21 11:37:10 +08:00
Li Shuai
355dd10257
light sleep: dfs support for esp32c3
2021-01-19 14:50:58 +08:00
xiehang
dffbce9813
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-01-19 11:58:04 +08:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08:00
ninh
659d805411
esp_wifi: light sleep optimization
2021-01-18 15:31:03 +08:00
xiehang
d9e1d51ec8
example: Scan failure should not cause system crash
2021-01-15 11:45:23 +00:00
Jiang Jiang Jian
9ff1609a20
Merge branch 'feature/add_esptouch_v2' into 'master'
...
WiFi: add ESPTouch v2
Closes WIFI-942 and WIFI-2619
See merge request espressif/esp-idf!10093
2021-01-15 19:11:47 +08:00
ninh
27aa6c289f
components/pm: Add slp gpio configure workaround
2021-01-15 15:34:45 +08:00
zhangyanjiao
1da9d9c356
esp_wifi: add esptouch v2
...
Closes https://github.com/espressif/esp-idf/issues/1311
2021-01-15 14:32:46 +08:00
xiehang
c260c223e9
example: We should not check the return value of esp_wifi_connect() in any case
2021-01-11 14:40:18 +08:00
Yinling He
d74eaadd56
test: add softap iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
97220af848
test: use pyecharts to replace matplotlib in iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
5197716d5d
test: modify bad point check logic of Wi-Fi iperf test
2021-01-07 17:10:41 +08:00
He Yin Ling
16a488c405
test: fix iperf example errors:
...
1. fix TypeError when running with python3
2. fix throughput chart x/y axis label error
3. make test case compatibile with iperf bin on earlier release branches
2021-01-07 17:10:40 +08:00
ninh
e908a32381
put pm_slp_iram_opt and pm_rtos_iram_opt related attributes in esp_pm/linker.lf
2021-01-06 03:40:28 +00:00
Jiang Jiang Jian
1fdd83b1da
Merge branch 'docs/wifi_wpa2-enterprise' into 'master'
...
docs:wifi: Add wifi_guide for wpa2_enterprise.
Closes WIFI-987
See merge request espressif/esp-idf!10402
2020-12-23 12:50:46 +08:00
aditi_lonkar
cd85c79d30
docs:wifi: Add wifi_guide for wpa2_enterprise.
...
Closes https://github.com/espressif/esp-idf/issues/2698
2020-12-17 10:41:41 +05:30
dongyou
65513824a7
ajust espnow channel range
...
Close https://github.com/espressif/esp-idf/issues/6276
2020-12-17 10:58:49 +08:00
Jiang Jiang Jian
0e42b856af
Merge branch 'bugfix/initialize_SO_REUSEADDR_value' into 'master'
...
[WiFi] fixed iperf example parameter opt isn't initialized bug
See merge request espressif/esp-idf!10913
2020-11-22 16:08:21 +08:00
Jiang Jiang Jian
a139bceb0a
Merge branch 'feature/11kv_roaming' into 'master'
...
esp_wifi: 11kv support for network assisted roaming
Closes WIFI-2471
See merge request espressif/esp-idf!9474
2020-11-18 20:40:36 +08:00
kapil.gupta
27101f9454
wpa_supplicant: Add initial roaming support
...
This commit adds different features from 802.11k and 802.11v
specifications to make the device ready for network assisted
roaming. It also adds initial framework for device to detect
whether it needs to move to a better AP.
Followings are added as part of this.
1. Support for sending neighbor report request and provide
the report back to the APP.
2. Support for beacon measurement report.
3. Support for link measurement report.
4. Support for sending bss transition management query frame
(triggered by the APP).
5. Support for bss transition management request and move
to the candidate based on that.
6. Sending the bss transition management response.
2020-11-17 17:15:26 +05:30
morris
e039a28821
console: support create REPL over USB CDC
2020-11-13 10:51:40 +08:00
Angus Gratton
66fb5a29bb
Whitespace: Automated whitespace fixes (large commit)
...
Apply the pre-commit hook whitespace fixes to all files in the repo.
(Line endings, blank lines at end of file, trailing whitespace)
2020-11-11 07:36:35 +00:00
dongyou
b55bb0a61f
WIFI: Iperf example's parameter opt was uninitialized, may leads setsockoption invalide if it equal to 0
2020-10-29 02:50:31 +00:00
Martin Valik
815d9ec6bd
Power consumption graphs were added to ulp and wifi power save examples
...
Closes IDF-208
2020-09-17 13:20:09 +02:00
Hrudaynath Dhabe
d7ccad371a
wpa_supplicant: add support for PAP, MS-CHAP and CHAP as Phase 2 algorithms for TTLS alongside MS-CHAPv2
2020-07-23 11:07:14 +00:00
Nachiket Kukade
81f037a299
Fix handling of multiple AP credentials in WPS
...
WPS can send multiple AP credentials, while existing implementation
will only use the first credentials which could be for the 5G band.
Fix this by passing these credentials to the App and attempting
to connect using each of those. Older Apps will remain compatible
without breaking WPS, but the issue will remain.
2020-07-08 11:02:55 +00:00
morris
29f8aecfc0
console_repl: change config structure to support different devices
2020-07-02 07:39:46 +00:00
kapil.gupta
179292f9b3
esp_wifi: Remove auth_changed event and fix wpa2 authmode threshold
...
Added following as part of this change
1. Removed auth_changed event
2. Updated doc regarding usage of WPA/WEP secuiry modes
3. Fixed WPA2 enterprise authmode threshold.
2020-06-04 17:54:26 +05:30
Chen Jian Xing
ebb2caa940
esp_wifi: re-enable build wifi example
2020-06-02 17:38:22 +08:00
Jiang Jiang Jian
b1cb127e61
Merge branch 'bugfix/esp32s2_iperf_config_update' into 'master'
...
update esp32s2 iperf config
See merge request espressif/esp-idf!8461
2020-05-27 13:56:19 +08:00
Nachiket Kukade
d7edd28338
esp_wifi: Update WiFi lib
...
Add and utilize WPA3/WPA2 Mixed mode Authtype.
2020-05-15 17:24:51 +05:30
Xia Xiaotian
526a3e49ed
esp_wifi: When WiFi TSF is active, skip light sleep
...
* Add an API for peripherals to set callbacks to skip light sleep
* Make WiFi power save example work
2020-05-13 19:31:36 +08:00
Jan-Hendrik Frintrop
ff9c2dfa8c
Fixed links to example directories for fast_scan and scan
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
https://github.com/espressif/esp-idf/pull/5186
2020-05-08 14:22:39 +08:00
Nachiket Kukade
107cf56e20
esp_wifi: Enable WPA3 & PMF by default
...
In wifi station example, set PMF(Protected Management Frames)
configuration to capable. Set WPA3 Feature in menuconfig enabled
by default. This will allow device to establish more secured
connection with AP's that support these protocols.
2020-05-04 16:02:14 +05:30
ChenJianxing
eda97d7e16
update esp32s2 iperf config
2020-04-30 14:00:34 +08:00
xiehang
2d6f7f25e3
esp_wifi:Add softap example channel configuration
2020-04-17 17:31:46 +08:00
Krzysztof Budzynski
e1ab4b6711
Merge branch 'bugfix/uart_echo_readme' into 'master'
...
example: Remove duplicate commands and invalid serial port information
Closes IDFGH-3022
See merge request espressif/esp-idf!8295
2020-04-11 01:52:01 +08:00
Jiang Jiang Jian
4d9bb3ca71
Merge branch 'bugfix/wifi_station_examples_event_error' into 'master'
...
Fix instance names for event handler unregister
Closes WIFI-2122
See merge request espressif/esp-idf!8282
2020-04-10 20:56:39 +08:00
Fu Hanxi
5b2fa1a5ad
build_app: make multi target support readable
2020-04-09 16:40:57 +08:00
Roland Dobai
6adb1a0609
example: Remove duplicate commands and invalid serial port information
...
Closes https://github.com/espressif/esp-idf/issues/5049
2020-04-08 13:17:48 +02:00
ronghulin
f0744184f5
fix: add event unregister comment
2020-04-07 21:53:50 +08:00
Jari Jokinen
266b0c3889
Fix instance names for event handler unregister
...
Signed-off-by: ronghulin <ronghulin@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/5064
2020-04-07 20:30:19 +08:00
Anton Maklakov
0fee085b67
Merge branch 'bugfix/update_esp32s2_iperf_config' into 'master'
...
examples: update esp32s2 config for wifi iperf
See merge request espressif/esp-idf!8084
2020-03-30 16:45:11 +08:00
Jakob Hasse
1cf2312734
Examples: some examples use new event register API
...
* getting started - station
* softap
* iperf
* fast scan
* Power save
2020-03-25 10:36:47 +08:00
ChenJianxing
fabb7e5e87
examples: update esp32s2 config for wifi iperf
2020-03-24 11:36:16 +08:00
Roland Dobai
15884eccf2
Add multi-target support for performance tests
2020-03-09 13:41:56 +01:00
suda-morris
75cadc2e41
console: simplify examples
...
1. simplify console examples
2. add "quit" command
3. support console command overwrite
4. add API reference
2020-02-07 20:15:06 +08:00
Jakob Hasse
bcefbb03ad
examples: using xEventGroup bits properly
...
Closes IDF-1177
* changed
../../wifi/getting_started/station/README.md
../../wifi/getting_started/station/main/station_example_main.c
2020-01-03 16:10:27 +08:00
Jiang Jiang Jian
f106e14400
Merge branch 'bugfix/iperf_example_configs' into 'master'
...
examples/wifi/iperf: fix test not finding any configs
See merge request espressif/esp-idf!6802
2019-12-18 15:35:20 +08:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
Ivan Grokhotkov
211c54cef3
examples/wifi/iperf: fix test not finding any configs
...
Regression from ebd7004
2019-12-16 11:51:49 +00:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
Hrudaynath Dhabe
cde8df7887
Minor bugfix in wpa2_enterprise_example
2019-12-02 13:54:51 +08:00
Ivan Grokhotkov
477e66103c
Merge branch 'feature/esp32s2beta_apptrace_port' into 'master'
...
esp32s2: Adds apptrace support
Closes IDF-510 and IDF-1032
See merge request espressif/esp-idf!5610
2019-11-22 05:33:35 +08:00
Ivan Grokhotkov
871ea650f6
examples: fix sdkconfig warnings
2019-11-21 15:36:06 +01:00
Ivan Grokhotkov
ebd7004a31
examples: update wifi/iperf to use the new builder
2019-11-21 15:36:06 +01:00
Hrudaynath Dhabe
504172e851
wifi: minor changes in scan example
2019-11-15 23:56:16 +08:00
Ivan Grokhotkov
9e8fa4bb18
Merge branch 'feature/esp_netif_interface_update' into 'master'
...
tcpip_adapter refactor: ready for review
Closes IDF-39
See merge request espressif/esp-idf!5373
2019-11-14 21:27:53 +08:00
Alexey Gerenkov
30ff7198b8
apptrace: Renames Kconfig options
2019-11-13 15:24:01 +03:00
David Cermak
6e0d274f58
esp_netif: example init code fixed to assert only variables, not
...
function calls so it won't be skipped if compiled without asserts
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
204492bd78
examples: wifi getting started examples to use esp_netif_init() and
...
create default netif instances for station and AP
2019-11-13 12:36:25 +01:00
David Cermak
ec9f245dd3
examples: removed ip4addr_ntoa and used prefered IP2STR for displaying IP addresses
2019-11-13 12:36:25 +01:00
zhangyanjiao
b9da410cbb
espnow: fix the bug for calling esp_wifi_set_channel(), this function only can be called after Wi-Fi started and sniffer enabled.
2019-11-13 16:40:30 +08:00
Angus Gratton
7ce75a42c7
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-25 15:13:52 +11:00
Hrudaynath Dhabe
019502a36e
esp_wifi: Additional code snippets in esp_wifi_scan_example
2019-10-23 14:12:32 +08:00
Angus Gratton
496ede9bcd
Merge branch 'master' into feature/esp32s2beta_merge
2019-10-15 14:59:27 +11:00
Hrudaynath Dhabe
ac0b4c184d
wpa_supplicant: Make hexdump logs more compact
...
When running with wpa debug prints enabled data/key hexdumps are
printed to the log in a really verbose format (one byte per line).
Make these printouts more compact. 16 bytes per line.
2019-10-14 23:37:51 +08:00
Michael (XIAO Xufeng)
63329b169b
ci: limit example test to ESP32s
2019-09-04 10:53:25 +10:00
Angus Gratton
6990a7cd54
Merge branch 'master' into feature/esp32s2beta_update
2019-08-19 15:03:43 +10:00
suda-morris
b1497f2187
exclude rom headers in examples
...
1. avoid including rom headers directly in examples
2. add common API interface for CRC calculation in esp_common component
2019-08-13 11:10:22 +08:00
Angus Gratton
04ae56806c
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 15:26:58 +10:00
Angus Gratton
24d26fccde
Merge branch 'master' into feature/esp32s2beta_update
2019-08-08 13:44:24 +10:00
Angus Gratton
b23718995a
Merge branch 'bugfix/strict_prototypes' into 'master'
...
Enable strict prototypes checks
Closes IDFGH-757
See merge request espressif/esp-idf!4546
2019-08-05 09:38:39 +08:00
Mahavir Jain
e7dba7d7bc
examples: change default build instructions in docs to CMake
2019-08-02 16:32:46 +05:30
Anton Maklakov
afbaf74007
tools: Mass fixing of empty prototypes (for -Wstrict-prototypes)
2019-08-01 16:28:56 +07:00
Ivan Grokhotkov
26800ed71e
global: update note in the partition tables
...
The build system automatically determines offsets of partitions from
the partition table, so no manual changes are needed. Instead, add a
note that partition offsets may need to be updated when increasing
the bootloader size.
2019-07-27 10:28:16 +02:00
Angus Gratton
47bbb107a8
build system: Use CMake-based build system as default when describing commands
2019-07-08 17:31:27 +10:00
Michael (XIAO Xufeng)
25ab8380c8
ci: support to build esp32s2beta simple examples
2019-07-08 09:16:06 +08:00
xueyunfei
fa02598b5c
lwip_2.1.2 for idf_4.0
2019-07-07 01:51:45 +00:00
Jiang Jiang Jian
f4f59964a3
Merge branch 'feature/wifi_refactor_smartconfig_to_esp_event' into 'master'
...
esp_wifi: refactor smartconfig callback to use esp event
Closes IDF-268
See merge request espressif/esp-idf!4806
2019-07-04 21:16:57 +08:00
XiaXiaotian
29d1d2bd38
esp_wifi: refactor smartconfig callback to use esp event
2019-07-04 18:00:04 +08:00
Krzysztof
8d251d7369
Implement review comments
2019-07-02 18:22:33 +08:00
fakefred
d1ceaf81ae
example/wifi/scan: fix README grammar
...
Merges https://github.com/espressif/esp-idf/pull/3678
2019-07-02 17:49:49 +08:00
Deng Xin
c139683024
supplicant/esp_wifi: move supplicant to idf
...
Move supplicant to idf and do following refactoring:
1. Make the folder structure consitent with supplicant upstream
2. Remove duplicated header files and minimize the public header files
3. Refactor for WiFi/supplicant interfaces
2019-06-29 22:46:52 +08:00
Renz Christian Bagaporo
6771eead80
examples: use new component registration api
2019-06-21 19:53:29 +08:00
suda-morris
d156f0fc0f
replace strncpy with strlcpy in wifi examples for safety's sake
2019-06-17 11:25:50 +08:00
suda-morris
1886d8d4ef
update ota examples to support both Wi-Fi and Ethernet
2019-05-22 17:56:10 +08:00
Roland Dobai
151f757912
Rename Kconfig options (examples)
2019-05-21 09:32:55 +02:00
Roland Dobai
1ad2283641
Rename Kconfig options (components/bootloader)
2019-05-21 09:32:55 +02:00
Roland Dobai
997b29a9ca
Rename Kconfig options (components/esptool_py)
2019-05-21 09:32:55 +02:00
Roland Dobai
0ae53691ba
Rename Kconfig options (components/esp32)
2019-05-21 09:09:01 +02:00
Roland Dobai
92950db44e
Rename Kconfig options (components/lwip)
2019-05-21 09:09:01 +02:00
xiehang
5e15840ac1
examples: fix iperf exit error
2019-04-22 12:14:21 +08:00
He Yin Ling
ad0d8a4767
test: save throughput result to junit report
2019-04-19 14:39:44 +08:00
Ivan Grokhotkov
b4056560c0
examples/wifi: use esp_event library to handle events
2019-04-11 12:32:03 +08:00
Ivan Grokhotkov
b1d1e37f87
event loop: re-implement based on esp_event library
...
Includes ds2ds unit test fix, iperf example test fix
2019-04-11 12:04:58 +08:00
morris
c159984264
separate rom from esp32 component to esp_rom
...
1. separate rom include files and linkscript to esp_rom
2. modefiy "include rom/xxx.h" to "include esp32/rom/xxx.h"
3. Forward compatible
4. update mqtt
2019-03-21 18:51:45 +08:00
Ivan Grokhotkov
945bd36884
examples: don't enable buffering on stdout in console examples
...
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-03-13 20:32:37 +08:00
morris
ae6d19b4fb
sniffer: capture packets to host via JTAG
...
Based on app-trace component, it's able to send sniffer packets to host via JTAG interface.
2019-02-27 16:20:13 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
Liu Zhi Fu
c1022ac22b
docs: udpate wifi document
...
Update WiFi document
2019-01-03 13:46:16 +08:00
Anton Maklakov
5e6509232e
example: Fix a truncation warning
2018-12-13 12:29:27 +08:00
Roland Dobai
57c54f96f1
examples: Fix Python coding style
2018-12-06 09:34:33 +01:00
zhangyanjiao
ad22d280c6
wifi: add long range code
2018-11-23 09:09:07 +00:00
He Yin Ling
eac02c2fcd
test: use simplified env to test iperf cases
2018-10-26 16:53:57 +08:00
morris
900b69a33e
example: add console command for wifi sniffer
...
1. add mount/unmount command
2. add sniffer command, supporting options
3. make pcap a component
2018-10-19 11:51:56 +08:00
David Cermak
9784df1c3a
asio: examples renamed to have consistent binary names when build in make and CMake
2018-10-17 15:00:26 +02:00
morris
7bc36d23e1
ethernet: add iperf example to test real bandwidth
...
1. Add command for Ethernet based on console component.
2. Make cmd_system and iperf a component that can be referenced by other examples
3. Add "version" command to cmd_system.c
4. Clean up the README.md in all ethernet examples[TW#26525]
2018-10-08 09:51:17 +08:00
Roland Dobai
17b7959de9
Examples: Add Python 2&3 support
2018-09-25 08:05:56 +02:00
Renz Christian Bagaporo
944014f9f2
cmake: fix source list issues
2018-09-13 08:56:59 +08:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Zhang Yan Jiao
3578fe39e0
Feature/sync lwip as submodule
2018-09-06 19:43:08 +08:00
Angus Gratton
c1b8949a1e
cmake: Add CMakeLists.txt file for WiFi station example
2018-09-06 16:20:13 +08:00
Angus Gratton
b355854d4d
Merge branch 'master' into feature/cmake
2018-09-05 10:35:04 +08:00
Jiang Jiang Jian
69610acbe3
Merge branch 'feature/modify_simple_wifi' into 'master'
...
modify simple wifi example to getting_started example
See merge request idf/esp-idf!3143
2018-09-04 19:04:42 +08:00
zhangyanjiao
45d596d821
1. modify simple wifi example
...
2. add README file
2018-09-04 14:44:43 +08:00
Jiang Jiang Jian
76669ca817
Merge branch 'feature/modify_espnow' into 'master'
...
modify espnow example
See merge request idf/esp-idf!3144
2018-09-04 13:09:43 +08:00
Angus Gratton
83a179abb0
esp32: Add esp_fill_random() function
...
Convenience function to fill a buffer with random bytes.
Add some unit tests (only sanity checks, really.)
2018-09-03 04:39:45 +00:00
zhangyanjiao
6daecf73ce
modify espnow example
2018-08-31 19:21:15 +08:00
zhangyanjiao
98cf74d1b7
modify static variables and README file
2018-08-30 19:52:10 +08:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
a56b3abf84
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-29 19:39:17 +08:00
Ivan Grokhotkov
3cec686803
examples/power_save: set CPU frequencies in sdkconfig
2018-08-21 13:02:46 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Sagar Bijwe
1df85e0039
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-05 00:00:56 +00:00
Angus Gratton
a67d5d89e0
Replace all DOS line endings with Unix
...
Command run was:
git ls-tree -r HEAD --name-only | xargs dos2unix
2018-07-12 19:10:37 +08:00
Angus Gratton
6b9784cc45
Merge branch 'master' into feature/cmake_update
2018-05-31 14:46:23 +10:00
Ivan Grokhotkov
cb649e452f
remove executable permission from source files
2018-05-29 20:07:45 +08:00
Ivan Grokhotkov
12230b7292
examples/wifi/power_save: enable tickless idle
2018-05-18 03:14:46 +00:00
He Yin Ling
e8dd203e47
example test: add test case for iperf example
2018-05-15 13:42:26 +08:00
He Yin Ling
7e4c2cc46b
iperf example: add scan command to get AP rssi
2018-05-15 03:29:31 +00:00
He Yin Ling
f7bb5c8f42
iperf example: add cmd to trace max heap usage
2018-05-15 03:29:31 +00:00
Liu Zhi Fu
b4ca03c48b
example: set default SPI flash mode to 40Mhz for iperf example
...
Set default SPI flash frequency to 40Mhz for iperf example to avoid random crash for ESP32-WROVER-KIT (v3).
2018-05-03 10:42:34 +08:00
Angus Gratton
381be65472
cmake: Build all examples in CI
...
Includes some fixes for compile errors/warnings in examples.
2018-04-30 10:18:33 +10:00
Angus Gratton
800bffb8b0
cmake: Add CMakeLists.txt files for all examples
...
Generating using convert_to_cmake.py, with some minor cleanup
2018-04-30 09:59:20 +10:00
Xia Xiaotian
e72f7e7ec4
Add more description for WiFi modem sleep in document and example.
2018-04-04 16:47:03 +08:00
island
9b7454de0c
support wifi&bt coexist (v0.9.1)
...
1. refactor wifi modem sleep
2. refactor wifi and bt phy enable/diable coexistence
3. support wifi&bt coexist (v0.9.1)
3. add coex pause resume
4. fix bt library interrupt reaction slowly
5. make a2dp more smooth when coex
6. add coexist preference option
7. Make CI do not check libcoexist.a printf/ets_printf
8. disable Wifi RX AMPDU when software coexistence enable && update wifi lib
9. bluetooth call modem sleep api
2018-04-02 13:44:48 +08:00
Jiang Jiang Jian
21099c10f4
Merge branch 'feature/support_enrollee_feature_in_APSTA_mode' into 'master'
...
feature/support WPS enrollee in APSTA mode
See merge request idf/esp-idf!2120
2018-03-30 16:14:43 +08:00
Ivan Grokhotkov
2e7613b656
Merge branch 'feature/use_esp_err_to_name' into 'master'
...
Use esp_err_to_name in examples & optionally disable it in Kconfig
See merge request idf/esp-idf!2013
2018-03-27 11:50:21 +08:00
Deng Xin
6c3bdd45cf
feature/support WPS enrollee in APSTA mode
...
Add the feature WPS enrollee in APSTA mode
close github issue: https://github.com/espressif/esp-idf/issues/1608
2018-03-23 15:41:59 +08:00
zhangyanjiao
d91456a348
add feature of simple wifi example
...
Closes: https://github.com/espressif/esp-idf/issues/1433
2018-03-15 10:35:58 +08:00
Roland Dobai
27a63c492f
Examples: Demonstrate the usage of esp_err_to_name
2018-03-13 14:27:00 +01:00
Liu Zhi Fu
2242bf9b37
lwip/esp32/examples: wifi throughput optimizations
...
1. Put some lwip udp rx/tx relating functions to IRAM
2. Put some wifi rx/tx relating functions to IRAMa
3. Reduce wifi dynamic malloc from 4 to 1 for each ebuf
4. Update iperf example accordingly
5. Update libphy.a to v383
2018-01-30 16:27:49 +08:00
Liu Zhi Fu
5adef5865d
example: some modification about iperf example
...
Modify default sdkconfig since some WiFi menuconfig options are changed
2017-12-19 18:28:22 +08:00
Kedar Sovani
1c0543fb17
lwip: Change socket API macros to static-inline
2017-11-29 11:42:14 +05:30
Piyush Shah
affde01b4c
wifi_scan_example: Comments improved for readability
...
Rephrased the example's description to make it easier to understand
and made other grammatical fixes.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-15 15:02:31 +05:30
Piyush Shah
371c66f188
wifi_scan_example: Indentation Fixes
...
- Trailing white spaces removed
- Re-formatted switch-case
Basic indentation fixes were done using tools/format.sh and switch-case
formatting was done manually (to identify different levels for "switch"
and "case")
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-15 15:01:11 +05:30
Ivan Grokhotkov
59b7d98fec
Merge branch 'feature/dfs' into 'master'
...
Dynamic frequency scaling
See merge request !1189
2017-10-22 12:34:11 +08:00