Commit graph

12512 commits

Author SHA1 Message Date
David Cermak
1b842ce1a8 http_server: websocket server to support async send 2020-03-18 20:24:46 +00:00
David Cermak
d7b3a051f0 examples: http_server - add websocket echo server example with test 2020-03-18 20:24:46 +00:00
Jackson Ming Hu
e983042af2 http_server: adds WebSocket support
This commit adds the WebSocket support for esp_http_server
library. It mainly does:

- Handling WebSocket handshake
  - Parsing HTTP upgrade request
  - Reply the upgrade request
- Receive WebSocket packets
  - Parse header, decode to a struct
  - Unmask payload (if required)
- Send WebSocket frames
- Receive WebSocket frame
- Automatic control frame handling

Merges https://github.com/espressif/esp-idf/pull/4306
Closes https://github.com/espressif/esp-idf/issues/4819
2020-03-18 20:24:46 +00:00
Ivan Grokhotkov
5a1b1d6a1d tools: cmake: update to 3.16.4 2020-03-18 08:28:36 +00:00
Ivan Grokhotkov
8a6c507d14 tools: ninja: update to 1.10.0
Closes https://github.com/espressif/esp-idf/issues/4687
2020-03-18 08:28:36 +00:00
Ivan Grokhotkov
5172724092 Merge branch 'bugfix/macos_build_test_submodules' into 'master'
ci: do fetch submodules in test_build_system_cmake_macos

See merge request espressif/esp-idf!7625
2020-03-18 16:26:35 +08:00
Jiang Jiang Jian
cd08917622 Merge branch 'feature/add_certification_version_number' into 'master'
esp_wifi: add certification version number.

See merge request espressif/esp-idf!7965
2020-03-18 16:17:43 +08:00
Angus Gratton
99a7581974 Merge branch 'bugfix/uecc_antifault' into 'master'
secure boot: Fix anti-fault value if hash is shorter than curve

See merge request espressif/esp-idf!7940
2020-03-18 15:51:09 +08:00
ChenJianxing
efd3505e51 esp_wifi: add certification version number. 2020-03-18 14:38:48 +08:00
Island
961f461f72 Merge branch 'bugfix/ble_mesh_nimble_adapt_deinit' into 'master'
ble_mesh: Fix ble mesh nimble host deinit

Closes BLEMESH-177 and IDFGH-2898

See merge request espressif/esp-idf!7985
2020-03-18 12:32:48 +08:00
Jiang Jiang Jian
d579c8a13e Merge branch 'bugfix/fix_the_bugs_for_country_code' into 'master'
fix the bugs for country code

Closes WIFI-1569 and WIFI-1586

See merge request espressif/esp-idf!7238
2020-03-18 11:49:32 +08:00
Jiang Jiang Jian
c665c9ec24 Merge branch 'bugfix/esp32s2_ap_mac_address' into 'master'
esp_wifi: fix esp32s2 ap mac address can not find.

See merge request espressif/esp-idf!8010
2020-03-18 11:43:48 +08:00
chenjianqiang
42154848cc psram: add 16Mbit psram support for esp32s2 2020-03-18 11:15:00 +08:00
Marius Vikhammer
ffb9010cbe aes: Fixed tag sometime being wrong for HW GCM
The GCM hardware accelerated algorithm for S2 would sometimes output
the wrong tag.

Added additional tests for AES and GCM

Re-enable HW GCM as default option
2020-03-18 08:44:38 +08:00
ChenJianxing
af8d90dbc1 esp_wifi: fix esp32s2 ap mac address can not find. 2020-03-17 21:33:59 +08:00
Ivan Grokhotkov
9e0c368a6a ci: do fetch submodules in test_build_system_cmake_macos
Also install Python packages required by the CI scripts, and install
build tools (CMake, ninja).
2020-03-17 09:30:59 +01:00
Jiang Jiang Jian
2e7ae75011 Merge branch 'bugfix/wep40_key_parsing_bug' into 'master'
wpa_supplicant: Add parsing support for WEP40 key

See merge request espressif/esp-idf!7968
2020-03-17 15:42:02 +08:00
Jiang Jiang Jian
5193838a07 Merge branch 'feat/ble_mesh_vnd_model_example' into 'master'
Feat/ble mesh vnd model example

Closes BLEMESH-167

See merge request espressif/esp-idf!7840
2020-03-17 15:35:20 +08:00
Angus Gratton
9c430a17aa Merge branch 'feature/mpi_accel_s2' into 'master'
MPI/RSA accelerator bringup for S2 and bignum refactor

Closes IDF-803 and IDF-1174

See merge request espressif/esp-idf!7915
2020-03-17 13:16:05 +08:00
Mahavir Jain
6795fc194f Merge branch 'fix/wifi_provisioning_uuid' into 'master'
Wifi_provisioning: Change service_uuid to non standard 128 bit UUID and add retries in test script

See merge request espressif/esp-idf!7939
2020-03-17 12:00:32 +08:00
Angus Gratton
998eba699e Merge branch 'bug/hw_sha_fail_alloc' into 'master'
s2 sha hw: Fix bug where alloc would fail if input were of len 0

See merge request espressif/esp-idf!7991
2020-03-17 09:33:14 +08:00
Ivan Grokhotkov
454293159d Merge branch 'docs/update_esp32s2_oocd_target_name' into 'master'
Updates OpenOCD commands

See merge request espressif/esp-idf!7906
2020-03-17 01:15:10 +08:00
Krzysztof Budzynski
780eb6af9b Merge branch 'docs/tanslate_esp_mesh2' into 'master'
Add translation for mesh document under api guide

