Harshit Malpani
933989125d
Update example test for esp_http_client
2021-10-05 16:58:23 +08:00
Marco Gigante
b40b22c136
Fix DCE deferencing crash in pppos example
...
Merges https://github.com/espressif/esp-idf/pull/7439
2021-10-04 16:09:27 +02:00
David Cermak
336de29413
Examples/pppos_client: Fix manual parsing to accept unexpected lines
...
Regression from a90817cda0
that caused
parsing exit in case of an unexpected result found (line handler
reported ESP_FAIL). Prevously if any error found in the line handler we
just posted an unexpected event, but continued with parsing. Fixed by
allowing for further parsing.
Related: https://github.com/espressif/esp-idf/issues/7176
2021-10-04 19:34:17 +08:00
Zim Kalinowski
002cd296e1
Merge remote-tracking branch 'origin/master' into feature/github-7022
2021-10-03 12:25:39 +08:00
Harshit Malpani
3203b42c87
Updated the root certificate of https examples
2021-10-01 13:02:48 +05:30
KonstantinKondrashov
709abee65c
example_tests: Deletes usage esp32c3 ECO0 in CI (by default ECO3)
2021-09-24 13:55:07 +08:00
David Čermák
092f53cea6
Merge branch 'bugfix/pppos_client_manual_pattern_detection' into 'master'
...
Examples/pppos_client: Remove uart pattern detection
Closes IDFGH-5435
See merge request espressif/esp-idf!15053
2021-09-22 14:09:42 +00:00
Jiacheng Guo
b7a99f4658
mdns: allow mutiple instances with same service type
2021-09-22 13:07:31 +08:00
David Cermak
a90817cda0
Examples/pppos_client: Remove uart pattern detection
...
Due to these problems
* possible race condition, two events competing
* pattern detection work a little different for different IDF versions
* switching between pattern detection and data reading is complicated
* using just data events is easier for porting to a different communication peripheral
These changes were made:
* Removed the UART pattern detection entirely
* Used manual pattern detection after reading plain data from the UART
Closes https://github.com/espressif/esp-idf/issues/7176
2021-09-21 10:12:54 +02:00
Alex Lisitsyn
cd27a44107
Merge branch 'bugfix/modbus_fix_stack_reinitialization_sequence' into 'master'
...
freemodbus: fix TCP stack/examples reinitialization sequence
Closes IDFGH-4432
See merge request espressif/esp-idf!12123
2021-09-17 11:13:57 +00:00
Alex Lisitsyn
c965b48e77
freemodbus: fix TCP stack/examples reinitialization sequence
2021-09-17 19:13:48 +08:00
Mahavir Jain
8b4c0e71a9
Merge branch 'feature/mbedtls_session_ticket_support' into 'master'
...
Feature/mbedtls session ticket support
Closes IDFGH-5288 and IDF-3242
See merge request espressif/esp-idf!14496
2021-09-17 09:59:02 +00:00
Fu Hanxi
923e862ed2
ci: temporarily disable s3 build for a few examples
2021-09-16 12:20:11 +08:00
Laukik Hase
88f9a6b90f
Update README.md: Added information about session ticket feature
...
- Enabled client session tickets as default in https_request example
2021-09-15 22:19:04 +05:30
Aditya Patwardhan
695f1b6503
Added demo to showcase use of client session tickets
...
* Added required example test
2021-09-15 22:19:04 +05:30
Harshit Malpani
294b805f31
docs: Updated protocols/http* examples READMEs
2021-09-13 09:55:19 +05:30
David Cermak
008d677746
http_server: Fix docs for ws server user implementation
...
Closes https://github.com/espressif/esp-idf/issues/7027
2021-09-09 17:16:48 +08:00
David Cermak
f0ecd70fd7
Examples/PPPoS: Warn about not supporting in v5.0
2021-09-08 09:58:14 +02:00
Mahavir Jain
bc3c9d27f6
Merge branch 'feature/esp-mqtt_esp32s3_support' into 'master'
...
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
Closes IDF-3859
See merge request espressif/esp-idf!15065
2021-09-06 09:52:29 +00:00
Sachin Billore
667017d517
ESP32S3 support for ESP-MQTT SSL Mutual Authentication with Digital Signature
...
Closes IDF-3859
2021-09-06 11:17:30 +05:30
Mahavir Jain
d5f58ab135
Merge branch 'feature/captive_portal' into 'master'
...
Captive Portal Example
Closes IDFGH-5347, IDFGH-1868, and IDF-1123
See merge request espressif/esp-idf!14726
2021-09-03 09:04:18 +00:00
Suren Gabrielyan
a06357ab62
examples: Asio tests consolidation to use loopback interface
...
Closes IDF-3072
2021-08-31 23:39:18 +04:00
Jon Shallow
ed3d440428
libcoap_430: Update code for use with libcoap 4.3.0
...
Remove no longer needed code from coap_server/coap_client.
Add in multicast support for coap_server/coap_client.
Update libcoap logging to use esp-idf logging
Signed-off-by: Harshit Malpani <harshit.malpani@espressif.com>
2021-08-31 12:05:30 +08:00
Vikram Dattu
5691c9a8e8
Added support for security1 in local control
...
1. Added config options to chose from protocom security.
It can be chosen 0/1 or custom.
Possible to set POP as well
2. Added support in `esp_local_ctrl.py` test script for sec_ver selection
Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2021-08-26 17:35:09 +08:00
David Čermák
2417b9361f
Merge branch 'feature/lwip_sntp_max_servers' into 'master'
...
lw-ip: Add config option for sntp max servers (GitHub PR)
Closes IDFGH-5616
See merge request espressif/esp-idf!14590
2021-08-25 08:10:21 +00:00
Guo Jia Cheng
e5766eb3d3
Merge branch 'feature/mdns-async-callback' into 'master'
...
mdns: add notification callback for async APIs
See merge request espressif/esp-idf!14760
2021-08-25 03:34:00 +00:00
David Cermak
e54523708d
Merge branch 'master' into feature/lwip_sntp_max_servers
2021-08-24 18:16:07 +02:00
Laukik Hase
dd3d27a03c
Added Feature: Example for Captive Portal system.
...
Feature note: Sets up a simple DNS server that answers all questions with the ESP softAP's IP as well as a HTTP server which redirects all requests to a captive portal welcoming page.
Triggers captive portal detection (log-in screen popup) for iOS, Android and Windows.
Includes example test for testing DNS redirect and HTTP redirect.
Closes https://github.com/espressif/esp-idf/issues/7099
Closes https://github.com/espressif/esp-idf/issues/4075
2021-08-24 10:47:14 +05:30
Jiacheng Guo
986603cf07
mdns: add notification callback for async APIs
2021-08-17 16:53:37 +08:00
Jiacheng Guo
76ec76c12c
mdns: add more mdns result attributes
2021-08-11 19:02:05 +08:00
Emil Muratov
34be62665c
lwip: menuconfig option to enable ntp servers option request via DHCP
...
This could be toggled on/off, off is the default.
SNTP debug option. Example update for ntp via DHCP
Signed-off-by: Emil Muratov <gpm@hotplug.ru>
2021-08-02 01:21:35 +03:00
Axel Lin
d6248eaf9b
Examples: esp_modem_dce_service: Make esp_modem_dce_handle_* functions static
...
These functions are unlikely to be reused, make them static.
Take esp_modem_dce_handle_cbc as an example, it's internal implementation
of esp_modem_dce_get_battery_status, expose esp_modem_dce_get_battery_status
function is enough.
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/7266
2021-07-26 11:48:15 +02:00
Marius Vikhammer
b691001cc1
Merge branch 'docs/fix_readme_links' into 'master'
...
docs: fixed two dead readme links
See merge request espressif/esp-idf!14461
2021-07-21 10:53:49 +00:00
David Čermák
dbbf219d85
Merge branch 'feature/add_dns_config' into 'master'
...
example: Add DNS configure and test for static ip example
Closes IDFGH-5523
See merge request espressif/esp-idf!14324
2021-07-21 10:30:31 +00:00
Marius Vikhammer
11ea7c9072
docs: fixed two dead readme links
2021-07-21 15:20:57 +08:00
yuanjm
1b68ad93ad
example: Add DNS configure and test for static ip example
...
Closes https://github.com/espressif/esp-idf/issues/7251
2021-07-21 14:46:59 +08:00
Aditya Patwardhan
9b5747c370
Update the coap client example URL and README
...
Closes https://github.com/espressif/esp-idf/issues/7219
2021-07-21 12:58:24 +08:00
Aditya Patwardhan
6a7e15d019
Disable the example test for http2 request example.
...
As the certificate for http2.golang.org has expired.
It will be enabled once the cert is updated or an alternative has been
found.
2021-07-13 13:21:08 +08:00
David Čermák
cd47ba03bc
Merge branch 'bugfix/mdns_lwip_agnostic' into 'master'
...
mdns: Clean the main mdns module from lwip dependencies
See merge request espressif/esp-idf!14187
2021-07-07 11:58:18 +00:00
Cao Sen Miao
3aa9ac2469
usb_serial_jtag: Add blocking driver to support vfs.
2021-07-05 11:22:38 +08:00
David Cermak
042fa1831e
CI: mdns example test: start responder after valid IP
...
to clean up the test and not to pollute the network unnecessarily.
Also keeps sending the delegated query until a response found
2021-07-01 15:45:17 +02:00
David Cermak
d81482d699
mdns: Add asynchronous query API
...
Closes https://github.com/espressif/esp-idf/issues/7090
2021-06-30 17:20:30 +04:00
David Cermak
07de534191
examples: Move non-block socket examples to a single app
...
To simplify the examples, reused the boiler plate and statics and mainly
for testing on localhost interface with no physical network.
2021-06-25 20:46:49 +08:00
suren.gabrielyan
e8bbe2f94f
examples: Added non blocking sockets example tests
...
Closes https://github.com/espressif/esp-idf/issues/6675
2021-06-25 20:46:49 +08:00
David Čermák
8d476269d6
Merge branch 'bugfix/ci_move_udp_socket_tests_to_eth_runners' into 'master'
...
CI: Adjust UDP socket tests to be more reliable
Closes IDFCI-528
See merge request espressif/esp-idf!14080
2021-06-24 05:53:48 +00:00
David Čermák
3452c5f194
Merge branch 'feature/mdns-value-len' into 'master'
...
mdns: allow explicit txt value length
See merge request espressif/esp-idf!13981
2021-06-23 14:53:48 +00:00
David Cermak
bc3adaded3
CI/socket examples: Add UDP operation retries, wait until server is up
2021-06-23 07:36:27 +02:00
Aditya Patwardhan
02820a90f7
Add sdkconfig which disables all menuconfig options in mbedtls.
2021-06-21 17:53:22 +05:30
Jiacheng Guo
b4e0088b68
mdns: allow explicit txt value length
2021-06-16 17:47:07 +08:00
David Čermák
a09e413fb6
Merge branch 'feature/add-mdns-delegation' into 'master'
...
mdns: add host and service delegation
See merge request espressif/esp-idf!13063
2021-06-10 13:58:32 +00:00
Chen Yudong
b3b71bc8ab
CI: fix connection failures in asio example tests
2021-06-07 04:04:14 +00:00
Jiacheng Guo
a4f263948c
mdns: fix test script delayed response
2021-06-04 10:44:36 +08:00
Jiacheng Guo
e6135552d2
mdns: fix wrong SRV/PTR record handling
2021-06-04 10:44:36 +08:00
Jiacheng Guo
d2a5d25984
mdns: fix mdns probe/reply behavior
...
* send correct hostnames when probing.
* add test for mdns host delegation.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2d34352f3d
mdns: make delegate host address a list
...
Also adds unit test and doc string for new apis.
2021-06-04 10:44:36 +08:00
Jiacheng Guo
2174693096
mdns: add remove delegate host api
2021-06-04 10:44:36 +08:00
Jiacheng Guo
401ff56cc1
mdns: add mdns delegation
...
This allows publishing mdns services for other devices.
2021-06-04 10:44:36 +08:00
Tomas Sebestik
f658e19d91
Add longer dut.expect timeout DNS -> 30s
2021-05-31 17:40:54 +02:00
Angus Gratton
e305f29382
asio coap: If LWIP IPV6 is disabled, automatically don't build asio & coap
...
- Removes need to manually exclude these components as shown at
https://github.com/espressif/esp-idf/issues/3781#issuecomment-825742378
- Hide the config for these components if IPV6 is disabled
- The components are still included in the build, but with no source
files
2021-05-20 19:53:00 +10:00
Andrey Starodubtsev
6e343c1f8b
Fix typo
...
s/\bUnknow\b/Unknown/g
2021-05-14 18:26:22 +03:00
Akihiro YAMAZAKI
24225e5c16
examples/esp_http_client: output_buffer
isn't necessarily NUL-terminated
...
Closes https://github.com/espressif/esp-idf/pull/6927
Closes IDFGH-5150
2021-05-10 05:45:59 +00:00
suren.gabrielyan
823abfdfd5
examples: Add esp-ssl example tests server/client
...
Closes IDF-1156
2021-04-21 16:18:03 +04:00
Angus Gratton
209a6cc855
Merge branch 'bugfix/check_partitions_fit' into 'master'
...
cmake partition_table: Check binaries fit in partition spaces at build time
Closes IDF-1539 and IDFGH-2503
See merge request espressif/esp-idf!9330
2021-04-19 07:33:36 +00:00
morris
9e0c9e8551
restful_example: upgrade axios
2021-04-19 11:51:56 +08:00
Angus Gratton
920edd4e73
partition_table: Add a "single factory app (large)" option for 1.5MB app size
...
Needed to build some examples in their default configurations (especially
ESP32-C3). Wasn't noticed until the CI checks for partition size were added.
2021-04-16 16:40:47 +10:00
Shubham Kulkarni
0a395134d4
Split example_tests with Example_WIFI tag group into Example_OTA and Example_Protocols
2021-04-15 04:00:06 +00:00
David Cermak
fd47dd4bea
Examples/PPPoS: Fix pppos SMS send potential timeout in prompt waiting
2021-04-14 07:50:10 +02:00
Liu Han
6471396ae6
esp_modem: Fixed send data and wait for prompt fail from DCE
...
Closes https://github.com/espressif/esp-idf/issues/6428
Closes https://github.com/espressif/esp-idf/issues/6651
2021-04-14 07:50:09 +02:00
David Čermák
36fcdc482a
Merge branch 'feature/add_static_ip_example' into 'master'
...
examples: Add static IP example
Closes IDF-2518
See merge request espressif/esp-idf!12333
2021-04-12 15:43:35 +00:00
David Čermák
1b6b05f1ab
Merge branch 'bugfix/pppos_configs' into 'master'
...
esp-modem: Add options to support LCP ECHO and UART_ISR_RAM in the example
Closes IDFGH-2470 and IDFGH-4759
See merge request espressif/esp-idf!12962
2021-04-12 14:30:38 +00:00
yuanjm
9c9b96deff
examples: Add a separate static_ip example
2021-04-12 05:32:48 +00:00
Angus Gratton
936523b904
Merge branch 'feature/secure_bootv2_c3' into 'master'
...
secure_boot_v2: Support SB_V2 for ESP32-C3 ECO3
Closes IDF-2647
See merge request espressif/esp-idf!13040
2021-04-12 01:31:25 +00:00
Aditya Patwardhan
b40df07521
http2_request/sh2lib: Modified the "sh2lib_connect" API to take in a new
...
defined `struct sh2lib_config_t` which contains required config options.
Modified the http2_request_example with the required changes.
2021-04-09 10:24:15 +00:00
David Cermak
b6f0b9ae2a
esp_modem: Add option which enables UART_ISR_IN_IRAM to support OTA
...
Closes https://github.com/espressif/esp-idf/issues/4582
2021-04-09 06:53:30 +00:00
David Cermak
37b694559f
esp_modem: Add option to support for LCP keepalive
...
Closes https://github.com/espressif/esp-idf/issues/6562
2021-04-09 06:53:30 +00:00
KonstantinKondrashov
ec4de4fe5c
example_tests: CI uses ECO0 for esp32c3 tests
2021-04-09 14:26:06 +08:00
David Čermák
e412c52829
Merge branch 'bugfix/dangling_dce_when_init_fails' into 'master'
...
reset DCE pointer in DTE if we failed to init modem
Closes IDFGH-4936
See merge request espressif/esp-idf!12897
2021-04-09 06:14:54 +00:00
Floris Romeijn
2610e9c22d
Examples/esp_modem: Reset DCE pointer in DTE on failure
...
if we failed to init modem so we can e.g. retry later
Merges https://github.com/espressif/esp-idf/pull/6727
2021-04-08 16:50:38 +00:00
Euripedes Rocha
98930e7be2
bugfix/mqtt examples: Updates the CA certificates used.
...
- Updates the CA certificates.
- Updates the URI names to reflect the new URI in the service used in
the examples.
Closes IDFGH-4986
Closes https://github.com/espressif/esp-idf/issues/6776
2021-04-08 15:24:43 +00:00
David Čermák
32ccbcdf8c
Merge branch 'bugfix/pppos_netif_clear_ip_event' into 'master'
...
esp_modem: Fixed modem netif deinit to clear IP events
Closes IDFGH-5000
See merge request espressif/esp-idf!12964
2021-04-07 11:37:36 +00:00
David Cermak
7872057976
esp_modem: Fixed modem netif deinit to clear IP events
...
Function esp_modem_netif_clear_default_handlers() didn't unregister
event handlers from IP related events, so if the netif modem was
reinitialized the previous handler was called with already destroyed
esp_netif handle.
Closes https://github.com/espressif/esp-idf/issues/6787
2021-04-07 06:56:30 +00:00
Aditya Patwardhan
f66bdf1233
esp_http_client: Enable support of crt_bundle in esp_http_client
2021-04-07 05:31:21 +00:00
Aditya Patwardhan
81b96ec06b
Fix esp_http_client example: Set proper server verification by adding the postman root cert for https_async demo
...
test case.
2021-04-07 05:31:21 +00:00
Shubham Kulkarni
4f6e0c1d27
esp_http_client: Add config option for HTTP Digest auth
2021-03-23 11:58:35 +05:30
Jiri Schiebel
0c58d5fc6a
lwip: added config option to enable LWIP_NETIF_API
2021-03-17 17:53:07 +00:00
Aditya Patwardhan
a06dbc11a7
https_mbedtls_example: Add minimum free heap print in the example and
...
respective check in the example_test.py
2021-03-16 17:15:56 +05:30
Michael (XIAO Xufeng)
be30289364
Merge branch 'feature/c3_example_tests' into 'master'
...
CI: add Example_GENERIC for C3
Closes IDF-2935
See merge request espressif/esp-idf!12557
2021-03-16 09:43:38 +00:00
yuanjm
3874c20b5d
esp_http_server: Fix examples parse ws keep-alive packet fail.
2021-03-16 09:55:02 +05:30
Aditya Patwardhan
54b2b88e9e
https_server/wss_server: Added example_test
2021-03-16 09:55:02 +05:30
Aditya Patwardhan
7c68c7a318
https_server_simple: Added example test
2021-03-16 09:55:02 +05:30
Aditya Patwardhan
d51c41d4c5
http_server/file_serving: Added example test
...
* Fixed unsused function warning
2021-03-16 09:55:01 +05:30
Aditya Patwardhan
4b7eaa1d1f
http_request_example: Added example test
2021-03-16 09:55:01 +05:30
Aditya Patwardhan
31ddfbb7a6
https_mbedtls_example: Added example test
2021-03-16 09:55:01 +05:30
Aditya Patwardhan
dc62958241
http2_request_example: Added example test
2021-03-16 09:55:01 +05:30
Marius Vikhammer
c85d949c1f
ci: run Example_GENERIC for C3
...
Add support for running example_GENERIC tests for C3 on label.
Fix examples that fail.
2021-03-15 10:27:07 +08:00
yuanjm
a1d5cfc260
example: Identify the callback whether is hanshake or frame-receive by req->method
...
Now the uri handler gets called immediately after the handshake. In the handler we can identify that this was the handshake by checking req->method as it is still a GET from the first part of the handshake the client has sent. On a normal websocket-frame-receive (when normally a websocket uriHandler gets called) this field is set to 0
Closes https://github.com/espressif/esp-idf/issues/6597
2021-03-09 07:32:15 +00:00
mjcross
03901946ba
Explain how to fix 'httpd_parse: header too long'
...
Because this is the 'simple' server example, it is probably where users will start out to understand the HTTP Server API; and also where they might come if they are having problems.
So I think it is useful to explain to users what to do if they see "httpd_parse: parse_block: request URI/header too long", which can easily happen if they submit a POST from an HTML form (for example). That certainly would have helped me!
Merges https://github.com/espressif/esp-idf/pull/6547
Signed-off-by: Shubham Kulkarni <shubham.kulkarni@espressif.com>
2021-03-04 04:08:47 +00:00
Liu Han
b3a35e3d4e
pppos-client: Refactor modem component
...
Merges https://github.com/espressif/esp-idf/pull/6483
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
42aaefe218
Remove duplicated empty lines
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
3968660b2a
Move DCE_CHECK in the esp_modem_dce
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
de239f151f
Edit comments with protocol foreach methods
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
a77e9a8ab9
Move typedef with private resource into esp_modem_dce.h
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
Jonathan Dreyer
ea1df995f8
Move commun methods in DCE and align few methods
...
Signed-off-by: Jonathan Dreyer <jonathan.dreyer@cleanenergie.ch>
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-03-01 17:10:48 +00:00
David Cermak
3748b4ac57
esp_modem: Add specific power-down command for SIM7600
2021-02-26 17:16:28 +01:00
David Čermák
00432fa2c3
Merge branch 'feature/update_mqtt_test_url' into 'master'
...
Feature/update mqtt test url
See merge request espressif/esp-idf!12473
2021-02-26 16:09:38 +00:00
aleks
0d3f19beea
freemodbus: fix mb zero based reg address in the iterator
...
Fixes https://github.com/espressif/esp-idf/issues/6571
2021-02-25 15:17:45 +01:00
yuanjm
cd521d4ae3
esp_http_server: support dynamic payload len for ws server
...
Closes https://github.com/espressif/esp-idf/issues/6433
2021-02-24 11:40:34 +00:00
yuanjm
f8d27ebd76
examples: Make tcp_server example support tcp keepalive function
2021-02-23 18:26:03 +08:00
yuanjm
b06a588263
examples: Use CONFIG_LWIP_IPV6 to strip tcp_server example
2021-02-23 18:26:03 +08:00
yuanjm
821eea45b3
examples: Strip IPv6 function in example and use sockaddr_storage to replace sockaddr_in6
2021-02-23 18:26:03 +08:00
yuanjm
ca037eba9b
examples: Update mqtt open source test server address
2021-02-23 15:29:07 +08:00
Fu Hanxi
fc7b962e54
bugfix: fix http_server example sdkconfig file name
2021-02-22 15:50:52 +08:00
David Cermak
41146d674f
ci: Update pppos client test regex with esp-tls transport layer
2021-02-16 09:01:35 +01:00
David Cermak
b4d792446c
examples/mqtt: Use common transport for setting log severity
2021-02-16 09:00:43 +01:00
Euripedes Rocha Filho
b5682610b6
examples/mqtt: Cleanup on examples
...
- Removes extra callback function, the code from the callback is integrated into the event handler code.
- Clarify usage of handler args, pass NULL as callback data instead of client, to avoid user confusion,
and add documentation on usage of handler_args.
2021-02-11 07:29:29 +01:00
Liu Han
94512a76b7
example/http_server: add basic authenticated example to HTTP server
...
Closes https://github.com/espressif/esp-idf/issues/5646
2021-02-10 05:23:01 +00:00
Marius Vikhammer
04df1f3a42
CI: enable example builds for C3
...
Enables building C3 examples in CI.
Fixes related warnings/errors and disables examples that cannot run.
2021-02-09 12:04:02 +08:00
David Cermak
c6339d0b4c
ci: Make the mqtt example test to send only portion of the partition
...
This makes the test faster and more robust in very a busy WiFi environment
(our CI) and still exercises the scenario of fragmenting the message on
both mqtt and ssl levels (binary size to send > mqtt buffer size)
2021-02-02 14:25:57 +01:00
Mahavir Jain
d34acd0d82
examples/protocols: update www.howsmyssl.com certificate to fix test failures
2021-01-29 19:06:24 +05:30
Alex Lisitsyn
96b77a28b1
freemodbus: add support for list of area descriptors for each register area
...
add multi register area descriptors into concrete port (initial)
add create/destroy of area descriptors into concrete port
add the list of descriptors in common slave interface structure and init/destroy in concrete slave port
move r/w callback functions into common slave
final update of common slave interface wrappers add override API option in concrete port
update slave examples to check new feature
2021-01-28 12:29:32 +08:00
Fu Hanxi
0146f258d7
style: format python files with isort and double-quote-string-fixer
2021-01-26 10:49:01 +08:00
Jiang Jiang Jian
76bb9565af
Merge branch 'bugfix/fix_wifi_interface_use' into 'master'
...
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
See merge request espressif/esp-idf!12050
2021-01-25 12:18:27 +08:00
David Čermák
a461f8f115
Merge branch 'bugfix/ws_transport_ping' into 'master'
...
ws_transport: Add option to propagate control packets to the app
Closes IDFGH-4478
See merge request espressif/esp-idf!11957
2021-01-22 19:21:43 +08:00
David Cermak
acc7bd2ca4
ws_transport: Add option to propagate control packets to the app
...
Client could choose if they want to receive control packets and handle
them.
* If disabled (default) the transport itself tries to handle PING
and CLOSE frames automatically during read operation. If handled
correctly, read outputs 0 indicating no (actual app) data received.
* if enabled, all control frames are passed to the application to be
processed there.
Closes https://github.com/espressif/esp-idf/issues/6307
2021-01-22 07:22:41 +00:00
Aditya Patwardhan
7c11988d19
configure_ds.py: Fix double quoted strings ( pre_hook check )
2021-01-22 12:11:04 +05:30
Aditya Patwardhan
79c23a1886
esp32c3/Digital Signature: mbedtls integration through ESP-TLS
2021-01-22 11:54:16 +05:30
Aditya Patwardhan
b06fa1d7c2
https_request_example: Updated the example to showcase cacert_buf and global_ca store
...
* Made required changes in the example_test
2021-01-21 01:17:23 +00:00
xiehang
b8a8fe3f54
esp_wifi: Modify ESP_IF_WIFI_STA to WIFI_IF_STA
2021-01-19 11:55:44 +08:00
Aditya Patwardhan
64e543ed0a
http2_request: Enable insecure TLS by default
2021-01-18 16:05:46 +05:30
Mahavir Jain
526f682397
Merge branch 'bugfix/httpd_session_close_lru' into 'master'
...
esp_http_server: Add flag in sock_db to identify httpd_sess_close is called from httpd_session_close_lru
Closes IDF-2443
See merge request espressif/esp-idf!11543
2021-01-15 20:06:00 +08:00
Shubham Kulkarni
59869bf610
http_server example: Add example test which opens multiple connections
2021-01-15 05:53:41 +00:00
Aditya Patwardhan
f97aed80c2
configure_ds.py: Add function documentation for improving redability.
2021-01-14 22:40:40 +05:30
Aditya Patwardhan
5331bc2c71
esp32s2/configure_ds.py: The script now reads and parses the efuse summary of
...
the esp32-s2 chip.
* Added option to read and use previously burned efuse keys
* Added option for the user to save the DS parameters for
* development purpose.
* Updated required documentation.
2021-01-14 22:40:40 +05:30
Shubham Kulkarni
6f91d408ab
file_serving example: Demonstrate use of connection close header from request headers
...
Closes: https://github.com/espressif/esp-idf/issues/5775
2021-01-13 13:01:15 +00:00
Liu Han
7f3bcc13d7
esp-modem: prefix the crash issue both bg96 and sim800l in OVERALL mode
2021-01-11 13:47:33 +00:00
Ash
935edc9e09
rename dce parameter
...
Merges https://github.com/espressif/esp-idf/pull/5750
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
Robert Nuttall
d59ffd9128
Expose get operator name command. Add get access tech
...
Signed-off-by: Liu Han <liuhan@espressif.com>
2021-01-11 13:47:33 +00:00
Euripedes Rocha Filho
61f8dc4365
examples/mqtt : Fix ssl mutual auth to use event loop
...
The example for mqtt ssl mutual authentication is now using the event
loop. Thi modification makes it uniform with all the other mqtt
examples.
2021-01-08 07:38:14 +00:00
David Cermak
1c093c48ed
Examples: MQTT DS example to use ds_peripheral API
2021-01-05 12:04:36 +00:00
Shubham Kulkarni
3452e06e7e
https_request example: Perform request over HTTP/1.1 to enable keepalive timeout
...
Closes: https://github.com/espressif/esp-idf/issues/6133
2021-01-04 15:39:39 +05:30
David Cermak
25499115eb
ci: Made socket tests more robust
...
Added common timeout
Added debug logs for both addr families
Renamed example tests to have different names
2020-12-29 13:22:54 +00:00
Marius Vikhammer
9fc771ad1b
CI: change icmp example test address
...
Use a server that is inside the great firewall of china for CI test.
This avoid issues due to proxies, network configs etc.
2020-12-28 10:07:00 +08:00
David Cermak
55d41c3377
esp_modem: Fixed race condition on exiting PPP mode
...
esp_modem_stop_ppp() stops both ppp netif and switches the modem back to
command mode. IF these two actions are not synchronised, we might
experience issues of
* active PPP session trying to send/receive uart-data
* command mode already active before modem switched to it
both resulting in crashes.
Fixed by introducing the transition mode and running these actions in sequence
* set esp-modem to transition mode
* enter command mode, wait for the reply or re-sync
* close the PPP netif
* wait until the netif closes
Other fixes include ignoring certain events if modem component not ready
or not in appropriate mode:
* ignoring all UART events comming from DTE with no DCE attached
* ignore pattern detection in PPP mode
Closes https://github.com/espressif/esp-idf/issues/6013
Closes https://github.com/espressif/esp-idf/issues/5737
Closes https://github.com/espressif/esp-idf/issues/6024
Closes https://github.com/espressif/esp-idf/issues/6058
Closes https://github.com/espressif/esp-idf/issues/5563
Closes https://github.com/espressif/esp-idf/issues/5695
Closes https://github.com/espressif/esp-idf/issues/5633
Closes https://github.com/espressif/esp-idf/issues/4482
Related https://github.com/espressif/esp-idf/pull/4849
Related https://github.com/espressif/esp-idf/pull/4653
2020-12-21 16:38:20 +01:00
Shubham Kulkarni
60749b5483
esp_http_client example: Update example to demonstrate partial HTTP downloads
2020-12-03 09:39:16 +00:00
Mahavir Jain
0a933f66e3
Merge branch 'fix/https_server_mem_leak_for_error_ret' into 'master'
...
Fix/https server mem leak for error ret
Closes IDFGH-4300
See merge request espressif/esp-idf!11369
2020-11-26 00:11:58 +08:00
Aditya Patwardhan
df0b016cfd
Fixed typo in configure_ds.py script commmand.
2020-11-25 13:47:48 +05:30
He Yin Ling
a908174c06
test: remove fake binary size check in example test:
...
the binary size check in example test was removed long time ago. Now we
have updated ttfw_idf to raise exception when performance standard is
not found. These fake performance check will be regarded as error.
Remove them now.
2020-11-24 17:53:33 +08:00
David Čermák
ae30617810
Merge branch 'feature/mqtt_submodule_update_23c8e1ec' into 'master'
...
MQTT: Update submodule reference to da850b (config, error flags, minor fixes)
Closes IDFGH-4033
See merge request espressif/esp-idf!11225
2020-11-20 17:21:02 +08:00
Anton Maklakov
c82799c9c8
Merge branch 'feature/support_python3_ci' into 'master'
...
ci: All jobs use python3 by default
See merge request espressif/esp-idf!11154
2020-11-20 15:01:01 +08:00
David Cermak
c31cd77d43
examples: make mqtt tcp example to report tcp-transport errno
2020-11-19 17:25:04 +01:00