Rahul Tank
79012cb3e2
fix(wifi_prov): Added API to set random address
2024-07-24 20:58:04 +05:30
Mahavir Jain
d22c95a3a8
Merge branch 'refactor/protocomm_public_hdr_v5.1' into 'release/v5.1'
...
refactor(protocomm): Make the protocomm `proto-c` headers public (v5.1)
See merge request espressif/esp-idf!29359
2024-03-01 21:42:08 +08:00
Roshan Bangar
39c27275c8
feat(nimble): Nimble Host only mode over uart
2024-03-01 12:54:53 +05:30
Laukik Hase
bda0a44eaf
refactor(protocomm): Make the protocomm proto-c
headers public
2024-03-01 10:26:42 +05:30
Vikram Dattu
f841f0ae52
fix(esp_srp): Use @file
for file documentation and missing doc
...
Using @brief for file description wrongly associates the documentation to an API.
Correct way to add file description is to use `@file` and then `@brief`. Corrected the same.
- Also added missing doc for esp_srp_handle_t
2023-12-19 19:15:49 +08:00
Vikram Dattu
6b8ba332b8
feat(provisioning): Generate Salt and verifier pair for given username and password
...
This commit adds a new feature to generate a salt and verifier pair for a given username and
password during the provisioning process. This is useful in scenarios where the pairing pin is
randomly generated and shown via some interface such as a display or console.
- Uses the provided username and password to generate a salt and verifier pair
- Adds support for dev mode where the pin/password can still be read from flash
2023-11-23 12:01:10 +05:30
Vikram Dattu
8857082585
refactor(esp_srp): Expose esp_srp.h and add API docs
...
- Also added missing `protocomm_security2` reference in `protocomm.rst`
2023-11-23 12:01:10 +05:30
darshan
b9528ba4c9
fix(protocomm): added Protocomm BLE Event Structure and Event Handling
2023-11-03 11:42:40 +05:30
Jiang Jiang Jian
bf1c39bc03
Merge branch 'protocomm/decouple_wifi_prov_v5_1' into 'release/v5.1'
...
fix(protocomm): Remove the configuration check of wifi_provisioning for protocomm component(v5.1)
See merge request espressif/esp-idf!26354
2023-10-17 18:03:10 +08:00
Niklas Kaaf
7de4e28fdd
fix: "erro code" -> "error code" typos
2023-10-13 18:17:34 +08:00
WanqQixiang
7bfd475528
fix(protocomm): Remove the configuration check of wifi_provisioning for protocomm component
2023-10-08 16:23:03 +08:00
Laukik Hase
fcb98e5851
wifi_prov: Exposed events for secure session establishment
2023-08-22 15:21:48 +05:30
isha.pardikar@espressif.com
f6e0867eb8
wifi_prov_mgr: Fixed memory leak after bluetooth stack was stopping.
2023-04-25 15:48:09 +05:30
Marius Vikhammer
75591a8a13
Merge branch 'ci/driver_single_board' into 'master'
...
ci: update test apps to use run_all_single_board_cases
See merge request espressif/esp-idf!22669
2023-03-13 09:25:42 +08:00
Marius Vikhammer
0be8e03907
ci: update test apps to use run_all_single_board_cases
2023-03-10 14:27:09 +08:00
isha.pardikar@espressif.com
e72d223737
wifi_prov_mgr : Fixed return value of characteristic read operation
2023-03-06 15:23:26 +05:30
Alexey Lapshin
a7e51b2509
protocomm: fix gcc-12 compile errors
2023-02-22 05:33:03 +00:00
Omar Chebib
5e5343d429
TWDT: Use the new TWDT Kconfig options in the examples and tests
2023-02-17 11:22:25 +08:00
Rahul Tank
826495a145
Nimble: Added return value (success / failure ) to nimble_port_init
2023-01-31 12:01:02 +05:30
Laukik Hase
7759079362
protocomm: Fix Kconfig dependency on wifi_provisioning
component config
...
- `protocomm` depends on a config option `CONFIG_WIFI_PROV_BLE_FORCE_ENCRYPTION`
from `wifi_provisioning`; however, a lower layer component (`protocomm`) should
not have any `#ifdef` guard dependent on an upper layer component (`wifi_provisioning`).
- Added a new `ble_link_encryption` flag in `protocomm_ble_config_t` to manage the same
Closes https://github.com/espressif/esp-idf/issues/9443
2023-01-20 11:01:01 +05:30
Cao Sen Miao
94120b82c2
esp32h2: add build test
2023-01-17 10:29:04 +08:00
Laukik Hase
68d90dd392
protocomm: Fix test-app build for esp32c2 & esp32c6
...
- AES context has a breaking change, rather than storing
round keys directly, it stores the offset at which the keys
are present in the context buffer
2023-01-09 15:41:36 +05:30
Mahavir Jain
3a56807568
protocomm: remove "Wno-format" cflag and fix formatting errors
2022-12-21 14:13:55 +05:30
Mahavir Jain
a2616c0ab5
protocomm: fix multiple coverity warnings
...
- comparing array with NULL
- dereferencing null pointer
- resource leak
2022-11-08 15:50:42 +05:30
Mahavir Jain
99579620b2
Merge branch 'feature/wifi_prov_event_transport_paired' into 'master'
...
wifi_prov: Exposed events for transport pairing and disconnection
Closes IDFGH-8557
See merge request espressif/esp-idf!20821
2022-11-01 17:39:28 +08:00
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
Song Ruo Jing
be0fdfa176
soc: Add a soc cap, SOC_CLK_RC_FAST_D256_SUPPORTED, for whether the target has the RC_FAST_D256 clock
2022-11-01 11:23:26 +08:00
Laukik Hase
c7142f274b
protocomm: Increase Bluedroid-BLE maximum buffer size
...
- For the security2 scheme, the payload size is quite larger
than that for security1.
2022-10-26 13:34:39 +05:30
Aditya Patwardhan
acc3dc8bd2
protocomm/esp_srp: Allocate memory for username only when the
...
verification is successful
2022-10-07 18:27:07 +05:30
Aditya Patwardhan
68947b5944
protocommm/esp_srp: Fix small issues reported by coverity.
2022-10-07 18:27:07 +05:30
Aditya Patwardhan
244f4ce1d9
protocomm: Enable security version 2 by default
2022-09-30 16:53:20 +05:30
Laukik Hase
d7eb2c7b4e
mbedtls: MBEDTLS_PRIVATE
& MBEDTLS_ALLOW_PRIVATE_ACCESS
-related cleanup
2022-09-29 10:13:14 +05:30
Laukik Hase
b7ae23856a
protocomm: MBEDTLS_PRIVATE
& MBEDTLS_ALLOW_PRIVATE_ACCESS
-related cleanup
2022-09-29 10:13:13 +05:30
Isha Pardikar
57108a7ab1
wifi_provisioning : Increased 1 byte of BLE advertising device name to store '\0', at the end, to ensure we adhere to the max name length as per spec.
2022-09-26 15:07:50 +05:30
harshal.patil
a17313ad32
ci: Migrate protocomm unit tests from unit-test-app to component-test-app
2022-09-01 10:24:33 +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
Ivan Grokhotkov
401c10ecfb
build system: re-add -Wno-format as private flag for some components
2022-08-03 16:42:47 +04:00
Isha Pardikar
2cfcae8d41
Merge branch 'feature/rainmaker_BT_configurable' into 'master'
...
Doc: Made bluetooth configurable after wifi provisioning is completed
See merge request espressif/esp-idf!18014
2022-07-26 15:21:27 +05:30
Jiang Jiang Jian
92b4e134bb
Merge branch 'bugfix/remove_inappropriate_bluetooth_init_api' into 'master'
...
Remove unused bluetooth init api
See merge request espressif/esp-idf!18923
2022-07-21 14:53:44 +08:00
GengYuchao
fd055d3ba6
Fix example after removing API esp_nimble_hci_and_controller_init
2022-07-20 11:44:00 +08:00
Mahavir Jain
a94c74c26b
mbedtls: remove dependency on driver component
...
- keep `esp_pm` dependency conditional in mbedtls
- refactor `bt` cmakelist to keep dependencies as private
Related: IDF-1265
2022-07-18 21:10:51 +05:30
Rahul Tank
0dc0f8ad51
WifiProv: Extended support for configuring if link encryption is needed
...
when attempting to read / write characteristic to bluedroid stack
2022-06-22 10:17:28 +05:30
Aditya Patwardhan
6222d43984
protocomm: Added option to enable/disable supported security versions.
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
Laukik Hase
5169e22277
protocomm: Generated proto-c and python files for SRP6a scheme
...
- Added protobuf auto-generated files to pre-commit check
ignore lists
2022-06-17 13:16:20 +00:00
Laukik Hase
872f8513fb
ci: Re-enable protocomm UTs for ESP32-C2
2022-06-09 09:55:09 +05:30
Michael (XIAO Xufeng)
6a8aed12ee
ci: partially enable ut tests for esp32c2
...
Disabled test cases are tracked in:
IDF-4465, IDF-5045, IDF-5057, IDF-5058, IDF-5059, IDF-5060, IDF-5061, IDF-5131
- test_fatfs: IDF-5136
- test_pm: IDF-5053
- test_cache_mmu: IDF-5138
- test_partitions: IDF-5137
- test_vfs: IDF-5139
- test_freertos: IDF-5140
- test_wpa_supplicant: IDF-5046
- test_mbedtls: IDF-5141
- test_pthread: IDF-5142
- test_protocomm: IDF-5143
- test_lightsleep: IDF-5053
- test_taskwdt: IDF-5055
- test_tcp_transport: IDF-5144
- test_app_update: IDF-5145
- test_timer: IDF-5052
- test_spi: IDF-5146
- test_rtc_clk: IDF-5060
- test_heap: IDF-5167
ci: fixed issues for tests of libgcc, ets_timer, newlib
test_pm: support on C2
2022-06-02 14:23:35 +08:00
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
Laukik Hase
a3f5087336
protocomm: Regenerated proto-c and python with protobuf compiler v3.21.0
2022-05-30 09:54:32 +05:30
Marius Vikhammer
c8617fe965
docs: fix all doxygen warnings
...
Doxygen warnings would previously not result in a failed pipeline.
Fixed this as well as all current warnings.
2022-05-12 14:50:03 +08:00