Commit Graph

8998 Commits

Author SHA1 Message Date
liu zhifu
aea40896a3 esp32/lwip: fix some bugs
1. Port two bugs from LWIP upstream to baidu
   1> Fix endless loop in DHCP packet parsing
   2> Fix double free of pbuf
2. Implement all WiFi assert to abort
2021-01-06 14:28:52 +08:00
gengyuchao
50abb981d2 1.Change the save location of err bit,in case it can not be saved when assert
2.Add bit to check connect and disconnect state.
2021-01-06 14:28:52 +08:00
gengyuchao
60cb043e13 Fix avrc connected state check bug 2021-01-06 14:28:22 +08:00
gengyuchao
bfa79648cd Fix HCI timeout 0x40F by handling the pairing busy status. 2021-01-06 14:22:49 +08:00
weitianhua
25d1bb54f9 Fix assert(32, 0) in rwble.c 2021-01-06 14:22:49 +08:00
lly
c440c26449 ble_mesh: stack: split primary addr & prov info init 2021-01-06 14:22:49 +08:00
lly
0f0e48facb ble_mesh: stack: Using the latest iv_index for provisioning 2021-01-06 14:22:49 +08:00
lly
4c383886dd ble_mesh: stack: Fix recv health current status incorrectly 2021-01-06 14:22:49 +08:00
lly
0ff8001297 ble_mesh: stack: Fix an issue which may not free timer for client msg 2021-01-06 14:22:49 +08:00
lly
2777d636d4 ble_mesh: stack: Fix Provisioner failed to publish 2021-01-06 14:22:49 +08:00
gengyuchao
1e90e1482d Solve the problem of insufficient osi_alarm. 2021-01-06 14:22:49 +08:00
liu zhifu
be8a2e850c esp32: fix WiFi task watchdog caused by mac deinit 2021-01-06 14:22:48 +08:00
weitianhua
2769dbcf1d Fix assert in ld_pscan at line 305 2021-01-06 14:22:48 +08:00
liu zhifu
1d4f0ad1b2 esp32: fix WiFi timer
1. Modify WiFi assert to abort
2. Fix WiFi timer which may lead to task watchdog
2021-01-06 14:22:48 +08:00
baohongde
5259ec1c77 components/bt: Fix using NULL ptr in LC_FREE 2021-01-06 14:22:33 +08:00
Li Shuai
8839d0c0b3 modify PHY register access by dport 2021-01-06 14:22:33 +08:00
gengyuchao
99c0cac942 Add assert when malloc fail, that may cause hci timeout 2021-01-06 14:22:22 +08:00
gengyuchao
e148f41d79 Fix close rmt log cause some coredump information optimized issue 2021-01-06 14:22:22 +08:00
weitianhua
c4406771fc Change PR err handler 2021-01-06 14:22:22 +08:00
liu zhifu
ce3b9171dd lwip: fix two lwip bugs
1. Fix IP6 memory leak
2. Fix pbuf realloc
2021-01-06 14:22:21 +08:00
baohongde
b20d8cb16c component/hli: Fix hli queue send error 2021-01-06 14:22:08 +08:00
weitianhua
d2ddfa5183 Add A2DP Init and Deinit Complete Evt 2021-01-06 14:22:08 +08:00
baohongde
69fd702b1d Disable rmt debug log 2021-01-06 14:21:54 +08:00
weitianhua
f0206427b0 Rewrite av clean_up procedure 2021-01-06 14:21:54 +08:00
baohongde
1a78389a91 using dport instead of AHB in assert model 2021-01-06 14:21:54 +08:00
baohongde
1f152b5146 Waits for all previously fetched WSR and XSR instructions to be performed before interpreting the register fields of the next
instruction

