Island
4ac84bca8b
Merge branch 'bugfix/ble_mesh_compile_error_o2_v3.3' into 'release/v3.3'
...
ble_mesh: Fix compile error when -O2 (performance) is chosen (v3.3)
See merge request espressif/esp-idf!8618
2020-05-06 18:15:28 +08:00
Island
5a53e67c7e
Merge branch 'bugfix/ble_mesh_provisioner_check_key_v3.3' into 'release/v3.3'
...
ble_mesh: Check if appkey exist before deleting it (v3.3)
See merge request espressif/esp-idf!8619
2020-05-06 18:09:32 +08:00
Island
6ca0c6830b
Merge branch 'bugfix/ble_mesh_node_reset_erase_v3.3' into 'release/v3.3'
...
ble_mesh: Fix node not erase info completely (v3.3)
See merge request espressif/esp-idf!8624
2020-05-06 18:06:36 +08:00
David Čermák
722043f734
Merge branch 'feature/config_mqtt_task_prio_v3.3' into 'release/v3.3'
...
esp_mqtt: configure task priority, esp_mqtt_abort_connection race condition, clenaup logs and docs (v3.3)
See merge request espressif/esp-idf!8477
2020-05-06 16:18:51 +08:00
lly
745aecb03d
ble_mesh: Fix node not erase info completely
...
Previously only mesh node info is supported to be stored
in flash. So when trying to reset the node, we only need
to judge if the BLE_MESH_VALID flag is set.
Currently we support storing both node & Provisioner info
in flash, when trying to erase the node info from flash,
the BLE_MESH_NODE flag will be checked. So we need to set
bt_mesh.flags to 0 when all the erase operations are done.
2020-05-06 11:45:02 +08:00
lly
e36d1d2f8a
ble_mesh: Check if appkey exist before deleting it
2020-05-06 11:37:03 +08:00
lly
1432daf4c6
ble_mesh: Add length check for some mesh operations
2020-05-06 11:33:41 +08:00
lly
6e7d43dd89
ble_mesh: Fix compile error when -O2 (performance) is chosen
2020-05-06 11:33:08 +08:00
lly
3b9e0657d8
ble_mesh: Add missing #ifdef __cplusplus
2020-05-06 11:19:05 +08:00
Mahavir Jain
511dc5516d
Merge branch 'bugfix/wifi_prov_not_stopping_v3.3' into 'release/v3.3'
...
wifi_provisioning: Catch the Wi-Fi events even after Connection errors (v3.3)
See merge request espressif/esp-idf!8609
2020-05-06 11:18:27 +08:00
Island
53a0b3f951
Merge branch 'feat/ble_mesh_ble_adv_simultaneously_v3.3' into 'release/v3.3'
...
ble_mesh: Support BLE advertising simultaneously (v3.3)
See merge request espressif/esp-idf!8486
2020-05-06 11:14:52 +08:00
Island
b0aeff4797
Merge branch 'bugfix/ble_mesh_rpl_list_size_v3.3' into 'release/v3.3'
...
ble_mesh: Associate replay protection list size with nodes count (v3.3)
See merge request espressif/esp-idf!8497
2020-05-06 11:14:42 +08:00
Island
b33b6c4f2a
Merge branch 'doc/ble_mesh_fixes_v3.3' into 'release/v3.3'
...
doc: Fix some ble mesh description (v3.3)
See merge request espressif/esp-idf!8504
2020-05-06 11:12:46 +08:00
Island
93a13dfd10
Merge branch 'feat/ble_mesh_sensor_model_example_v3.3' into 'release/v3.3'
...
ble_mesh: Add ble mesh sensor model examples (v3.3)
See merge request espressif/esp-idf!8509
2020-05-06 11:11:36 +08:00
Island
551af6c4f3
Merge branch 'bugfix/ble_mesh_time_scene_wrong_name_v3.3' into 'release/v3.3'
...
ble_mesh: Fix time scene wrong macro name (v3.3)
See merge request espressif/esp-idf!8512
2020-05-06 11:10:38 +08:00
Piyush Shah
f66fbb75e2
wifi_provisioning: Catch the Wi-Fi events even after Connection errors
...
It was observed that after sending credentials, if the first
Wi-Fi conection attempt fails, the Wi-Fi provisioning managager
ignores subsequent Wi-Fi events. So, even if the device eventually
connects to the AP, the provisioning stays on indefinitely.
Changing a check so that subsequent events are also captured and
provisioning finishes successfully.
2020-05-05 22:10:25 +05:30
David Cermak
dea0a75547
mqtt: clenaup logs and docs, esp_mqtt_abort_connection race condition
...
esp_mqtt_abort_connection: Fixed an issue which could result in a race condition and subsequent crash
esp_mqtt: Change an error print to use ESP_LOGE instead of ESP_LOGI
Move Sending MQTT connect message log from Info to Debug level
docs: Makes clear that publish API could block
Change the message printed after MQTT connection failure
2020-05-04 08:06:59 +02:00
Simon Brélivet
5ede2678aa
esp_mqtt: add option to configure mqtt task priority.
...
Merges https://github.com/espressif/esp-idf/pull/4947
2020-05-04 08:06:59 +02:00
lly
a2dbe4c452
ble_mesh: Fix client local parameters not initialized
2020-04-30 11:47:12 +00:00
lly
eedaf45f43
ble_mesh: Continue node info restore even if failure happens
...
During BLE Mesh Provisioner initialization, the stack will restore
the nodes information if settings storage is enabled.
Previously when a failure happens (e.g. found the same uuid) during
the restore procedure, the information of the following nodes will
not be restored and error will be directly returned.
But this will introduce some problem with user experience, because
some newly provisioned nodes information will not be restored and
Provisioner will not be able to control those nodes.
So we change the operation here, when a failure happens during the
restore procedure, Provisioner will only ignore the information of
the current node and continue restoring other nodes information.
2020-04-30 11:47:12 +00:00
lly
eabf436a23
ble_mesh: Remove some redundant functions
2020-04-30 11:47:12 +00:00
lly
63ab37d721
ble_mesh: Notify unprovisioned device beacon to application layer
...
With this change, if a Provisioner has provisioned the maximum
number of nodes, it can still report the unprovisioned device
beacon from other nodes to the application layer. And this will
be more reasonable compared with the previous implementation.
Previously when the node array of Provisioner is full, no beacon
from unprovisioned devices will be reported, only some warning
logs will be given.
2020-04-30 11:47:12 +00:00
lly
77cf16e337
ble_mesh: Check if assigned node address is duplicated
...
Previously only check the node address when it is assigned by the
application layer. Here we also check the address when the address
is allocated internally. And this will be useful when some mesh
internal tests are performed.
2020-04-30 11:47:12 +00:00
lly
80feb4e70a
ble_mesh: Update next alloc address when node info is added
2020-04-30 11:47:12 +00:00
lly
9cb7faf4bd
ble_mesh: Fix Provisioner provisioning deadlock
2020-04-30 11:47:12 +00:00
lly
fecfd754d9
ble_mesh: Remove BLE_MESH_MAX_STORED_NODES option
...
Previously the BLE_MESH_MAX_STORED_NODES option is added for
internal mesh test, which will be a little confusing for the
users to understand.
Here we remove this option, instead the BLE_MESH_MAX_PROV_NODES
will be used for all the cases. For mesh internal test, when
the test function is called to add some nodes info, the info
will be stored in the array of provisioned nodes directly.
2020-04-30 11:47:12 +00:00
lly
dbc44ccc7e
ble_mesh: Associate replay protection list size with nodes count
...
The replay protection list of Provisioner should be at least equal
to the number of nodes with the precondition that each node contains
only one element.
The help information of replay protection list is updated, and the
maximum number of nodes for Provisioner is adjusted based on the
replay protection list size.
2020-04-30 11:47:12 +00:00
lly
6e45c091e3
doc: Fix some ble mesh description
2020-04-30 11:39:07 +00:00
lly
d77da91ffb
ble_mesh: Add some common macros for sensor model
2020-04-30 11:32:53 +00:00
lly
13817a190c
ble_mesh: Allow empty sensor series column value
2020-04-30 11:32:53 +00:00
lly
4e858153a8
ble_mesh: Check if same sensor (settings) property id exists
2020-04-30 11:32:53 +00:00
lly
ca95b54ce4
ble_mesh: Allow empty sensor settings exist
2020-04-30 11:32:53 +00:00
lly
9b1b2f9b5d
ble_mesh: Support BLE advertising simultaneously
2020-04-30 08:23:24 +00:00
Angus Gratton
093e40b14d
Merge branch 'bugfix/heap_psram_fill_v3.3' into 'release/v3.3'
...
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on (v3.3)
See merge request espressif/esp-idf!8492
2020-04-30 13:45:07 +08:00
Angus Gratton
2086c993d8
Merge branch 'bugfix/fix_spi_flash_clock_config_error_v3.3' into 'release/v3.3'
...
flash: fix spi flash clock config error (backport v3.3)
See merge request espressif/esp-idf!8514
2020-04-29 13:22:03 +08:00
morris
67131b7d78
timer_group: fix intr_enable
...
timer group interrupt enable is controled by level_int_ena instead of int_ena
Closes https://github.com/espressif/esp-idf/issues/5103
2020-04-28 12:39:54 +08:00
dowster
6a448bd030
Fix typo with sigmadelta.h #ifdef
2020-04-28 12:37:29 +08:00
Jiang Jiang Jian
b6599abb1f
Merge branch 'bugfix/can_not_get_IP_address_from_China_mobile_v3.3' into 'release/v3.3'
...
wifi: fix the bug that ESP32 can't get IP address from China Mobile router (v3.3)
See merge request espressif/esp-idf!8400
2020-04-28 11:36:58 +08:00
chenjianqiang
de6e8ccea7
flash: fix spi flash clock config error
...
Closes https://github.com/espressif/esp-idf/issues/5099
2020-04-27 17:34:15 +08:00
lly
caeb040857
ble_mesh: Fix time scene wrong macro name
2020-04-27 16:27:52 +08:00
Angus Gratton
543aa45f76
heap: Only fill new heaps with FREE_FILL_PATTERN if Comprehensive poisoning is on
...
Significantly speeds up heap initialization at startup when default "Light" heap
poisoning is enabled.
Tip via reddit user LinkeSeitentasche https://www.reddit.com/r/esp32/comments/fnj51a/a_guide_to_improving_esp32_boot_speed/
2020-04-27 16:34:43 +10:00
Angus Gratton
ad5e4236b4
idf: Bump ESP-IDF version to v3.3.2
...
Feature was merged after v3.3.2 release.
2020-04-27 15:45:47 +10:00
lly
012b810d29
ble_mesh: Add ble mesh white list test function
...
Using the ble mesh white list test functions, a node can choose to
only receive mesh messages from a specific node and relay the
messages for it. Messages from other nodes will be ignored.
2020-04-26 06:44:45 +00:00
Jiang Jiang Jian
957e88d12f
Merge branch 'bugfix/dns_lookup_failed' into 'release/v3.3'
...
lw-ip:bugfix for dns lookup failed
See merge request espressif/esp-idf!8308
2020-04-21 11:27:16 +08:00
Jiang Jiang Jian
47b891c25b
Merge branch 'optimization/TCPv6_connect_for_v3.3' into 'release/v3.3'
...
lw-ip:optimization TCPv6 connect for v3.3(backport v3.3)
See merge request espressif/esp-idf!8022
2020-04-21 11:26:28 +08:00
zhangyanjiao
6f85135471
wifi: fix the bug that ESP32 can't get IP address from China Mobile router
2020-04-20 10:56:08 +08:00
Jiang Jiang Jian
f3f88e241b
Merge branch 'bugfix/btdm_backports_v3.3_0328' into 'release/v3.3'
...
Bugfix/btdm backports v3.3 0328
See merge request espressif/esp-idf!8153
2020-04-16 21:08:10 +08:00
Angus Gratton
249da85fd9
Merge branch 'bufgix/esp_ota_get_app_elf_sha256_v3.3' into 'release/v3.3'
...
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled (v3.3)
See merge request espressif/esp-idf!8368
2020-04-16 14:31:31 +08:00
Angus Gratton
a0b1f1bb07
Merge branch 'bugfix/efuse_get_coding_scheme_and_ut_v3.3' into 'release/v3.3'
...
efuse: Fix get_coding_scheme() using ESP_EARLY_LOG* instead of ESP_LOG* (v3.3)
See merge request espressif/esp-idf!8362
2020-04-16 14:29:54 +08:00
Marius Vikhammer
9f2056dad4
app_update: fix test failure for get_app_elf_sha256 test
...
Commit fc03161f
updated esp_ota_get_app_elf_sha256 to store and return
X number of bytes of the hash, but the test case still expected 64 bytes.
Updated test case to use CONFIG value for expected length.
2020-04-15 21:49:32 +08:00
KonstantinKondrashov
2705b76371
app_update: Fix case when elf file SHA256 should be printed by panic handler while cache is disabled
...
Closes: IDF-1342
2020-04-15 21:07:02 +08:00
KonstantinKondrashov
383cd73e38
efuse: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
...
Closes: https://github.com/espressif/esp-idf/issues/4862
2020-04-15 20:24:41 +08:00
KonstantinKondrashov
a5f9a0cbe4
esp32: Add a Kconfig option- Number of attempts to repeat 32k XTAL calibration
...
Closes: IDF-1479
2020-04-15 16:52:23 +08:00
Jiang Jiang Jian
2ebad4639e
Merge branch 'bugfix/psram_single_bit_error_v3.3' into 'release/v3.3'
...
psram: support psram 2T mode to fix single bit error (backport v3.3)
See merge request espressif/esp-idf!7011
2020-04-15 13:28:22 +08:00
Jiang Jiang Jian
a656caed7a
Merge branch 'nimble/fix_ble_hs_reset_v3.3' into 'release/v3.3'
...
NimBLE: Reset master and slave states on host reset and fix build failure (backport v3.3)
See merge request espressif/esp-idf!8219
2020-04-15 13:28:04 +08:00
Jiang Jiang Jian
2aba47f8dd
Merge branch 'bugfix/backport_some_wifi_bugs_0326_v3.3' into 'release/v3.3'
...
esp32: backport some WiFi fixes (backport v3.3)
See merge request espressif/esp-idf!8186
2020-04-15 13:07:01 +08:00
chenjianqiang
22c0334ad9
psram: support psram 2T mode to fix single bit error
...
1. add enable PSRAM 2T mode function
2. abort when himem and 2T mode are enabled meanwhile
3. set SPIRAM_2T_MODE as "n" by default, enable it when needed
2020-04-13 15:25:13 +08:00
xueyunfei
6cdb27a361
bugfix for dns lookup failed
2020-04-10 11:07:54 +08:00
Angus Gratton
ec0605db4c
Merge branch 'feature/idf_version_header_v3.3' into 'release/v3.3'
...
esp_common: add version definitions in code and build system (backport v3.3)
See merge request espressif/esp-idf!8233
2020-04-08 15:08:03 +08:00
Angus Gratton
cde76fece9
Merge branch 'bugfix/efuse_write_config_v3.3' into 'release/v3.3'
...
efuse: set timing configuration before writing (backport v3.3)
See merge request espressif/esp-idf!8231
2020-04-08 15:06:30 +08:00
Prasad Alatkar
aad04405fc
NimBLE: Reset master and slave states on host reset and fix build failure (backport v3.3)
2020-04-07 10:52:01 +05:30
Mahavir Jain
8c5a0a0a57
Merge branch 'feature/upgrade_mbedtls_to_v3.3' into 'release/v3.3'
...
mbedtls: upgrade to release v2.16.5 (v3.3)
See merge request espressif/esp-idf!7988
2020-04-07 12:10:07 +08:00
Shubham Kulkarni
6f39fea03d
esp_ota_ops.c: Fix size calculation to erase partition range for OTA image
...
Closes https://github.com/espressif/esp-idf/issues/4953
2020-04-06 13:40:12 +05:30
Ivan Grokhotkov
ca6b009c26
esp_common: add version definitions in code and build system
...
Closes https://github.com/espressif/esp-idf/issues/4679
2020-04-03 01:24:33 +02:00
Ivan Grokhotkov
dd5190868a
efuse: set timing configuration before writing
2020-04-03 00:51:36 +02:00
Marius Vikhammer
b56012783c
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
...
transport_ws can now be read multiple times in a row to read frames larger than the buffer.
Added reporting of total payload length and offset to the user in websocket_client.
Added local example test for long messages.
Closes IDF-1083
2020-04-02 07:30:12 +00:00
Marius Vikhammer
d6ef9d73bb
websocket: backport of websocket client to v3.3
...
Backports the websocket client and example to ESP-IDF release 3.3.
2020-04-02 07:30:12 +00:00
Jiang Jiang Jian
a71e85fb63
Merge branch 'bugfix/btdm_dont_dequeue_the_command_queue_v3.3' into 'release/v3.3'
...
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.3)
See merge request espressif/esp-idf!8183
2020-04-02 12:08:40 +08:00
liu zhifu
a0d61eca20
esp32: backport some WiFi fixes to v3.3
...
Backport following Wifi fixes:
1. Optimize WiFi sleep in WiFi/BT coexist mode
I> If any data TX/RX in WiFi slice, force wakeup next TBTT
II> Increase active timeout to coex TBTT to avoid sleep in WiFi slice
2. Fix esp_wifi_stop() crash
esp_wifi_stop() crashes if it's called when WiFi is not initialized.
3. Fix WiFi log print level
4. Return fails if AP's configuring AP channel is out of range
5. esp_wifi_sta_get_ap_info() returns actual values of group ciphers
2020-04-02 10:27:11 +08:00
Mahavir Jain
530b35b222
mbedtls: upgrade to release v2.16.5
...
For detailed release notes please refer to:
https://tls.mbed.org/tech-updates/releases/mbedtls-2.16.5-and-2.7.14-released
Closes: IDFGH-2638
Closes: https://github.com/espressif/esp-idf/issues/4716
2020-04-01 13:46:09 +00:00
Sagar Bijwe
5723e717e5
wpa_supplicant: Fix SAE test-case failure on mbedtls version udpate
...
Problem:
mbedtls_ctr_drbg_context was initialized in crypto_ec_point_mul. This
was okay in releases before 2.16.4 as entropy_len used to get set to
MBEDTLS_CTR_DRBG_ENTROPY_LEN in function mbedtls_ctr_drbg_seed. The
function is now changed to set the length to
MBEDTLS_CTR_DRBG_ENTROPY_LEN if previous length is 0 and hence the bug.
Solution:
Initialize mbedtls_ctr_drbg_context in crypto_ec_point_mul.
2020-04-01 13:46:09 +00:00
Angus Gratton
ba9ef572c0
Merge branch 'backport/malloc_zero_return_null_v3.3' into 'release/v3.3'
...
backport/malloc_zero_return_null_v3.3
See merge request espressif/esp-idf!8144
2020-04-01 14:42:50 +08:00
xiewenxiang
23474dc737
component/bt: fix don't dequeue the command queue after process the read_by_type_req(backport v3.3)
2020-03-31 16:45:57 +08:00
Prasad Alatkar
296ab7c80e
Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID (v3.3)
...
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
bit UUID
2020-03-30 11:20:30 +05:30
baohongde
0ac0a3126f
components/coex: Fix wakeup delay with DFS
2020-03-28 21:15:21 +08:00
baohongde
41fe01cc99
components/bt: Fix assert when create conntion cancel
2020-03-28 21:08:52 +08:00
Felipe Neves
48e78e6e07
multi_heap: ensure that malloc(0) return NULL pointer in any poisoning configuration
2020-03-27 14:35:50 -03:00
Angus Gratton
6c9c253ed1
Merge branch 'bugfix/esp_event_bugfixes_v3.3' into 'release/v3.3'
...
esp_event-related fixes (v3.3)
See merge request espressif/esp-idf!8073
2020-03-26 16:20:10 +08:00
Jiang Jiang Jian
c44a9f9a4e
Merge branch 'bugfix/send_ok_when_sta_disconnect_for_v3.3' into 'release/v3.3'
...
lw-ip:bugfix for TCPv6 send ok when sta disconnect for 3.3
See merge request espressif/esp-idf!8016
2020-03-25 11:15:52 +08:00
Jiang Jiang Jian
6feb88f69b
Merge branch 'bugfix/Add_lwip_assert_control_v3.3' into 'release/v3.3'
...
lw-ip: Add lw-ip assert control (backport v3.3)
See merge request espressif/esp-idf!8028
2020-03-23 15:07:40 +08:00
Renz Christian Bagaporo
d497c4babd
ldgen: fix build issue on make when build dir is a symlink
...
Fixes an issue where build fails if the build directory is a symlink.
The issue is caused by the rule target and the final executable dependency
not matching.
Closes https://github.com/espressif/esp-idf/issues/3626
2020-03-23 13:12:49 +08:00
Renz Christian Bagaporo
0ee287cd32
partition_table: output partition table info for partition_table target
2020-03-23 13:12:49 +08:00
Renz Christian Bagaporo
84227aeac0
esp_event: remove extra line from source file
2020-03-22 22:34:38 +08:00
Renz Christian Bagaporo
2e3a949f3a
esp_event: test that handlers can unregister themselves
2020-03-22 22:34:30 +08:00
Renz Christian Bagaporo
0890ce9115
esp_event: iterate loop nodes safely as well
2020-03-22 22:34:21 +08:00
Xentec
9b16cb75f8
esp_event: fix crash when unregistering a handler instance in itself
...
When a handler instance is the last one in the list und unregisters
itself, the handler iterator will be invalidated by entering free'd
memory. Same applies for event base and id, if they become empty.
Merges https://github.com/espressif/esp-idf/pull/4139
2020-03-22 22:34:07 +08:00
Ivan Grokhotkov
f6763a9d84
newlib: don't define non-thread-safe versions of getc, putc
...
getc, getchar, putc, putchar were defined both as functions and as
macros. The macro versions are not thread safe, and should not be used
in multithreaded applications.
Upstream fix: b0f271d1db
2020-03-19 12:44:20 +01:00
xiehang
3d821dc821
LWIP: Add lwip assert control
2020-03-19 19:15:24 +08:00
xueyunfei
1cb4cd5ec6
optimization TCPv6 connect
2020-03-19 11:43:44 +08:00
xueyunfei
649a6afeb9
bugfix for TCPv6 send ok when sta disconnect
2020-03-18 17:58:07 +08:00
Jiang Jiang Jian
9e70825d1e
Merge branch 'bugfix/sntp_init_can_run_before_net_connection_v3.3' into 'release/v3.3'
...
lw_ip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it (v3.3)
See merge request espressif/esp-idf!7758
2020-03-18 12:07:08 +08:00
Island
151b6d9bef
Merge branch 'bugfix/allow_adv_stop_again_in_host' into 'release/v3.3'
...
Fix allow to send stop adv hci cmd when host adv state is disable
See merge request espressif/esp-idf!7993
2020-03-17 23:52:04 +08:00
lly
cc07e9d203
ble_mesh: Fix ble mesh nimble host deinit
2020-03-17 14:42:46 +08:00
gengyuchao
ab175f8845
fix allow to send stop adv hci cmd when host adv state is disable
2020-03-16 21:37:07 +08:00
Jiang Jiang Jian
206a844e4a
Merge branch 'bugfix/fix_scan_get_rssi_err_v3.3' into 'release/v3.3'
...
esp_wifi: Fix scan get rssi err (backport v3.3)
See merge request espressif/esp-idf!7963
2020-03-16 20:56:30 +08:00
Jiang Jiang Jian
bf568f2eb4
Merge branch 'bugfix/ble_mesh_miscellaneous_fix_v3.3' into 'release/v3.3'
...
Bugfix/ble mesh miscellaneous fix (v3.3)
See merge request espressif/esp-idf!7971
2020-03-16 13:27:35 +08:00
Jiang Jiang Jian
36cddd0bae
Merge branch 'bugfix/ble_mesh_update_3.3' into 'release/v3.3'
...
Bugfix/ble mesh update 3.3
See merge request espressif/esp-idf!7801
2020-03-16 13:26:44 +08:00
Prasad Alatkar
4fb4c01c53
NimBLE: Add Host based privacy (RPA) feature support (v3.3)
...
- This feature removes dependency on controller to use privacy (RPA)
2020-03-15 21:43:01 +05:30
Prasad Alatkar
237f7eb92a
NimBLE: Fix check for static random address & add MSYS_1 in menuconfig (v3.3)
2020-03-15 21:43:01 +05:30
Hrishikesh Dhayagude
5ca8851be8
NimBLE: Use dynamic buffers instead of static memory (v3.3)
...
The NimBLE host buffers that consume a significant amount of memory are
now allocated dynamically.
The advantage is that, the memory can be reclaimed in cases where BLE
is turned off and not required for the current boot cycle
2020-03-15 21:43:01 +05:30
Prasad Alatkar
b6c88b683f
NimBLE: Misc changes in host flow control, ble_gap_unpair, ble_hs_hci_rx_evt & example (v3.3)
...
- Add menuconfig option for NimBLE host flow control
- Include changes in `blecent` example from upstream PR!702
- add ble_hs_lock in ble_gap_unpair Upstream PR!584
- ble_hs_hci_rx_evt, upstream PR!738
2020-03-15 21:43:01 +05:30
lly
a8763e6517
ble_mesh: Move dev_role to the end of model_pub
2020-03-13 19:53:26 +08:00
lly
de022501b7
ble_mesh: Use the right netkey during iv update
2020-03-13 19:53:23 +08:00
lly
0d6dd36af9
ble_mesh: Use the right net_idx & app_idx for publish
2020-03-13 19:53:19 +08:00
lly
68dba56ac8
ble_mesh: Check buf->ref before unref the buffer
2020-03-13 19:53:16 +08:00
lly
9f32f4b405
ble_mesh: Fix mesh memory use-after-free issue
2020-03-13 19:53:12 +08:00
lly
c19a01d100
ble_mesh: Add ble mesh deinit in btc task
2020-03-13 19:53:08 +08:00
lly
2ae6eedb30
ble_mesh: Free beacon timer when deinit mesh
2020-03-13 19:53:02 +08:00
lly
e73ad2c391
ble_mesh: Use lock for mesh timer operations
2020-03-13 19:52:50 +08:00
xiehang
6de264be1e
esp_wifi: Fix scan get rssi err
...
Remove software modify rssi
2020-03-13 19:41:11 +08:00
Jiang Jiang Jian
766eace598
Merge branch 'bugfix/backport_some_wifi_bugs_0310_v3.3' into 'release/v3.3'
...
Backport some wifi bugs 0310 (backport v3.3)
See merge request espressif/esp-idf!7935
2020-03-13 19:38:01 +08:00
Mahavir Jain
6babdfc0b7
ipc: prevent code getting pulled in for unicore configuration
2020-03-12 16:28:00 +05:30
KonstantinKondrashov
7013d2d7c5
lwip: Add to sys_arch_protect() a check that the mutex is created before use if not then creates it
...
Closes: https://github.com/espressif/esp-idf/issues/944
Closes: https://github.com/espressif/esp-idf/issues/3931
Closes: WIFI-1019
2020-03-11 19:23:24 +08:00
xiehang
c9e7a04a9e
Update wifi lib
...
1. Add wifi stop check at wifi deinit entry.
2. Add TX packets size check.
3. Reduce wifi bin size.
4. Fix the bug for setting channel when wifi in NULL mode.
5. Place the Vendor Specific element at the end according to the protocol.
6. Coex adjust scheme when bt is in connnected status.
2020-03-10 20:01:39 +08:00
Shubham Kulkarni
5def4ad7fe
esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA
2020-03-09 13:21:21 +05:30
Shubham Kulkarni
3cceacc931
OTA: Add fix in case of URL redirection
...
Test case for URL Redirection and Chunked server is added
2020-03-09 13:21:21 +05:30
Shubham Kulkarni
9df632482c
OTA: Fixed OTA with chunked servers
...
If esp_http_client_read returns 0, errno check is performed if complete data is not received.
2020-03-09 13:21:21 +05:30
Chinmay Chhajed
72fb22ed51
This MR is intended to fix Bluetooth event scheduling when WiFi is also enabled.
...
The global interrupts will be disabled before taking current
time for scheduling further bluetooth events. Earlier disabling
interrupts was taking some time because of which WiFi events were
interrupting in current bluetooth scheduling.
Also fixes ble crash issue triggered by ble event irq miss (0x20000).
2020-03-05 18:58:28 +05:30
Jakob Hasse
58cf509495
NVS: Changed all new to new (nothrow)
2020-03-04 15:26:34 +08:00
Angus Gratton
1eaccfae4a
cmake: Fix bug where PHY partition offset incorrectly set
2020-03-02 23:27:51 +00:00
lly
0e2c77b185
ble_mesh: Calc incomplete timeout based on msg info
2020-02-27 15:47:26 +08:00
lly
91ad0f9f4a
ble_mesh: Start the timer when starting to send the client message
2020-02-27 15:47:12 +08:00
lly
70eadc0b05
ble_mesh: No timeout for client message to non-unicast address
2020-02-27 15:46:54 +08:00
lly
49fc8c86b3
ble_mesh: Unify client application and lower transport layer timeout
2020-02-27 15:46:19 +08:00
lly
04a6ac3cf5
ble_mesh: Allow maximum 377 octets payload
2020-02-27 15:46:03 +08:00
lly
9fa5c14d58
ble_mesh: Reset transport info when node is removed
2020-02-27 15:45:46 +08:00
lly
cc19e1da9b
ble_mesh: Provisioner ignores msg from removed node
2020-02-27 15:45:15 +08:00
liu zhifu
96bb4c6e78
esp32: fix the bug that WiFi stop leads to memory leak
2020-02-27 14:28:39 +08:00
Michael (XIAO Xufeng)
b3d5fe849d
Merge branch 'feat/mcpwm_hal_fixes_v3.3' into 'release/v3.3'
...
mcpwm: add HAL layer support (fix part, backport v3.3)
See merge request espressif/esp-idf!7744
2020-02-24 09:11:10 +08:00
Jiang Jiang Jian
d0d0c979bc
Merge branch 'bugfix/transport_connection_active_v3.3' into 'release/v3.3'
...
fix(transport): Fix a bug of the connection whether be active or not (v3.3)
See merge request espressif/esp-idf!7736
2020-02-22 16:01:13 +08:00
Jiang Jiang Jian
12aa90e6a2
Merge branch 'feature/dev_security_restore_backport_v3p3' into 'release/v3.3'
...
feature/dev_security_restore_backport_v3p3(backport release/v3.3)
See merge request espressif/esp-idf!7739
2020-02-22 16:00:54 +08:00
Michael (XIAO Xufeng)
c9edf16376
mcpwm: decrease test time
...
cherry-pick 538540ce
2020-02-21 22:39:12 +08:00
michael
919dbdd170
mcpwm: fix the fault handling and capture issues
...
1. The fault signal 3 for unit 2 is corrected to the right value
2. Now `mcpwm_fault_set_oneshot_mode` will clear the status before, no
need to reset the peripheral.
3. The capture feature relies on the prescaler, but it's only
initialized in the mcpwm_init funciton, which is used to initialize a
PWM channel. This means, the capture may not work correctly if no PWM
channel is enabled.
Now the prescaler is also updated when `mcpwm_capture_enable` is
called.
2020-02-21 22:39:11 +08:00
michael
3c6f992cf0
mcpwm: enable some unit tests again
2020-02-21 22:39:03 +08:00
June
2548168277
backport mr !6031 - fix security info restore bug
2020-02-21 20:17:17 +08:00
chenyudong
a3c4b04675
mesh: fix mesh ie issues
...
Fix an error of mesh deinit lock.
Fix mesh send returns TIMEOUT.
Increase root window close time to 120s.
Clear ie.child when the child connected or fully associated.
Update rc_rssi when roots direct/forward.
ix assoc in mesh ie wrong.
Mesh packets use AC_VI instead of AC_BE.
2020-02-21 18:29:01 +08:00
Jiang Jiang Jian
a55cd0e7f3
Merge branch 'optimization/get_dns_server_and_add_dns_enable_ipv6_dns_retrieval' into 'release/v3.3'
...
lw-ip:optimization get dns server and add dns enable ipv6 dns retrieval
See merge request espressif/esp-idf!7643
2020-02-21 18:20:52 +08:00
Jiang Jiang Jian
7ab0a59bb3
Merge branch 'bugfix/host_and_example_bugfix_backport_to_v3.3' into 'release/v3.3'
...
Bugfix/host and example bugfix backport to v3.3
See merge request espressif/esp-idf!7723
2020-02-21 18:15:48 +08:00
Liu Han
67be0ae585
fix(transport): Fix a bug of the connection whether be active or not by timeout option when the select function return a correct value.
2020-02-21 11:01:15 +01:00
Liu Han
8246bfa8fb
fix(transport): Fix a bug of the connection whether be active or not.
2020-02-21 11:00:43 +01:00
Jiang Jiang Jian
7d1c44fb7e
Merge branch 'bugfix/btdm_role_switch_v3.3' into 'release/v3.3'
...
Fix bugs about role switch
See merge request espressif/esp-idf!7721
2020-02-21 17:49:46 +08:00
Jiang Jiang Jian
56140d11ce
Merge branch 'bugfix/mqtt_submodule_ref_update_v3.3' into 'release/v3.3'
...
mqtt: update submodule to point to latest commit (backport v3.3)
See merge request espressif/esp-idf!7287
2020-02-21 17:24:37 +08:00
Jiang Jiang Jian
93f151f6d4
Merge branch 'bugfix/mbedtls_esp_bignum_v3.3' into 'release/v3.3'
...
mbedtls: esp bignum fix for 4096 keys (v3.3)
See merge request espressif/esp-idf!7706
2020-02-21 17:17:39 +08:00
Jiang Jiang Jian
89355c2ec0
Merge branch 'bugfix/fix_some_typo_in_v3.3' into 'release/v3.3'
...
Fix some typo in idf backport v3.3
See merge request espressif/esp-idf!7725
2020-02-21 17:16:55 +08:00
Jiang Jiang Jian
8737c444d6
Merge branch 'bugfix/add_option_to_ipv6_stateless_address_configuration_v3.3' into 'release/v3.3'
...
lw-ip: Add option to ipv6 stateless address configuration (backport v3.3)
See merge request espressif/esp-idf!7694
2020-02-21 14:56:23 +08:00
xueyunfei
681dba4afd
optimization get dns server and add dns enable ipv6 dns retrieval
2020-02-20 14:06:07 +00:00
Mahavir Jain
32387506fb
Merge branch 'bugfix/esp_log_timestamp_v3.3' into 'release/v3.3'
...
Use proper API to get Tick Count is esp_log_timestamp (v3.3)
See merge request espressif/esp-idf!7720
2020-02-20 20:13:23 +08:00
gengyuchao
94255c421d
Fix some typo in idf release v3.3
2020-02-20 20:05:10 +08:00
gengyuchao
b6e9a15e81
Component/bt :
...
Add handling of osi memory calloc failure.
Add length check for snprintf in osi config.
2020-02-20 19:39:03 +08:00
Mahavir Jain
3359e063a3
Merge branch 'fix/run_esptool_absolute_path_v3.3' into 'release/v3.3'
...
project_include.cmake: Make esptool_py_custom_target callable from other directories (v3.3)
See merge request espressif/esp-idf!7711
2020-02-20 19:38:32 +08:00
gengyuchao
53664c80ff
component/bt: Fix the issue with pointer type conversion in gattc. Unified att(db_sizedb_size) count pointer type in bta and btc, change pointer type in bta from int to uint16_t.
2020-02-20 19:16:01 +08:00
baohongde
74b964ed67
Fix bugs about role switch
...
Jitter in FHS
Jitter in first PULL
Receive EDR packet fail after role switch
2020-02-20 19:11:45 +08:00
Shubham Kulkarni
110620a80c
log: Check for ISR context and use proper API to get Tick Count
2020-02-20 16:02:16 +05:30
gengyuchao
6241139685
example/ble_throughput:
...
Fixed the throughput wasting memory and packet loss issues.
Fixed the throughput crash bug because of using the Mutex.
2020-02-20 18:05:23 +08:00
gengyuchao
4375e60a6e
bugfix: ble add missing gatt descriptors
2020-02-20 17:54:45 +08:00
Jiang Jiang Jian
26383e95fd
Merge branch 'feature/esp32_5p0_backport_v3p3' into 'release/v3.3'
...
backport esp325p0 new features and code optimize to v3.3
See merge request espressif/esp-idf!7564
2020-02-20 17:38:23 +08:00
David Cermak
fe5b7b549c
mbedtls: fix hw accelerated big-num mul if operand and result overlap
...
this issue is mainly exposed when using larger (4096) client key in TLS mutual auth,
since it uses multiplications > 2048 when mbedtls_mpi_mul_mpi is used in recursion,
which works only if both operands point to different location than result since
mpi_mult_mpi_overlong() called mbedtls_mpi_grow() to reallocate buffers used in previous
pointer arithmetics and thus corrupting it. Fixed by growing the mpi buffer before
calling mpi_mult_mpi_overlong()
2020-02-20 10:05:48 +01:00
David Cermak
12d639e5b2
mbedtls: added mpi multiplication test for large numbers
2020-02-20 10:05:48 +01:00
Amit Sheth
03b3e5eff2
project_include.cmake: Make esptool_py_custom_target callable from other directories (backport v3.3)
2020-02-20 13:11:52 +05:30
Jiang Jiang Jian
c1bf7057d3
Merge branch 'bugfix/fix_sniffer_bug_caused_by_mode_switch_v3.3' into 'release/v3.3'
...
FIx sniffer bug caused by mode switch (backport v3.3)
See merge request espressif/esp-idf!7685
2020-02-20 14:58:33 +08:00
Jiang Jiang Jian
365092fb57
Merge branch 'bugfix/coex_a2dp_stuck_after_creating_another_connection_v3.3' into 'release/v3.3'
...
components/coex: Fix a2dp stuck after creating another connection
See merge request espressif/esp-idf!7663
2020-02-20 14:16:53 +08:00
xiehang
cee1bc9f8e
lw-ip: Add option to ipv6 stateless address configuration
2020-02-20 14:06:26 +08:00
Michael (XIAO Xufeng)
18e5d35722
Merge branch 'bugfix/add_missing_ledc_set_pin_declaration_v3.3' into 'release/v3.3'
...
Bugfix: Add missing ledc_set_pin declaration in led.h (v3.3)
See merge request espressif/esp-idf!7370
2020-02-20 13:53:13 +08:00
Jiang Jiang Jian
fb2d0de8f9
Merge branch 'bugfix/enable_ipv6_address_autoconfig_v3.3' into 'release/v3.3'
...
lw-ip: Enable IPv6 stateless address autoconfiguration (backport v3.3)
See merge request espressif/esp-idf!7657
2020-02-20 11:46:23 +08:00
xiehang
a853c84db2
esp_wifi: Small refactor for ic_set_vif
2020-02-19 21:54:04 +08:00
Jiang Jiang Jian
3aa0922221
Merge branch 'bugfix/controller_initializer_order' into 'release/v3.3'
...
fix initializer order for BT_CONTROLLER_INIT_CONFIG_DEFAULT
See merge request espressif/esp-idf!7623
2020-02-19 17:09:17 +08:00
Jiang Jiang Jian
e0b29aca15
Merge branch 'bugfix/fix_airkiss_bug_v3.3' into 'release/v3.3'
...
fix the bug for Airkiss (backport v3.3)
See merge request espressif/esp-idf!7666
2020-02-19 16:40:22 +08:00
Michael (XIAO Xufeng)
b1a9e364bb
Merge branch 'bugfix/i2s_timergroup_some_issues_v3.3' into 'release/v3.3'
...
bugfix(driver): fix i2s and timergroup some issues(backport v3.3)
See merge request espressif/esp-idf!7172
2020-02-19 11:19:10 +08:00
zhangyanjiao
2dfadc9657
fix the bug for Airkiss can't get the ip of the cellphone
2020-02-19 10:19:26 +08:00
Jiang Jiang Jian
2d2ccaacd8
Merge branch 'bugfix/unified_prov_bluedroid_v3.3' into 'release/v3.3'
...
Unified Provisioning - BLE: Fix characteristics read response issue (backport v3.3)
See merge request espressif/esp-idf!7649
2020-02-18 20:57:51 +08:00
Jiang Jiang Jian
a4bbcbcf98
Merge branch 'bugfix/ble_mesh_fix_compile_error_with_cpp_3.3' into 'release/v3.3'
...
ble_mesh: Fix compile error with c++ files (v3.3)
See merge request espressif/esp-idf!7585
2020-02-18 20:44:31 +08:00
baohongde
7592ec77f5
components/coex: Fix a2dp stuck after creating another connection
2020-02-18 20:22:48 +08:00
xiehang
2f1d050133
lw-ip: Enable IPv6 stateless address autoconfiguration
2020-02-18 19:28:22 +08:00
Hrishikesh Dhayagude
a1e0268f40
Unified Provisioning - BLE: Fix characteristics read response issue
...
Fix the issue when number of bytes to be read is an exact multiple of MTU-1
2020-02-18 15:06:44 +05:30
June
eec53257dc
backport esp32 5p0 new features to v3p3
2020-02-18 15:21:07 +08:00
xueyunfei
a0eb61e8a8
add hostname option to dhcp request on reboot
2020-02-14 22:53:38 +08:00
Jiang Jiang Jian
4f41c77665
Merge branch 'bugfix/LWIP_header_missing_C++_guards' into 'release/v3.3'
...
lw-ip:add lw-ip header missing_C++ guards
See merge request espressif/esp-idf!7411
2020-02-14 22:44:27 +08:00
Jiang Jiang Jian
fdceac415b
Merge branch 'feature/add_ETHARP_SUPPORT_VLAN' into 'release/v3.3'
...
lw-ip:add feature ETHARP SUPPORT VLAN
See merge request espressif/esp-idf!7399
2020-02-14 19:48:09 +08:00
xueyunfei
5599d05f87
add lwip header missing_C++ guards
2020-02-14 18:50:24 +08:00
Jiang Jiang Jian
f41e536f06
Merge branch 'fixbug/disable_TCP_QUEUE_OOSEQ_compile_fail' into 'release/v3.3'
...
lw-ip:fixbug disable TCP_QUEUE OOSEQ compile fail
See merge request espressif/esp-idf!7382
2020-02-14 17:56:08 +08:00
xueyunfei
4f0ee78558
add feature ETHARP SUPPORT VLAN
2020-02-14 17:44:05 +08:00
Jiang Jiang Jian
fcc9db267d
Merge branch 'bugfix/crash_of_dhcp_server_reconfiguration' into 'release/v3.3'
...
lw-ip:fixed rare crash of DHCP Server during WIFI AP network reconfiguration and...
See merge request espressif/esp-idf!7412
2020-02-14 16:49:48 +08:00
Jiang Jiang Jian
9b67208b14
Merge branch 'hfp_a2dp_iphone_3.3' into 'release/v3.3'
...
components bt/: Disable sniff mode during (e)SCO connection for HFP. [backport 3.3]
See merge request espressif/esp-idf!7250
2020-02-14 16:48:06 +08:00
Jiang Jiang Jian
91f0fcc3b3
Merge branch 'feat/nimble_esp_ble_mesh_v3.3' into 'release/v3.3'
...
Add support of NimBLE host in ESP-BLE-Mesh (backport v3.3)
See merge request espressif/esp-idf!7510
2020-02-14 16:43:05 +08:00
Hrishikesh Dhayagude
cf6f1e8246
Add support of NimBLE host in ESP-BLE-Mesh - v3.3
2020-02-13 12:33:23 +05:30
Xia Xiaotian
79445f4234
soc: clear PHY status when cpu start
2020-02-13 14:20:30 +08:00
lly
46b1608f44
ble_mesh: Fix compile error with c++ files
2020-02-13 09:58:56 +08:00
liu zhifu
2118af0163
esp32: fix the crash caused by double free BAR buffer
2020-02-12 19:54:38 +08:00
Jiang Jiang Jian
2eb4374a5b
Merge branch 'bugfix/coex_schm_rebased_v3.3' into 'release/v3.3'
...
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario (Backport v3.3)
See merge request espressif/esp-idf!7410
2020-02-12 17:07:18 +08:00
Xia Xiaotian
a41443184e
components/esp_wifi: improve coexistence performance according to specific WiFi/BT/BLE scienario
...
1. Improve WiFi throughput in some Classic BT scienarios(idle, inquire scan,
connected, sniff, a2dp pause, etc).
2. Support WiFi + Classic BT + BLE mesh coexistence scienario.
3. Improve WiFi scan and connect succeed ratio in coexistence scienario.
4. Do not support to choose software coexistence preference anymore for it is
determined according to coexistence scienario automatically.
components/lwip: increase TCP send buffer and receive window limitation when TCP window scale is enabled
components/ble_mesh: Fix some bugs about ble mesh
1. fix send acl pkt after ble have sent terminate ind modify min adv interval to 10ms.
2020-02-12 16:13:28 +08:00
Jiang Jiang Jian
8c3cefca81
Merge branch 'bugfix/panic_cache_err_dig_reset_v3.3' into 'release/v3.3'
...
esp32: panic: do digital reset if cache error interrupt is set (backport v3.3)
See merge request espressif/esp-idf!7485
2020-02-12 15:30:59 +08:00
Marius Vikhammer
e9894d6efc
mqtt: update submodule to point to latest commit.
...
Adds bugfixes for:
- Too early publishing
- Potential mutex memory leak
- CI related issues.
- Wait for entire connack message
- Event loop not getting cleaned up
Adds support for ALPN, configurable reconnect time, QEMU CI tests and password
protected client key.
MQTT MR: esp-mqtt/merge_requests/46
Closes IDF-1162
Closes https://github.com/espressif/esp-mqtt/issues/137
MQTT MR: esp-mqtt/merge_requests/47
Closes IDF-1126
MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2197
Closes https://github.com/espressif/esp-idf/issues/4349
Closes https://github.com/espressif/esp-mqtt/issues/140
MQTT MR: esp-mqtt/merge_requests/48
Closes IDFGH-2235
Closes https://github.com/espressif/esp-idf/issues/4384
MQTT MR: esp-mqtt/merge_requests/49
Closes https://github.com/espressif/esp-idf/issues/4433
Closes IDFGH-2293
MQTT MR: esp-mqtt/merge_requests/50
Closes FCS-254
MQTT MR: esp-mqtt/merge_requests/53
Closes FCS-267
2020-02-10 07:57:08 +00:00
boarchuz
8c72cc5749
Fix subtype in PartitionTable.find_by_type
...
Fix ptype->subtype
Closes https://github.com/espressif/esp-idf/pull/4723
2020-02-10 08:37:45 +01:00
El Jeffo
79dff0ef12
fix initializer order for BT_CONTROLLER_INIT_CONFIG_DEFAULT
2020-02-07 18:59:03 +08:00
Angus Gratton
fd348b7bd8
bugfix: bt Kconfig included a UTF-8 comma
...
Displays incorrectly on Python 3, but can crash Python 3 if the system default encoding is not utf-8
2020-02-07 09:10:56 +11:00
Angus Gratton
91b9310714
Merge branch 'bugfix/esp_timer_stucks_into_esp_timer_impl_set_alarm_v3.3' into 'release/v3.3'
...
esp_timer/esp32: Fix esp_timer_impl_set_alarm() when CPU and APB freqs are changed (v3.3)
See merge request espressif/esp-idf!7441
2020-02-06 14:33:21 +08:00
Angus Gratton
2da1db9726
Merge branch 'bugfix/wps_config_init_v3.3' into 'release/v3.3'
...
WPS_CONFIG_INIT_DEFAULT(type) error
See merge request espressif/esp-idf!7312
2020-02-06 14:06:27 +08:00
KonstantinKondrashov
2718fdbd95
esp_timer/esp32: Fix case when alarm_reg > counter_reg but FRC_TIMER_INT_STATUS is not set
...
Closes: WIFI-1576
Closes: https://github.com/espressif/esp-idf/issues/2954
2020-02-05 10:43:19 +00:00
Hrishikesh Dhayagude
a03b9c7465
Add NimBLE files in ESP-BLE-Mesh again
...
Revert "ble_mesh: Remove NimBLE implementation for ESP-BLE-MESH"
This reverts commit 925f93614c
.
2020-02-05 13:37:54 +05:30
lly
925f93614c
ble_mesh: Remove NimBLE implementation for ESP-BLE-MESH
2020-02-03 12:04:00 +08:00
lly
b19671e0d4
ble_mesh: Add ESP BLE Mesh implementation
...
1. BLE Mesh Core
* Provisioning: Node Role
* PB-ADV and PB-GATT
* Authentication OOB
* Provisioning: Provisioner Role
* PB-ADV and PB-GATT
* Authentication OOB
* Networking
* Relay
* Segmentation and Reassembly
* Key Refresh
* IV Update
* Proxy Support
* Multiple Client Models Run Simultaneously
* Support multiple client models send packets to different nodes simultaneously
* No blocking between client model and server
* NVS Storage
* Store BLE Mesh node related information in flash
* Store BLE Mesh Provisioner related information in flash
2. BLE Mesh Models
* Foundation Models
* Configuration Server Model
* Configuration Client Model
* Health Server Model
* Health Client Model
* Generic
* Generic OnOff Server
* Generic OnOff Client
* Generic Level Server
* Generic Level Client
* Generic Default Transition Time Server
* Generic Default Transition Time Client
* Generic Power OnOff Server
* Generic Power OnOff Setup Server
* Generic Power OnOff Client
* Generic Power Level Server
* Generic Power Level Setup Server
* Generic Power Level Client
* Generic Battery Server
* Generic Battery Client
* Generic Location Server
* Generic Location Setup Server
* Generic Location Client
* Generic Admin Property Server
* Generic Manufacturer Property Server
* Generic User Property Server
* Generic Client Property Server
* Generic Property Client
* Sensor Server Model
* Sensor Server
* Sensor Setup Server
* Sensor Client
* Time and Scenes
* Time Server
* Time Setup Server
* Time Client
* Scene Server
* Scene Setup Server
* Scene Client
* Scheduler Server
* Scheduler Setup Server
* Scheduler Client
* Lighting
* Light Lightness Server
* Light Lightness Setup Server
* Light Lightness Client
* Light CTL Server
* Light CTL Setup Server
* Light CTL Client
* Light CTL Temperature Server
* Light HSL Server
* Light HSL Setup Server
* Light HSL Client
* Light HSL Hue Server
* Light HSL Saturation Server
* Light xyL Server
* Light xyL Setup Server
* Light xyL Client
* Light LC Server
* Light LC Setup Server
* Light LC Client
3. BLE Mesh Applications
* BLE Mesh Node
* OnOff Client Example
* OnOff Server Example
* BLE Mesh Provisioner
* Example
* Fast Provisioning
* Vendor Fast Prov Server Model
* Vendor Fast Prov Client Model
* Examples
* Wi-Fi & BLE Mesh Coexistence
* Example
* BLE Mesh Console Commands
* Examples
2020-02-03 12:03:36 +08:00
Hrudaynath Dhabe
46bfd878da
Fix wps config for support with gnu++11 as well as c99.
2020-01-31 05:56:00 +00:00
Ivan Grokhotkov
f6e1a12b34
esp32: panic: do digital reset if cache error interrupt is set
...
Even if frame->exccause != PANIC_RSN_CACHEERR, it is possible that
the cache error interrupt status is set. For example, this may happen
due to an invalid cache access in the panic handler itself.
Check cache error interrupt status instead of frame->exccause to
decide whether to do CPU reset or digital reset.
Also remove unnecessary esp_dport_access_int_pause from
esp_cache_err_get_cpuid, since the panic handler already calls
esp_dport_access_int_abort on entry.
2020-01-30 12:31:00 +01:00
Angus Gratton
07387fbd29
soc: Fix esp_ptr_executable() for single core ESP32 config & cache memory
...
In single core mode, APP CPU cache region is added to the available range.
2020-01-29 10:04:01 +11:00
Angus Gratton
f8151b2bfe
Merge branch 'bugfix/esp_tls_blocking_timeout_v3.3' into 'release/v3.3'
...
esp-tls: add timeout for blocking connection (v3.3)
See merge request espressif/esp-idf!7397
2020-01-22 11:44:01 +08:00
Ivan Grokhotkov
d3cc7c0daf
Merge branch 'bugfix/esp_log_from_critical_v3.3' into 'release/v3.3'
...
intr_alloc: don't call ESP_LOG from a critical section (backport v3.3)
See merge request espressif/esp-idf!7160
2020-01-22 00:14:32 +08:00
Ivan Grokhotkov
552eb63ec4
Merge branch 'bugfix/fix_phy_init_data_bin_generation' into 'release/v3.3'
...
esp32: fix generation of phy_init_data.bin
See merge request espressif/esp-idf!7258
2020-01-21 17:04:18 +08:00
xueyunfei
a025eeaf5b
fixbug disable TCP_QUEUE OOSEQ compile fail
2020-01-21 16:06:18 +08:00
Alex Winter
faf23c095c
Fixed rare crash of DHCP Server during WIFI AP network reconfiguration and DHCP restart due to missed callback
...
Signed-off-by: xueyunfei <xueyunfei@espressif.com>
2020-01-21 14:19:36 +08:00
Angus Gratton
5e9746bffa
Merge branch 'bugfix/advanced_https_ota_example_v3.3' into 'release/v3.3'
...
esp_https_ota in sync with v4.x (backport v3.3)
See merge request espressif/esp-idf!7161
2020-01-21 14:09:12 +08:00
Jiang Jiang Jian
8be372a1fd
Merge branch 'bugfix/wa_dport_and_intr_v3.3' into 'release/v3.3'
...
esp32: Fix for DPORT (v3.3)
See merge request espressif/esp-idf!7350
2020-01-21 10:53:15 +08:00
Jiang Jiang Jian
006f2c0b3a
Merge branch 'bugfix/backport_some_wifi_bugs_0107_v3.3' into 'release/v3.3'
...
backport some Wi-Fi bugs 0107 (backport v3.3)
See merge request espressif/esp-idf!7240
2020-01-20 16:08:58 +08:00
David Cermak
3ab801e27e
esp_tls: fail connection if esp_tls_conn_new() timeouts
2020-01-20 07:32:17 +01:00
Paul Abbott
9c3d2b4f70
Bugfix(LEDC): Add missing ledc_set_pin declaration in led.h
2020-01-17 10:26:15 +08:00
baohongde
30779731ea
components/bt: backport release/v3.3
...
Fix A2DP stuck when BLE's interval is too small
Bugfix that bluetooth controller may not be able to enter sleep after end of wake up request
Fix LMP sniff req timeout
2020-01-16 15:47:31 +08:00
KonstantinKondrashov
106f165899
esp32: Add UT for DPORT
2020-01-16 14:33:56 +08:00
KonstantinKondrashov
68791163b2
esp32: Fix esp_dport_access_reg_read
2020-01-16 14:33:56 +08:00
Ivan Grokhotkov
a8b974f245
intr_alloc: don't call ESP_LOG from a critical section
...
Calling ESP_LOG from a critical section leads to abort() in 4.1, and
may also randomly abort() in earlier versions.
Closes FCS-268
2020-01-15 04:15:57 +00:00
Renz Christian Bagaporo
8b44275fbf
esp32: fix generation of phy_init_data.bin
...
Closes https://github.com/espressif/esp-idf/issues/4567
2020-01-15 03:39:00 +00:00
zhiweijian
5187d64c34
component/bt: fix blufi prepare write buf len invalid
2020-01-14 17:45:40 +08:00
zhiweijian
927c4afa5b
Component/bt: Fix GATTC trigger open event multiple times
2020-01-14 17:41:45 +08:00
Shubham Kulkarni
a63b5d155f
Bugfix for failing OTA example
...
example_test.py is added to test advanced_https_ota_example and native ota_example.
Closes https://github.com/espressif/esp-idf/issues/4394
2020-01-13 17:39:01 +05:30
xiehang
da656f0345
lwip: Drop packets larger than MTU
2020-01-13 15:11:06 +08:00
zhangyanjiao
431080faa1
fix the bugs for espnow and bandwidth
2020-01-13 15:10:09 +08:00
ronghulin
78d7e214d6
esp32: fix a WiFi RX bug
...
Support WiFi/BT MAC register writting when the WiFi/BT common clock is disabled.
2020-01-13 15:09:52 +08:00
xueyunfei
92242d5d13
bugfix for add random udp port
2020-01-09 18:01:00 +08:00
Angus Gratton
e28c5127c2
Merge branch 'bugfix/mdns_send_sdptr_answer_v3.3' into 'release/v3.3'
...
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp (v3.3)
See merge request espressif/esp-idf!7243
2020-01-09 13:01:26 +08:00
Jiang Jiang Jian
9a44c290f6
Merge branch 'bugfix/btdm_avrc_category_v3.3' into 'release/v3.3'
...
components/bt: Choose AVRC category according to A2DP role
See merge request espressif/esp-idf!7177
2020-01-09 11:35:02 +08:00
weitianhua
e284ff818b
hfp a2dp iphone 3.3
2020-01-08 19:37:51 +08:00
David Cermak
6ace6fbd85
mdns: respond to discovery with the proper pseudo name _services._dns-sd._udp
...
Closes https://github.com/espressif/esp-idf/issues/4369
Closes IDFGH-2219
2020-01-08 10:22:10 +01:00
liu zhifu
531416d95f
esp32: fix WiFi performance issue
2020-01-06 21:07:53 +08:00
baohongde
611c0c3897
components/bt: Choose AVRC category according to A2DP role
2019-12-31 15:31:54 +08:00
xiongyu
ae94784d4c
bugfix(driver): fix i2s and timergroup some issues
...
* fix i2s and timergroup dev array used by isr crash issue
* Closes IDFGH-2432
* Closes https://github.com/espressif/esp-idf/issues/4545
* fix i2s adc data inv issue
* Closes IDFGH-2444
* Closes https://github.com/espressif/esp-idf/issues/4557
2019-12-31 14:48:44 +08:00
Mahavir Jain
3063679f5a
esp_http_client: fix issue where http parser was not invoking message_complete
callback
...
https://github.com/espressif/esp-idf/issues/2625
https://github.com/espressif/esp-idf/issues/4209
2019-12-31 11:14:18 +05:30
Shubham Kulkarni
f335bfdea7
Merge branch 'bugfix/CMake_esp_https_ota_dependencies' into master
...
components/esp_https_ota: Changes in public requirement list for CMake and esp_ota_ops.h is included in esp_https_ota.c
bootloader_support is added in public requirements of CMake
bootloader_common.h is included in esp_https_ota.h
Closes https://github.com/espressif/esp-idf/issues/4198
Closes IDFGH-2066
2019-12-31 11:14:18 +05:30
Hrudaynath Dhabe
2b44bc47df
esp_https_ota: Added error checking functionalities.
...
Current implimentation of esp_http_ota does not perform any error-checking in the data writing phase calls `esp_ota_get_next_update_partition()` irrespetive of the received state of the image. A few additional error checking mechanism have now been added inside the esp_https_ota which returns the control in case an invalid header is received and a wrapper to the function `esp_http_client_is_complete_data_received()` of `esp_http_client` has been added.
2019-12-31 11:14:18 +05:30
Hrudaynath Dhabe
012ff5775b
esp_http_client: Add support to check the binary length of the recieved stream and compare it with the size mentioned in the header.
...
While downloading OTA firmware, if their is a Origin Respnse Timeout or the binary is only partially downloaded, OTA failure is observed. Checking binary size can also be helpful for simple http client applications.
Closes https://github.com/espressif/esp-idf/issues/3004
2019-12-31 11:14:18 +05:30
Piyush Shah
36f0728254
wifi_provisioning_softap: Allow applications to start webserver externally
...
If an application wants to use webserver, instead of creating another
webserver instance, the wifi provisioning manager can re-use the same.
The webserver handle can be passed using this new API.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-12-30 17:34:30 +05:30
baohongde
09b8979987
components/bt: Revert changes of security mask
2019-12-25 20:13:35 +08:00
Shubham Kulkarni
afb8064a29
esp32/rtc_module: Fixed critical section API
...
Application used to abort as portENTER_CRITICAL is used in ISR.
portENTER_CRITICAL is changed to portENTER_CRITICAL_SAFE in touch_pad_clear_status()
https://github.com/aws/amazon-freertos/issues/1651
2019-12-24 18:00:19 +05:30
Jiang Jiang Jian
1a657c255c
Merge branch 'bugfix/btdm_disable_some_secrity_mask_v3.3' into 'release/v3.3'
...
components/bt: Disable some unsupported security mask
See merge request espressif/esp-idf!6726
2019-12-22 21:37:00 +08:00
Jiang Jiang Jian
c5d79efcc5
Merge branch 'bugfix/wps_workaround_for_Telstra_AP_v3.3' into 'release/v3.3'
...
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.3)
See merge request espressif/esp-idf!5988
2019-12-22 19:21:18 +08:00
baohongde
83184631a4
components/bt: Disable some unsupported security mask
2019-12-22 08:56:18 +00:00
Angus Gratton
c3571e97cb
Merge branch 'bugfix/config_assert_thread_safety_backport_v3.3' into 'release/v3.3'
...
freertos: Fix configASSERT thread safety (backport v3.3)
See merge request espressif/esp-idf!6660
2019-12-20 13:26:30 +08:00
Jiang Jiang Jian
54c1882b99
Merge branch 'bugfix/put_more_rx_code_to_iram_v3.3' into 'release/v3.3'
...
wifi: Put some rx code to iram (backportv3.3)
See merge request espressif/esp-idf!6647
2019-12-18 16:39:48 +08:00
Mahavir Jain
1d70441bdc
freertos: modify configASSERTs around scheduler state check
...
Regression introduced in commit 79e74e5d5f
It is possible that some FreeRTOS APIs are invoked prior to
scheduler start condition (e.g. flash initialization in unicore mode).
In that condition these asserts should not trigger (scheduler state being yet to be started),
hence changes per this fix.
2019-12-18 06:49:59 +00:00
Darian Leung
2c96976b13
freertos: Fix configASSERT thread safety
...
This commit fixes thread safety issues with configASSERT() calls
regarding the value of uxSchedulerSuspended. A false negative
occurs if a context switch to the opposite core occurs in between
the getting the core ID and the assesment.
Closes https://github.com/espressif/esp-idf/issues/4230
2019-12-18 06:49:59 +00:00
Geng Yu Chao
db8bcc60f9
Bugfix/btdm fix doc and host bug backport v3.3
2019-12-18 14:19:13 +08:00
xiehang
b764454e52
esp_wifi:Put some rx code to iram
2019-12-17 12:55:47 +00:00
Jiang Jiang Jian
de9fd03b3e
Merge branch 'bufgix/esp_timer_set_alarm_v3.3' into 'release/v3.3'
...
esp_timer: Fix set_alarm. Case when timestamp < now_time (v3.3)
See merge request espressif/esp-idf!6997
2019-12-16 19:40:52 +08:00
Jiang Jiang Jian
97dba89daf
Merge branch 'bugfix/btdm_avrc_metadata_length_error_v3.3' into 'release/v3.3'
...
components/bt: Fix AVRC metadata length error
See merge request espressif/esp-idf!6884
2019-12-16 14:07:20 +08:00
Angus Gratton
88cf7ed87e
Merge branch 'bugfix/wifi_internal_memory_v3.3' into 'release/v3.3'
...
wifi: Include DMA reserved pool when allocating internal-only memory (v3.3)
See merge request espressif/esp-idf!6628
2019-12-16 13:39:43 +08:00
Jiang Jiang Jian
82f1be5e5a
Merge branch 'bugfix/hfp_client_indication_v3.3' into 'release/v3.3'
...
component/bt: Fix bugs in HFP feature v3.3
See merge request espressif/esp-idf!6852
2019-12-16 11:32:10 +08:00
Jiang Jiang Jian
ce9ec29737
Merge branch 'bugfix/http_client_buffer_overflow_v3.3' into 'release/v3.3'
...
Fix HTTP client buffer overflow (v3.3)
See merge request espressif/esp-idf!6667
2019-12-16 11:31:55 +08:00
Jiang Jiang Jian
7b73cf613c
Merge branch 'component_bt/osi_fixed_queue_v3.3' into 'release/v3.3'
...
component_bt/: Fix_pointer_type_fixed_queue v3.3
See merge request espressif/esp-idf!6847
2019-12-16 11:31:24 +08:00
Angus Gratton
762a9fe83f
Merge branch 'bugfix/hide_unsupported_cmake_features_v3.3' into 'release/v3.3'
...
security: Hide Secure Boot & Flash Encryption config items when using CMake
See merge request espressif/esp-idf!6899
2019-12-16 11:17:49 +08:00
KonstantinKondrashov
d071cd11c8
esp_timer: Add Test case when set_alarm needs set timer < now_time
2019-12-14 04:38:30 +08:00
Angus Gratton
876ac4e963
bt: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-12-12 23:09:59 +00:00
Angus Gratton
6231961683
wifi: Include DMA reserved pool when allocating internal-only memory
...
Fix for root cause of https://github.com/espressif/esp-idf/issues/3592
2019-12-12 23:09:59 +00:00
KonstantinKondrashov
32ec2750e0
esp_timer: Fix set_alarm. Case when timestamp < now_time
...
arg1 = MAX(int64_t arg1, uint64_t arg2) gave the wrong result, if arg1 < 0, it was presented as a larger value.
And ALARM_REG = (uin32_t)arg1. This leads to an infinite loop.
Fixed: both args are int64_t.
Closes: WIFI-1511
2019-12-12 14:43:44 +08:00
Roland Dobai
bcbc4a9599
expat: Update library from 2.2.5 to 2.2.9
2019-12-05 09:21:29 +01:00
Xia Xiaotian
19913cec43
esp_wifi: fix WiFi scan and connect bugs when coexist with Bluetooth
...
1. Fix WiFi scan leads to poor performance of Bluetooth.
2. Improve WiFi connect success ratio when coexist with Bluetooth.
3. Check if WiFi is still connected when CSA or beacon timeout happen.
4. add coex pre init
2019-12-04 04:19:58 +00:00
Jiang Jiang Jian
bf80d8211e
Merge branch 'bugfix/phy_critical_v3.3' into 'release/v3.3'
...
fix bug that phy_enter_critical cannot effect on dual-core
See merge request espressif/esp-idf!6866
2019-12-04 11:27:28 +08:00
Angus Gratton
46a7409965
security: Hide Secure Boot & Flash Encryption config items when using CMake
...
These features are not supported in the CMake build system preview, but previously
had to read the notice in the CMake Getting Started guide to know this.
Related to https://github.com/espressif/esp-idf/issues/4419
2019-12-04 11:00:06 +11:00
Prasad Alatkar
86c4d8737e
NimBLE: Fix erroneous behaviour of NPL when controller not ready to receive (v3.3)
2019-12-03 02:17:34 +08:00
weitianhua
3ceae811be
adaptation for nano-format
2019-11-29 17:55:22 +08:00
weitianhua
8977e92b4c
component_bt/:bugfix_hfp_client_indication_define_and_cnum_error
2019-11-29 16:22:34 +08:00
baohongde
42b2524776
components/bt: Fix AVRC metadata length error
2019-11-29 15:56:51 +08:00
Tian Hao
8ffe0ff357
fix bug that phy_enter_critical cannot effect on dual-core
...
Sometimes, libphy.a call phy_enter_critical() to protect accessing critical sections, such like
operating on I2C, but it may not effect when both the CPU core call it. It may cause accessing
I2C blocking and cannot recover by esp_restart(), until do HW reboot.
2019-11-28 17:12:07 +08:00
Jiang Jiang Jian
faf96bd108
Merge branch 'bugfix/btdm_run_out_of_frame_element_v3.3' into 'release/v3.3'
...
components/bt: Fix assert due to no free element form
See merge request espressif/esp-idf!6701
2019-11-27 22:22:33 +08:00
weitianhua
97b43b4054
component_bt/: Fix pointer type in fixed_queue
2019-11-27 16:09:44 +08:00
Angus Gratton
8225cc75df
Merge branch 'bugfix/i2s-bootloader-random-disable_v3.3' into 'release/v3.3'
...
bugfix(bootloader): fix bug about i2s bootloader_random_disable for release/v3.3
See merge request espressif/esp-idf!6601
2019-11-26 14:37:53 +08:00
Jiang Jiang Jian
0d6cae963b
Merge branch 'bugfix/fix_timer_deleted_and_run_broken_callback_v3.3' into 'release/v3.3'
...
esp_timer: fix the bug that when timeout of timer happens try to run callback(v3.3)
See merge request espressif/esp-idf!6768
2019-11-25 11:05:38 +08:00
Angus Gratton
3a94beeb5b
Merge branch 'feature/add_env_tag_for_32khz_xtal_uts_v3.3' into 'release/v3.3'
...
soc(esp32&esp32s2beta): Add test_env for 32kHz XTAL unit tests (v3.3)
See merge request espressif/esp-idf!6604
2019-11-21 19:58:24 +08:00
KonstantinKondrashov
51d2d9041c
soc/esp32: Add test_env for 32kHz XTAL unit tests
2019-11-20 15:49:13 +08:00
Jack
5a6ac7f32f
esp_timer: fix the bug that when timeout of timer happens try to run callback, and high priority task delete the timer and break the callback
2019-11-20 04:17:41 +00:00
David Cermak
40d5f61c4d
http_client: added comments to http header generation function
2019-11-19 14:07:38 +00:00
David Cermak
b7a9f5e115
http_client: possible buffer overflow fixed when determining last header item to be written
...
closes IDF-694
2019-11-19 14:07:38 +00:00
Shubham Kulkarni
0f3f7d984a
Fixed warnings for components driver, esp32 and mbedtls
2019-11-19 15:04:01 +05:30
Angus Gratton
efdddbb253
Merge branch 'fix/ci_ut_psram_wroverb_v3.3' into 'release/v3.3'
...
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM (backport v3.3)
See merge request espressif/esp-idf!6594
2019-11-19 12:07:23 +08:00
Jiang Jiang Jian
51a49a861a
Merge branch 'bugfix/btdm_assert_deinit_a2dp_while_playing_v3.3' into 'release/v3.3'
...
components/bt: Fix assert when deinit A2DP while playing music
See merge request espressif/esp-idf!6535
2019-11-14 20:12:31 +08:00
Michael (XIAO Xufeng)
9b34085053
ci: fix one ut issue when using Wrover-B module with newer ver of PSRAM
...
The workaround for PSRAM that will occupy an SPI bus is enabled only when:
1. used on 32MBit ver 0 PSRAM.
2. work at 80MHz.
The test used to only check 32MBit by the config option, but for PSRAM
on Wrover-B module seems to use a newer version of 32MBit PSRAM. So it
expects the workaround to be enabled, but actually not.
This commit split the unit test into two parts:
1. check all SPI buses are available, for all configs except psram_hspi
and psram_vspi, run on regular runners (including Wrover and Wrover-B).
a hidden option is enabled so that the compiler knows it's not building
psram_hspi or psram_vspi.
2. check the specified bus are acquired, for config psram_hspi and
psram_vspi. This only run on special runner (legacy Wrover module).
2019-11-14 08:35:05 +00:00
baohongde
0f7dc2ec02
components/bt: Fix assert due to no free element form
2019-11-14 15:51:39 +08:00
ronghulin
92c8fd24bb
lwip: fix DHCP timeout truncation bug
2019-11-12 13:06:55 +08:00
Angus Gratton
2aa255c875
Merge branch 'bugfix/can_critical_section_compliance_backport_v3.3' into 'release/v3.3'
...
CAN: Fix critical section compliance (backport v3.3)
See merge request espressif/esp-idf!6567
2019-11-08 16:52:33 +08:00
Chen Zheng Wei
bc1d87a846
bugfix(i2s_bootloader_random_disable): fix bug about i2s bootloader_random_disable for release/v3.3
...
bootloader_random_disable disables the ADC incorrectly, causing the ADC to sometimes fail to work. Fix this bug
2019-11-05 16:58:56 +08:00
Nachiket Kukade
d65086d8ab
wps: Relax the check on older config methods in case of WPS2.0 (backport v3.3)
...
Some APs incorrectly advertize newer WPS2.0 config method bits
without setting bits for the corresponding older methods. This
results in failures during 8-way handshake. Add a workaround to
relax this check so that WPS handshake can proceed.
2019-11-04 07:05:36 +00:00
Darian Leung
0caa96584c
CAN: Fix critical section compliance
...
This commit makes the CAN driver ISR use the ISR version
of critical section.
2019-11-01 12:05:12 +08:00
Jiang Jiang Jian
0d1c490a7c
Merge branch 'bugfix/coex_fix_some_bugs_v3.3' into 'release/v3.3'
...
Coexist: fix some coexist bugs (backportv3.3)
See merge request espressif/esp-idf!6435
2019-10-30 16:39:20 +08:00
Jiang Jiang Jian
dbd2cd2f7a
Merge branch 'bugfix/jump_time_54_sec_v3.3' into 'release/v3.3'
...
esp_timer: Fix time jumps back ~ 54sec (v3.3)
See merge request espressif/esp-idf!6468
2019-10-30 16:25:35 +08:00
Angus Gratton
34b14ddf5b
Merge branch 'bugfix/remove_mbedtls_would_block_v33' into 'release/v3.3'
...
Remove check for would_block in mbedtls (Backport v3.3)
See merge request espressif/esp-idf!6398
2019-10-30 11:58:09 +08:00
Xia Xiaotian
9592346090
Coexist: fix some coexist bugs
...
1. Fix high beacon and broadcast packets loss ratio of WiFi to make
MDNS test pass.
2. Improve stability of WiFi performance with a little
sacrifice of throughput.
3. Improve BLE advertising and connection performance with dynamic
priority. It sacrifices a little WiFi throughput, but achieves balance
between WiFi and Bluetooth.
4. fix bug bb reset lock flag to avoid bb reset lock unhandle
5. fix bug wifi reset mac cause task watch dog timeout
6. fix bug wifi reset mac position
2019-10-29 17:18:12 +00:00
KonstantinKondrashov
696d6867b4
esp_timer: Fix System time jumps back ~54secs
...
Closes: https://github.com/espressif/esp-idf/issues/2513
2019-10-29 17:17:26 +00:00
KonstantinKondrashov
f52b877199
esp32: Add UTs to check the System time does not jump back
2019-10-29 17:17:26 +00:00
Ivan Grokhotkov
a179125fd3
esp_timer: handle esp_timer_delete in timer task
...
Closes https://github.com/espressif/esp-idf/issues/3458
2019-10-29 17:17:26 +00:00
Jiang Jiang Jian
1dd8411e04
Merge branch 'bugfix/coex_semaphore_take_in_isr_lock_v3.3' into 'release/v3.3'
...
fix bug that semaphore may schedule out in ISR locking (v3.3)
See merge request espressif/esp-idf!6427
2019-10-30 00:49:42 +08:00
Jiang Jiang Jian
e6a71fe29c
Merge branch 'bugfix/btdm_disable_bt_gatt_v3.3' into 'release/v3.3'
...
components/bt: Disable BR/EDR GATT
See merge request espressif/esp-idf!6506
2019-10-30 00:48:14 +08:00
Jiang Jiang Jian
efe8490623
Merge branch 'bugfix/mdns_invalid_hostname_queries_v3.3' into 'release/v3.3'
...
mdns: fix crash for hostname queries (bacport v3.3)
See merge request espressif/esp-idf!6502
2019-10-30 00:27:19 +08:00
baohongde
c570e253fe
components/bt: Fix assert when deinit A2DP while playing music
2019-10-29 20:04:15 +08:00
Marius Vikhammer
7b7f597cb4
mdns: fix crash for hostname queries
...
Receiving TXT, PTR, SDPTR and SRV record type queries would crash the application if the hostname
was used as instance name.
Closes https://github.com/espressif/esp-idf/issues/4224
2019-10-29 10:49:45 +00:00
wangmengyang
3a5249aea9
bugfix that call of esp_a2d_media_ctrl(ESP_A2D_MEDIA_CTRL_SUSPEND) will not get an ACK from callback on A2DP sink
2019-10-29 10:14:19 +00:00
baohongde
28c19e623f
components/bt: Disable BR/EDR GATT
2019-10-29 10:10:52 +00:00
Tian Hao
cabe66195c
fix bug that semaphore may schedule out in Critical Section
...
1. Since BLE full-scan feature for BLE mesh change the controller code cause this problem,
it cause coex semaphore take in "interrupt disable", then it may cause task schedule
and cause crash in freertos
2. Fix newlib lock ISR context and critical section check
3. Fix bt controller ISR context and critical section check
2019-10-29 14:43:00 +08:00
Jiang Jiang Jian
f0855c85ad
Merge branch 'bugfix/can_reset_mode_entry_backport_v3.3' into 'release/v3.3'
...
Bugfix/can reset mode entry backport v3.3
See merge request espressif/esp-idf!6513
2019-10-29 14:41:52 +08:00
Angus Gratton
569334267f
Merge branch 'feature/can_support_low_bit_rates_backport_v3.3' into 'release/v3.3'
...
can: Add support for lower bit rates (backport v3.3.1)
See merge request espressif/esp-idf!6391
2019-10-29 14:36:19 +08:00
Jiang Jiang Jian
b90f32bffb
Merge branch 'bugfix/multi_heap_printf_backport_v3.3' into 'release/v3.3'
...
heap: Fix printf usage in heap poisoning (backport v3.3)
See merge request espressif/esp-idf!6091
2019-10-29 12:07:30 +08:00
Darian Leung
bf877941c4
can: Fix reset mode entry and exit calls
...
This commit fixes multiple bugs caused by incorrect calls to
can_enter_reset_mode() and can_exit_reset_mode. Example test
scripts also updated to match new runners.
2019-10-28 14:47:32 +08:00
Darian Leung
f9a51fc784
can: Add support for lower bit rates
...
This commit adds support for lower bit rates in the CAN Driver for
ESP32 Rev 2 or later chips.
2019-10-28 13:10:00 +08:00
Jiang Jiang Jian
365c336a98
Merge branch 'feature/esptool_v2.8_v3.3' into 'release/v3.3'
...
esptool: Bump to v2.8 release (v3.3)
See merge request espressif/esp-idf!6461
2019-10-25 11:37:08 +08:00
Angus Gratton
95c768165f
Merge branch 'bugfix/select_with_sdmmc_mount_v3.3' into 'release/v3.3'
...
VFS: Fix bug which occurs when driver is installed during a select() call (v3.3)
See merge request espressif/esp-idf!6430
2019-10-24 11:28:14 +08:00
Angus Gratton
12f2ae47c6
Merge branch 'bugfix/mqtt_disconnect_crash_3.3' into 'release/v3.3'
...
mqtt: referenced esp-mqtt master to close disconnection issues (Backport 3.3)
See merge request espressif/esp-idf!5883
2019-10-24 10:47:27 +08:00
Angus Gratton
fc6b44f500
esptool: Bump to v2.8 release
2019-10-23 09:08:34 +11:00
Darian Leung
adcf95dc9f
heap: Fix printf usage in heap poisoning
...
This commit fixes the bug where printf() is used in
verify_allocated_region() when ets_printf() should be used.
2019-10-22 12:01:24 +00:00
Roland Dobai
e5ee10e89f
VFS: Fix bug which occurs when driver is installed during a select() call
...
Closes https://github.com/espressif/esp-idf/issues/3554
2019-10-22 10:15:21 +02:00
Angus Gratton
c9f1cb2f4c
Merge branch 'bugfix/ticks_to_wait_for_uart_and_i2c_v3.3' into 'release/v3.3'
...
driver: Fix ticks_to_wait for uart and i2c (v3.3)
See merge request espressif/esp-idf!5247
2019-10-22 13:18:24 +08:00
David Cermak
9e62340897
mqtt: referenced esp-mqtt master to fix disconnect issues
...
and updates doxygen macros to have mqtt docs correctly documented
Backport of 6289a26596
2019-10-21 12:56:18 +00:00
Jiang Jiang Jian
f451efd1d0
Merge branch 'bugfix/vfs_fat_sdmmc_mount_v3.3' into 'release/v3.3'
...
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount() (v3.3)
See merge request espressif/esp-idf!6394
2019-10-21 20:15:52 +08:00
Jiang Jiang Jian
f490eda68c
Merge branch 'bugfix/can_driver_assertions_v3.3' into 'release/v3.3'
...
drivers/can: fix skipped function calls when assertions disabled (backport v3.3)
See merge request espressif/esp-idf!6406
2019-10-21 20:12:54 +08:00
Konstantin Kondrashov
f2dfb0cf70
driver: Add uart and i2c UTs to check ticks_to_wait in some functions
2019-10-21 07:32:25 +00:00
Konstantin Kondrashov
03aef3c087
i2c: Fix ticks_to_wait when 0 or time expired
...
Closes: https://github.com/espressif/esp-idf/issues/3301
Closes: IDFGH-964
2019-10-21 07:32:25 +00:00
Angus Gratton
9a6526554d
Merge branch 'bugfix/ut_pre_read_DPORT_and_hi_interrupt' into 'release/v3.3'
...
esp32: Fix UT - Check pre-read workaround DPORT and Hi-interrupt
See merge request espressif/esp-idf!6240
2019-10-21 15:10:14 +08:00
Roland Dobai
8d4e1c0616
Fix memory leak upon failure of esp_vfs_fat_sdmmc_mount()
...
Closes https://github.com/espressif/esp-idf/issues/4165
2019-10-21 08:22:12 +02:00
Jiang Jiang Jian
4e27cbb89f
Merge branch 'feature/esp_https_ota_improvements' into 'release/v3.3'
...
esp_https_ota: component refactoring, bugfixes and feature additions (backport v3.3)
See merge request espressif/esp-idf!6047
2019-10-21 10:40:37 +08:00
Jiang Jiang Jian
b51f89d827
Merge branch 'bugfix/freemodbus_fix_read_coils_event_v3_3' into 'release/v3.3'
...
freemodbus: fix incorrectly set coils read event backport v3.3
See merge request espressif/esp-idf!4793
2019-10-21 10:38:39 +08:00
Ajita Chavan
622842a983
flash_ops: fix spi_flash_read with source buffer not from internal memory and size < 16
...
Closes https://github.com/espressif/esp-idf/issues/4010
2019-10-19 15:01:46 +08:00
Jiang Jiang Jian
2bcb02795e
Merge branch 'Bugfix/IPV6_multicast_adress_error' into 'release/v3.3'
...
fix ipv6 bug that input the wrong broadcast address to return OK
See merge request espressif/esp-idf!6205
2019-10-18 18:37:25 +08:00
Ivan Grokhotkov
fd22441494
drivers/can: fix skipped function calls when assertions disabled
...
When CONFIG_FREERTOS_ASSERT_DISABLE is set, the function calls wrapped
inside the assertion macros would be removed from the code.
Closes https://github.com/espressif/esp-idf/issues/4143
2019-10-18 11:27:27 +02:00
Kedar Sovani
8f048ffddc
Remove check for would_block in mbedtls
...
Basically, in the portability layer, it is checked if the socket is
NON-block, and if not, then even the EAGAIN and EWOULDBLOCK errors are
diverted to a RECV error. This causes a problem for sockets with
receive timeouts set. When such a timeout is set, the condition for
NON_BLOCK isn't met and hence a hard error is returned.
Searching for EAGAIN and EWOULDBLOCK in lwip returns only 3 results
(accept, recvfrom, close) and all of them look to be genuine cases for
EWOULDBLOCK. So removing this check to make receive timeout with TLS
work.
2019-10-18 14:21:35 +05:30
Jiang Jiang Jian
3e3ce3da81
Merge branch 'bugfix/backport_some_wifi_fixes_1009_v3.3' into 'release/v3.3'
...
esp32: fix some WiFi bugs 1009 (backport v3.3)
See merge request espressif/esp-idf!6298
2019-10-18 14:25:13 +08:00
Angus Gratton
0a0f2caa1d
Merge branch 'bugfix/reset_periph_modules_v3.3' into 'release/v3.3'
...
driver: Add a reset before enabling if a module is off (v3.3)
See merge request espressif/esp-idf!6016
2019-10-18 13:35:09 +08:00
Prasad Alatkar
3545b58986
NimBLE: Port NimBLE stack to IDF Release v3.3 (Backport v3.3)
...
Includes all the latest NimBLE stack changes from idf-v4.0 with few idf-v3.3
specific modifications.
- Addition of nimble component as submodule (`nimble-1.1.0-idf-v3.3`), contains
IDF v3.3 specific minor changes.
- Example applications are identical to idf-v4.0
- Modification in `bt/Kconfig` to accommodate NimBLE as a BT host.
2019-10-18 13:23:24 +08:00
Angus Gratton
9f10f684d3
Merge branch 'feature/handle_icy_uris_v33' into 'release/v3.3'
...
Modified http_parser to handle ICY uris (Backport v3.3)
See merge request espressif/esp-idf!6325
2019-10-17 13:58:05 +08:00
Angus Gratton
5d750fb8ce
Merge branch 'bugfix/ut_adjtime_v3.3' into 'release/v3.3'
...
newlib: Fix UT - test time adjustment happens linearly (v3.3)
See merge request espressif/esp-idf!6349
2019-10-16 20:54:06 +08:00
Ivan Grokhotkov
6f8f39a2e5
Merge branch 'docs/update_bootloader_chip_revision_print_v3.3' into 'release/v3.3'
...
bootloader_support: fix logging prints around chip revision (v3.3)
See merge request espressif/esp-idf!6337
2019-10-16 16:07:35 +08:00
xueyunfei
6c60d3ef29
fix ipv6 bug that input the wrong broadcast address to return OK
2019-10-15 09:40:57 +00:00
Angus Gratton
ecaf8a7a61
Merge branch 'feature/sntp_cb_function_v3.3' into 'release/v3.3'
...
sntp: Add some modes for time synchronization (backport v3.3)
See merge request espressif/esp-idf!6190
2019-10-15 14:11:43 +08:00
Jiang Jiang Jian
e524b4b1fd
Merge branch 'feature/add_psram_workaround_option_3.3' into 'release/v3.3'
...
make psram workaround depend on chip revison (v3.3)
See merge request espressif/esp-idf!6303
2019-10-14 21:45:07 +08:00
Kerry Jones
40cce58a52
lwip/sntp: Added extern "C"
...
so that sntp_set_time_sync_notification_cb can be used from c++
Signed-off-by: Konstantin Kondrashov <konstantin@espressif.com>
Merges: https://github.com/espressif/esp-idf/pull/3700
2019-10-14 07:09:28 +00:00
Konstantin Kondrashov
c50d44e66e
sntp/lwip: Add SNTP_UPDATE_DELAY option in Kconfig
...
Closes: https://github.com/espressif/esp-idf/issues/2277
Closes: IDFGH-337
2019-10-14 07:09:28 +00:00
Konstantin Kondrashov
07a3eca372
sntp/lwip: Add some modes for time synchronization
...
Closes: IDF-236
Closes: https://github.com/espressif/esp-idf/pull/1668
Closes: https://github.com/espressif/esp-idf/pull/4103
2019-10-14 07:09:28 +00:00
KonstantinKondrashov
5ba3b8c587
newlib: Fix UT - test time adjustment happens linearly
2019-10-14 14:52:24 +08:00
Angus Gratton
c286416762
Merge branch 'bugfix/read_binary_image_header_via_cache_in_cpu_start_v3.3' into 'release/v3.3'
...
esp32: cpu_start: read binary image header via cache (backport v3.3)
See merge request espressif/esp-idf!6076
2019-10-14 11:31:19 +08:00
Mahavir Jain
b5aa65c136
bootloader_support: fix logging prints around chip revision
2019-10-13 11:58:29 +05:30
ganeshlandge
61486620c7
fixes : set_url discards username and password
2019-10-12 10:50:27 +05:30
liu zhifu
396f477972
esp32: fix some WiFi bugs
...
Fix following WiFi bugs:
1. Fix the bug that wpa2 enterprise sta can connect open AP
2. Fix TKIP/CCMP PN replay attack detection bug
3. Increase buffer number type from uint8_t to uint16_t to support more than 255 buffers
4. Avoid recalculating PMK if esp_wifi_set_config() is not called
5. Fix the bug that scan done leads to crash because of uint8 overflow
6. Fix 5.5M signal test bug
2019-10-12 10:38:44 +08:00
Konstantin Kondrashov
2165154c04
rmt/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
46e918cfa1
pcnt/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
051d2fbdd5
sdmmc_host/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
41f91d3ef6
i2s/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00
Konstantin Kondrashov
ffce53449b
can/driver: Add module reset before enabling
2019-10-11 19:13:44 +08:00