]> granicus.if.org Git - esp-idf/log
esp-idf
5 years agowifi: bugfix of assert when do wps with mikrotik
Deng Xin [Mon, 29 Oct 2018 07:28:32 +0000 (15:28 +0800)]
wifi: bugfix of assert when do wps with mikrotik

Problem Decribe

The problem happenned when do wps with a mikrotik router
1. router always want to do connect with 32 without EAP-WSC step
2. after 4 way timeour, 32 crash

Root Cause

The reason why can not start EAP-WSC step is router's check method is RSN > WPA > WPS, when it found there include RSN and WPS in assoc, it will choice do 4 way rather than WPS
The reason of second problem is 32's EAPOL start timer didn't stop and send EAPOL start to a null pointer

Soultion
1. remove RSN and WPA ie when do WPS step
2. check mac address's pointer before send EAPOL start

closes: https://github.com/espressif/esp-idf/issues/2382

5 years agoMerge branch 'bugfix/mdns_crash_on_network_change' into 'master'
Angus Gratton [Mon, 29 Oct 2018 08:31:52 +0000 (16:31 +0800)]
Merge branch 'bugfix/mdns_crash_on_network_change' into 'master'

Fixed mdns crashes on network changes

See merge request idf/esp-idf!3546

5 years agoMerge branch 'bugfix/doc_provisioning' into 'master'
Angus Gratton [Mon, 29 Oct 2018 06:56:32 +0000 (14:56 +0800)]
Merge branch 'bugfix/doc_provisioning' into 'master'

Docs : Provisioning docs and READMEs updated with links to phone apps

See merge request idf/esp-idf!3511

5 years agoMerge branch 'feat/sdio_slave_init_doc' into 'master'
Angus Gratton [Mon, 29 Oct 2018 01:07:30 +0000 (09:07 +0800)]
Merge branch 'feat/sdio_slave_init_doc' into 'master'

sdio_slave: add documentation for the standard init process

See merge request idf/esp-idf!3548

5 years agosdio_slave: add documentation for the standard init process
Michael (XIAO Xufeng) [Wed, 24 Oct 2018 03:17:56 +0000 (11:17 +0800)]
sdio_slave: add documentation for the standard init process

5 years agoMerge branch 'bugfix/py3_ci' into 'master'
Angus Gratton [Fri, 26 Oct 2018 05:45:19 +0000 (13:45 +0800)]
Merge branch 'bugfix/py3_ci' into 'master'

Fix Python3 compatibility issues

See merge request idf/esp-idf!3487

5 years agoMerge branch 'feature/esp_event_loop_library' into 'master'
Angus Gratton [Fri, 26 Oct 2018 05:14:19 +0000 (13:14 +0800)]
Merge branch 'feature/esp_event_loop_library' into 'master'

event: Implement event loop library

See merge request idf/esp-idf!2881

5 years agoevent: Implement event loop library
Renz Christian Bagaporo [Fri, 26 Oct 2018 05:14:19 +0000 (13:14 +0800)]
event: Implement event loop library

5 years agoMerge branch 'bugfix/rename_http_server' into 'master'
Angus Gratton [Fri, 26 Oct 2018 04:59:38 +0000 (12:59 +0800)]
Merge branch 'bugfix/rename_http_server' into 'master'

Rename http_server component to esp_http_server

See merge request idf/esp-idf!3553

5 years agoMerge branch 'bugfix/idf_pyserial_error' into 'master'
Angus Gratton [Fri, 26 Oct 2018 04:58:03 +0000 (12:58 +0800)]
Merge branch 'bugfix/idf_pyserial_error' into 'master'

idf.py: Import from pyserial after packages have been checked

See merge request idf/esp-idf!3519

5 years agoMerge branch 'fix/spi_polling_speed_test' into 'master'
Angus Gratton [Fri, 26 Oct 2018 04:41:00 +0000 (12:41 +0800)]
Merge branch 'fix/spi_polling_speed_test' into 'master'

spi: speed up polling performance and fix several tests

Closes #33

See merge request idf/esp-idf!3530

