Piyush Shah
c13fe0be6e
protocomm_httpd: Use HTTP cookies to track session
...
Earlier, a "socket connection" was being considered as a protocomm "session".
However, for HTTP, we cannot expect clients to necessarily use the same
socket for all requests of a given transaction. This was indeed causing
some failures for Wi-Fi provisioning from Android phones.
So, we have introduced http cookies to track a session even if the socket
connection does not stay intact throughout the transaction.
This change is backward compatible. If the client does not use cookies, the
socket connection will be considered as the session.
Closes: https://github.com/espressif/esp-idf/issues/6316
Reference: https://github.com/espressif/esp-idf/pull/6330
2021-02-12 05:53:00 +00:00
Angus Gratton
ba17e97665
Merge branch 'bugfix/get_component_requirements_v4.1' into 'release/v4.1'
...
cmake: fix getting component requirements (v4.1)
See merge request espressif/esp-idf!9714
2021-02-11 07:56:19 +08:00
Patryk Krzywdziński
85b96879f2
Fix eclipse build: “UnicodeDecodeError: 'ascii' codec can't decode byte”
...
Closes https://github.com/espressif/esp-idf/pull/6505
2021-02-10 12:50:39 +01:00
Chinmay Chhajed
428e9b008c
Bluedroid: Do not initiate/accept connection with device having same BDADDR.
...
Added BD_ADDR comparison in l2cu_lcp_allocate and removed check from
security connection request handler as it's handled in l2cu_lcp_allocate
for both connection request and create connection.
2021-02-10 15:13:10 +05:30
Chinmay Chhajed
1c6c6998bc
bt: removed esp_bt_get_mac()
...
There was no need for this function as there is already a way present to
fetch own mac address. Own mac addr can be fetched by calling
controller_get_interface().
2021-02-10 15:13:02 +05:30
yuanjm
b497628ef6
provisioning: Fix enable CONFIG_EXAMPLE_RESET_PROVISIONED will cause device crash
2021-02-10 16:05:26 +08:00
Island
131bfd90a4
Merge branch 'bugfix/ble_mesh_mbedtls_aes_fix_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh mbedtls aes fix (v4.1)
See merge request espressif/esp-idf!12326
2021-02-09 16:24:54 +08:00
Angus Gratton
42b126e4dd
Merge branch 'bugfix/sign_compare_warning_in_soc_component' into 'release/v4.1'
...
fix sign compare warning in soc component
See merge request espressif/esp-idf!11434
2021-02-09 11:05:12 +08:00
Michael (XIAO Xufeng)
e508a64ae9
Merge branch 'bugfix/mcpwm_can_set_two_falut_signal_v4.1' into 'release/v4.1'
...
mcpwm: fix second fault line broken issue (v4.1)
See merge request espressif/esp-idf!12172
2021-02-08 14:21:43 +08:00
Island
261d107abd
Merge branch 'bugfix/ble_mesh_log_macro_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add prefix for log macros (v4.1)
See merge request espressif/esp-idf!12325
2021-02-07 16:39:38 +08:00
Island
528e9b2818
Merge branch 'bugfix/ble_mesh_prov_use_diff_rand_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Use different random for each provisioning (v4.1)
See merge request espressif/esp-idf!12323
2021-02-07 16:38:42 +08:00
Island
47d859b2a4
Merge branch 'bugfix/ble_mesh_proxy_client_net_resend_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix proxy client may fail to resend msg (v4.1)
See merge request espressif/esp-idf!12322
2021-02-07 16:38:36 +08:00
Island
9ef16af05e
Merge branch 'bugfix/ble_mesh_node_set_name_status_check_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Remove node set device name return status check (v4.1)
See merge request espressif/esp-idf!12321
2021-02-07 16:38:25 +08:00
Island
3a06fa4bd9
Merge branch 'update/ble_mesh_set_hsl_states_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Enable updating lighting hsl state (v4.1)
See merge request espressif/esp-idf!12320
2021-02-07 16:38:13 +08:00
Island
afcbf0d311
Merge branch 'bugfix/ble_mesh_macro_OR_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix using wrong | for OR between macros (v4.1)
See merge request espressif/esp-idf!12319
2021-02-07 16:37:58 +08:00
Island
47d6b3f2b3
Merge branch 'bugfix/ble_mesh_build_error_c3_merge_master_v4.1' into 'release/v4.1'
...
Bugfix/ble mesh build error merge master (v4.1)
See merge request espressif/esp-idf!12318
2021-02-07 16:37:49 +08:00
lly
10b5436cc9
ble_mesh: stack: Fix mbedtls aes ctx not deallocated
2021-02-07 12:06:49 +08:00
lly
5e8695d7be
ble_mesh: stack: Fix mbedtls aes ctx not initialized
2021-02-07 12:06:49 +08:00
lly
829b16a997
ble_mesh: stack: Fix compile warning when log is disabled
2021-02-07 12:03:24 +08:00
lly
7b5a3b50f0
ble_mesh: ci: Add disable log sdkconfig test files
2021-02-07 12:03:24 +08:00
lly
cb918dcd2f
ble_mesh: stack: Add prefix BLE_MESH_ for log related macros
2021-02-07 12:03:24 +08:00
lly
638b36cc6b
ble_mesh: stack: Use different random for each provisioning
2021-02-07 11:46:20 +08:00
lly
59443eca02
ble_mesh: stack: Fix proxy client may fail to resend msg
2021-02-07 11:44:13 +08:00
lly
7799954d99
ble_mesh: stack: Remove node set device name return status check
2021-02-07 11:41:57 +08:00
lly
fc27117299
ble_mesh: stack: Enable updating lighting hsl state
2021-02-07 11:39:53 +08:00
lly
eb52b1da96
ble_mesh: stack: Fix using wrong | for OR between macros
2021-02-07 11:36:45 +08:00
lly
4e8a53aec2
ble_mesh: stack: Fix compile warning with BIT macro
2021-02-07 11:33:00 +08:00
lly
938530b193
ble_mesh: stack: Update mesh max conn macro when using bluedroid
2021-02-07 11:32:55 +08:00
Island
c6f7abbe94
Merge branch 'feat/ble_mesh_support_ble_scan_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Add BLE scan callback when mesh is enabled (v4.1)
See merge request espressif/esp-idf!12304
2021-02-07 11:22:50 +08:00
morris
e2886115dc
mcpwm: fix second fault line broken
...
Closes: https://github.com/espressif/esp-idf/issues/6053
2021-02-06 21:45:51 +08:00
morris
e85a444cd0
mcpwm: fix wrong capture edge
2021-02-06 21:45:51 +08:00
lly
2d04130ce0
ble_mesh: ci: Add ble & ble mesh coex sdkconfig test files
2021-02-05 21:22:52 +08:00
lly
bdf6d3e8cb
ble_mesh: stack: Support reporting normal ble adv packets
2021-02-05 21:22:52 +08:00
lly
e06a5587c7
ble_mesh: stack: Add a btc file for ble coex functions
...
Previously if starting/stopping BLE advertising when BLE Mesh
is enabled, the corresponding events will be notified through
the callback registered by esp_ble_mesh_register_prov_callback().
With this commit, the func esp_ble_mesh_register_ble_callback()
needs to be invoked for resgitering the callback used for BLE
coexistence related functionalities (i.e. ADV/SCAN).
2021-02-05 21:22:52 +08:00
lly
228ab398b9
ble_mesh: stack: Move ble scan funcitons to a single file
2021-02-05 21:22:52 +08:00
lly
9cff5797a1
ble_mesh: stack: Optimize handling received mesh adv packets
2021-02-05 21:22:52 +08:00
Island
53317da676
Merge branch 'optimize/ble_mesh_miscellaneous_v4.1' into 'release/v4.1'
...
Optimize/ble mesh miscellaneous (v4.1)
See merge request espressif/esp-idf!12293
2021-02-05 21:00:35 +08:00
lly
1cdd2b0609
ble_mesh: stack: Move bt_mesh_rand to mesh_common.c
2021-02-05 14:55:38 +08:00
lly
a0da80fe89
ble_mesh: stack: Remove useless BT_DBG_ENABLED in a few files
2021-02-05 14:55:33 +08:00
lly
f3ff34d818
ble_mesh: Replace zephyr integer types with C99 types [Zephyr]
2021-02-05 14:55:11 +08:00
lly
392fb4b916
ble_mesh: stack: Update ARRAY_SIZE definition
2021-02-05 14:54:17 +08:00
Island
8812365c6f
Merge branch 'feat/ble_mesh_multiple_nvs_namespace_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Provisioner supports multiple nvs namespaces (v4.1)
See merge request espressif/esp-idf!12264
2021-02-05 14:49:32 +08:00
Angus Gratton
9d76fd62d7
Merge branch 'test/disable_twai_example_ci_v4.1' into 'release/v4.1'
...
Temporarily disable TWAI network example test (backport v4.1)
See merge request espressif/esp-idf!11562
2021-02-05 13:00:02 +08:00
Mahavir Jain
a60e9c136b
Merge branch 'fix/wolfssl_domain_name_check_v4.1' into 'release/v4.1'
...
esp_tls_wolfssl : Add domain name check (v4.1)
See merge request espressif/esp-idf!11817
2021-02-05 12:07:11 +08:00
lly
968d0fbb13
ble_mesh: ci: Add settings sdkconfig test files
2021-02-05 03:10:47 +00:00
lly
c1f3b20273
ble_mesh: stack: Provisioner supports multiple nvs namespaces
...
Now Provisioner can use different NVS namespaces to store
different instances of mesh information, for example, for
different user accounts.
2021-02-05 03:10:47 +00:00
Fu Hanxi
b91448aa03
Merge branch 'ci/increase_cmake_build_parallel_count_v4.1' into 'release/v4.1'
...
ci: Increase cmake build parallel count
See merge request espressif/esp-idf!12282
2021-02-05 10:46:57 +08:00
Ivan Grokhotkov
fb63cf75ad
Merge branch 'bugfix/idf_monitor_baudrate_arg_crash_v4.1' into 'release/v4.1'
...
idf monitor: fix crash when monitor baudrate argument set (Backport 4.1)
See merge request espressif/esp-idf!9759
2021-02-05 10:08:13 +08:00
Mahavir Jain
834089c4b2
Merge branch 'bugfix/protocomm_http_print_v4.1' into 'release/v4.1'
...
protocomm_httpd: Change an info print to debug print as it isn't really required in the logs (v4.1)
See merge request espressif/esp-idf!12262
2021-02-04 21:28:26 +08:00
lly
a47f4ae9fe
ci: Increase cmake build parallel count
2021-02-04 20:48:22 +08:00