morris
956c25dedd
move esp32 chip specific includes to esp32/xxx.h
2019-03-18 17:14:05 +08:00
Jiang Jiang Jian
5beb2802e0
Merge branch 'bugfix/bluetooth_fix_API_esp_bt_gap_set_scan_mode' into 'master'
...
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
See merge request idf/esp-idf!2208
2019-03-17 14:19:11 +08:00
Ivan Grokhotkov
945bd36884
examples: don't enable buffering on stdout in console examples
...
newlib uses significantly more stack space when printing to an
unbuffered stream. To reduce the amount of stack space required to
use the console, don’t disable buffering. linenoise should support
unbuffered stdout instead.
2019-03-13 20:32:37 +08:00
zhiweijian
d5e78e79d3
Component/bt: add api to clean gattc cache
2019-03-13 15:23:33 +08:00
Hrishikesh Dhayagude
d9ce0bb705
Modify esp_bt_gap_set_scan_mode() to be able to set connection modes as well as discoverable modes
...
The current API is insufficient to allow the users to set different combinations of connection and discoverable mode
Users should be able to choose the device modes independently:
1. Connectable-
i. Non-connectable mode
ii. Connectable mode
2. Discoverable-
i. Non-discoverable mode
ii. Limited discoverable mode
iii. General discoverable mode
2019-03-13 11:24:00 +05:30
Angus Gratton
b6ddebb861
Merge branch 'bugfix/blink-increase-task-size' into 'master'
...
examples: Increase task size for blink demo
See merge request idf/esp-idf!4342
2019-03-13 07:44:48 +08:00
Angus Gratton
8d62b0d173
ota example: Mention the certificate needs CN set correctly
2019-03-08 18:32:55 +11:00
morris
378f8f72f0
console: fix wrong timeout settiing in join command
...
1. Fix wrong timeout setting in join command, also alter the default timeout value to 10 seconds
2. Don't clear the CONNECTED_BIT when connected to AP.
2019-03-06 18:25:10 +08:00
Jiang Jiang Jian
c1e50c8a27
Merge branch 'bugfix/btdm_fix_iOS_and_win10_compatibility_error_for_HID' into 'master'
...
Component/bt: fix iOS and win10 compatibility error for HID
See merge request idf/esp-idf!4396
2019-03-06 14:11:38 +08:00
Angus Gratton
48d3a5804d
Merge branch 'bugfix/simple_ota_example' into 'master'
...
bugfix(simple_ota_example): Compatible with V3.1 and V3.2,because the NVS format is different
See merge request idf/esp-idf!3983
2019-03-05 13:05:53 +08:00
zhiweijian
d71df18d92
Component/bt: fix iOS and win10 compatibility error for HID
2019-02-28 20:39:12 +08:00
Anuj Deshpande
94594af13f
examples: Move blink code to main task
2019-02-28 12:12:24 +05:30
Angus Gratton
ea9b8c3745
Merge branch 'feature/sniffer_app_trace' into 'master'
...
capture WiFi packets to host via JTAG
See merge request idf/esp-idf!4203
2019-02-28 07:38:52 +08:00
Jiang Jiang Jian
ebca3e27b1
Merge branch 'bugfix/lack_of_break_in_tcp_client' into 'master'
...
fix the bug in tcp_client
See merge request idf/esp-idf!4330
2019-02-27 16:44:00 +08:00
Angus Gratton
590825824d
Merge branch 'feature/embed_elf_sha256' into 'master'
...
build system: include SHA256 hash of ELF file into app_desc structure
See merge request idf/esp-idf!4093
2019-02-27 16:31:47 +08:00
morris
ae6d19b4fb
sniffer: capture packets to host via JTAG
...
Based on app-trace component, it's able to send sniffer packets to host via JTAG interface.
2019-02-27 16:20:13 +08:00
Ivan Grokhotkov
ea52a19c00
build system: include SHA256 hash of ELF file into app_desc structure
2019-02-27 13:30:25 +08:00
xiehang
1e8b8d91a5
fix the bug in tcp_client
...
Closes https://github.com/espressif/esp-idf/issues/3058
2019-02-26 09:28:17 +00:00
Darian Leung
3e25d441a5
freertos: Add real time stats example
...
The following commit adds a real time stats example demonstrating how to
obtain task CPU usage statistics over a period of time, as opposed to the current
run time stats in FreeRTOS which measures task CPU usage as a percentage of
total system run time.
2019-02-26 14:34:53 +08:00
Angus Gratton
280d39aedd
Merge branch 'bugfix/i2s_pdm_adc_use_apll' into 'master'
...
bugfix(i2s): allow to use apll in pdm/adc/dac mode
See merge request idf/esp-idf!3800
2019-02-26 11:47:49 +08:00
Angus Gratton
a4edeee51b
Merge branch 'bugfix/btdm_fix_comment_error' into 'master'
...
Component/bt: fix comment error
See merge request idf/esp-idf!3769
2019-02-26 11:45:26 +08:00
Anurag Kar
b26f6662f1
http_server examples : Updated tests and examples to demonstrate usage of httpd_register_err_handler()
and accommodate for changes in default error handler behavior
2019-02-25 09:13:39 +00:00
Ivan Grokhotkov
5ec58c316d
Merge branch 'bugfix/multiple_can_bugs' into 'master'
...
CAN: Add functions to clear queues and fix multiple bugs
See merge request idf/esp-idf!4279
2019-02-25 15:43:56 +08:00
Angus Gratton
5b945cb611
Merge branch 'bugfix/mdns_service_memory_leak' into 'master'
...
mdns: fix memory leak when query for service plus various other fixes
See merge request idf/esp-idf!4270
2019-02-21 06:03:48 +08:00
Angus Gratton
40a55823a9
Merge branch 'feature/anti_rollback_efuse' into 'master'
...
Support anti-rollback
See merge request idf/esp-idf!3682
2019-02-20 16:11:00 +08:00
Darian Leung
099b83af67
CAN: Add functions to clear queues and fix multiple bugs
...
This commits adds the functions can_clear_transmit_queue() and
can_clear_receive_queue(). Closes #2906
The following bug are fixed:
- CAN_IO_UNUSED is now explicitly cast to enum type. Closes #2825
- Fix multiple documentation errors. Closes #2898 , Closes #2794
- can_reconfigure_alerts() returns incorrect current_alerts. Closes #3028
- Add missing header file. Closes #3065
2019-02-18 21:31:33 +08:00
David Cermak
fbef5297fc
mdns example: fix print result for IPv6 addresses
2019-02-15 15:54:18 +01:00
Anurag Kar
f4f3b6088a
provisioning examples : typos fixed and minor change in timer callback execution
...
Note : Examples have been updated to prevent invocation of bluedroid/wifi APIs from inside timer callback when stopping provisioning. Workaround is to spawn new task from inside the timer callback.
2019-02-15 10:45:34 +00:00
Anurag Kar
59b10709d1
wifi_provisioning : context pointer added to wifi_config_t structure and related examples/docs updated
...
Closes https://github.com/espressif/esp-idf/issues/2874
2019-02-15 10:45:34 +00:00
Ivan Grokhotkov
df71c733df
Merge branch 'doc/cleanup_apptrace2host_example' into 'master'
...
cleanup app_trace_to_host example
See merge request idf/esp-idf!4160
2019-02-15 17:06:57 +08:00
Angus Gratton
eb4d48815f
Merge branch 'feature/protocomm_httpd_changes' into 'master'
...
Feature/protocomm httpd changes
See merge request idf/esp-idf!4227
2019-02-15 14:21:44 +08:00
Angus Gratton
81cde3b44f
Merge branch 'test/disable_sdio_example_ci' into 'master'
...
sdio: temporarily disable the sdio example ci, since the runners have some power issue
See merge request idf/esp-idf!4264
2019-02-15 08:54:06 +08:00
Konstantin Kondrashov
e916cf52a3
bootloader: Add support of anti-rollback
...
Added:
* set a secure version in app/bootloader.
* description anti-rollback to ota part
* emulate the secure_version write and read operations
* efuse_em partition.
* a description about a rollback for native_ota_example.
Closes: TW26335
2019-02-14 18:51:43 +08:00
Michael (XIAO Xufeng)
c465053195
sdio: temporarily disable the sdio example ci, since the runners have
...
some power issue
2019-02-14 15:51:24 +08:00
Renz Christian Bagaporo
86c4950d2f
examples: fix specified location for event loop example test
2019-02-14 14:06:04 +08:00
Renz Christian Bagaporo
a0310e35d7
example: fix expected logging output order for esp_event example
2019-02-14 14:06:04 +08:00
Jeroen Domburg
72cca0f2a3
Proper README.md for himem example
2019-02-12 19:36:06 +08:00
Piyush Shah
3804c458c7
softap_prov: Changes in the example code as per changes to protocomm_httpd
...
Signed-off-by: Piyush Shah <piyush@espressif.com>
2019-02-04 18:22:43 +05:30
morris
ed84bcee7b
cleanup app_trace_to_host example
...
1. Cleanup the README of app_trace_to_host example based on the template.
2. Remove unused header files in the example.
3. Fix typos in public header file.
2019-01-31 21:28:52 +08:00
zhiweijian
06a2e20b15
Component/bt: fix comment error
2019-01-31 20:47:36 +08:00
Anton Maklakov
2790d4a049
Merge branch 'bugfix/mdns_test_cleanup' into 'master'
...
mdns tests: execute test services only when running example in ci
See merge request idf/esp-idf!4174
2019-01-31 14:46:10 +08:00
Angus Gratton
4b2feb316a
Merge branch 'feature/optionally_disable_https_from_ota_component' into 'master'
...
esp_https_ota: few feature enhancements
See merge request idf/esp-idf!4057
2019-01-31 09:11:35 +08:00
Mahavir Jain
b912d0fa9d
esp_https_ota: add support for configurable ota buffer size
...
Closes https://github.com/espressif/esp-idf/issues/2998
2019-01-30 18:11:09 +05:30
David Cermak
74cc7a065f
mdns tests: execute test services only when running example in ci
...
Test services may cause confussion (and did cause some GitHub/forum issues). This update runs test services only when example executed in ci. Also host name is a simple config entry if executed outside of ci.
2019-01-30 09:55:52 +00:00
Ivan Grokhotkov
05a28ef4e7
Merge branch 'bugfix/aws_iot_examples_cmake_build' into 'master'
...
examples: aws_iot: fix cmake build issue which used to pick dummy certificates
See merge request idf/esp-idf!4180
2019-01-30 14:27:51 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01:00
morris
7528dc0f20
ethernet: support new PHY (IP101)
...
1. Add support for new PHY IP101.
2. Re-enable GPIO0 output mode.
3. Clean up some docs.
2019-01-29 14:08:35 +08:00
Mahavir Jain
1286b93c81
examples: aws_iot: fix cmake build issue which used to pick dummy certificates
...
For CI build now `sdkconfig.ci` file is used which builds examples assuming certificate
stored on SDCard.
2019-01-28 10:45:34 +05:30
Ivan Grokhotkov
a97765c4b3
Merge branch 'feature/modem_pppos' into 'master'
...
support cellular modem && refactor PPPoS client example
See merge request idf/esp-idf!3778
2019-01-28 11:59:41 +08:00
Jiang Jiang Jian
5c88c5996d
Merge branch 'bugfix/ble_active_scan_not_wait_scan_rsp' into 'master'
...
component/bt: add a option to make report adv data and scan response individually
See merge request idf/esp-idf!4131
2019-01-25 11:53:06 +08:00
Tian Hao
6c8a8664aa
component/bt: add a option to make report adv data and scan response individually
...
Originally, when doing BLE active scan, Bluedroid will not report adv to
application layer until receive scan response. This option is used to
disable the behavior. When enable this option, Bluedroid will report
adv data or scan response to application layer immediately.
2019-01-24 14:30:02 +08:00
Wang Fang
ef07bc44ec
add esp ble compatibility test case
2019-01-24 14:29:31 +08:00
morris
2e1f98f8f5
modem: support modem facility and PPPoS
...
1. add support for ESP32 DTE
2. add support for SIM800/BG96 DCE
3. add PPPoS setup procedure
4. add support for SMS
5. add mqtt example after PPP connection established
2019-01-23 18:53:32 +08:00
Angus Gratton
52b27890de
Merge branch 'bugfix/examples_http_file_server_readme' into 'master'
...
HTTP File Server : Fix README of example
See merge request idf/esp-idf!4112
2019-01-23 09:06:46 +08:00
Jitin George
4a667ee12c
esp_http_client: Fix config member path's incorrect setting issue
2019-01-21 19:08:24 +08:00
Anurag Kar
c2fb45b6ef
http file_server : Fix README of example
2019-01-15 12:58:55 +05:30
qiyuexia
a05fdd9c10
mesh: update libs
...
1. detect and fix root conflicts when router BSSID is not set.
2. when root can not connect to the router due to NO_MORE_STAS(reason code:5), root will stop re-connection and perform MESH_NWK_LOOK_FOR_NETWORK.
3. wifi: fix the disconnection caused by receiving a deauth frame from non-parent node during scanning.
4. fix routing table redundant issue.
5. modify the max routes limitation from 300 to 1000.
6. wifi: fix ap does not deauth sta which has not completed the 4-way handshake.
2019-01-15 14:26:05 +08:00
Anurag Kar
72d2d2845d
http_file_server : fix kconfig of example
2019-01-15 07:27:22 +05:30
Ivan Grokhotkov
1ee729336f
Merge branch 'feature/http_server_wildcard_uri' into 'master'
...
Wildcard URI matching for http_server
See merge request idf/esp-idf!3973
2019-01-14 19:44:54 +08:00
Ivan Grokhotkov
1ad8b96fed
Merge branch 'bugfix/mqtt_tests_local_broker' into 'master'
...
MQTT tests: connect to local broker when running in CI to make the tests more reliable
See merge request idf/esp-idf!3926
2019-01-14 16:29:43 +08:00
Anurag Kar
5127aa1976
HTTP Server : File server example added
...
This example demonstrates the capability of wildcard URI matching
allowing for a full fledged file server to be created using esp_http_server.
2019-01-14 12:03:54 +05:30
David Cermak
b13a536041
mqtt tests: connect to local broker when running in CI to make the tests more reliable
2019-01-11 15:30:15 +01:00
aleks
e3a786f2cf
examples: change max register area size to maximum value
...
esp-idf/components/freemodbus/modbus_controller/modbus_controller.c: The MB_INST_MAX_SIZE is changed to max value=(65535*2);
Update support for coils read into freemodbus.c;
TW#28143
Closes https://github.com/espressif/esp-idf/issues/2884
2019-01-11 09:49:11 +01:00
Ivan Grokhotkov
ad5d81df04
Merge branch 'feature/mqtt_before_connect_event' into 'master'
...
MQTT support for fragmented and packed messages
See merge request idf/esp-idf!3743
2019-01-11 15:38:23 +08:00
Martin Válik
602d102403
Added support for NVS in console example
2019-01-11 09:51:50 +08:00
Jitin George
e2ae69f6fb
Minor Bugfixes in esp_http_client, tcp_transport and simple_ota_example
2019-01-07 16:33:41 +08:00
Jiang Jiang Jian
0700cde229
Merge branch 'bugfix/tw26890_update_wifi_api_guide' into 'master'
...
Bugfix/tw26890 update wifi api guide
See merge request idf/esp-idf!3630
2019-01-07 13:03:20 +08:00
David Cermak
13bf307c85
mqtt: support for BEFORE_CONNECT event in idf
...
Updated examples to use new event id, idf to use mqtt with fixed retained, oversized messages
2019-01-03 09:22:24 +01:00
Liu Zhi Fu
c1022ac22b
docs: udpate wifi document
...
Update WiFi document
2019-01-03 13:46:16 +08:00
He Yin Ling
86cc434ff1
test: get bin path from dut.app.flash_files
instead of dut.download_config
2019-01-03 09:57:47 +08:00
Jiang Jiang Jian
1de94b7b45
Merge branch 'bugfix/btdm_debug_numeric_comparison_mode' into 'master'
...
component/bt: modify the BLE example to make it run with "numeric comparison" mode
See merge request idf/esp-idf!3500
2019-01-02 14:02:58 +08:00
qiyueixa
e3833999ea
mesh: update libs
...
1. when no parent is found, send probe request via broadcast.
2. fix memory leak caused by the remove announcement being sent is not released when esp_mesh_stop() is called.
3. fix modify IE encrypt after mesh is started.
4. ignore esp_mesh_connect() if mesh automatic reconnection is enabled.
5. fix reason is cleared before vote is done.
2018-12-26 16:10:55 +08:00
Ivan Grokhotkov
88dc626fd7
Merge branch 'feature/example_defconfig_ci' into 'master'
...
ci, examples: use sdkconfig.ci as an extra defaults file, if present
See merge request idf/esp-idf!3934
2018-12-21 12:14:57 +08:00
Ivan Grokhotkov
71c90ac456
Merge branch 'feature/freemodbus_move_rs485_mode_control' into 'master'
...
examples: freemodbus port serial slave move uart mode settings into example
See merge request idf/esp-idf!3870
2018-12-21 12:13:28 +08:00
Roland Dobai
4ca2b149e5
examples, tools: Fix Python3 deprecation warning for the imp module
2018-12-20 12:44:33 +01:00
Jiang Jiang Jian
65142bc59e
Merge branch 'bugfix/btdm_configure_ssp_in_menuconfig' into 'master'
...
components/bt: Configure SSP in menuconfig and fix two bugs
See merge request idf/esp-idf!3892
2018-12-20 15:31:08 +08:00
baohongde
9c48528fcc
components/bt: Configure SSP in menuconfig
2018-12-20 11:10:27 +08:00
aleks
5379c941b8
examples: freemodbus port serial slave move uart mode settings into example
...
Update freemodbus component file esp-idf/components/freemodbus/port/portserial.c to remove UART mode settings;
Move UART mode settings into esp-idf/examples/protocols/modbus_slave/main/freemodbus.c
Move UART pin settings from Component config into example Kconfig.projbuild file
Move setup of UART port pins from freemodbus component into example file
TW#27721
Closes https://github.com/espressif/esp-idf/issues/2784#issuecomment-443600157
2018-12-19 08:03:18 +00:00
Angus Gratton
fe71ec413d
Merge branch 'feature/app_rollback_example' into 'master'
...
example: App rollback example
See merge request idf/esp-idf!3561
2018-12-19 14:41:54 +08:00
InfiniteYuan1
0fa31d3e31
bugfix(simple_ota): Compatible with V3.1 and V3.2
2018-12-18 14:41:12 +08:00
Mahavir Jain
9a9a319207
examples: update default root-ca for aws_iot demos
2018-12-18 11:05:16 +05:30
Angus Gratton
480fb72b46
Merge branch 'bugfix/prov_example_tests' into 'master'
...
Fix provisioning example tests
See merge request idf/esp-idf!3667
2018-12-17 13:06:44 +08:00
Jiang Jiang Jian
dc194b565d
Merge branch 'docs/btdm_ble_ibeacon_example' into 'master'
...
docs: refactor BLE iBeacon demo readme
See merge request idf/esp-idf!2905
2018-12-13 15:31:30 +08:00
Jiang Jiang Jian
ded4efced1
Merge branch 'doc/add_coap_readme' into 'master'
...
doc: add CoAP README.md
See merge request idf/esp-idf!2643
2018-12-13 15:22:50 +08:00
Anurag Kar
66a9762b2a
esp_prov : python coding style fixed as per conventions
2018-12-13 11:03:43 +05:30
Anurag Kar
5e0d222188
esp_prov : Added config option for enabling exception throw from within APIs
...
Example tests updated to enable exception throwing feature of esp_prov
2018-12-13 11:01:33 +05:30
Anurag Kar
3fe8065b7f
provisioning : tweak example test timeouts to reduce failures
2018-12-13 11:01:33 +05:30
Anton Maklakov
f88f06710e
example: Avoid a fallthrough
2018-12-13 12:29:27 +08:00
Anton Maklakov
eb13758d1a
example: Fix unused identifier warnings
2018-12-13 12:29:27 +08:00
Anton Maklakov
5e6509232e
example: Fix a truncation warning
2018-12-13 12:29:27 +08:00
Konstantin Kondrashov
cf6b79581b
example: Add a support of an app rollback
2018-12-11 11:58:42 +08:00
Ivan Grokhotkov
7ecdb1bb27
ci, examples: use sdkconfig.ci as an extra defaults file, if present
...
- Allows placing CI-specific settings into sdkconfig.ci file
- Allows substituting environment variables in sdkconfig.ci
2018-12-10 16:29:24 +08:00
hou wen xiang
67d95c609b
doc(i2s): update README.md file of i2s related examples.
2018-12-10 10:33:41 +08:00
Ivan Grokhotkov
646d36c728
Merge branch 'feature/nmea-parser' into 'master'
...
NMEA0183 Parser
See merge request idf/esp-idf!3866
2018-12-07 14:32:04 +08:00
Ivan Grokhotkov
4e77efc36b
Merge branch 'bugfix/clang_compatibility' into 'master'
...
clang compatibility fixes
See merge request idf/esp-idf!3912
2018-12-07 14:03:05 +08:00
morris
8b7b5821c7
example: add nmea0183 parser example
...
Add NMEA0183 Parser example to illustrate how to use uart event driver together with esp event library to get GPS information.
2018-12-07 10:57:34 +08:00
Roland Dobai
57c54f96f1
examples: Fix Python coding style
2018-12-06 09:34:33 +01:00
Ivan Grokhotkov
94f2dd27d4
examples/console: don’t use raw string literals in C code
...
Raw string literals are a C++ feature, and GCC supports them for C as
an extension. Clang doesn’t support them.
Ref LLVM-11
2018-12-06 16:14:14 +08:00
Wang Jia Lin
a36d714d1a
Merge branch 'doc/adc_example_doc_improve' into 'master'
...
doc(adc): Update README.md file of adc example.
See merge request idf/esp-idf!2665
2018-12-06 15:22:50 +08:00
hou wen xiang
8e9359b4fd
doc(adc): Update README.md file of adc example.
2018-12-06 12:20:29 +08:00