5 years agoMerge branch 'bugfix/missing_header_file' into 'master'
Angus Gratton [Fri, 26 Oct 2018 04:19:50 +0000 (12:19 +0800)]
Merge branch 'bugfix/missing_header_file' into 'master'

esp32: Add missing header file in esp_task.h

See merge request idf/esp-idf!3353

5 years agoMerge branch 'ci/only_create_required_jobs_in_pipeline' into 'master'
Ivan Grokhotkov [Fri, 26 Oct 2018 03:56:22 +0000 (11:56 +0800)]
Merge branch 'ci/only_create_required_jobs_in_pipeline' into 'master'

CI: only create required jobs when use bot to trigger test

See merge request idf/esp-idf!3404

5 years agoMerge branch 'bugfix/fix_some_wifi_bugs_1022' into 'master'
Jiang Jiang Jian [Fri, 26 Oct 2018 03:50:44 +0000 (11:50 +0800)]
Merge branch 'bugfix/fix_some_wifi_bugs_1022' into 'master'

esp32: fix some wifi bugs

See merge request idf/esp-idf!3539

5 years agoMerge branch 'bugfix/btdm_read_multiple_return_callback_status_ESP_GATT_STACK_RSP...
Jiang Jiang Jian [Fri, 26 Oct 2018 03:41:18 +0000 (11:41 +0800)]
Merge branch 'bugfix/btdm_read_multiple_return_callback_status_ESP_GATT_STACK_RSP' into 'master'

Component/bt: fix read multiple return callback status: ESP_GATT_STACK_RSP

See merge request idf/esp-idf!3437

5 years agoMerge branch 'bugfix/btdm_add_sniff_mode_to_spp' into 'master'
Jiang Jiang Jian [Fri, 26 Oct 2018 03:38:50 +0000 (11:38 +0800)]
Merge branch 'bugfix/btdm_add_sniff_mode_to_spp' into 'master'

components/bt: Add sniff mode to SPP

See merge request idf/esp-idf!3472

5 years agoMerge branch 'bugfix/btdm_disconnect_ble_when_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AU...
Jiang Jiang Jian [Fri, 26 Oct 2018 03:34:26 +0000 (11:34 +0800)]
Merge branch 'bugfix/btdm_disconnect_ble_when_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH_failed' into 'master'

Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed

See merge request idf/esp-idf!3465

5 years agoesp32: fix some wifi bugs
Liu Zhi Fu [Thu, 25 Oct 2018 08:47:57 +0000 (16:47 +0800)]
esp32: fix some wifi bugs

Fix following WiFi bugs:
1. Fix the bug that MIC verification fails on soft-AP mode
2. Modify mesh root to have same behavior as normal WiFi STA in state change
3. Fix the bug that sniffer can't catch control packets
4. Fix crash bug in soft-AP mode
5. Fix ACM(Admission Control Management) bug

5 years agoMerge branch 'bugfix/btdm_fix_remove_bond_list_failed' into 'master'
Jiang Jiang Jian [Thu, 25 Oct 2018 07:14:14 +0000 (15:14 +0800)]
Merge branch 'bugfix/btdm_fix_remove_bond_list_failed' into 'master'

component/bt: fix remove bond list failed

See merge request idf/esp-idf!3475

5 years agoidf.py: Import from pyserial after packages have been checked
Roland Dobai [Thu, 25 Oct 2018 06:16:30 +0000 (08:16 +0200)]
idf.py: Import from pyserial after packages have been checked

Closes https://github.com/espressif/esp-idf/issues/2573

5 years agoComponent/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed
zhiweijian [Thu, 11 Oct 2018 03:25:45 +0000 (11:25 +0800)]
Component/bt: add ble disconnect when ACCEPT_SPECIFIED_SEC_AUTH failed

5 years agospi_master: speed up polling performance by putting into IRAM
Michael (XIAO Xufeng) [Mon, 22 Oct 2018 07:25:41 +0000 (15:25 +0800)]
spi_master: speed up polling performance by putting into IRAM

5 years agotest: fix the IRAM type conflict issue using heap_caps_malloc
Michael (XIAO Xufeng) [Fri, 19 Oct 2018 04:00:16 +0000 (12:00 +0800)]
test: fix the IRAM type conflict issue using heap_caps_malloc

