Wykres commitów

70 Commity (master)

Autor SHA1 Wiadomość Data
hrushikesh.bhosale 6590cf9560 fix(esp_wifi_prov): Send failure msg on first fail
Added new sta state WIFI_PROV_ATTEMPT_FAILED, which is
returned on first failure with attemps_remaining field.
2024-11-28 15:00:54 +05:30
hrushikesh.bhosale 80087d8a81 fix(esp_wifi_prov): Moved the registering of wifi event handler
Moved the registering of of wifi event handler if under the condition
if device is already provisioned
2024-11-28 15:00:54 +05:30
Frantisek Hrbata 1c92945f59 change(examples): switch examples to use a minimal build
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 20:14:40 +01:00
Frantisek Hrbata ad15109daa change(examples): explicitly specify component dependencies for examples
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2024-11-20 14:11:24 +01:00
hrushikesh.bhosale 95f5b29ffc feat(provisioning): Addded api to set Authmode in provisioning
Added api to set threshold authmode for provisioning demo
2024-10-01 19:31:53 +08:00
xuxiao 8780375859 feat(wifi): add wifi support for esp32c61 2024-08-30 20:43:06 +08:00
Xu Xiao 7b5014a02f Merge branch 'chip/esp32c5_mp_support_wifi' into 'master'
esp32c5 mp support wifi

Closes IDF-9139 and IDF-10529

See merge request espressif/esp-idf!31901
2024-07-26 17:15:23 +08:00
xuxiao a481b6c78d fix(wifi): fix code comments 2024-07-24 18:03:42 +08:00
xuxiao c6104388aa feat(wifi): add wifi support for esp32c5 mp 2024-07-24 18:03:40 +08:00
Rahul Tank 928117e999 fix(wifi_prov): Added API to set random address 2024-07-21 15:37:37 +05:30
harshal.patil 483b87750c
docs(wifi_provisioning): Use heap to allocate memory for the response
Added a note to specify that the memory for the response of a custom endpoint
should be allocated using the heap, as this memory gets freed by the protocomm layer
once it has been passed to the transport layer.

Closes https://github.com/espressif/esp-idf/issues/13263
2024-03-04 16:34:27 +05:30
Darian Leung 13f3a226bb change(examples): Update example configurations for FreeRTOS v10.5.1
This commit updates the sdkconfig for some examples when building with the
v10.5.1 kernel. The updates fixes the following:

Place FreeRTOS functions into flash

- Some examples use nearly 100% of available IRAM, thus any small increase in
IRAM in other components (e.g., FreeRTOS) will lead to a build error. As a
result, 'CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH' has been enabled in those
examples to save some IRAM.
- Some examples consume too much flash memory, leading to the 'factory'
parition overflowing. IN those examples,
'CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE' has been enabled to use a larger
'factory' partition.
2023-10-21 04:39:16 +08:00
Fu Hanxi 4dbf8c8948
ci: remove ttfw related files 2023-10-16 10:23:09 +02:00
Mahavir Jain 8dc7d3bc17
fix(provisioning): build failure with secure boot enabled case
Application partition size was not correctly declared per secure
boot alignment requirements. This was causing build failure when
example was built with secure boot enabled.
2023-07-18 20:30:19 +05:30
Laukik Hase f695c1a788
wifi_prov: Exposed events for secure session establishment 2023-05-23 12:00:40 +05:30
Harshit Malpani 0c8db529cb
Add ESP32-C6 in supported targets for wifi_prov_mgr example 2023-04-28 10:57:32 +05:30
David Cermak 5f6cb31105 lwip: Support IPv6 only mode 2023-02-27 08:53:34 +01:00
Rahul Tank 97f4130ad2 Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.

Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.

End user can enable it as per their use case.
2022-11-25 11:26:10 +05:30
Laukik Hase e6171b7338
wifi_prov: Exposed event for transport pairing
Closes https://github.com/espressif/esp-idf/issues/10007
2022-11-01 10:06:30 +05:30
Aditya Patwardhan 7cb55e6f0b pytest_wifi_prov_mgr.py: Update example test to enable sec1 and sec2
testing
2022-10-07 18:27:08 +05:30
Mahavir Jain 5fffe4bba5 Merge branch 'fix/fix_protocomm_security2_backward_compatibility' into 'master'
wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid...

