Renz Christian Bagaporo
2b914f2d22
esp_event: allow posting events from ISRs
2019-04-10 18:06:05 +08:00
Vikram Dattu
a875505546
Fix url redirection issue.
...
Operation:
In `esp_http_client_set_url`, we check for if old_host is same as new_host.
Delete and open new connection if host is different.
Issue:
We just pointed `client->connection_info.host` to `old_host` and reassigned it.
This made old_host and new_host always point to same location and hence, using old_host with new request.
Fix:
Made a separate copy for old_host using strdup.
Closes https://github.com/espressif/esp-idf/issues/2631
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-04-10 05:40:16 +00:00
Angus Gratton
c064e00842
Merge branch 'bugfix/make_bootloader_depends_on_target' into 'master'
...
make bootloader depend on IDF_TARGET
See merge request idf/esp-idf!4704
2019-04-10 13:07:52 +08:00
Jiang Jiang Jian
83d2ff07c6
Merge branch 'bugfix/increase_block_scan_timeout_value' into 'master'
...
esp_wifi: increase block scan timeout value
Closes WIFI-396
See merge request idf/esp-idf!4695
2019-04-09 20:45:21 +08:00
Angus Gratton
2cf4a69f9b
Merge branch 'bugfix/ws_transport_crash_on_connect_fail' into 'master'
...
transport_ws: Stop connecting when the parent's connect call has failed
See merge request idf/esp-idf!4701
2019-04-09 10:19:47 +08:00
Angus Gratton
911e503a36
Merge branch 'bugfix/prov_fix_conn_id' into 'master'
...
Unified Provisioning: Miscellaneous fixes in BLE
See merge request idf/esp-idf!4691
2019-04-09 09:28:18 +08:00
liu zhifu
005f95e3f3
esp_wifi: increase WiFi block scan timeout value
...
Increase WiFi block scan internal timeout value.
2019-04-09 09:24:34 +08:00
Angus Gratton
8e91677701
Merge branch 'bugfix/bootloader_flash_crypt_cnt_ff' into 'master'
...
flash encryption: reduce FLASH_CRYPT_CNT bit width to 7 bits
See merge request idf/esp-idf!4642
2019-04-09 08:10:06 +08:00
suda-morris
78034879a8
make bootloader depend on IDF_TARGET
2019-04-08 11:08:06 +08:00
XiaXiaotian
5d43ec64bd
esp_wifi: fix the bug that no TBTT will be generated anymore after receiving
...
wrong beacon when WiFi and BT coexist.
2019-04-08 10:36:29 +08:00
Hrishikesh Dhayagude
a717825b7e
Unified Provisioning: Miscellaneous fixes in BLE
...
1. Pass the correct conn_id to protocomm_req_handle
In transport_simple_ble_write(), passing param->exec_write.conn_id would
be invalid. Instead param->write.conn_id should be passed
Similar change in transport_simple_ble_exec_write() to use
param->exec_write.conn_id
2. simple_ble_start() assumes that the mode is BLE only and enables
Bluetooth controller accordingly. For, cases having BT + BLE like Alexa
(Provisioning over BLE + Audio over classic BT), this assumption should
be removed.
2019-04-05 14:27:24 +05:30
Angus Gratton
041c784ff8
Merge branch 'feature/common_fragment_grammar' into 'master'
...
ldgen: Common fragment grammar
See merge request idf/esp-idf!4576
2019-04-05 07:19:22 +08:00
Bas Verhoeven
16ee5663ad
transport_ws: Stop connecting when the parent's connect call has failed
...
Merges https://github.com/espressif/esp-idf/pull/3164
2019-04-04 16:14:42 +02:00
Jiang Jiang Jian
791209d0eb
Merge branch 'bugfix/coex_bt_disconn' into 'master'
...
components/coex: Fix BT disconnecting due to too many reset BB
See merge request idf/esp-idf!4675
2019-04-04 20:53:04 +08:00
Jiang Jiang Jian
3ab9d00219
Merge branch 'bugfix/btdm_fix_warning_when_disable_logs' into 'master'
...
components/bt: Fix warning when disable debug logs or in release mode and improve the code structure
See merge request idf/esp-idf!4618
2019-04-04 18:45:25 +08:00
Jiang Jiang Jian
e7f85f1987
Merge branch 'bugfix/btdm_disconn_with_apple_device' into 'master'
...
components/bt: Fix disconnect with apple device
See merge request idf/esp-idf!4665
2019-04-04 18:44:53 +08:00
Renz Christian Bagaporo
90ee405afd
ldgen: update component linker fragment files
2019-04-04 15:57:34 +08:00
Angus Gratton
34e89c46de
Merge branch 'update/mfg_util' into 'master'
...
mfg_util: Add changes to mfg_util as per changes in nvs_util
See merge request idf/esp-idf!3573
2019-04-04 14:40:33 +08:00
Angus Gratton
63261ec2d7
Merge branch 'bugfix/httpd_accept_conn' into 'master'
...
esp_http_server : Only accept new connections if server has capacity to handle more
Closes IDFGH-749
See merge request idf/esp-idf!4655
2019-04-04 14:26:49 +08:00
Angus Gratton
5136b76798
Merge branch 'feature/micro-ecc-only-in-bootloader' into 'master'
...
Use micro_ecc library only in bootloader
See merge request idf/esp-idf!4082
2019-04-04 14:26:48 +08:00
Angus Gratton
d6394818b0
Merge branch 'feature/misc_adjustment_of_esp32' into 'master'
...
misc adjustment of esp32 component
Closes IDF-36
See merge request idf/esp-idf!4627
2019-04-04 11:16:46 +08:00
Angus Gratton
203af5c0a5
Merge branch 'bugfix/soc_register_struct_names' into 'master'
...
soc:Added names to anonymous register structs
See merge request idf/esp-idf!4668
2019-04-04 07:42:24 +08:00
Anurag Kar
9542063236
esp_http_server : Test added to check limit on max_open_sockets config option
2019-04-03 13:34:12 +00:00
Anurag Kar
7e676c1055
esp_http_server : Only accept new connections if server has capacity to handle more
...
This fix prevents HTTP server from accepting new connections when the total count of connected
sockets has reached the max_open_sockets limit set during configuration. The pending connections
are kept in backlog until atleast one of the connected sockets is closed. The maximum number of
connection requests that can kept in backlog is specified as backlog_conn configuration option.
Note that this modification has no effect when LRU purge is enabled.
Also added sanity check on setting for max_open_sockets during configuration.
Solution suggested by jimparis https://github.com/espressif/esp-idf/issues/3183#issue-421234265
Closes https://github.com/espressif/esp-idf/issues/3183
2019-04-03 13:34:12 +00:00
baohongde
88efcdbe35
components/coex: Fix BT disconnecting due to too many reset BB
...
Update coex version to 1.1.6
2019-04-03 20:42:03 +08:00
morris
f5b03c9ea3
misc adjustment of esp32 component
2019-04-03 19:57:46 +08:00
baohongde
a332bca0c7
components/bt: Fix disconnect with apple device
...
1. Fix disconnect with apple device
2. Fix hci_refresh_enc_key_cmd will be ignored
3. Fix hci_refresh_enc_key_cmd will crash
Closes https://github.com/espressif/esp-idf/issues/3140
2019-04-03 17:22:01 +08:00
Shivani Tipnis
a88b40483d
mfg_util: Add changes to mfg_util as per changes in nvs_util
...
revert changeson this file
Update README for mfg util
Update to correct coding style of script
2019-04-03 11:31:49 +05:30
Angus Gratton
30e3e26834
Merge branch 'feature/support_comments_in_csv' into 'master'
...
nvs_util: Add support to include comments in csv file
See merge request idf/esp-idf!4656
2019-04-03 11:12:51 +08:00
huub
4aac441e46
soc:Added names to anonymous register structs
...
For typedef volatile struct in components/soc/esp32/include/soc
Merges https://github.com/espressif/esp-idf/pull/3199
2019-04-03 03:09:44 +00:00
Angus Gratton
4b4cd7fb51
efuse/flash encryption: Reduce FLASH_CRYPT_CNT to a 7 bit efuse field
...
8th bit is not used by hardware.
As reported https://esp32.com/viewtopic.php?f=2&t=7800&p=40895#p40894
2019-04-03 14:07:20 +11:00
Jiang Jiang Jian
53daf930c3
Merge branch 'bugfix/fix_some_sta_certification_issues' into 'master'
...
esp32: fix some STA certification issues
Closes WIFI-295, WIFI-299, WIFI-305, WIFI-306, WIFI-358, WIFI-367, and WIFI-368
See merge request idf/esp-idf!4434
2019-04-02 14:32:26 +08:00
Angus Gratton
3af14a065d
Merge branch 'bugfix/undefined_partition_table_bin_warning' into 'master'
...
make: fix undefined variables warning for PARTITION_TABLE_BIN
Closes IDFGH-685
See merge request idf/esp-idf!4633
2019-04-02 11:49:58 +08:00
Ivan Grokhotkov
43d3e75125
Merge branch 'feature/derive_esp_wifi_from_esp32' into 'master'
...
derive esp_wifi from esp32 component
See merge request idf/esp-idf!4602
2019-04-02 10:13:15 +08:00
Angus Gratton
ae585b6615
Merge branch 'bugfix/external_rtc_start_fail' into 'master'
...
Bugfix/external rtc start fail
See merge request idf/esp-idf!4374
2019-04-02 09:42:27 +08:00
Ivan Grokhotkov
fd91818074
Merge branch 'feature/sysview_heap_tracing' into 'master'
...
SystemView based heap and log tracing
See merge request idf/esp-idf!3952
2019-04-02 09:07:55 +08:00
Alexey Gerenkov
5ef3a64c00
sys_view: Adds heap tracing API
2019-04-01 19:31:27 +03:00
Jiang Jiang Jian
2f8b6cfc77
Merge branch 'feature/btdm_add_mesh_adv_type_and_srv_uuid_for_dup_scan_except' into 'master'
...
Component/bt: add mesh beacon adv and svc uuid for duplicate scan exceptional list
See merge request idf/esp-idf!4592
2019-04-01 21:49:18 +08:00
Liu Zhi Fu
b82872102e
esp32: fix some STA certification issues
...
Fix following STA WFA certification issues:
1. STA HT2040 coexist
2. Disallow WEP/TKIP with HT rates
3. WPA2 improvement
4. Minor refactor for WiFi internal global variable auth_type
2019-04-01 21:39:47 +08:00
Alexey Gerenkov
335576013e
heap: Separate standalone and common part of tracing module
2019-04-01 15:56:15 +03:00
Alexey Gerenkov
2d52ac48f9
apptrace: Adds checks for user arguments in apptrace API
2019-04-01 15:56:14 +03:00
Alexey Gerenkov
c0f37a324e
apptrace: Fixes tracing xQueueGiveFromISR
2019-04-01 15:56:13 +03:00
Ivan Grokhotkov
d52ecb71d6
Merge branch 'feature/spiffs_image_generator' into 'master'
...
SPIFFS Image Generator
See merge request idf/esp-idf!4156
2019-04-01 20:08:40 +08:00
morris
79bb5de426
derive esp_wifi from esp32 component
2019-04-01 20:04:52 +08:00
Shivani Tipnis
66e38e9bac
nvs_util: Add support to include comments in csv file
...
Closes https://github.com/espressif/esp-idf/issues/2965
2019-04-01 16:52:43 +05:30
Mahavir Jain
816fe38f3a
app_update: remove redundant (additional) check for signature verification
...
Call `esp_image_verify` takes care of validating image signature.
2019-04-01 15:47:01 +05:30
Mahavir Jain
fcff80ecf8
fix cmake build for bootloader
2019-04-01 15:47:01 +05:30
Mahavir Jain
202f689baa
bootloader: use mbedTLS for secure boot verification in firmware
2019-04-01 15:46:52 +05:30
Mahavir Jain
369e170ebc
micro-ecc: move into booloader directory
2019-04-01 15:45:26 +05:30
Jiang Jiang Jian
5b2247df2d
Merge branch 'bugfix/increase_block_scan_time' into 'master'
...
wifi: increase the block scan time
Closes WIFI-378 and WIFI-379
See merge request idf/esp-idf!4645
2019-04-01 17:24:04 +08:00