5 years agocomponent/bt: fix remove bond list failed
zwj [Fri, 12 Oct 2018 02:48:46 +0000 (10:48 +0800)]
component/bt: fix remove bond list failed

5 years agoProtocomm : Use esp_http_server instead of http_server
Anurag Kar [Wed, 24 Oct 2018 10:09:43 +0000 (15:39 +0530)]
Protocomm : Use esp_http_server instead of http_server

5 years agoHTTP Server Docs : Replace http_server with esp_http_server
Anurag Kar [Wed, 24 Oct 2018 09:55:04 +0000 (15:25 +0530)]
HTTP Server Docs : Replace http_server with esp_http_server

5 years agoHTTP Server Examples : Include header esp_http_server.h
Anurag Kar [Wed, 24 Oct 2018 09:52:15 +0000 (15:22 +0530)]
HTTP Server Examples : Include header esp_http_server.h

5 years agoHTTP Server : Added esp_ prefix to http_server component files
Anurag Kar [Wed, 24 Oct 2018 09:42:50 +0000 (15:12 +0530)]
HTTP Server : Added esp_ prefix to http_server component files

5 years agomdns: fixed crashes on network changes
David Cermak [Mon, 22 Oct 2018 14:45:42 +0000 (16:45 +0200)]
mdns: fixed crashes on network changes

1) two events AP_STOP, AP_START shortly after each other may cause IGMP config on already stopped netif
2) not properly locked sending packets to queue from timer task

closes #2580

5 years agoFix Python 3 compatibility issues
Roland Dobai [Wed, 10 Oct 2018 11:19:31 +0000 (13:19 +0200)]
Fix Python 3 compatibility issues

5 years agoCI: only create required jobs when use bot to trigger test:
He Yin Ling [Sat, 29 Sep 2018 06:51:43 +0000 (14:51 +0800)]
CI: only create required jobs when use bot to trigger test:

Gitlab CI now allow us to define if a job need to be created by
varialbes. This commit add label to CI jobs, so we can make some jobs
not created in certain scenarios when we trigger pipeline with @bot.

5 years agoMerge branch 'feature/ci_multi_python' into 'master'
Angus Gratton [Wed, 24 Oct 2018 09:00:38 +0000 (17:00 +0800)]
Merge branch 'feature/ci_multi_python' into 'master'

CI: Support switching between various versions of Python

See merge request idf/esp-idf!3520

5 years agoMerge branch 'bugfix/tw26711_fix_wifi_memory' into 'master'
Jiang Jiang Jian [Mon, 22 Oct 2018 13:20:14 +0000 (21:20 +0800)]
Merge branch 'bugfix/tw26711_fix_wifi_memory' into 'master'

esp32: fix wifi memory leak

See merge request idf/esp-idf!3523

5 years agoMerge branch 'feature/cmake-unit-test' into 'master'
Angus Gratton [Mon, 22 Oct 2018 08:29:15 +0000 (16:29 +0800)]
Merge branch 'feature/cmake-unit-test' into 'master'

cmake: add unit tests build support

See merge request idf/esp-idf!3003

5 years agoMerge branch 'bugfix/gcc8_compatibility' into 'master'
Angus Gratton [Mon, 22 Oct 2018 03:11:04 +0000 (11:11 +0800)]
Merge branch 'bugfix/gcc8_compatibility' into 'master'

gcc8 compatibility for master branch

See merge request idf/esp-idf!3481

5 years agoMerge branch 'feature/docs_getting_started_guides_cn' into 'master'
Angus Gratton [Mon, 22 Oct 2018 01:10:58 +0000 (09:10 +0800)]
Merge branch 'feature/docs_getting_started_guides_cn' into 'master'

Added CN version of 'Getting Started' guides for 'ESP32-DevKitC' and 'ESP-WROVER-KIT'

See merge request idf/esp-idf!3408

5 years agoAdded CN version of 'Getting Started' guides for 'ESP32-DevKitC' and 'ESP-WROVER...
Krzysztof Budzynski [Mon, 22 Oct 2018 01:10:58 +0000 (09:10 +0800)]
Added CN version of 'Getting Started' guides for 'ESP32-DevKitC' and 'ESP-WROVER-KIT'