See merge request espressif/esp-idf!7055
2020-03-17 01:02:37 +08:00
Natasha
ee0ae607da Add translation for mesh document under api guide 2020-03-17 01:02:36 +08:00
Ivan Grokhotkov
2a630cb8d8 Merge branch 'feature/nvs_test_erase_cycles' into 'master'
nvs: add a test for sector erase cycles

See merge request espressif/esp-idf!7948
2020-03-17 00:32:59 +08:00
Alexey Gerenkov
6964cc5d3a tools: Updates OpenOCD version to v0.10.0-esp32-20200309 2020-03-16 19:07:05 +03:00
Alexey Gerenkov
7ee7a6d7bb docs: Updates OpenOCD command names 2020-03-16 19:06:47 +03:00
Alexey Gerenkov
d5cd131da4 apptrace: Adds support for multi-core traces in single file to SystemView processing scripts 2020-03-16 15:17:36 +03:00
Marius Vikhammer
7e824508a9 mpi: refactor bignum into common and hw specific components
Closes IDF-1174
2020-03-16 19:44:30 +08:00
Marius Vikhammer
16b6a7a903 s2 sha hw: Fix bug where alloc would fail if input were of len 0 2020-03-16 19:29:59 +08:00
zhangyanjiao
a11673ebe4 wifi: return fail when setting softAP's channnel is out of range 2020-03-16 17:34:48 +08:00
Jiang Jiang Jian
493cdf53b9 Merge branch 'bugfix/fix_scan_get_rssi_err' into 'master'
esp_wifi: Fix scan get rssi err

Closes WIFI-1805

See merge request espressif/esp-idf!7961
2020-03-16 17:10:13 +08:00
Prasad Alatkar
415ccf8518 Wifi_provisioning_mgr_test: Allow three attempts to connect to AP before concluding provisioning failure 2020-03-16 08:20:37 +00:00
Prasad Alatkar
8419aa85a9 Wifi_provisioning_ble: Change service_uuid to non standard 128 bit UUID
- Modifies UUIDs in scheme_ble, manager example and esp_prov tool to custom 128
  bit UUID
2020-03-16 08:20:37 +00:00
Mahavir Jain
88fd09111c Merge branch 'feature/prov_example_restructure' into 'master'
wifi_provisioning: Example restructuring

See merge request espressif/esp-idf!6901
2020-03-16 15:38:11 +08:00
kapil.gupta
0ae58fc59f wpa_supplicant: Add parsing support for WEP40 key
WEP key is passed as ascii key without "", add parsing support
in supplicant for this.
2020-03-16 06:14:19 +00:00
Anton Maklakov
7355e550cc Merge branch 'feature/public_headers_check_objects' into 'master'
CI: public header check script in python

Closes IDF-1324

See merge request espressif/esp-idf!7923
2020-03-16 13:23:00 +08:00
Angus Gratton
83d2b6003d Merge branch 'feature/deploy_multi_target_docs' into 'master'
docs: deploy docs to production server from CI

Closes IDF-1215 and IDF-1218

See merge request espressif/esp-idf!7637
2020-03-16 13:05:54 +08:00
lly
ac2ef797fe ble_mesh: Fix ble mesh nimble host deinit 2020-03-16 12:45:58 +08:00
Ivan Grokhotkov
b497819667 docs: update esp32s2 summary page
- Refer to the toolchain links on IDF Tools page
- Update the wording around v4.1/v4.2 releases
- Remove the section about 3 different versions (of S2-beta)
- Add link to the list of features maintained externally
2020-03-16 14:40:37 +11:00
Angus Gratton
cb7f2d737a docs: Bump copyright date to 2020 2020-03-16 14:36:23 +11:00
Angus Gratton
e0eb218e7a docs: Add a note about what target this doc version is for 2020-03-16 14:36:23 +11:00
Angus Gratton
296a1db3c6 docs: Update link_to_translation to work with targets & new URL scheme
Main difference is using app config for version & target

Also made this code less generic, easier to understand
2020-03-16 14:36:23 +11:00
Angus Gratton
1a2ddcb77a docs: deploy docs to production server from CI 2020-03-16 14:36:23 +11:00
Angus Gratton
416076665b docs: use new sphinx_idf_theme theme, add variables to allow theme to build version footer 2020-03-16 14:36:23 +11:00
David Cermak
ecb419da2f soc: minor header fix typo and include of sdkconfig 2020-03-13 12:53:52 +01:00
David Cermak
8f6645667e CI: public header check script in python
Additional test compiling the header to produce assembly:
- checks if header really compiles (previously validated only by
preprocessor)
- checks that the header produced empty object, no inline code to be
present in public headers

Closes IDF-1324
2020-03-13 12:53:52 +01:00
Jiang Jiang Jian
0ae960f2fe Merge branch 'feature/support_esp32s2_mac_addr_offset' into 'master'
Add mac address offset for some esp32s2.

See merge request espressif/esp-idf!7855
2020-03-13 19:47:33 +08:00
Jiang Jiang Jian
57ad4afe7d Merge branch 'bugfix/fix_esp32s2_enable_multi_phy_init_data_bin_err' into 'master'
esp32s2: fix when enable multi phy init data bin compile err.

Closes IDF-1459

See merge request espressif/esp-idf!7936
2020-03-13 19:47:00 +08:00
Jiang Jiang Jian
df56535b7a Merge branch 'bugfix/compiler_err_when_performance_optimization_enabled' into 'master'
Bugfix/compiler err when performance optimization enabled

Closes BT-688

See merge request espressif/esp-idf!7958
2020-03-13 19:41:59 +08:00