David Cermak
716298f8e3
esp-netif-ppp: support for posting GOT_IP event for IPv6
2020-04-01 08:52:54 +02:00
Francesco Giancane
38060c0b58
examples: pppos_client: update sdkconfig.defaults
...
As per discussion in #4782 , IPV6 link local negotiation by default is
disabled.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
2020-04-01 08:52:54 +02:00
Angus Gratton
2241dda536
Merge branch 'feature/netif_ppp_authtype_none_v4.1' into 'release/v4.1'
...
esp-netif: PPPoS fixes (v4.1)
See merge request espressif/esp-idf!7849
2020-03-09 13:34:16 +08:00
Francesco Giancane
2afafe890a
esp_modem.c: post PPP stop event when requested
...
When library users call esp_stop_ppp(), it is expected that the PPP link
is closed and the DCE is moved into command mode.
If the STOP event is not posted into the event loop, then the PPP stack
would not be turned off, resulting in the impossibility to switch into
command mode, as the modem is still sending PPP binary data.
Signed-off-by: Francesco Giancane <francesco.giancane@accenture.com>
Merges https://github.com/espressif/esp-idf/pull/4642
2020-03-05 09:23:21 +01:00
David Cermak
23c5770156
esp_netif_lwip_ppp: fix posting ip-event data
...
Closes https://github.com/espressif/esp-idf/issues/4634
2020-03-03 15:00:37 +01:00
Roland Dobai
de3eed647f
Docs: Encourage to used Python 3
2020-02-26 09:11:13 +01:00
Axel Lin
c67c3aa14e
pppos_client: Fix power_down dce immediately after got IP
...
This was accidently commited bug when convert to use esp-netif, fix it.
Fixes: 25913af2cc
("pppos_client: udated example code to use esp-netif in PPP configuration")
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Merges https://github.com/espressif/esp-idf/pull/4618
2020-01-30 12:00:23 +00:00
David Cermak
7261e72ef7
http_client: fix example test to expect -1 as content-len for chunked transfer
2020-01-27 10:36:32 +01:00
Angus Gratton
8bc618f070
Merge branch 'feature/sntp_add_desc' into 'master'
...
docs: Add System time chapter and for sntp a description about using...
Closes IDFGH-2237, IDF-1199, and IDF-38
See merge request espressif/esp-idf!6818
2020-01-10 13:29:47 +08:00
Konstantin Kondrashov
2c793cef06
idf: Support a custom toolchain with time_t wide 64-bits
...
Allows resolving the Y2K38 problem.
Closes: IDF-350
Closes: https://github.com/espressif/esp-idf/issues/584
2020-01-10 12:58:54 +08:00
KonstantinKondrashov
c23549c04f
docs: Add System time chapter and for sntp a description about using CONFIG_LWIP_SNTP_UPDATE_DELAY option
...
Closes: https://github.com/espressif/esp-idf/issues/4386
Closes: IDFGH-2237
Closes: IDF-1199
2020-01-10 14:49:07 +11:00
Angus Gratton
4ece6eedae
Merge branch 'bugfix/ws_rcv_exceed_buf' into 'master'
...
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
Closes IDF-1084 and IDF-1083
See merge request espressif/esp-idf!6740
2020-01-09 13:18:31 +08:00
Mahavir Jain
8bfb32735f
Merge branch 'bugfix/use_mbedtls_spiram_strategy' into 'master'
...
Use mbedtls SPIRAM strategy in example_test.py
Closes IDF-1293
See merge request espressif/esp-idf!7132
2020-01-07 11:37:08 +08:00
Marius Vikhammer
ffeda3003c
tcp_transport/ws_client: websockets now correctly handle messages longer than buffer
...
transport_ws can now be read multiple times in a row to read frames larger than the buffer.
Added reporting of total payload length and offset to the user in websocket_client.
Added local example test for long messages.
Closes IDF-1083
2020-01-06 17:18:13 +08:00
Shubham Kulkarni
563175d90a
mbedtls: Use SPIRAM strategy in example_test.py
2020-01-03 15:30:03 +05:30
Jakob Hasse
bcefbb03ad
examples: using xEventGroup bits properly
...
Closes IDF-1177
* changed
../../wifi/getting_started/station/README.md
../../wifi/getting_started/station/main/station_example_main.c
2020-01-03 16:10:27 +08:00
Mahavir Jain
9ef8cafeca
file_server: fix issue with sending last chunk
...
Closes: https://github.com/espressif/esp-idf/issues/4528
Closes IDFGH-2414
2019-12-23 12:01:16 +05:30
Angus Gratton
30372f5a4f
Merge branch 'docs/esp_netif_programmer_manual' into 'master'
...
esp netif: formal fixes (docs and c++ sentinels again)
Closes IDFGH-2265
See merge request espressif/esp-idf!6819
2019-12-18 13:12:36 +08:00
Angus Gratton
43fe904260
Merge branch 'feature/ws_local_server_test' into 'master'
...
websocket_client: added example_test with a local websocket server
Closes IDF-907
See merge request espressif/esp-idf!6366
2019-12-18 11:15:33 +08:00
David Cermak
74d768fe6d
ci: updated mqtt weekend test for qemu support
...
Added default sdkconfig for qemu build for the mqtt publish example,
Added environment configuration for running the same test on target
or in qemu
Updated missing example tests per latest ttfw refactoring
2019-12-17 14:06:40 +01:00
David Cermak
31b2702387
esp_netif, examples: esp_netif_init() moved into ESP_ERROR_CHECK()
...
esp_netif_init() returns standard esp_err_t error code (unlike tcpip_adapter init), so shall be checked for the return value
Also to make the initialization code more consistent.
2019-12-17 09:07:49 +01:00
David Cermak
04a25394aa
esp_modem: add simple compatibility layer for new esp_modem connecting over esp-netif
2019-12-16 17:34:10 +00:00
David Cermak
25913af2cc
pppos_client: udated example code to use esp-netif in PPP configuration
2019-12-16 17:34:10 +00:00
Marius Vikhammer
67c5225c14
websocket_client: added example_test with a local websocket server
...
- Added a example test that connects to a local python websocket server.
- Added readme for websocket_client example.
Closes IDF-907
2019-12-12 11:00:58 +08:00
Alex Lisitsyn
ba1ee4092a
freemodbus: fix merge issues
2019-12-10 14:30:25 +08:00
Alex Lisitsyn
44444208b7
freemodbus: update poll event processing
...
update modbus poll event loop processing to process multiple events
2019-12-10 14:27:09 +08:00
He Yin Ling
c906e2afee
test: update example and unit tests with new import roles:
...
tiny_test_fw is a python package now. import it using normal way.
2019-12-07 10:34:54 +08:00
Angus Gratton
da4cb76f5a
test: Refactor TFW load_source() method to only take the file path
...
Fixes issues where example tests for persistent_sockets and advanced_tests both
loaded a module named "client", causing a race condition.
2019-11-28 19:25:52 +08:00
Angus Gratton
ecaf816c0b
Merge branch 'bugfix/freemodbus_fix_clang_warnings' into 'master'
...
freemodbus: fix clang warnings of freemodbus stack
See merge request espressif/esp-idf!5193
2019-11-28 07:06:19 +08:00
morris
c3ee156df0
ethernet: move netif glue && add ref counter
...
1. move netif glue into single file
2. add reference counter for Ethernet driver
2019-11-27 10:36:32 +08:00
houwenxiang
f27ae9b0e2
feature: Add uart hal support.
2019-11-26 20:01:50 +08:00
aleks
6e14b6265b
freemodbus: fix merge issues
2019-11-26 11:25:12 +01:00
aleks
cf4c95532f
freemodbus: fix clang warnings
2019-11-26 10:37:14 +01:00
aleks
4f9742d90c
freemodbus: fix supported targets ci issue
2019-11-26 09:07:47 +01:00
Alex Lisitsyn
67f62a79c1
freemodbus: add modbus master ascii
...
add support of modbus master ascii
rename base dir name of master and slave example to be mb_slave, mb_master to avoid conflict with sdio/slave example test
add Kconfig option to enable ASCII and RTU mode separately
update ASCII options + remove cast for errors
added baudrate for examples into Kconfig
updated magic numbers for timer timeout
put ascii private definitions into one file
2019-11-26 13:16:25 +08:00
Ivan Grokhotkov
8ff801766a
Merge branch 'docs/update_oocd_config_on_cmd_line' into 'master'
...
Updates OpenOCD configuration file names in documentation
See merge request espressif/esp-idf!6226
2019-11-22 05:32:35 +08:00
Alexey Gerenkov
1626f827d3
docs: Updates OpenOCD configuration file names
2019-11-18 13:33:32 +03:00
David Cermak
6e0d274f58
esp_netif: example init code fixed to assert only variables, not
...
function calls so it won't be skipped if compiled without asserts
2019-11-13 12:36:25 +01:00
David Cermak
cf710a3cb1
esp_netif: include tcpip_adapter legacy header by default to provide *implicit* compatiblity
2019-11-13 12:36:25 +01:00
David Cermak
3a19bf055d
esp_netif and examples: using wifi driver handle, update examples and tests to pass the CI
2019-11-13 12:36:25 +01:00
David Cermak
ba13275c6b
esp_netif: update default DHCP IP addresses to be in line with old interface, added loopback implementation, explicit esp-netif init, sanity checks for parameters added
2019-11-13 12:36:25 +01:00
David Cermak
b834c99148
examples: modify other examples and tests to use esp_netif instead of tcpip_adapter
2019-11-13 12:36:25 +01:00
David Cermak
19e24fe61e
mdns: update mdns to use esp-netif for mdns supported services such as STA, AP, ETH
...
removes also include dependency on lwip to use esp_netif defined address fields and structures
2019-11-13 12:36:25 +01:00
David Cermak
a49b934ef8
examples: protocol examples which use common connection component
...
updated to use esp_netif_init instead of tcpip_adapter in initialization code
2019-11-13 12:36:25 +01:00
David Cermak
ec9f245dd3
examples: removed ip4addr_ntoa and used prefered IP2STR for displaying IP addresses
2019-11-13 12:36:25 +01:00
Alex Lisitsyn
cfdd5f0ef7
freemodbus: configure timer handler placement
...
place timer interrupt handler into flash by default;
add default settings for timer and UART interrupts to place them into IRAM into example defaults;
CONFIG_FMB_TIMER_PORT_ENABLED default = n, when enabled, the UART_ISR_IN_IRAM set to y
2019-11-12 22:16:55 +08:00
David Cermak
208feef3c9
asio: fix asio test code to start the test after ip address received from common example code
...
Previously set to wait until IP address got from tcpip_adapter, but since common example connect code blocks until both IP4 and IPv6 address received it could happen that test code might have started connection to the ASIO counter-part while ESP32 still waiting for IPv6 address
2019-11-11 15:27:09 +00:00
Angus Gratton
0e9c2cdc93
Merge branch 'bugfix/esp32s2beta_enable_protocol_examples' into 'master'
...
Bugfix/esp32s2beta enable protocol examples
Closes IDF-1027
See merge request espressif/esp-idf!6566
2019-11-04 14:46:57 +08:00
Marius Vikhammer
500c247030
protocol examples: enable protocol examples for esp32sbeta
...
Closes IDF-1027
2019-11-01 11:14:10 +08:00
Marius Vikhammer
845003a1c3
ASIO: fixed undefined ref to atomic functions and enabled examples for CI (esp32s2beta)
...
Implemented the atomic functions needed to compile and link the asio examples on esp32s2beta.
2019-11-01 11:12:47 +08:00