5 years agoesp32: fix wifi memory leak
Liu Zhi Fu [Sun, 21 Oct 2018 12:37:08 +0000 (20:37 +0800)]
esp32: fix wifi memory leak

Fix a WiFi memory leak bug

5 years agotcp_transport: Remove the ignore warning because we had idf/esp-idf!3359
Anton Maklakov [Sat, 13 Oct 2018 08:26:11 +0000 (16:26 +0800)]
tcp_transport: Remove the ignore warning because we had idf/esp-idf!3359

5 years agodocs: Correct Linux port names for more relevance
Anton Maklakov [Sat, 13 Oct 2018 07:26:59 +0000 (15:26 +0800)]
docs: Correct Linux port names for more relevance

5 years agotest_spi_slave: fix warnings about unused identifiers
Anton Maklakov [Sat, 13 Oct 2018 07:13:02 +0000 (15:13 +0800)]
test_spi_slave: fix warnings about unused identifiers

5 years agointr: fix a type mismatch warning
Anton Maklakov [Sat, 13 Oct 2018 06:38:48 +0000 (14:38 +0800)]
intr: fix a type mismatch warning

5 years agopthread: fix a type mismatch warning
Anton Maklakov [Tue, 25 Sep 2018 06:10:03 +0000 (14:10 +0800)]
pthread: fix a type mismatch warning

5 years agocmake: Add support for test build
Renz Bagaporo [Mon, 27 Aug 2018 02:48:16 +0000 (10:48 +0800)]
cmake: Add support for test build

5 years agoCI: Support switching between various versions of Python
Roland Dobai [Tue, 25 Sep 2018 12:43:07 +0000 (14:43 +0200)]
CI: Support switching between various versions of Python

5 years agoMerge branch 'feature/add_ping_packet_len_and_QoS' into 'master'
Jiang Jiang Jian [Fri, 19 Oct 2018 07:29:58 +0000 (15:29 +0800)]
Merge branch 'feature/add_ping_packet_len_and_QoS' into 'master'

ping: add length and QoS

See merge request idf/esp-idf!3379

5 years agoMerge branch 'feature/uart_rs485_test' into 'master'
Ivan Grokhotkov [Fri, 19 Oct 2018 05:05:55 +0000 (13:05 +0800)]
Merge branch 'feature/uart_rs485_test' into 'master'

driver: rs485 test support

See merge request idf/esp-idf!2701

5 years agoMerge branch 'feature/simple_sniffer' into 'master'
Ivan Grokhotkov [Fri, 19 Oct 2018 04:42:32 +0000 (12:42 +0800)]
Merge branch 'feature/simple_sniffer' into 'master'

wifi sniffer example

See merge request idf/esp-idf!3412

5 years agoMerge branch 'feature/freemodbus_slave_support_upd' into 'feature/uart_rs485_test'
Ivan Grokhotkov [Fri, 19 Oct 2018 04:35:00 +0000 (12:35 +0800)]
Merge branch 'feature/freemodbus_slave_support_upd' into 'feature/uart_rs485_test'

examples: freemodbus port slave basic implementation

See merge request idf/esp-idf!3468

5 years agoMerge branch 'bugfix/unit_tests_tcpip_adapter' into 'master'
Ivan Grokhotkov [Fri, 19 Oct 2018 04:33:09 +0000 (12:33 +0800)]
Merge branch 'bugfix/unit_tests_tcpip_adapter' into 'master'

unit tests: Only initialise tcpip_adapter() when needed by the test

See merge request idf/esp-idf!3364

5 years agoMerge branch 'bugfix/ndebug_build' into 'master'
Ivan Grokhotkov [Fri, 19 Oct 2018 03:55:37 +0000 (11:55 +0800)]
Merge branch 'bugfix/ndebug_build' into 'master'

soc,sdmmc: fix build failures when NDEBUG is used

See merge request idf/esp-idf!3352

5 years agoexample: add console command for wifi sniffer
morris [Thu, 27 Sep 2018 03:24:12 +0000 (11:24 +0800)]
example: add console command for wifi sniffer