delete logs about livelock
2021-01-06 14:21:54 +08:00
baohongde
73153d9bf6 Fix assert when start sscan twice 2021-01-06 14:21:54 +08:00
gengyuchao
6903865b9c Fix the int_enable_flag may not compile without bt problem 2021-01-06 14:21:54 +08:00
gengyuchao
1f286c2ba9 Add debug log for int enable 2021-01-06 14:21:40 +08:00
baohongde
a0226f1793 components/bt: ignore useless set scan mode command 2021-01-06 14:21:40 +08:00
gengyuchao
7f6c5585e2 Fix hci opcode check problem and add ble inten check 2021-01-06 14:21:40 +08:00
gengyuchao
b04afa39fe Add more check for hci timeout 2021-01-06 14:21:25 +08:00
baohongde
f1412a2799 components/bt: add bugfix for some risk item 2021-01-06 14:21:24 +08:00
xutao
1cc7856e5d transport_ws: fix an issue when read incomplete 2021-01-06 11:17:37 +08:00
xutao
c4352192a4 optimize hardware encryption when using ECC certificate 2020-12-29 16:10:39 +08:00
xutao
bea8c46ba6 bugfix: backport bugfix/esp_tls_closing_fd0 2020-10-30 14:08:48 +08:00
xutao
7669600253 transport/pthread: fix some issues for component
1. transport_ssl: fix transport ssl blocking
2. pthread: fix the priority inheritance
2020-09-21 15:18:42 +08:00
xutao
b94eec73fa support moving the a2dp_sink task stack to external memory 2020-08-25 10:55:38 +08:00
ZhangYong
0c1859a5a5 support moving the http server task stack to external memory 2020-07-27 17:03:29 +08:00
xutao
f745642042 OS: add some features for audio_idf
1. enable mclk when enter light sleep
2. add an get error API for esp_http_client
3. websocket migration and fix some issue (from release/v4.0)
2020-07-21 21:01:16 +08:00
donglianghao
f00a598153 1. correct http client read return value
2. fix redirection bug
3. add new ota api
2020-07-21 20:22:02 +08:00
baohongde
03affa7058 component/bt: Add Wide Bond Speech(WBS) and packet loss concealment (PLC) for HFP 2020-07-21 11:44:48 +08:00
wangmengyang
2612854838 component/bt: implement AVRCP Target APIs
1. Add more notification events to the enum according to the event list in AVRCP specification.
2. Add API and callback events for basic AVRCP target functionalities to do init, deinit, callback-registration, connection status indication.
3. Implement API to set/get supported PASSTHROUGH command on local AVRCP TG, implement callback events for remote passthrough command indication.
6. Implement API to set/get supported notification eventIDs on local AVRCP TG, implement API to send event notifications to remote CT. \
   Currently supported event in TG only includes ESP_AVRC_RN_VOLUME_CHANGE(0xd), which can be extended in later commits.
7. Implement callback events for SetAbsoluteVolume command indication on TG.
8. Add limitation of event_ids supported in RegisterNotification command in CT. The supported event_ids include: \
   ESP_AVRC_RN_PLAY_STATUS_CHANGE(0x1), ESP_AVRC_RN_TRACK_CHANGE(0x2), ESP_AVRC_RN_PLAY_POS_CHANGE(0x5), ESP_AVRC_RN_VOLUME_CHANGE(0xd).
9. Add feature bit mask in parameter of callback event ESP_AVRC_CT_REMOTE_FEATURES_EVT for peer feature information got from SDP.
10. Add API and callback event to AVRCP CT to retrieve remote TG's supported notification event capabilities.
11. Modify data type for parameter of callback event ESP_AVRC_CT_CHANGE_NOTIFY_EVT.
12. Change AVRCP version from 1.3 to 1.4 for compatibility cause in using AbsoluteVolume feature.
13. Modify local AVRCP device to be category 1 as CT and category 2 as TG that applies to bluetooth headphones or speakers.
14. Update the use of AVRCP APIs and events in the two examples a2dp_sink a2dp_gatts_coex, which includes the demo of volume control and notification.
2020-07-21 11:44:36 +08:00
Shubham Kulkarni
50ea32b86d esp_https_ota.c: Add errno check for WiFi disconnection while performing OTA 2020-07-21 11:28:57 +08:00
Shubham Kulkarni
bc881cc32d OTA: Add fix in case of URL redirection
Test case for URL Redirection and Chunked server is added
2020-07-21 11:28:43 +08:00
Shubham Kulkarni
239bd70ea1 OTA: Fixed OTA with chunked servers
If esp_http_client_read returns 0, errno check is performed if complete data is not received.
2020-07-21 11:28:32 +08:00
Shubham Kulkarni
8e5bf0d500 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-07-21 11:28:21 +08:00
Mahavir Jain
37272e79b4 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
2020-07-21 11:27:20 +08:00
Hrudaynath Dhabe
97aeb75955 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
2020-07-21 11:25:33 +08:00
Shubham Kulkarni
2e32cdb3b2 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
2020-07-21 10:39:43 +08:00