See merge request espressif/esp-idf!20003
2022-10-02 23:08:01 +08:00
Aditya Patwardhan ff42412916 wifi_prov_mgr: Make security2 as default for the example 2022-09-30 16:53:20 +05:30
Aditya Patwardhan c8e1b741dd wifi_prov_mgr_example: Set "wifiprov" as test username and "abcd1234" as
test password.
2022-09-30 16:53:20 +05:30
Aditya Patwardhan 853715f3e2 wifi_prov_mgr: Fix comments 2022-09-30 16:53:20 +05:30
Aditya Patwardhan 1d8e7fe2d7 wifi_prov: Update behaviour for wifi_prov_mgr_start_provisioning to avoid breaking the usage for sec1 2022-09-30 16:53:06 +05:30
Laukik Hase 9bc1cc706e
wifi_prov_mgr: Add support for re-provisioning
Closes https://github.com/espressif/esp-idf/issues/5978
2022-09-29 10:12:47 +05:30
Aditya Patwardhan 9b05874388 wifi_provisioning: Update API documentation to highlight argument validity while providing sec_params argument. 2022-08-19 14:02:41 +05:30
Fu Hanxi 17e312f87b docs: improve the installation instructions 2022-08-01 15:52:21 +08:00
Fu Hanxi c0568611dd docs: changes docs supported targets tables 2022-07-14 08:26:32 +08:00
Harshit Malpani 575ce36520 Re-enable provisioning example for target esp32c2 2022-06-29 12:31:08 +05:30
Laukik Hase 796723a6df
esp_prov/wifi_prov_mgr: Updated README
- Added notes for interactive provisioning
2022-06-23 10:54:20 +05:30
Aditya Patwardhan 6222d43984 protocomm: Added option to enable/disable supported security versions. 2022-06-17 13:16:20 +00:00
Aditya Patwardhan 15531e1023 wifi_provisioniong: Update wifi provisioning example to demonstrate security version 2 2022-06-17 13:16:20 +00:00
Laukik Hase 7fa47173b2 wifi_prov_mgr: Added documentation related to SRP6a 2022-06-17 13:16:20 +00:00
Aditya Patwardhan f2cce5fa0d wifi_provisioning: Update the APIs with reference to the new APIs from protocomm
esp_local_ctrl: Update the code with reference to new changes in protocomm component
2022-06-17 13:16:20 +00:00
Aditya Patwardhan eb7ff34c89 protocomm: Added SRP6a implementation as the security version 2.
1) Rename srp component to esp_srp
2) Remove dependency on hkdf sha
3) Restructure protocomm component APIs to make them more flexible for allowing multiple security versions
4) esp_srp: convert API return type from int to esp_err_t
5) esp_srp: Formatting changes
6) Added mbedtls_gcm instead of aes_ctr

Co-authored-by: Laukik hase <laukik.hase@espressif.com>
2022-06-17 13:16:20 +00:00
Rahul Tank 92ff76cd2c docs: Added a subsection for FAQ regarding paring pop up during provisioning 2022-06-09 09:47:15 +05:30
Djordje Nedic facab8c5a7 tools: Increase the minimal supported CMake version to 3.16
This updates the minimal supported version of CMake to 3.16, which in turn enables us to use more CMake features and have a cleaner build system.
This is the version that provides most new features and also the one we use in our latest docker image for CI.
2022-06-01 06:35:02 +00:00
Tomas Rezucha 0a511e576e Merge branch 'feature/remove_extra_components' into 'master'
examples: Use components from idf-extra-components repository

See merge request espressif/esp-idf!17992
2022-05-16 19:56:11 +08:00
Fu Hanxi 4a7315b1b0 ci: improve import path 2022-05-13 11:54:42 +08:00
Tomas Rezucha 4dde197cca examples: Use components from idf-extra-components repository 2022-05-12 08:37:44 +00:00
morris 47e4fe83ba ci: enable build pytest ut and examples on esp32c2 2022-05-12 05:18:57 +00:00
Laukik Hase c8c13c58c4
wifi_prov_mgr: Upgraded CI example test to pytest framework 2022-03-23 18:12:25 +05:30
David Cermak 795b7ed993 esp_netif: Remove tcpip_adapter compatibility layer 2022-03-10 08:19:43 +01:00
Harshit Malpani 1095ab0697 ci: re-enable s3 build for few examples 2022-01-12 17:46:42 +05:30
Laukik Hase 5261d7adf1 wifi_prov_mgr: Added check for passphrase length in softAP scheme
Closes https://github.com/espressif/esp-idf/issues/8063
2021-12-27 10:57:50 +05:30
Roland Dobai 766aa57084 Build & config: Remove leftover files from the unsupported "make" build system 2021-11-11 15:32:36 +01:00
Fu Hanxi 923e862ed2 ci: temporarily disable s3 build for a few examples 2021-09-16 12:20:11 +08:00
Switi Mhaiske 99cce49299 ESP32C3: Fix for provisioning failure with ble transport mode and bluedriod stack 2021-07-22 15:37:46 +08:00
Shubham Kulkarni ad0399b2f8 wifi_prov_mgr: Add Kconfig option to restart provisioning 2021-06-07 12:23:28 +00:00