1. add mount/unmount command
2. add sniffer command, supporting options
3. make pcap a component

5 years agoMerge branch 'bugfix/asio_consistent_example_names' into 'master'
Ivan Grokhotkov [Fri, 19 Oct 2018 02:25:47 +0000 (10:25 +0800)]
Merge branch 'bugfix/asio_consistent_example_names' into 'master'

Renamed examples to be consistent no matter which build system used

See merge request idf/esp-idf!3257

5 years agoMerge branch 'bugfix/move_ringbuf_lib_to_iram' into 'master'
Ivan Grokhotkov [Thu, 18 Oct 2018 14:57:46 +0000 (22:57 +0800)]
Merge branch 'bugfix/move_ringbuf_lib_to_iram' into 'master'

esp_ringbuf: fix default placement from flash to IRAM

See merge request idf/esp-idf!3452

5 years agoMerge branch 'bugfix/ci_missing_outputs' into 'master'
Ivan Grokhotkov [Thu, 18 Oct 2018 14:41:48 +0000 (22:41 +0800)]
Merge branch 'bugfix/ci_missing_outputs' into 'master'

Tiny-test-fw: Fix string comparison which cases ignore of test cases

See merge request idf/esp-idf!3458

5 years agoMerge branch 'bugfix/fix_random_failure_with_ota_updates' into 'master'
Ivan Grokhotkov [Thu, 18 Oct 2018 14:32:33 +0000 (22:32 +0800)]
Merge branch 'bugfix/fix_random_failure_with_ota_updates' into 'master'

app_update: fix intermittent failure with firmware updates

See merge request idf/esp-idf!3401

5 years agoMerge branch 'bugfix/coex_hw_blocking_2nd' into 'master'
Jiang Jiang Jian [Thu, 18 Oct 2018 13:25:24 +0000 (21:25 +0800)]
Merge branch 'bugfix/coex_hw_blocking_2nd' into 'master'

coexist : fix coexist bugs related to coex hw blocking

See merge request idf/esp-idf!3414

5 years agoDocs : Provisioning docs and READMEs updated with links to GitHub repositories of...
Anurag Kar [Thu, 18 Oct 2018 08:19:04 +0000 (13:49 +0530)]
Docs : Provisioning docs and READMEs updated with links to GitHub repositories of Android and iOS apps

5 years agoMerge branch 'bugfix/fix_autoip_bug' into 'master'
Jiang Jiang Jian [Thu, 18 Oct 2018 06:55:34 +0000 (14:55 +0800)]
Merge branch 'bugfix/fix_autoip_bug' into 'master'

fix the compile bug for autoip

See merge request idf/esp-idf!3450

5 years agoMerge branch 'bugfix/idf_tools_installer' into 'master'
Angus Gratton [Thu, 18 Oct 2018 06:22:15 +0000 (14:22 +0800)]
Merge branch 'bugfix/idf_tools_installer' into 'master'

IDF Tools Installer for Windows: Python requirements, ULP & openocd, signed installer

See merge request idf/esp-idf!3428

5 years agoapp_update: remove unrequired static attribute from mmap handle
Mahavir Jain [Sat, 29 Sep 2018 05:12:40 +0000 (10:42 +0530)]
app_update: remove unrequired static attribute from mmap handle

5 years agoapp_update: fix intermittent failure with firmware updates
Mahavir Jain [Fri, 28 Sep 2018 10:29:52 +0000 (15:59 +0530)]
app_update: fix intermittent failure with firmware updates

Routine `spi_flash_cache2phys` sometimes return incorrect value,
resulting in failure in getting currently running ota partition.
This in turn aborts firmware update process.This issue was more
prominent with SPIRAM enabled cases.

Fix ensures proper cache guards during `spi_flash_cache2phys`, and
also for few other similar APIs.

In addition, `esp_ota_get_running_partition` has also been optimized
to save currently running partition for subsequent invocations.

Fixes https://github.com/espressif/esp-idf/issues/2451

5 years agoesp_ringbuf: fix default placement from flash to IRAM
Mahavir Jain [Tue, 9 Oct 2018 11:56:14 +0000 (17:26 +0530)]
esp_ringbuf: fix default placement from flash to IRAM

