Jakob Hasse
ba11976efb
[C++]: wrapper functions around unwind code
...
* Replaced all C++ exception related
functions with wrappers if -fno-exception
is used. This prevents linking of the
corresponding code in libgcc. The code
size will decrease by around 7-9 KB when
building with -fno-exception.
* added no except test app
Closes https://github.com/espressif/esp-idf/pull/5380
Closes https://github.com/espressif/esp-idf/issues/5363
Closes https://github.com/espressif/esp-idf/issues/5224
Closes IDFGH-3153
Closes IDF-2577
2021-06-01 14:51:15 +08:00
aleks
998b67094b
freemodbus: increase max priority of modbus tasks
...
allows to avoid issues with modbus processing when higher priority tasks are used in user application
2021-05-31 12:20:15 +02:00
Michael (XIAO Xufeng)
1ddac24b0a
ci: decrease the flash performance threshold
2021-05-27 14:07:01 +08:00
Jiang Jiang Jian
3c3eab0bd8
Merge branch 'bugfix/fix_set_channel_error_after_wifi_stop_v4.1' into 'release/v4.1'
...
esp_wifi: Fix setting channel error after WiFi stop (backport v4.1)
See merge request espressif/esp-idf!13449
2021-05-25 14:53:11 +00:00
Jiang Jiang Jian
2a63d1058e
Merge branch 'nimble/fix_ble_sm_sc_pub_key_v4.1' into 'release/v4.1'
...
NimBLE: Fix MITM vulnerability and free AES context (v4.1)
See merge request espressif/esp-idf!13598
2021-05-25 14:52:59 +00:00
Prasad Alatkar
3319702355
NimBLE: Fix MITM vulnerability and free AES context (v4.1)
2021-05-25 14:47:22 +05:30
xiongweichao
7c53e88b05
Remove btc_hf_idx_by_bdaddr in both btc_hf_init and btc_hf_deinit functions
2021-05-25 09:00:09 +00:00
xiongweichao
5b5a36a7b2
fix ag use dynamic memory error
2021-05-25 09:00:09 +00:00
David Cermak
6aa902c509
MQTT: Update submodule reference to support new config modes
...
* Queueing publish messages to outbox when the client is not connected (default=off -> messages are queued if disconnected)
* Use of incremental msg-id instead of random id (default=off -> msg-id uses platform_random())
* Posting a new event-id if a queued message gets deleted from the outbox (default=off -> events are not posted)
Detailed description of included `esp-mqtt` changes
(da850b0add1e71b3659bfac5d797cc834dc3e89b...9ea804e0ab5368d5ab53ae2301a5fec9d1f12f1a)
* mqtt: Remove unused mqtt_header_state_t
- esp-mqtt commit: b7158a4aea
- esp-mqtt MR: espressif/esp-mqtt!84
- Merges https://github.com/espressif/esp-mqtt/pull/180
* Cleanup public include dirs
- esp-mqtt commit: f65d5d05db
- esp-mqtt MR: espressif/esp-mqtt!85
* Config: Add a new option to use incremental message id
- esp-mqtt commit: 8bb4a26f46
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/176
* Publish: Add new API to enqueue qos>0 messages
- esp-mqtt commit: dc7fd5c0b1
- esp-mqtt MR: espressif/esp-mqtt!85
- Closes https://github.com/espressif/esp-mqtt/issues/155
* Config: Add a new option to disable publishing when disconnected
- esp-mqtt commit: f44dcb1c26
- esp-mqtt MR: espressif/esp-mqtt!85
- Related https://github.com/espressif/esp-mqtt/issues/177
* Events: Add new event to report deleted messages from outbox
- esp-mqtt commit: 2e35d4d4d5
- esp-mqtt MR: espressif/esp-mqtt!85
* Publish: Allow for qos=0 messages to be stored using esp_mqtt_client_enqueue()
- esp-mqtt commit: e2de0f3e3e
- esp-mqtt MR: espressif/esp-mqtt!85
2021-05-25 09:56:29 +02:00
morris
bf9587132b
esp_eth: restart negotiation in esp_eth_start
2021-05-25 15:26:09 +08:00
Prasad Alatkar
98116a627e
NimBLE: Update submodule to fix host flow control bugs.
2021-05-18 18:46:26 +05:30
Prasad Alatkar
842a55cda3
NimBLE: Fix host flow control in NimBLE porting layer.
...
- Register `ble_hs_flow_acl_free` callback in NimBLE porting layer.
2021-05-17 19:53:37 +05:30
Marius Vikhammer
5241d68bf4
timer: add IRAM_ATTR to spinlock give/take API
...
Closes https://github.com/espressif/esp-idf/issues/6824
2021-05-13 16:07:01 +08:00
Jiang Jiang Jian
b1a5c00ee7
Merge branch 'bugfix/gtk_reinstallation_fix_v4.1' into 'release/v4.1'
...
wpa_supplicant: Prevent reinstallation of an already in-use group key (v4.1)
See merge request espressif/esp-idf!13183
2021-05-13 07:35:05 +00:00
Hrudaynath Dhabe
e1af1fe126
wpa_supplicant: Group key reinstallation fixes
...
This commit reverts previous commit for GTK reinstallation fix
and corrects original fix.
2021-05-13 15:34:58 +08:00
Angus Gratton
966e45598b
Merge branch 'bugfix/otatool_wrong_switch_ota_partition_slots_v4.1' into 'release/v4.1'
...
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd (v4.1)
See merge request espressif/esp-idf!13369
2021-05-11 02:10:07 +00:00
Jiang Jiang Jian
0f1801d6b4
Merge branch 'bugfix/backport_some_lwip_bugs_0428_v4.1' into 'release/v4.1'
...
lw-ip:backport bugfix lwip for v4.1(backport 4.1)
See merge request espressif/esp-idf!13377
2021-05-10 05:37:29 +00:00
Jiang Jiang Jian
d3f11b1e9d
Merge branch 'bugfix/fix_uart_set_rx_timeout_feature_v41' into 'release/v4.1'
...
Bugfix/fix uart set rx timeout feature (backport v4.1)
See merge request espressif/esp-idf!11538
2021-05-10 03:41:08 +00:00
Alex Lisitsyn
538117a904
Bugfix/fix uart set rx timeout feature (backport v4.1)
2021-05-10 11:41:02 +08:00
Jiang Jiang Jian
099daf7873
Merge branch 'bugfix/fix_gpio_wakeup_light_sleep_backport_v4.1' into 'release/v4.1'
...
bugfix: gpio can't wakeup light sleep (backport v4.1)
See merge request espressif/esp-idf!12884
2021-05-10 03:37:28 +00:00
Jiang Jiang Jian
932ac7abf1
Merge branch 'nimble/add_error_prints_acl_buf_v4.1' into 'release/v4.1'
...
NimBLE: Add error prints for ACL buffer exhaustion in NPL (v4.1)
See merge request espressif/esp-idf!12970
2021-05-10 03:28:06 +00:00
Jiang Jiang Jian
2ac583cd12
Merge branch 'bugfix/endianness_in_output_or_input_oob_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix endianness error in output or input oob data of number (v4.1)
See merge request espressif/esp-idf!13256
2021-05-10 03:27:40 +00:00
Jiang Jiang Jian
db84ddc82f
Merge branch 'bugfix/btdm_fix_multi-con_pair_failed_and_cancle_con_state_err_v4.1' into 'release/v4.1'
...
fix multi con pair failed and cancel con state error (backport v4.1)
See merge request espressif/esp-idf!13476
2021-05-08 13:01:33 +00:00
wangjialiang
f50680310e
ble_mesh: stack: Fix provisioning input or output count number should be at least 1
...
Closes https://github.com/espressif/esp-idf/issues/6863
2021-05-08 12:01:11 +08:00
zwj
3d6b03d98c
update con state when getting connection cancle complete
2021-05-07 20:51:55 +08:00
zwj
f4cadc56c0
fix multi-connection pair failed
2021-05-07 20:51:43 +08:00
Prasad Alatkar
13756c6a55
NimBLE: Add error prints for ACL buffer exhaustion in NPL
2021-05-07 09:47:01 +00:00
wangjialiang
1b3ac526a7
ble_mesh: stack: Fix endianness error in output or input oob data of number
...
Closes https://github.com/espressif/esp-idf/issues/6862
2021-05-07 03:35:42 +00:00
Michael (XIAO Xufeng)
9a8dbbc281
Merge branch 'bugfix/spi_fix_duplex_switch_v4.1' into 'release/v4.1'
...
spi_master: fix duplex mode switch issue for multi devices (4.1)
See merge request espressif/esp-idf!11234
2021-05-06 07:45:29 +00:00
xiehang
b8520d0c9c
esp_wifi: Fix setting channel error after WiFi stop
2021-05-06 11:52:26 +08:00
Angus Gratton
189c04279c
freertos: Check for arithmetic overflows on queue creation
...
Addition overflow check is from FreeRTOS kernel commit 47338393f1f79558f6144213409f09f81d7c4837
2021-05-04 18:35:38 +10:00
Angus Gratton
57ff3f92a5
esptool: Update to fix espsecure.py sign_data default version argument
...
Regression in Secure Boot signing, reported at https://github.com/espressif/esp-idf/issues/6831
2021-05-03 04:44:50 +00:00
Jiang Jiang Jian
da66ddd4c1
Merge branch 'bugfix/remove_redundant_other_core_cache_disable_v4.1' into 'release/v4.1'
...
[system]: Remove redundant othercore cache disable (backport v4.1)
See merge request espressif/esp-idf!13358
2021-04-30 09:18:03 +00:00
Jiang Jiang Jian
cc9d0e1e99
Merge branch 'bugfix/wifi_softap_deep_sleep_current_opt_v4.1' into 'release/v4.1'
...
backport v4.1: optimize deep sleep current in wifi softap mode
See merge request espressif/esp-idf!13396
2021-04-30 02:50:50 +00:00
xueyunfei
72b35dec11
backport bugfix lwip for v4.1
2021-04-29 13:03:26 +00:00
Li Shuai
f417181e62
deep sleep: optimize sleep current in wifi softap mode
2021-04-29 14:14:15 +08:00
Shubham Kulkarni
22ca7adccb
esp_http_client_read: Add check for esp_http_client_is_complete_data_received before returning ESP_FAIL
...
Closes: https://github.com/espressif/esp-idf/issues/6772
2021-04-28 05:00:33 +00:00
KonstantinKondrashov
544fa05bd1
otatool: Fix incorrect using otadata.seq&crc in switch_ota_partition cmd
...
Closes: https://github.com/espressif/esp-idf/issues/6773
2021-04-27 19:41:17 +08:00
wuzhenghui
dcd6e82826
remove othercore cache disable
2021-04-27 14:37:45 +08:00
William Ferguson
13b0633e8d
[cxx]: fixed extern "C" declarations
...
* Moving #includes above
#ifdef __cplusplus extern "C" { #endif
So that we can compile with CPP.
Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
Merges https://github.com/espressif/esp-idf/pull/6634
2021-04-23 07:35:47 +00:00
Angus Gratton
fe5c9bb03e
Merge branch 'bugfix/calc_8m_freq_test_v4.1' into 'release/v4.1'
...
rtc: increase CI acceptance range for calc 8M test (v4.1)
See merge request espressif/esp-idf!13087
2021-04-23 07:32:03 +00:00
baohongde
12b6656d90
Synchronize multiple branch of bt-lib
2021-04-21 05:29:48 +00:00
xiongweichao
c1215f27ed
Modify E8192 ELx200 ELx40 log level to LOGD
2021-04-21 05:29:48 +00:00
Marius Vikhammer
7e839a82de
docs: fix doxygen compile warnings for doxygen 1.9.1
...
Newer versions of doxygen will give warnings for comments in
INPUT lists
Delete all comment lines to fix these warnings, our folder structure
stil gives an OK overview of what we are including
2021-04-12 08:44:06 +08:00
Marius Vikhammer
02ce0744f0
rtc: increase CI acceptance range for calc 8M test
2021-04-09 15:06:37 +08:00
David Čermák
a92185263e
Merge branch 'bugfix/esp_netif_ppp_event_data_v4.1' into 'release/v4.1'
...
esp-netif: Fix PPP netif event posting to include esp_netif data (v4.1)
See merge request espressif/esp-idf!11869
2021-03-31 14:25:04 +00:00
Shubham Kulkarni
9933037c0d
Add options for esp_http_client and esp_websocket_client to support keepalive
2021-03-31 05:44:48 +00:00
yuanjm
f946e296a2
Modify esp-tls and tcp_transport to support keep alive for tcp and ssl connection
2021-03-31 05:44:48 +00:00
David Cermak
2da1f2059e
esp-netif: Fix PPP netif event posting to include esp_netif data
...
Closes https://github.com/espressif/esp-idf/issues/6009
2021-03-31 05:43:39 +00:00
Angus Gratton
a395f3592b
Merge branch 'bugfix/dport_init_min_stack_size_v4.1' into 'release/v4.1'
...
freertos: Increase minimum task stack size when stack smashing checker is enabled (v4.1)
See merge request espressif/esp-idf!12800
2021-03-29 06:26:36 +00:00
Jiang Jiang Jian
44b47f79e1
Merge branch 'bugfix/btdm_controller_task_watchdog_in_wifi_test_v4.1' into 'release/v4.1'
...
Fix controller task watchdog in Wi-Fi test
See merge request espressif/esp-idf!12709
2021-03-25 06:32:21 +00:00
fuzhibo
b7c4925d0b
driver(gpio): fix gpio can't wakeup light sleep
2021-03-24 16:39:16 +08:00
Jiang Jiang Jian
69084bafec
Merge branch 'bugfix/btdm_assert_without_sw_coex_enable_v4.1' into 'release/v4.1'
...
components/bt: Fix assert without sw coexist enabled
See merge request espressif/esp-idf!12528
2021-03-24 03:25:08 +00:00
Jiang Jiang Jian
056890a41a
Merge branch 'bugfix/fix_some_wifi_bugs_0105_v4.1' into 'release/v4.1'
...
Bugfix/fix some wifi bugs 0105 v4.1 (backport v4.1)
See merge request espressif/esp-idf!11881
2021-03-23 16:36:07 +00:00
Jiang Jiang Jian
997ac7e166
Merge branch 'bugfix/spp_data_send_delay_v4.1' into 'release/v4.1'
...
Bugfix/spp data send delay v4.1
See merge request espressif/esp-idf!11773
2021-03-23 03:33:46 +00:00
Jiang Jiang Jian
21d2fa6934
Merge branch 'bugfix/mdns_txt_length_collision_v4.1' into 'release/v4.1'
...
mDNS: Fix of text length calculation when detecting a collision(Backport v4.1)
See merge request espressif/esp-idf!12028
2021-03-23 03:28:36 +00:00
Jiang Jiang Jian
645b200d73
Merge branch 'bugfix/wpa_supplicant_coverity_issue_fixes_v4.1' into 'release/v4.1'
...
Fix some issues raised by Coverity static Analyzer.(backport_v4.1)
See merge request espressif/esp-idf!11920
2021-03-23 03:27:44 +00:00
Jiang Jiang Jian
a38bbe46d0
Merge branch 'bugfix/btdm_blufi_send_custom_data_will_congested_after_connection_is_broken_v4.1' into 'release/v4.1'
...
component/bt: fix Blufi sends customer data will congested when connection is broken(backport v4.1)
See merge request espressif/esp-idf!11848
2021-03-23 03:20:27 +00:00
Jiang Jiang Jian
2750bb8e16
Merge branch 'bugfix/rtc_clk_cal_cycles_add_default_vals_for_all_sources_v4.1' into 'release/v4.1'
...
esp32xx: Fix default values for all RTC sources in RTC_CLK_CAL_CYCLES option (v4.1)
See merge request espressif/esp-idf!11413
2021-03-23 03:08:38 +00:00
Jiang Jiang Jian
150910ccd8
Merge branch 'bugfix/esp_netif_hostname_v4.1' into 'release/v4.1'
...
esp_netif: fix get/set hostname API to reflect user settings (v4.1)
See merge request espressif/esp-idf!11360
2021-03-23 03:08:21 +00:00
Jiang Jiang Jian
450f99f0f9
Merge branch 'bugfix/crash_on_enabling_verbose_logs_v4.1' into 'release/v4.1'
...
esp_wifi: Fixes issue of crashing when verbose logs are enabled (v4.1)
See merge request espressif/esp-idf!12494
2021-03-23 03:07:04 +00:00
Jiang Jiang Jian
8dabab4e36
Merge branch 'bugfix/fix_wifi_interface_use_v4.1' into 'release/v4.1'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA (backport v4.1)
See merge request espressif/esp-idf!12167
2021-03-23 03:06:42 +00:00
xiehang
c277240dc6
esp_wifi: Modify ESP_IF_WIFI_AP to WIFI_IF_AP
2021-03-22 17:19:47 +08:00
xiehang
4403af7267
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-03-22 17:18:58 +08:00
Chen Wu
cffcac6106
lwip: Fixed ping assert reset when ping interval is 0
2021-03-22 08:00:30 +00:00
Michael (XIAO Xufeng)
c10fd0edb2
Merge branch 'bugfix/uart_read_o2_v4.1' into 'release/v4.1'
...
hal: workaround for UART FIFO read on ESP32 with -O2 optimization (backport v4.1)
See merge request espressif/esp-idf!12660
2021-03-22 07:41:40 +00:00
Jiang Jiang Jian
29422884d8
Merge branch 'bugfix/flash_encryption_v4.1' into 'release/v4.1'
...
ota: fix ota with flash encryption(backport v4.1)
See merge request espressif/esp-idf!12702
2021-03-22 06:13:38 +00:00
Jiang Jiang Jian
efcb1959bc
Merge branch 'bugfix/fix_arp_buffer_error_in_smart_config_v4.1' into 'release/v4.1'
...
bugfix/fix_arp_buffer_error_in_smart_config_v4.1
See merge request espressif/esp-idf!12255
2021-03-22 06:10:40 +00:00
Jiang Jiang Jian
b8c1824e37
Merge branch 'bugfix/spiram_reserve_size_pr5373_v4.1' into 'release/v4.1'
...
SPIRAM reserved memory size fixes (v4.1)
See merge request espressif/esp-idf!11517
2021-03-22 04:33:53 +00:00
Jiang Jiang Jian
1750acfa17
Merge branch 'bufix/ag_deep_copy_crash_v_4_1' into 'release/v4.1'
...
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
See merge request espressif/esp-idf!12793
2021-03-22 04:32:06 +00:00
Jiang Jiang Jian
bf86c59ec4
Merge branch 'component_bt/optimize_spp_stop_server_v4.1' into 'release/v4.1'
...
component_bt/Optimize SPP Stop Server API[backport v4.1]
See merge request espressif/esp-idf!12621
2021-03-22 04:31:28 +00:00
Angus Gratton
4afdc394c9
freertos: Add a small additional stack when optimization set to None
...
Fix for occasional crash on startup when DPORT task overwrites its stack during
context switch, otherwise.
2021-03-19 13:22:24 +08:00
Angus Gratton
280baea4f7
freertos: Increase minimum task stack size when stack smashing checker is enabled
...
Fixes issue with DPORT init task, this task uses minimum stack size and may not be
enough if stack smashing detection is set to Overall mode.
Also reworks the way we calculate minimum stack to allow for adding multiple
contributing factors.
Closes https://github.com/espressif/esp-idf/issues/6403
2021-03-19 13:22:10 +08:00
xiongweichao
f8946dc471
components/bt: Fix crash in btc_hf_arg_deep_copy when name or number is NULL
2021-03-18 20:35:13 +08:00
Jiang Jiang Jian
4628a37435
Merge branch 'bugfix/bta_hf_client_sco_co_out_data_v4.1' into 'release/v4.1'
...
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected [backport v4.1]
See merge request espressif/esp-idf!12559
2021-03-18 04:05:14 +00:00
Jiang Jiang Jian
d70f854edb
Merge branch 'bugfix/avrc_set_player_value_cmd_event_unhandle_v_4_1' into 'release/v4.1'
...
bugfix/fix unhandle RC vendor PDU when tg receive set_player_app_value cmd[backport v4.1]
See merge request espressif/esp-idf!12100
2021-03-18 04:04:49 +00:00
Jiang Jiang Jian
961f79612a
Merge branch 'bugfix/btdm_backport_ble_bugs_21_01_29_v4.1' into 'release/v4.1'
...
Bugfix/btdm backport ble bugs v4.1
See merge request espressif/esp-idf!12433
2021-03-18 03:55:49 +00:00
liqigan
a630e1317d
add API esp_spp_stop_srv_scn
to stop a specific server
2021-03-18 11:48:25 +08:00
xiehang
e67d29b4e8
esp_wifi: Update WiFi lib
...
1. Change wifi scan duration from 120ms to 100ms
2. Using deport reg instead of ahb
3. Revert to report specific reason code when receiving deauth during 4-way-handshark
4. Fix the bug that tx ampdu parameter is not from peer device
5. Faster WiFi station connect improvement, avoid 100ms passive scan
6. Add FCS failed packets filter
7.Update esp32 phy lib to v4660
8.Fix country code last byte to space instead of NULL
9.Fix softap cannot forward A-MSDU
10.Fix some typos in esp_wifi.h
11.Fix max tx power to 20dBm
12.Fix the issue that the esp_wifi_sta_get_ap_info can't get country
13.Add support for 802.1x sha256 auth key mode
2021-03-17 15:30:09 +08:00
xiehang
40f124b0d0
esp_wifi: Add macro control for phy log
2021-03-17 15:27:39 +08:00
kapil.gupta
c907da0656
esp_wifi: Add support for 802.1x sha256 auth key mode
2021-03-17 15:27:39 +08:00
xiehang
37ce175bb5
esp_wifi: ESP32 phy add [sections:phy_iram]
2021-03-17 15:27:39 +08:00
ChenJianxing
f4bb2b466c
esp_wifi: optimize phy version log
2021-03-17 15:27:39 +08:00
ronghulin
18b6ed65f1
bugfix: fix some wifi bugs
...
1. fix max tx power to 20dBm
2. fix the issue that the esp_wifi_sta_get_ap_info can't get country
Closes https://github.com/espressif/esp-idf/issues/6267
2021-03-17 15:27:39 +08:00
dongyou
87968f8406
esp_wifi: Add documentation to avoid using WiFi modem sleep for WiFi/BT coexistence
...
Remove description of unusable API esp_wifi_restart()
Update esp_now_fetch_peer discription
Update description for ssid and password
2021-03-17 15:27:25 +08:00
Cao Sen Miao
2333667cb5
ota: fix ota with flash encryption
2021-03-12 16:44:06 +08:00
baohongde
43ee2976f2
Fix controller task watchdog in Wi-Fi test
2021-03-11 17:21:01 +08:00
Cao Sen Miao
63e4510e9e
flash_encryption: Quick fixed the issue that block when flash_encryption_write, Related https://github.com/espressif/esp-idf/issues/6322 , Related https://github.com/espressif/esp-idf/issues/6254
2021-03-11 14:11:01 +08:00
Omar Chebib
8db219c292
hal: workaround for UART FIFO read on ESP32 with -O2 optimization
2021-03-09 14:18:28 +08:00
Darian Leung
fb2d6a44eb
CAN: ISR runs when cache is disabled
...
This commit adds the feature where the CAN ISR will continue to
run even if the cache is disabled. Whilst cache is disabled, any
received messages will go into the RX queue, and any pending TX
messages in the TX queue will be transmitted. This feature should
be enabled using the CONFIG_CAN_ISR_IN_IRAM option.
2021-03-09 08:47:58 +08:00
Darian Leung
c2afe02507
CAN: Fix BRP field initialization onf ESP32 ECO3
...
This commit zero initializes the brp_div field on ESP32 ECO3
to prevent incorrect timing configuration.
2021-03-09 08:47:58 +08:00
Darian Leung
5311a60af2
CAN: Simplify caps header
...
This commit simplifies the defines made in the _caps.h header. Kconfig
option dependencies were moved into the LL, and the check for a
valid BRP has bee simplified.
2021-03-09 08:47:57 +08:00
Jiang Jiang Jian
356bf67443
Merge branch 'bugfix/fix_tx_issue_after_esp_restart_v4.1' into 'release/v4.1'
...
components/bt: Shutdown Bluetooth before esp_restart.(V4.1)
See merge request espressif/esp-idf!11756
2021-03-05 12:29:27 +00:00
Jiang Jiang Jian
8cfb4a2426
Merge branch 'bugfix/fix_csa_channel_crash_v4.1' into 'release/v4.1'
...
esp_wifi: fix CSA and BAR crash issue(v4.1)
See merge request espressif/esp-idf!12550
2021-03-05 12:24:18 +00:00
Jiang Jiang Jian
f71577afe0
Merge branch 'feature/add_init_and_deinit_evt_for_a2dp_4_1' into 'release/v4.1'
...
feature/ Add A2DP Init and Deinit Complete Evt [backport v4.1]
See merge request espressif/esp-idf!12151
2021-03-05 12:21:12 +00:00
Jiang Jiang Jian
34e1d1d69f
Merge branch 'bugfix/fix_a2dp_underrun_issue_4_1' into 'release/v4.1'
...
Fix A2DP Underrun Issue [backport v4.1]
See merge request espressif/esp-idf!12278
2021-03-05 12:18:45 +00:00
Mahavir Jain
4567b6e866
Merge branch 'bugfix/correct_logging_timestamp_format_v4.1' into 'release/v4.1'
...
log: correct timestamp formatting to unsigned integer type (v4.1)
See merge request espressif/esp-idf!12612
2021-03-05 09:27:04 +00:00
Aditya Patwardhan
5b215dbc9e
protocomm: Fixed NULL check of allocated memory
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:10:55 +05:30
Aditya Patwardhan
b8274496f9
esp_tls: Fix misplaced paranthesis in esp_tls_mbedtls.c
...
Fixes one part of - https://github.com/espressif/esp-idf/issues/6440
2021-03-05 10:10:55 +05:30
Mahavir Jain
188eb221aa
log: correct timestamp formatting to unsigned integer type
...
Closes https://github.com/espressif/esp-idf/issues/6226
Closes IDFGH-4393
2021-03-04 11:54:47 +05:30
Jiang Jiang Jian
d481781180
Merge branch 'bugfix/fix_spp_vfs_dynamic_memory_bugs_v4.1' into 'release/v4.1'
...
component_bt/fix spp vfs demo crash when use dynamic memory[backport v4.1]
See merge request espressif/esp-idf!11728
2021-03-04 03:34:43 +00:00
ChenJianxing
a7302a6880
esp_wifi: fix CSA and BAR crash issue
2021-03-02 11:32:46 +08:00
baohongde
cc49472ea4
components/bt: Fix crash in Bluetooth when esp_restart
2021-03-01 14:46:26 +08:00
baohongde
fdfc95812c
components/bt: Shutdown Bluetooth before esp_restart.
2021-03-01 14:46:05 +08:00
liaowenhao
195160af94
bugfix/if bta_hf_client_sco_co_out_data is called, it will crash when sco disconnected
2021-03-01 11:38:35 +08:00
aditi_lonkar
b68f07dbc7
esp_wifi: Fixes issue of crashing when verbose logs are enabled.
2021-02-26 19:11:17 +05:30
Shubham Kulkarni
761a3cdeae
esp_wifi_deinit: Return ESP_ERR_WIFI_NOT_STOPPED if wifi is not stopped
...
Add test case to test this workflow
2021-02-26 14:56:42 +05:30
baohongde
54c71781a9
components/bt: Fix assert without sw coexist enabled
2021-02-26 14:33:01 +08:00
Michael (XIAO Xufeng)
657ae5e11e
Merge branch 'feat/spi_flash_override_size_v4.1' into 'release/v4.1'
...
spi_flash: add config option to override flash size in bootloader header (v4.1)
See merge request espressif/esp-idf!12457
2021-02-26 02:08:39 +00:00
Island
8ed7a899d7
Merge branch 'bugfix/ble_mesh_server_model_deinit_v4.1' into 'release/v4.1'
...
ble_mesh: stack: Fix deinit server models with no matching id (v4.1)
See merge request espressif/esp-idf!12316
2021-02-25 11:09:48 +00:00
Angus Gratton
fcef475989
Merge branch 'bugfix/esptool_version_v4.1' into 'release/v4.1'
...
esptool: Update esptool to latest v2.x version
See merge request espressif/esp-idf!11487
2021-02-24 22:30:37 +00:00
Michael (XIAO Xufeng)
46d8dad2e1
Revert "ci: temporarily disable RS485 related tests"
...
This reverts commit 983220e216
2021-02-23 11:02:10 +08:00
Michael (XIAO Xufeng)
f6da7f3305
spi_flash: add config option to override flash size in bootloader header
...
Sometimes the flash size read from bootloader is not correct. This may
forbid SPI Flash driver from reading the the area larger than the size
in bootloader header.
When the new config option is enabled, the latest configured
ESPTOOLPY_FLAHSIZE in the app header will be used to override the value
read from bootloader header.
2021-02-23 01:23:53 +08:00
Michael (XIAO Xufeng)
52496189d9
Merge branch 'bugfix/freemodbus_fix_parity_propagation_issue_v41' into 'release/v4.1'
...
Bugfix/freemodbus fix parity propagation issue (Backport v4.1)
See merge request espressif/esp-idf!12388
2021-02-22 05:26:31 +00:00
zwj
ed04398a8c
add connection parameter check
2021-02-22 11:29:06 +08:00
zwj
62396e3b23
fix ble connection maximum latency is 499
2021-02-22 11:28:55 +08:00
zwj
37c2b7e9b7
disable bluedroid congest error log print
2021-02-22 11:28:42 +08:00
zhiweijian
490af40be5
fix read multi char failed(GATT_27001)
2021-02-22 11:28:25 +08:00
zhiweijian
89a1f8e7a9
fix add white list failed
2021-02-22 11:28:07 +08:00
zwj
c1f23ada19
fix bluedroid repair faild if the two most significant bits of public address is '01'
2021-02-22 11:27:54 +08:00
zwj
1b6572ec9f
- fix congest return value
...
- fix system no rsp when doing disconnect
- fix no congest event when ssc do writing performance
2021-02-22 11:27:39 +08:00
zwj
0e2236a2f1
fix ble read multi char err when the number of handles is more than 10
2021-02-22 11:27:22 +08:00
zwj
e109c9980c
fix scan rsp length err
2021-02-22 11:27:09 +08:00
zwj
a2eec8a1e2
fix vendor hci memory leak
2021-02-22 11:26:56 +08:00
lly
6b6a883824
ble_mesh: stack: Fix deinit server models with no matching id
2021-02-19 01:03:55 +00:00
Island
77feee975e
Merge branch 'bugfix/ignore_null_valued_comb_key_4_1' into 'release/v4.1'
...
Bugfix/ignore null valued comb key 4 1
See merge request espressif/esp-idf!12408
2021-02-18 13:58:52 +00:00
Chinmay Chhajed
a585bb54e4
bt: NULL combkey check and fixed divide by zero error.
...
- Added check for NULL valued combination key. (cbc69c8b9)
- Fix divided by zero err & clear timer after remote reject when respond the parameters update (d886f91)
2021-02-18 15:37:20 +05:30
aleks
471237dab6
freemodbus: fix mb controller parity propagation issues
...
Closes https://github.com/espressif/esp-idf/issues/6377
2021-02-17 12:34:00 +01:00
Piyush Shah
3a5be7ce26
protocomm security1: Restart security session if SESSION_STATE_CMD0 is received
...
With the introduction of cookies to track a session, it is possible that the
clients restart the provisioning on the same session, specifically when a user
cancels a current provisioning attempt. This can result in an error as the state
on the device side and client side will go out of sync.
This has now been changed such that if SESSION_STATE_CMD0 is received on
an existing session, the state is reset and flow allowed to continue.
2021-02-12 05:53:00 +00:00
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
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
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
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
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