Angus Gratton
96cd3b75cd
Merge branch 'feature/mbedtls_mem_alloc_options' into 'master'
...
mbedtls: configurable options for controlling dynamic memory allocations
See merge request idf/esp-idf!3343
2018-09-25 08:24:29 +08:00
Mahavir Jain
5585f699d1
aws_iot: optimize dynamic memory by tweaking tls out buf content length
2018-09-24 11:17:53 +05:30
Jitin George
0aec63c18e
examples/protocols/esp_http_client: Add example for asynchronous HTTP request
2018-09-24 05:42:28 +00:00
Angus Gratton
7848cfdde7
Merge branch 'feature/mqtt_component' into 'master'
...
added tuan's mqtt library into idf
See merge request idf/esp-idf!2851
2018-09-13 09:06:09 +08:00
Jiang Jiang Jian
540ccf4177
Merge branch 'bugfix/enlarge_coap_server_pdu' into 'master'
...
fix: response failed when set a large response data
See merge request idf/esp-idf!2627
2018-09-12 16:48:12 +08:00
David Cermak
23345d2021
MQTT: Integrate esp-mqtt library into idf
...
added docs and tests for mqtt library, small fixes (removed warnings, option for custom outbox, websocket bug fixed for longer transports). refactored to use common tcp_transport component, support for CMake build system.
Closes #2108
2018-09-12 08:00:59 +02:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Angus Gratton
cff2ef695a
Merge branch 'master' into feature/cmake
2018-09-06 20:23:04 +08:00
Zhang Yan Jiao
3578fe39e0
Feature/sync lwip as submodule
2018-09-06 19:43:08 +08:00
Anurag Kar
3ed5af18fd
HTTP Server Example Tests : Fix various issues
...
* Fixed regex constraints for parsing IP and other parameters from monitor log.
* httplib connection timeouts set
* Redundent tests (commented out earlier) have been removed from advanced_tests. These tests are already run during unit testing.
2018-09-05 23:29:07 +05:30
Angus Gratton
5fbfd20f10
Merge branch 'master' into feature/cmake
2018-08-30 18:52:31 +08:00
Anurag Kar
e2b4ad8f6e
Temporary : Disable leak tests
2018-08-30 03:01:59 +05:30
Anurag Kar
e2da1d9905
http_server : Fix and enable example tests
...
This introduces the following changes in the example test scripts :
* Dependency on python requests library removed in favor of httplib
* Bug fixed in the logic responsible for receiving and processing http chunked responses
* Default timeouts increased Note : Due to connectivity issues (between runner host and DUT) in the runner environment, some of the advanced_tests are being ignored. These tests are intended for verifying the expected limits of the http_server capabilities, and implement sending and receiving of large HTTP packets and malformed requests, running multiple parallel sessions, etc. It is advised that all these tests be run locally, when making changes or adding new features to this component.
2018-08-30 03:01:59 +05:30
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Ivan Grokhotkov
ee3f64cbad
Merge branch 'feature/http_client_head' into 'master'
...
esp_http_client: add head method support
See merge request idf/esp-idf!2895
2018-08-08 20:58:39 +08:00
Angus Gratton
f1a4bc7c94
Merge branch 'feature/aws-iot-update-3.0.1' into 'master'
...
Feature/aws iot update 3.0.1
See merge request idf/esp-idf!2936
2018-08-08 07:14:58 +08:00
Ivan Grokhotkov
48149fa1b1
Merge branch 'bugfix/asio_test_socket_timeout' into 'master'
...
asio: added socket timeout for example tests
See merge request idf/esp-idf!2931
2018-08-07 21:49:09 +08:00
Anuj Deshpande
5efc33ce25
aws-iot: Make thing shadow example compatible with v3 of aws iot sdk
2018-08-07 11:28:54 +05:30
Angus Gratton
5f56f2ca01
Merge branch 'feature/nvs_version_check' into 'master'
...
nvs_flash: Version compatibility check for nvs storage
See merge request idf/esp-idf!2855
2018-08-07 13:31:49 +08:00
David Cermak
c0186858ad
asio: added socket timeout for example tests
2018-08-06 22:05:15 +02:00
zhangyanjiao
9063ce9dda
fix the crash when http2_request example send/recv fail
2018-08-06 11:39:01 +00:00
Sagar Bijwe
1df85e0039
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-05 00:00:56 +00:00
Angus Gratton
8b35d8ef25
asio example tests: Increase timeout for DHCP lease to 30s
...
Covers time to connect to WiFi and negotiate lease,
may be more than 5-10s on some busy APs
2018-08-03 16:59:23 +10:00
Jason Kölker
483c3d7a7b
esp_http_client: add head method support
...
Merges https://github.com/espressif/esp-idf/pull/2093
2018-07-31 11:08:31 +03:00
Ivan Grokhotkov
43baa7f2b9
Merge branch 'feature/cermak_asio_support' into 'master'
...
asio component and examples in esp-idf
See merge request idf/esp-idf!2509
2018-07-31 03:59:28 +08:00
Ivan Grokhotkov
4116c5a5f9
Merge branch 'bugfix/coap_client_parse_url' into 'master'
...
bugfix: unexpected host item when coap client parse a URL string
See merge request idf/esp-idf!2642
2018-07-31 03:58:06 +08:00
David Cermak
1ef13c524c
asio: initial idf port of asio library without ssl
2018-07-30 06:28:43 +00:00
He Yin Ling
2b7dd2ef9a
ci: temp modify http server tests to get CI pass:
...
1. change the default value of WIFI password
2. disable simple and advanced test cases
2018-07-27 23:38:20 +08:00
He Yin Ling
2d60e24056
ci: temp disable http client tests:
...
connection is not stable. need to replace with local test servers.
2018-07-27 19:45:12 +08:00
Angus Gratton
c3069b97f9
Merge branch 'bugfix/udp_multicast_example_leak' into 'master'
...
udp multicast example: Fix leak, change default port (and log UDP port in use)
See merge request idf/esp-idf!2834
2018-07-24 12:12:53 +08:00
Angus Gratton
b5db59ec31
Merge branch 'bugfix/http_client_enhanced' into 'master'
...
esp_http_client: Resolve some bugs from the github community
See merge request idf/esp-idf!2831
2018-07-23 17:55:49 +08:00
Angus Gratton
bf665ae62e
udp_multicast example: Change port to 3333 to match README, log port from example
2018-07-23 18:25:33 +10:00
Angus Gratton
5fb665dbaf
udp_multicast example: Fix memory leak from getaddrinfo() calls
...
Closes https://github.com/espressif/esp-idf/issues/2201
2018-07-23 18:25:33 +10:00
Tuan PM
6ef558320a
esp_http_client: Resolve some bugs from the github community
...
- Closes https://github.com/espressif/esp-idf/issues/2135
- Closes https://github.com/espressif/esp-idf/issues/2208
- Closes https://github.com/espressif/esp-idf/issues/2213
2018-07-23 12:22:19 +07:00
Anurg Kar
656bef7bb7
Http Server : Add a simple light weight HTTP Server Component.
...
Also add examples, docs and test apps for the HTTP Server.
2018-07-20 15:49:17 +05:30
Angus Gratton
f2f925de78
Merge branch 'bugfix/sh2lib_send_bug' into 'master'
...
sh2lib: Fix a bug in send
See merge request idf/esp-idf!2656
2018-07-16 16:29:03 +08:00
Angus Gratton
a67d5d89e0
Replace all DOS line endings with Unix
...
Command run was:
git ls-tree -r HEAD --name-only | xargs dos2unix
2018-07-12 19:10:37 +08:00
chenwu
4898135c15
coap: pass null-terminated string to gethostbyname
...
coap client parse a string by `coap_split_uri`,fetch host should by `host.length`
otherwise, would cause `gethostbyname` failed because of inappropriate parameter.
2018-07-02 10:05:03 +08:00
Kedar Sovani
fe1889b923
sh2lib: Fix a bug in send
2018-06-29 09:22:18 +05:30
chenwu
152a060425
fix: response failed when set a large response data
...
set the last parameter of `coap_pdu_init`, from size to COAP_MAX_PDU_SIZE
refer to https://github.com/obgm/libcoap.git/examples/contiki/coap-observer.c settings -> COAP_DEFAULT_MTU
close https://ezredmine.espressif.cn:8765/issues/23207
2018-06-26 17:13:25 +08:00
Angus Gratton
6d6cff03fb
esp_http_client example test: Increase timeout when redirecting to HTTPS
2018-06-15 16:33:37 +10:00
Angus Gratton
6b9784cc45
Merge branch 'master' into feature/cmake_update
2018-05-31 14:46:23 +10:00
Ivan Grokhotkov
cb649e452f
remove executable permission from source files
2018-05-29 20:07:45 +08:00
Tuan PM
ff528d13c7
Add esp_http_client
...
Add error handling for http client
set ssid password correct with Example_WIFI test, and clear password before free
Fixed the CI failure due to HTTP errror names
2018-05-21 09:35:07 +07:00
Roland Dobai
18e83bcd53
Allow VFS file descriptors in select()
2018-05-18 08:06:33 +02:00
Wayne Keenan
be707f1c6b
Fix potential NULL pointer dereference crash.
2018-04-30 08:03:35 +01:00
Angus Gratton
1cb5712463
cmake: Add component dependency support
...
Components should set the COMPONENT_REQUIRES & COMPONENT_PRIVATE_REQUIRES variables to define their
requirements.
2018-04-30 09:59:20 +10:00
Angus Gratton
800bffb8b0
cmake: Add CMakeLists.txt files for all examples
...
Generating using convert_to_cmake.py, with some minor cleanup
2018-04-30 09:59:20 +10:00
Angus Gratton
4f1a856dbf
cmake: Remove defaults for COMPONENT_SRCDIRS, COMPONENT_SRCS, COMPONENT_ADD_INCLUDEDIRS
...
* Philosophical: "explicit is better than implicit".
* Practical: Allows useful errors if invalid directories given in components as the defaults aren't
always used. Also trims the -I path from a number of components that have no actual include
directory.
* Simplifies knowing which components will be header-only and which won't
2018-04-30 09:59:20 +10:00