In earlier change this component was decoupled from freertos and hence
regression was introduced which changed default placement to flash. Some
device drivers make use of ringbuffer while flash cache is being disabled
and hence default placement should instead be internal memory.

Closes: https://github.com/espressif/esp-idf/issues/2517
5 years agounit test: split psram config into two configs to free up IRAM
Ivan Grokhotkov [Tue, 16 Oct 2018 04:46:17 +0000 (12:46 +0800)]
unit test: split psram config into two configs to free up IRAM

5 years agocoexist : fix coexist bugs related to coex hw blocking
Tian Hao [Sun, 30 Sep 2018 09:26:04 +0000 (17:26 +0800)]
coexist : fix coexist bugs related to coex hw blocking

1. fix some bugs by previous coex hw blocking bugfix,
   such like, rwble.c (64, 0) line 222
2. fix bug that ble scan performance is very low when software coexist
   is working.
3. update libcoexist version to v1.1.0

5 years agoMerge branch 'bugfix/uart_wait_idle' into 'master'
Ivan Grokhotkov [Thu, 18 Oct 2018 03:25:59 +0000 (11:25 +0800)]
Merge branch 'bugfix/uart_wait_idle' into 'master'

uart: fix uart_tx_wait_idle to wait for fifo empty

See merge request idf/esp-idf!3489

5 years agoMerge branch 'bugfix/wpa2_fixes' into 'master'
Jiang Jiang Jian [Thu, 18 Oct 2018 03:10:10 +0000 (11:10 +0800)]
Merge branch 'bugfix/wpa2_fixes' into 'master'

wpa2_enterprise fixes from Github

See merge request idf/esp-idf!3166

5 years agoMerge branch 'mesh/bugfix_esp_ssid_ie' into 'master'
Jiang Jiang Jian [Thu, 18 Oct 2018 03:06:44 +0000 (11:06 +0800)]
Merge branch 'mesh/bugfix_esp_ssid_ie' into 'master'

mesh: fix a bug in generating ESP-SSID IE

See merge request idf/esp-idf!3382

5 years agoMerge branch 'feature/httpd_sock_err' into 'master'
Angus Gratton [Wed, 17 Oct 2018 22:59:47 +0000 (06:59 +0800)]
Merge branch 'feature/httpd_sock_err' into 'master'

HTTP Server : Return HTTPD_SOCK_ERR_ based on errno set during send / recv

See merge request idf/esp-idf!3445

5 years agocmake: Fix Windows issue running menuconfig in Command Prompt if winpty on Path
Angus Gratton [Wed, 17 Oct 2018 07:15:41 +0000 (18:15 +1100)]
cmake: Fix Windows issue running menuconfig in Command Prompt if winpty on Path

Previous version assumed having winpty on the Path meant that it would be needed,
but some tools (like Atlassian Sourcetree) permanently add winpty to the path.

Symptom is arrow keys not working in menuconfig dialog.

5 years agoSign IDF Tools installer with 'osslsigncode', update to V1.2
Angus Gratton [Mon, 1 Oct 2018 06:22:07 +0000 (16:22 +1000)]
Sign IDF Tools installer with 'osslsigncode', update to V1.2

Uninstaller is still unsigned, as currently building and signing in 'wine'
and running Linux osslsigncode inside Inno Setup inside wine is awkward.

Closes https://github.com/espressif/esp-idf/issues/1909
TW20810

5 years agowindows: Add License (GPL) display to IDF Tools installer
Angus Gratton [Thu, 4 Oct 2018 03:30:47 +0000 (13:30 +1000)]
windows: Add License (GPL) display to IDF Tools installer

5 years agowindows: Add Python dependencies, openocd, and ULP to installer
Angus Gratton [Mon, 1 Oct 2018 06:21:30 +0000 (16:21 +1000)]
windows: Add Python dependencies, openocd, and ULP to installer

5 years agodocs: Recommend native 'cryptography' package on Linux as well
Angus Gratton [Mon, 1 Oct 2018 06:19:37 +0000 (16:19 +1000)]
docs: Recommend native 'cryptography' package on Linux as well

5 years agounit tests: Only initialise tcpip_adapter() when needed by the test
Angus Gratton [Wed, 26 Sep 2018 00:17:46 +0000 (10:17 +1000)]
unit tests: Only initialise tcpip_adapter() when needed by the test

Prevents unexpected memory allocations when running tests which
don't require tcpip_adapter.

5 years agoasio: examples renamed to have consistent binary names when build in make and CMake
David Cermak [Wed, 12 Sep 2018 13:52:38 +0000 (15:52 +0200)]
asio: examples renamed to have consistent binary names when build in make and CMake

5 years agoComponent/bt: read multiple return callback status: ESP_GATT_STACK_RSP
zhiweijian [Mon, 8 Oct 2018 03:55:57 +0000 (11:55 +0800)]
Component/bt: read multiple return callback status: ESP_GATT_STACK_RSP

5 years agoHTTP Server Docs : Updated to demonstrate handling of timeout errors
Anurag Kar [Tue, 9 Oct 2018 14:47:26 +0000 (20:17 +0530)]
HTTP Server Docs : Updated to demonstrate handling of timeout errors

5 years agoHTTP Server Examples : Updated examples to manually return 408 and 500 errors
Anurag Kar [Tue, 9 Oct 2018 12:37:38 +0000 (18:07 +0530)]
HTTP Server Examples : Updated examples to manually return 408 and 500 errors

5 years agoHTTP Server : Automated 408 error response restricted to timeout in receiving packet...
Anurag Kar [Tue, 9 Oct 2018 12:34:37 +0000 (18:04 +0530)]
HTTP Server : Automated 408 error response restricted to timeout in receiving packet header

5 years agoHTTP Server : Added helper functions for sending HTTP error 408 and 500
Anurag Kar [Tue, 9 Oct 2018 12:33:41 +0000 (18:03 +0530)]
HTTP Server : Added helper functions for sending HTTP error 408 and 500

5 years agoHTTP Server : Bug fixed in httpd_recv logic and updated function descriptions
Anurag Kar [Tue, 9 Oct 2018 12:24:33 +0000 (17:54 +0530)]
HTTP Server : Bug fixed in httpd_recv logic and updated function descriptions

5 years agoHTTP Server : Use getsockopt instead of errno
Anurag Kar [Tue, 9 Oct 2018 06:12:23 +0000 (11:42 +0530)]
HTTP Server : Use getsockopt instead of errno

5 years agoHTTP Server : Return HTTPD_SOCK_ERR_ based on errno set during send / recv
Anurag Kar [Mon, 8 Oct 2018 11:15:45 +0000 (16:45 +0530)]
HTTP Server : Return HTTPD_SOCK_ERR_ based on errno set during send / recv

This feature allows `httpd_req_recv()` and `httpd_send()` functions to return
specific `HTTPD_SOCK_ERR_` codes in case of socket errors. This is useful
in case of errors like `EAGAIN`, `EINTR`, etc. when the user may want to
retry `httpd_req_recv()` / `httpd_send()` function call.

5 years agoexamples: freemodbus port slave basic implementation
Alex Lisitsyn [Thu, 28 Jun 2018 15:45:41 +0000 (17:45 +0200)]
examples: freemodbus port slave basic implementation

This example adds functionality to support basic communication in RS485 networks using Modbus protocol.
This example uses FreeModbus stack and regular UART driver API to communicate in RS485 half duplex mode.
Added initial support of modbus controller pure C api to access device parameters over Modbus transport.
Move freemodbus stack and port files into components folder
Move the modbus_controller interface into components idf folder
Source files updated after review.
Add modbus interface documentation docs/en/api-reference/protocols/modbus.rst
porttimer.c: fix bug with timer1 selected in the Kconfig
Add support of cmake system (added cmake files)

Closes https://github.com/espressif/esp-idf/issues/858

5 years agodriver: rs485 test support (remove timeout tag)
Alex Lisitsyn [Wed, 11 Jul 2018 08:39:25 +0000 (10:39 +0200)]
driver: rs485 test support (remove timeout tag)

Adds test functionality with TEST_CASE_MULTIPLE_DEVICES() macro for RS485 test support.

5 years agodriver: rs485 test support
Alex Lisitsyn [Tue, 3 Jul 2018 14:17:03 +0000 (16:17 +0200)]
driver: rs485 test support

Adds test functionality with TEST_CASE_MULTIPLE_DEVICES() macro for RS485 test support.

5 years agomesh: fix a bug in generating ESP-SSID IE
qiyueixa [Wed, 17 Oct 2018 09:52:29 +0000 (17:52 +0800)]
mesh: fix a bug in generating ESP-SSID IE

1. wifi: if Wi-Fi is not scanning, ignore beacons from different channels.

5 years agoadd ping length and QoS
zhangyanjiao [Wed, 5 Sep 2018 13:02:38 +0000 (21:02 +0800)]
add ping length and QoS

5 years agofix the compile bug for autoip
zhangyanjiao [Tue, 9 Oct 2018 07:21:38 +0000 (15:21 +0800)]
fix the compile bug for autoip

5 years agoTiny-test-fw: Fix string comparison which cases ignore of test cases
Roland Dobai [Wed, 10 Oct 2018 06:24:42 +0000 (08:24 +0200)]
Tiny-test-fw: Fix string comparison which cases ignore of test cases

Example tests from examples/protocols/http_server/ were silently ignored
because of incompatible string comparisons.

5 years agoMerge branch 'docs/freertos_words_to_bytes' into 'master'
Angus Gratton [Wed, 17 Oct 2018 08:41:28 +0000 (16:41 +0800)]
Merge branch 'docs/freertos_words_to_bytes' into 'master'

FreeRTOS: Update API reference from words to bytes

See merge request idf/esp-idf!3453

5 years agoMerge branch 'bugfix/tw26696_fix_wifi_timer' into 'master'
Ivan Grokhotkov [Wed, 17 Oct 2018 08:37:22 +0000 (16:37 +0800)]
Merge branch 'bugfix/tw26696_fix_wifi_timer' into 'master'

esp32: fix WiFi timer inaccurate bug

See merge request idf/esp-idf!3471

5 years agoMerge branch 'feature/sockets_example' into 'master'
Angus Gratton [Wed, 17 Oct 2018 07:24:38 +0000 (15:24 +0800)]
Merge branch 'feature/sockets_example' into 'master'

Feature/sockets example

See merge request idf/esp-idf!3447

5 years agoMerge branch 'feature/i2c-tools' into 'master'
Angus Gratton [Wed, 17 Oct 2018 07:23:48 +0000 (15:23 +0800)]
Merge branch 'feature/i2c-tools' into 'master'

add i2c-tools example

See merge request idf/esp-idf!3483

5 years agoMerge branch 'update/mfg_gen' into 'master'
Angus Gratton [Wed, 17 Oct 2018 07:23:27 +0000 (15:23 +0800)]
Merge branch 'update/mfg_gen' into 'master'

Update mfg utility and nvs partition utility to make Python2 and Python3 compatible

See merge request idf/esp-idf!3243

5 years agoesp32: fix WiFi timer inaccurate bug
Liu Zhi Fu [Thu, 11 Oct 2018 12:57:15 +0000 (20:57 +0800)]
esp32: fix WiFi timer inaccurate bug

Fix the bug that WiFi timer is not accurate when sleep is on

5 years agoMerge branch 'bugfix/run_esptool_espport' into 'master'
Angus Gratton [Wed, 17 Oct 2018 00:14:20 +0000 (08:14 +0800)]
Merge branch 'bugfix/run_esptool_espport' into 'master'

cmake: Handle ESPPORT environment variable correctly

See merge request idf/esp-idf!3482

5 years agoi2c/i2c-tools: add i2c-tools example
morris [Mon, 15 Oct 2018 02:19:02 +0000 (10:19 +0800)]
i2c/i2c-tools: add i2c-tools example

1. add command i2cconfig
2. add command i2cdetect
3. add command i2cget
4. add command i2cset
5. add command i2cdump
6. add README.md

5 years agoBSD Socket examples
MartinValik [Tue, 2 Oct 2018 14:33:16 +0000 (16:33 +0200)]
BSD Socket examples