Xia Xiaotian
e72f7e7ec4
Add more description for WiFi modem sleep in document and example.
2018-04-04 16:47:03 +08:00
island
9b7454de0c
support wifi&bt coexist (v0.9.1)
...
1. refactor wifi modem sleep
2. refactor wifi and bt phy enable/diable coexistence
3. support wifi&bt coexist (v0.9.1)
3. add coex pause resume
4. fix bt library interrupt reaction slowly
5. make a2dp more smooth when coex
6. add coexist preference option
7. Make CI do not check libcoexist.a printf/ets_printf
8. disable Wifi RX AMPDU when software coexistence enable && update wifi lib
9. bluetooth call modem sleep api
2018-04-02 13:44:48 +08:00
Jiang Jiang Jian
e6d6deebc7
Merge branch 'bugfix/btdm_fix_connect_fail_when_remote_addr_is_random' into 'master'
...
Component/bt: modify open API params
See merge request idf/esp-idf!2116
2018-03-30 17:00:19 +08:00
Jiang Jiang Jian
21099c10f4
Merge branch 'feature/support_enrollee_feature_in_APSTA_mode' into 'master'
...
feature/support WPS enrollee in APSTA mode
See merge request idf/esp-idf!2120
2018-03-30 16:14:43 +08:00
Jiang Jiang Jian
e84df7a27d
Merge branch 'bugfix/btdm_fix_strncpy_error_in_blufi' into 'master'
...
Component/bt: fix strncpy error in blufi
See merge request idf/esp-idf!2141
2018-03-30 14:10:09 +08:00
Jiang Jiang Jian
fc5b15173e
Merge branch 'bugfix/btdm_add_some_comment' into 'master'
...
Component/bt: add some comments
See merge request idf/esp-idf!1949
2018-03-30 14:07:30 +08:00
Jiang Jiang Jian
52667d8291
Merge branch 'bugfix/btdm_ble_spp_client_heartbeat' into 'master'
...
component/bt: fix type error for ble_spp_client when SUPPORT_HEARTBEAT is enabled
See merge request idf/esp-idf!1876
2018-03-30 14:01:28 +08:00
kooho
8fb9bfef79
example(ble): Update ble a2d_sink example
2018-03-30 12:08:41 +08:00
zhiweijian
e6262375a3
Component/bt: fix connect fail when remote addr type is random
2018-03-29 20:55:31 +08:00
zhiweijian
6a9420465c
Component/bt: fix strncp error in blufi
2018-03-28 11:38:45 +08:00
Ivan Grokhotkov
2e7613b656
Merge branch 'feature/use_esp_err_to_name' into 'master'
...
Use esp_err_to_name in examples & optionally disable it in Kconfig
See merge request idf/esp-idf!2013
2018-03-27 11:50:21 +08:00
Jeroen Domburg
1c4ad79c00
Examples/spi_master: spiffier graphics
2018-03-26 17:07:32 +08:00
Deng Xin
6c3bdd45cf
feature/support WPS enrollee in APSTA mode
...
Add the feature WPS enrollee in APSTA mode
close github issue: https://github.com/espressif/esp-idf/issues/1608
2018-03-23 15:41:59 +08:00
Ivan Grokhotkov
d7e980865b
Merge branch 'bugfix/http2_add_authority_field' into 'master'
...
http2: Include 'authority' header by default in the request
See merge request idf/esp-idf!2097
2018-03-23 13:28:55 +08:00
Kedar Sovani
86eaf5d56b
http2: Include 'authority' field by default in the request
...
Closes https://github.com/espressif/esp-idf/issues/1717
2018-03-20 17:33:05 +05:30
zhiweijian
7c777f40aa
Component/bt: add some comment
2018-03-19 21:19:21 +08:00
Ivan Grokhotkov
85c9164f50
Merge branch 'bugfix/fix_bt_typos' into 'master'
...
components/bt examples/bluetooth: Fix typographical errors
See merge request idf/esp-idf!1950
2018-03-19 16:58:55 +08:00
Jiang Jiang Jian
7594127ca3
Merge branch 'feature/add_simple_wifi_example' into 'master'
...
add feature of simple wifi example
See merge request idf/esp-idf!2045
2018-03-19 14:56:22 +08:00
Jiang Jiang Jian
9e8d098264
Merge branch 'bugfix/btdm_fix_eddystone_demo_error' into 'master'
...
Component/bt: fix eddystone demo error
See merge request idf/esp-idf!2036
2018-03-19 14:26:55 +08:00
zhangyanjiao
d91456a348
add feature of simple wifi example
...
Closes: https://github.com/espressif/esp-idf/issues/1433
2018-03-15 10:35:58 +08:00
Roland Dobai
27a63c492f
Examples: Demonstrate the usage of esp_err_to_name
2018-03-13 14:27:00 +01:00
Ivan Grokhotkov
7a1e3265fe
Merge branch 'bugfix/docs_small_corrections' into 'master'
...
Bugfix/docs small corrections
See merge request idf/esp-idf!2025
2018-03-13 17:43:00 +08:00
krzychb
691b2ad8f3
Added / corrected README files for the SPI master / slave examples under peripherals
2018-03-12 05:56:35 +01:00
zhiweijian
4580a5ab4a
Component/bt: fix eddystone demo error
2018-03-12 12:10:09 +08:00
zhiweijian
b1d8ea84c3
Component/bt: blufi add custom data cmd
2018-03-08 17:38:44 +08:00
baohongde
569b9d592e
component/bt: remove some error logs which are not error
2018-03-05 19:22:21 +08:00
Jiang Jiang Jian
37765d0071
Merge branch 'feature/remove_tcp_perf_example' into 'master'
...
example: remove performance example
See merge request idf/esp-idf!1969
2018-03-02 18:54:39 +08:00
Ivan Grokhotkov
04ad0f79c0
Merge branch 'adc_calibration_update' into 'master'
...
ADC Calibraiton - Support new new calibration methods and eFuse functionality
See merge request idf/esp-idf!1846
2018-02-26 06:15:06 +08:00
Ivan Grokhotkov
c8ba6cf156
Merge branch 'feature/rtc_gpio_isolate' into 'master'
...
Add rtc_gpio_isolate function, use it in deep sleep examples
See merge request idf/esp-idf!1936
2018-02-26 06:09:08 +08:00
Ivan Grokhotkov
eb935c2982
Merge branch 'bugfix/aws_iot_examples_stack_tune' into 'master'
...
examples: aws_iot: fine tune stack size for aws_iot task
See merge request idf/esp-idf!1962
2018-02-26 06:08:03 +08:00
Jiang Jiang Jian
165e3edd49
Merge branch 'bugfix/btdm_mem_leak_of_bt' into 'master'
...
component/bt: Fix mem leak of bt
See merge request idf/esp-idf!1924
2018-02-24 10:25:13 +08:00
Darian Leung
0c9e2c0fba
esp_adc_cal/Remove lookup table
...
This commit removes the lookup table mode due to inferior performance when compared
to linear mode under attenuation 0, 1 and 2. However small portions of the lookup table
are kept for the higher voltages of atten 3 (above ADC reading 2880). That voltage range
in atten 3 has non linear characteristics making the LUT performan better than linear mode.
2018-02-22 20:01:41 +08:00
Liu Zhi Fu
9fb2d45980
example: remove performance example
...
Remove performance example since we have iperf example
close github issue: https://github.com/espressif/esp-idf/issues/1515
2018-02-22 17:34:54 +08:00
Tuan PM
7cda34c626
i2s: add support fixed_mclk configuration
2018-02-22 09:00:23 +07:00
Mahavir Jain
886b5df30b
examples: aws_iot: fine tune stack size for aws_iot task
...
Signed-off-by: Mahavir Jain <mahavir@espressif.com>
2018-02-20 17:04:07 +05:30
Michael (Xiao Xufeng)
10ab4c085b
example(console): print column name for tasks.
2018-02-14 11:56:47 +08:00
Darian Leung
73cdfbfe79
esp_adc_cal/Add eFuse functionality
...
This commit updates the esp_adc_cal ocmponent to support new calibration methods
which utilize calibratoin values stored in eFuse. This commit includes LUT mode
2018-02-13 21:22:48 +08:00
Hrishikesh Dhayagude
4a7d445301
components/bt examples/bluetooth: Fix typographical errors
...
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-02-13 13:25:33 +05:30
Ivan Grokhotkov
44c3b0a1ba
Merge branch 'bugfix/console_example_stack_overflow' into 'master'
...
Increase event task stack size to fix console example stack overflow
See merge request idf/esp-idf!1879
2018-02-11 16:45:05 +08:00
Ivan Grokhotkov
af6cfc5552
docs, examples: use rtc_gpio_isolate to disconnect GPIO12
...
This is needed to reduce deep sleep current on ESP32-WROVER modules.
Ref TW18165.
2018-02-11 13:28:47 +08:00
Ivan Grokhotkov
206eadab5a
console example: increase main task stack size
...
Stack size was not sufficient for logging at Verbose log level.
2018-02-11 13:14:44 +08:00
Ivan Grokhotkov
57a516389c
console example: add 'tasks' command to print vTaskList output
...
This command prints list of tasks, their state, and stack
watermark values.
Fixes https://github.com/espressif/esp-idf/issues/1534
2018-02-11 13:06:01 +08:00
Ivan Grokhotkov
95ff76890b
examples/wear_levelling: update readme file
...
Fixes https://github.com/espressif/esp-idf/issues/627 .
2018-02-11 13:03:36 +08:00
Ivan Grokhotkov
59859fa53c
fatfs: add configuration of allocation unit size
...
Closes https://github.com/espressif/esp-idf/issues/1382 .
2018-02-11 13:03:36 +08:00
baohongde
0519a73334
component/bt: Fix mem leak of bt
2018-02-08 16:26:12 +08:00
Wangjialin
451f69cc2e
driver(i2s): fix broken i2s adc mode
...
1. Move i2s reset code from i2s_stop to i2s_start.
2. add RTC API to set sw mode for ADC
3. add description for adc_power_always_on()
4. add lock for i2s dma and RTC ADC functions.
5. add ADC read task in example
reported from bbs: https://esp32.com/viewtopic.php?f=13&t=3490&p=17522#p17522
reported from github: https://github.com/espressif/esp-idf/issues/1333
2018-02-07 17:17:20 +08:00
panfeng
a239e1359a
bugfix(rmt): tx cmd without negative coding
2018-01-31 19:35:50 +08:00
Jiang Jiang Jian
17f01eb718
Merge branch 'feature/wifi_throughput_optimization' into 'master'
...
lwip/esp32/examples: wifi throughput optimization
See merge request idf/esp-idf!1861
2018-01-31 15:44:43 +08:00
wangmengyang
d02e36f4ff
component/bt: fix type error for ble_spp_client when SUPPORT_HEARTBEAT is enabled
2018-01-31 11:39:04 +08:00
Liu Zhi Fu
2242bf9b37
lwip/esp32/examples: wifi throughput optimizations
...
1. Put some lwip udp rx/tx relating functions to IRAM
2. Put some wifi rx/tx relating functions to IRAMa
3. Reduce wifi dynamic malloc from 4 to 1 for each ebuf
4. Update iperf example accordingly
5. Update libphy.a to v383
2018-01-30 16:27:49 +08:00
Jiang Jiang Jian
58f0edfd03
Merge branch 'bugfix/btdm_tutorials_compatible_with_github' into 'master'
...
component/bt: modify ble tutorials to make them be compatible with GitHub markdown
See merge request idf/esp-idf!1786
2018-01-29 15:47:36 +08:00
island
e22f8ad1aa
component/bt: Update BLE examples tutorials and ReadMe files
...
- Make docs compatible with GitHub Markdown
- Add tutorials links in programming doc
- Modify ReadMe files
2018-01-25 16:59:40 +08:00
Angus Gratton
d89542eb2b
Merge branch 'bugfix/uart_pattern_detect' into 'master'
...
bugfix(uart): patten detect function
See merge request !1235
2018-01-24 06:12:48 +08:00
Jiang Jiang Jian
2016478676
Merge branch 'bugfix/btdm_format_error' into 'master'
...
component/bt: Fix format error
See merge request !1803
2018-01-22 19:52:54 +08:00
Jiang Jiang Jian
84b92a4ead
Merge branch 'feature/btdm_add_get_error_enent_for_blufi' into 'master'
...
component/bt: add error report event for blufi
See merge request !1702
2018-01-22 19:48:29 +08:00
Wangjialin
870efdb9d4
bugfix(uart): patten detect function
...
requirement from github(https://github.com/espressif/esp-idf/issues/805 ): to provide the position in the buffer of the pattern detected.
requirement from AT application: in AT app, when no hardware flow control is enabled, in some situation the rx buffer might be full, and the terminator “+++” might be lost, we can use pattern detect interrupt to avoid missing the terminator. When pattern detect interrupt happens, it will not send a data event at the same time.
1. Add API to get position of detected pattern in rx buffer
2. Modify UART event example
3. Add comments for uart_flush, add alias API uart_flush_input to clear the rx buffer
4. Modify the way rx_buffered_len is calculated
2018-01-22 13:33:51 +08:00
wangmengyang
b64872aaab
component/bt: fix README.md format and loggings for A2DP sink example
2018-01-22 10:24:22 +08:00
Jiang Jiang Jian
1c3dd23fe0
Merge branch 'feature/btdm_ble_spp_docs' into 'master'
...
component/bt: add readme for ble spp demo
See merge request !1748
2018-01-17 10:19:30 +08:00
Ivan Grokhotkov
429371c182
Merge branch 'feature/mdns_again' into 'master'
...
New mDNS implementation
See merge request !1683
2018-01-16 18:38:42 +08:00
Ivan Grokhotkov
e73e6bb928
Merge branch 'bugfix/console_example_nvs_init' into 'master'
...
console example: initialize nvs on startup
See merge request !1766
2018-01-16 18:10:32 +08:00
zhiweijian
cf91ad32dc
Component/bt: add get error event for blufi
2018-01-16 17:29:48 +08:00
Jiang Jiang Jian
52c56e834f
Merge branch 'bugfix/btdm_modify_license' into 'master'
...
Component/bt: BLE demo modify license
See merge request !1808
2018-01-16 17:13:56 +08:00
me-no-dev
4bddbc031c
Import mDNS changes
2018-01-16 10:58:34 +02:00
zhiweijian
4d2c3edc07
Component/bt: add get wifi list cmd for blufi
2018-01-15 12:16:19 +00:00
zhiweijian
5dfbacd00e
Component/bt: modify license
2018-01-15 19:47:23 +08:00
Jiang Jiang Jian
cd54a95a7f
Merge branch 'feature/btdm_a2dp_src' into 'master'
...
Feature/btdm a2dp src
See merge request !1190
2018-01-15 18:55:01 +08:00
xiewenxiang
c49a07ea07
component/bt: add readme for ble spp demo
2018-01-12 14:55:57 +08:00
wangmengyang
f360fe5b3e
component/bt: implement A2DP source
...
1. Modified symbol names of A2DP sink APIs include:
- esp_a2d_data_cb_t --> esp_a2d_sink_data_cb_t
- esp_a2d_register_data_callback --> esp_a2d_sink_register_data_callback
2018-01-09 20:20:52 +08:00
Jiang Jiang Jian
3452845063
Merge branch 'bugfix/btdm_avrc_connect_state_evt' into 'master'
...
Bugfix/btdm avrc connect state evt
See merge request !1717
2018-01-09 19:33:06 +08:00
wangmengyang
e07b43e924
component/bt: add AVRC event for remote features indication
...
1. remove the feature mask parameter from AVRC connection state event, as the AVCTP connection can be initiated by remote device before service discovery to remote device is performed. \
In this case, AVRCP connection state event may not be reported after connection initated by remote device is established.
2. remove ESP_AVRC_CT_MAX_EVT
3. add more documentations to AVRC APIs
2018-01-09 16:33:48 +08:00
Ivan Grokhotkov
24b07a3f45
console example: initialize nvs on startup
...
Fixes https://github.com/espressif/esp-idf/issues/1478
2018-01-09 12:48:02 +08:00
Jiang Jiang Jian
c147d7b03e
Merge branch 'feature/btdm_bt_spp' into 'master'
...
component/bt: Add bt spp profile
See merge request !1593
2018-01-09 10:44:46 +08:00
baohongde
d2663c866e
component/bt: Add SPP profile
2018-01-05 16:48:29 +08:00
Angus Gratton
1837a034dd
Merge branch 'bugfix/small_fixes_github' into 'master'
...
Some small fixes from Github
See merge request !1737
2018-01-03 13:36:03 +08:00
island
d950ede96d
component/bt: change pictures from .pdf to .png
2018-01-03 11:13:27 +08:00
island
5c82ef1034
component/bt: Modify docs to be compatible with "Github Standard Markdown"
2018-01-03 11:13:27 +08:00
island
85efc08c27
component/bt: add link of tutorial in README.rst
2018-01-03 11:13:27 +08:00
island
7a0608609f
component/bt: Add bluetooth example tutorials
2018-01-03 11:13:26 +08:00
Martin Pomezný
e7693b8700
GPIO2 note updated
...
Updated note on GPIO2 with informations about possible pull-down resistor.
Merges https://github.com/espressif/esp-idf/pull/1451
2018-01-03 10:48:57 +11:00
Jiang Jiang Jian
15deab4e46
Merge branch 'refactor/btdm_spp_client_demo' into 'master'
...
component/bt: refactor spp client demo
See merge request !1366
2017-12-27 11:43:35 +08:00
Angus Gratton
ec7cac5fe8
Merge branch 'feature/docs_update_rmt_api' into 'master'
...
RMT API docs update, new example
See merge request !1564
2017-12-27 09:23:47 +08:00
Angus Gratton
13a087a390
Merge branch 'bugfix/iperf_example_bugfix' into 'master'
...
example: some modification about iperf example
See merge request !1603
2017-12-27 09:01:21 +08:00
Tian Hao
6220723e7b
component/bt : change header file name bt.h to esp_bt.h in new bluetooth example
2017-12-22 15:13:45 +08:00
xiewenxiang
e8d1072467
component/bt: refactor spp client demo
...
- fix the bug that before free the db pointer, the db was set to NULL
2017-12-21 10:01:38 +08:00
Jiang Jiang Jian
a567de1576
Merge branch 'feature/btdm_classic_discovery' into 'master'
...
component/bt: implement Classic Bluetooth GAP APIs for device and service discovery
See merge request !1576
2017-12-20 13:30:31 +08:00
Jiang Jiang Jian
5cbe950d08
Merge branch 'bugfix/btdm_modify_code_format_and_comments' into 'master'
...
component/bt: modify code format and comments
See merge request !1631
2017-12-19 20:19:00 +08:00
Liu Zhi Fu
5adef5865d
example: some modification about iperf example
...
Modify default sdkconfig since some WiFi menuconfig options are changed
2017-12-19 18:28:22 +08:00
Jiang Jiang Jian
9c5435c14a
Merge branch 'bugfix/btdm_mem_release' into 'master'
...
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
See merge request !1660
2017-12-19 17:31:09 +08:00
Zhi Wei Jian
833ecfdec9
Merge branch 'master' into 'bugfix/btdm_modify_code_format_and_comments'
...
# Conflicts:
# examples/bluetooth/gatt_server_service_table/main/gatts_table_creat_demo.c
2017-12-13 15:42:41 +08:00
Ivan Grokhotkov
d2bd9cccd8
Merge branch 'feature/ulp_docs_update' into 'master'
...
ULP docs update
See merge request !1640
2017-12-13 15:36:36 +08:00
Tian Hao
65bdb2d7ff
component/bt : fix btdm mem release cause 0x3ffbbb28-0x3ffbdb28 add to region but should not.
...
1. fix the bug. Modify the condition that esp_bt_controller_mem_release() shoud be only called before esp_bt_controller_init() or after esp_bt_controller_deinit()
2. modify the example to use esp_bt_controller_mem_release()
2017-12-13 11:38:39 +08:00
Angus Gratton
a4ef4cc376
Merge branch 'bugfix/gpio_config_block' into 'master'
...
driver(GPIO): use ULL for IO bit mask
See merge request !1627
2017-12-11 12:56:39 +08:00
Ivan Grokhotkov
ca751648fa
ulp: document the need to wait for RTC to be ready for wakeup
2017-12-11 12:11:46 +08:00
Tian Hao
583dceb69b
component/btdm : change bt.h name to esp_bt.h to form the name prefix
2017-12-08 10:33:50 +08:00
wangmengyang
c23af0b5bb
component/bt: implement Classic Bluetooth GAP APIs for device and service discovery
2017-12-06 10:52:06 +08:00
panfeng
f60fef8136
bugfix: io setting useless when io_num > 32
2017-12-04 17:35:00 +08:00
zhiweijian
c124851048
Component/bt: modify code format and comments
2017-12-04 14:51:42 +08:00
Ivan Grokhotkov
08048ff76a
Merge branch 'feature/btdm_avrc_metadata' into 'master'
...
Feature/btdm avrc metadata: implemented AVRCP metadata and notification register commands
See merge request !1624
2017-12-01 20:31:25 +08:00
Jiang Jiang Jian
c672fc54fd
Merge branch 'feature/ledc_more_meaningful_parameter_names' into 'master'
...
Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resoluti…
See merge request !1440
2017-12-01 19:33:53 +08:00
pufstudio
86fa1820b7
component/bt: Add AVRCP medadata attribute support so A2DP can show track title, album, etc.
...
Merges https://github.com/espressif/esp-idf/pull/1078
2017-12-01 19:28:52 +08:00
Jiang Jiang Jian
7ec7352534
Merge branch 'bugfix/small_fixes_from_github' into 'master'
...
Small fixes by users from GitHub
See merge request !1620
2017-12-01 19:21:10 +08:00
Jiang Jiang Jian
58e60401a2
Merge branch 'feature/bt_a2dp_i2s' into 'master'
...
examples/bluetooth/a2dp_sink: add i2s audio to a2dp_sink example application
See merge request !853
2017-12-01 19:18:50 +08:00
Adrián Paníček
0f2d417a74
Small typo fix
...
Signed-off-by: krzychb
Merges https://github.com/espressif/esp-idf/pull/1331
2017-12-01 09:06:09 +01:00
Jiang Jiang Jian
4da239e824
Merge branch 'feature/btdm_optimize_gatt_server_service_table_demo' into 'master'
...
component/bt: optimize gatt_server_service_table demo
See merge request !1479
2017-12-01 12:25:42 +08:00
Kedar Sovani
1c0543fb17
lwip: Change socket API macros to static-inline
2017-11-29 11:42:14 +05:30
Angus Gratton
e43ac33b7c
Merge branch 'bugfix/aws_iot_nvs_no_init' into 'master'
...
aws_iot: fix aws_iot examples without NVS initialization
See merge request !1581
2017-11-23 13:19:21 +08:00
krzychb
cdad1e8382
Implement review comments
2017-11-22 23:33:29 +01:00
Ivan Grokhotkov
61ead8fb96
Merge branch 'bugfix/ota_example_http_request' into 'master'
...
ota example: Send a valid HTTP/1.0 request
See merge request !1566
2017-11-22 22:27:10 +08:00
Chen Wu
4b3997cfbb
aws_iot: fix aws_iot examples without NVS initialization
...
WiFi used to initialise nvs automatically, but it doesn't now.
see more info: https://github.com/espressif/esp-idf/issues/624
Closes #624
2017-11-22 13:02:55 +08:00
krzychb
2ec35f60ca
RMT API docs update, new example
2017-11-21 22:34:23 +01:00
Ivan Grokhotkov
6e1453e864
Merge branch 'feature/bot' into 'master'
...
CI: support customize test with @bot
See merge request !1502
2017-11-21 18:43:56 +08:00
Angus Gratton
dc994e9c88
ota example: Send a valid HTTP/1.0 request
...
Was sending an invalid HTTP/1.1 request which many web servers rejected.
Thanks @chegawara for pointing this out on IRC.
Ref:
https://github.com/espressif/esp-idf/issues/231#issuecomment-300287523
2017-11-21 09:02:58 +11:00
Angus Gratton
05dd46cd72
udp_perf/tcp_perf examples: Erase NVS if no more free pages
...
Follows same pattern as other examples.
Amendment to https://github.com/espressif/esp-idf/pull/1279
2017-11-20 16:07:52 +11:00
petermccloud
3b84c1e8fa
fixed broken udp_perf example by adding nvs_flash
...
Merges https://github.com/espressif/esp-idf/pull/1279
2017-11-20 16:07:00 +11:00
petermccloud
0dea8bca46
fixed broken tcp_perf example by adding nvs_flash
2017-11-20 16:06:59 +11:00
Dominik Palo
ad8ebe5b63
Update spp_client_demo.c
...
Merges https://github.com/espressif/esp-idf/pull/1229
2017-11-17 10:49:51 +11:00
He Yin Ling
879160de8c
test: collect example https_request binary size
2017-11-16 17:48:30 +08:00
Piyush Shah
affde01b4c
wifi_scan_example: Comments improved for readability
...
Rephrased the example's description to make it easier to understand
and made other grammatical fixes.
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-15 15:02:31 +05:30
Piyush Shah
371c66f188
wifi_scan_example: Indentation Fixes
...
- Trailing white spaces removed
- Re-formatted switch-case
Basic indentation fixes were done using tools/format.sh and switch-case
formatting was done manually (to identify different levels for "switch"
and "case")
Signed-off-by: Piyush Shah <piyush@espressif.com>
2017-11-15 15:01:11 +05:30
zhiweijian
ee3224bed2
Component/bt: optimize gatt_server_service_table demo
2017-11-15 15:26:53 +08:00
krzychb
d488bb7bac
Provided more meaningful parameter names by renaming 'bit_num' to 'duty_resolution' and 'div_num' to 'clock_divider'
2017-11-15 08:08:12 +01:00
Ivan Grokhotkov
c6d25dd9cc
Merge branch 'features/http2_demo' into 'master'
...
HTTP2 Client Demo
See merge request !1475
2017-11-15 14:51:51 +08:00
zhangjunhao
6a02a58347
fix(tw16355): examples/protocols/coap_client(server)
...
fix coap example can not work properly
2017-11-15 11:58:19 +08:00
Jiang Jiang Jian
41272c5b94
Merge branch 'bugfix/btdm_modify_logs' into 'master'
...
component/bt: modify some log
See merge request !1485
2017-11-14 21:13:00 +08:00
Ivan Grokhotkov
31d0c8eec5
Merge branch 'feature/emac_apll' into 'master'
...
feat(emac): add support for emac to use internal (APLL) clock outputs.
See merge request !1518
2017-11-14 00:07:35 +08:00
Ivan Grokhotkov
3726cd39ab
Merge branch 'bugfix/examples_ulp_gpio15' into 'master'
...
examples/ulp: disable pullup on GPIO15 to reduce current
See merge request !1486
2017-11-13 17:34:12 +08:00
Frank Sautter
f324458b6a
feat(emac): add support for emac to use internal (APLL) clock outputs.
2017-11-13 14:18:58 +08:00
Seppe Stas
264315ab81
Fix markdown and format of GPIO example README
...
Fixed headers so they work (requires space between hash and text) and have a sensible structure and removed trailing spaces.
Signed-off-by: krzychb
2017-11-07 20:27:10 +01:00
Ivan Grokhotkov
a45e9c806d
Merge branch 'bugfix/new_task_watchdog_API_false_trigger' into 'master'
...
feat/New Task Watchdog API
See merge request !1380
2017-11-07 10:43:56 +08:00
Xie Wen Xiang
7a423392c3
Merge branch 'master' into 'refactor/btdm_spp_client_demo'
...
# Conflicts:
# examples/bluetooth/ble_spp_client/main/spp_client_demo.c
2017-11-06 14:38:01 +08:00
Kedar Sovani
3ace8416b5
[examples] Create HTTP2 example with http2.golang.org
...
Intention is to partition the demo into multiple files, so that the
main program is quite easy to follow.
1. connectlib.c: For any URL parsing and TCP connection related stuff
2. sh2lib.c: Convenience functions for HTTP2+TLS. The goal here is to
expose a simpler API than nghttp2. If most usecases end up being
served with this library, it could potentially be moved into a separate
component
2017-11-06 09:43:03 +05:30
Ivan Grokhotkov
dec4a868d0
examples/ulp: disable pullup on GPIO15 to reduce current
...
Also increase sampling frequency in ulp_adc example and update READMEs.
Fixes https://github.com/espressif/esp-idf/issues/1108
2017-11-03 18:56:31 +08:00
Jiang Jiang Jian
b13cd4adf8
Merge branch 'feature/btdm_add_value_callback_when_send_notification_or_indicate_failed' into 'master'
...
component/bt: add value callback when send notification or indicate failed
See merge request !1457
2017-11-03 10:05:29 +08:00
zhiweijian
9a96187655
Component/bt: modify some log
2017-11-02 19:45:13 +08:00
Darian Leung
9d63e1da4a
New Task Watchdog API (Revert of Revert)
...
This commit reverts the revert on the new task watchdog API. It also
fixes the following bug which caused the reversion.
- sdkconfig TASK_WDT_TIMEOUT_S has been reverted from the unit of ms back to the
unit of seconds. Fixes bug where projects using the new API without rebuilding sdkconfig
would cause the old default value of 5 to be interpreted in ms.
This commit also adds the following features to the task watchdog
- Updated idle hook registration to be compatible with dual core hooks
- Updated dual core hooks to support deregistration for cpu
- Legacy mode has been removed and esp_task_wdt_feed() is now replaced by
esp_task_wdt_reset(). esp_task_wdt_feed() is deprecated
- Idle hooks to reset are now registered/deregistered when the idle tasks are
added/deleted from the Task Watchdog instead of at Task Watchdog init/deinit
- Updated example
2017-11-02 16:47:51 +08:00
Ivan Grokhotkov
79f206be47
Merge branch 'test/ci_test_examples' into 'master'
...
test: test examples with CI
See merge request !1275
2017-11-01 13:59:10 +08:00
Jiang Jiang Jian
79d75950bd
Merge branch 'bugfix/btdm_modify_close_disconnect_event_params' into 'master'
...
component/bt: modify close , connect and disconnection event params
See merge request !1407
2017-11-01 11:01:36 +08:00
Jiang Jiang Jian
a8deadeba9
Merge branch 'bugfix/btdm_fix_memory_leak_in_blufi' into 'master'
...
component/bt: fix memory leak in bluefi demo
See merge request !1436
2017-11-01 11:01:14 +08:00
zhiweijian
e7020460c6
Component/bt: add value callback when send notification or indicate failed
2017-11-01 11:00:08 +08:00
zhiweijian
481e436587
Component/bt: modify close event and disconnection event params
...
- modify close event params
- modify disconnection event params
- modify connect event params
2017-11-01 10:40:03 +08:00
He Yin Ling
4cb52e0a3d
test: add test for https_request
2017-10-31 17:42:20 +08:00
Jiang Jiang Jian
4d5c3de1e0
Merge branch 'bugfix/btdm_app_malloc_invalid_bug' into 'master'
...
bt/examples: The application layer does not allocate memory correctly causing the btc layer pointer to cross the border.
See merge request !1438
2017-10-31 11:34:37 +08:00
xiewenxiang
04a8d32cba
component/bt: modify spp client demo for discussion
...
- check the characteristic properties before write
- check the db count is equal to SPP_IDX_NB or not
- modify some other code for discussion
2017-10-27 15:35:31 +08:00
zhiweijian
15c75974de
component/bt: fix crash when set device name NULL
2017-10-27 15:21:00 +08:00
xiewenxiang
d57901cd54
component/bt: refactor spp client demo
...
- because the GATTC API was modified, the spp client demo was
refactored
2017-10-27 13:56:48 +08:00
Angus Gratton
ffeecde9e2
Merge branch 'feature/docs_update_timer_api' into 'master'
...
Timer API docs update, refactored example
See merge request !1316
2017-10-27 13:31:18 +08:00
krzychb
9b7d5d76a7
Timer API docs update, refactored example
2017-10-27 07:13:59 +02:00
Angus Gratton
62e24370f1
Merge branch 'feature/uart_example_separate_tx_rx_tasks' into 'master'
...
Added an asynchronous UART example, using separate RX and TX tasks.
See merge request !1403
2017-10-27 13:13:24 +08:00
michael
d30f3e7aa8
example(adc2): add example and test case for adc2.
...
closes #461
2017-10-26 14:35:30 +08:00
Yulong
a1495b0e49
Squash the two submissions of previous.
...
component/bt: The application layer does not allocate memory correctly causing the btc layer pointer to cross the border.
bt/examples: Change the gattc_multi_connect.c incorrect memory apply method.
2017-10-23 05:24:02 -04:00
zhiweijian
9ad451dced
Component/bt: fix memory leak in bluefi demo
2017-10-23 14:26:11 +08:00
Angus Gratton
01befe4d6a
Merge branch 'bugfix/i2c_hw_fsm_recover' into 'master'
...
bugfix(i2c): add I2C hardware reset if the hw FSM get stuck
See merge request !1272
2017-10-23 10:16:02 +08:00
Ivan Grokhotkov
000a4f5941
Merge branch 'bugfix/rmt_thresh_check' into 'master'
...
bugfix(rmt): fix event thresh check issue
See merge request !1423
2017-10-22 12:35:44 +08:00
Ivan Grokhotkov
59b7d98fec
Merge branch 'feature/dfs' into 'master'
...
Dynamic frequency scaling
See merge request !1189
2017-10-22 12:34:11 +08:00
Wangjialin
ed1e32f583
bugfix(i2c): add I2C hardware reset if the hw FSM get stuck
...
Reported from different sources from github or bbs:
https://github.com/espressif/esp-idf/issues/680
https://github.com/espressif/esp-idf/issues/922
We tested reading several sensor or other I2C slave devices, if the power and SDA/SCL wires are in proper condition, everything works find with reading the slave.
If we remove the power supply for the slave during I2C is reading, or directly connect SDA or SCL to ground, this would cause the I2C FSM get stuck in wrong state, all we can do is the reset the I2C hardware in this case.
After this commit, no matter whether the power supply of I2C slave is removed or SDA / SCL are shorted to ground, the driver can recover from wrong state.
We are not sure whether this the save issue with the reported one yet, but to make the driver more robust.
Further information:
1. For I2C master mode, we have tested different situations, e.g., to short the SDA/SCL directly to GND/VCC, to short the SDA to SCL, to un-plug the slave device, to power off the slave device. Under all of those situations, this version of driver can recover and keep working.
2. Some slave device will die by accident and keep the SDA in low level, in this case, master should send several clock to make the slave release the bus.
3. Slave mode of ESP32 might also get in wrong state that held the SDA low, in this case, master device could send a stop signal to make esp32 slave release the bus.
Modifications:
1. Disable I2C_MASTER_TRAN_COMP interrupt to void extra interrupt.
2. Disable un-used timeout interrupt for slave.
3. Add bus reset if error detected for master mode.
4. Add bus clear if SDA level is low when error detected.
5. Modify the argument type of i2c_set_pin.
6. add API to set timeout value
7. add parameter check for timing APIs
2017-10-21 02:10:59 +08:00
Ivan Grokhotkov
b6f37bda97
Merge branch 'feature/i2s_built_in_adc' into 'master'
...
feature(I2S-ADC): add ADC mode for I2S.
See merge request !1077
2017-10-20 15:52:56 +08:00
Liu Zhi Fu
ae1ac2ab0e
example: init nvs in iperf example
...
Need to call nvs_flash_init in iperf example
2017-10-20 10:39:56 +08:00
krzychb
61dcade807
Print out in hex format in case non printable data are received
2017-10-19 22:06:53 +02:00
Pieter du Preez
479ba94ef7
Added an asynchronous UART example, using separate RX and TX tasks.
...
Signed-off-by: krzychb <krzychb@gazeta.pl>
2017-10-19 21:46:09 +02:00
Wangjialin
ab1abff080
bugfix(rmt): fix event thresh check issue
...
reported from: https://github.com/espressif/esp-idf/issues/1011
1. Fix event thresh check issue
2. Change IO number in example in case it conflicts with GPIO16(psram cs pin).
2017-10-18 18:49:09 +08:00
Ivan Grokhotkov
f6ef536fe9
examples/power_save: enable modem sleep and DFS by default
2017-10-18 14:37:23 +08:00
Ivan Grokhotkov
edb212986f
Merge branch 'bugfix/sd_card_fixes' into 'master'
...
SD card fixes
See merge request !1393
2017-10-17 04:45:24 +08:00
Tuan PM
14fe6e9bbb
merge from master
2017-10-16 14:19:29 +07:00
Ivan Grokhotkov
a5f96b22d1
examples/sdmmc: enable internal pull-ups in SD mode
...
Some development boards do not have sufficient external pull-ups on
SD card pins. Most notably, if high level on GPIO13 is not registered
by the card when GO_IDLE_STATE command is received, the card will enter
SPI mode and further communication will not be possible, until power to
the card is toggled.
This change enables internal pull-ups on SD card pins in an attempt to
make this initialization process more reliable.
2017-10-13 08:21:06 +08:00
Ivan Grokhotkov
4d42b5ea24
console: handle empty input to esp_console_run correctly
...
Fixes https://github.com/espressif/esp-idf/issues/1067
Ref. TW15752
2017-10-13 07:14:53 +08:00
Jiang Jiang Jian
8e47c355fa
Merge branch 'feature/i2s_apll' into 'master'
...
driver/i2s: add support apll clock
See merge request !1115
2017-10-12 19:06:50 +08:00
Jiang Jiang Jian
b78cb018a2
Merge branch 'feature/btdm_ibeacon' into 'master'
...
component/bt: add ibeacon demo
See merge request !1028
2017-10-12 18:11:49 +08:00
Jiang Jiang Jian
276034354e
Merge branch 'feature/btdm_eddystone' into 'master'
...
component/bt: Add eddystone demo
See merge request !1076
2017-10-12 17:56:05 +08:00
Jeroen Domburg
a8131b14b0
Merge branch 'feature/docs_update_uart_api' into 'master'
...
Updated functional overview of UART API documentation
See merge request !1328
2017-10-10 14:06:08 +08:00
Jeroen Domburg
1835c3a213
Merge branch 'feature/docs_update_pcnt_api' into 'master'
...
Extended description of the Pulse Counter API and removed redundant comments from the example
See merge request !1312
2017-10-10 14:06:03 +08:00
Jeroen Domburg
bbbfa64a66
Merge branch 'feature/docs_update_ledc_api' into 'master'
...
Updated example and description of LED PWM Controller API
See merge request !1276
2017-10-10 14:05:57 +08:00
Jiang Jiang Jian
904d6c8f2b
Merge branch 'feature/scan_optimize' into 'master'
...
wifi: scan optimize
See merge request !1334
2017-10-10 13:39:16 +08:00
Deng Xin
d515494d1b
wifi: optimize scan feature
...
1. add the threshold of match AP in fast scan
2. add blacklist feature
3. make sure would wrong if password didn't set
4. add scan example
2017-10-10 12:27:02 +08:00
krzychb
9107b47deb
Updated UART API documentation and examples. Included a fix of #1091 from GitHub
2017-10-10 05:54:36 +02:00
Josh Leverette
880821fe9e
Fix typo in ble_adv example
...
Merges https://github.com/espressif/esp-idf/pull/1049
2017-10-09 14:22:56 +11:00
Angus Gratton
110c71d3f1
Merge branch 'feature/ipv6_socket_options' into 'master'
...
IPV6 multicast socket options
See merge request !964
2017-10-09 09:03:30 +08:00
Tuan PM
9d39881981
i2s: add support apll clock
...
using apll_param to setup APLL
new apll calculation method, much faster
validate freq calculation
Ensure that the i2s frequency is greater than the hardware limit
Add description of how to calculate apll clock, support apll for other 16-bits audio, check rev0 chip
correct space
2017-10-06 15:36:24 +07:00
krzychb
d60722c33d
Updated example and descritpion of LED PWM Controller API
2017-10-06 08:34:27 +02:00
Angus Gratton
2cc8c91ad8
lwip: Remove undocumented CONFIG_MDNS macro flag
...
All options that were enabled via CONFIG_MDNS are now in menuconfig, with
the default values set the same as with CONFIG_MDNS enabled (meaning existing
projects that were using CONFIG_MDNS do not need to change).
2017-10-02 10:50:27 +11:00
Angus Gratton
61d2069e1c
example: Add UDP multicast example
2017-10-02 10:50:27 +11:00
Jeroen Domburg
b6a2bd1184
Revert "esp32: New Task Watchdog API"
...
This reverts commit 616baa239d
.
2017-09-30 18:07:19 +08:00
Jiang Jiang Jian
a3731902f5
Merge branch 'bugfix/btdm_hci_mode_periph_clk' into 'master'
...
fix example of controller_hci_uart peripheral clk init
See merge request !1295
2017-09-30 15:57:10 +08:00
Darian Leung
616baa239d
esp32: New Task Watchdog API
...
Legacy API of task watchdog used the same function esp_task_wdt_feed() to add
and feed a task. This caused issues of implicitly adding a task to the wdt list
if the function was used in shared code.
The new API introduces init, adding, feeding, deleting, deinit functions. Tasks
must now be explicitly added to the task watchdog using their handles. Deletion
must also be explicit using task handles. This resolves the issue of implicit
task additions to the task watchdog due to shared code calling
esp_task_wdt_feed().
Task watchdog is now fully configurable at runtime by calling the init and
deinit functions.
Also added functions to get the handles of idle tasks of the other core. This
helps when adding idle tasks to the watchdog at run time.
Configuring the task watchdog using menu config is still available, however
menu config will only result in calling the init and add functions for idle
tasks shortly after the scheduler starts.
Menu config also allows for using legacy behavior, however the legacy behavior
willcall the new API functions but with slight variations to make them legacy
compatible.
Documentation and example have also been updated
gcov_rtio.c headers updated to prevent error of freertos header files being
included in the wrong order.
Resolves issue TW#13265
2017-09-29 23:10:55 +08:00
Angus Gratton
c65f12bb45
Merge branch 'feature/add_espnow_example' into 'master'
...
Feature/add espnow example
See merge request !1263
2017-09-28 07:43:29 +08:00
krzychb
e69691427c
Extended description of the Pulse Counter API and removed redundant comments from the example
2017-09-26 22:44:46 +02:00
Ivan Grokhotkov
bbab9ecf23
Merge branch 'feature/docs_update_sigmadelta_api' into 'master'
...
Updated sigma delta API documenation and example
See merge request !1319
2017-09-26 16:05:18 +08:00
Liu Zhi Fu
05b0d567e5
example: add iperf example
...
Support iperf
2017-09-26 09:19:01 +08:00
krzychb
b5e4c76bfe
Updated sigma delta API documenation and example
2017-09-25 21:31:09 +02:00
Tian Hao
0d0c9e7172
fix example of controller_hci_uart peripheral clk init
2017-09-25 11:46:03 +08:00
XiaXiaotian
3a1d34a7be
Add an example to show how to use ESPNOW
2017-09-22 15:52:45 +08:00
Ivan Grokhotkov
0a6fdc3a96
Merge branch 'bugfix/btdm_enable_limit' into 'master'
...
BT controller: add function to release unused memory to the heap
See merge request !1248
2017-09-21 17:33:09 +08:00
Tian Hao
3e2ee24e4f
component/bt : support bluetooth controller DRAM release dynamically
...
1. remove CONFIG_BT_DRAM_RELEASE from Kconfig
2. add API to release bluetooth controller DRAM to heap
2017-09-21 14:31:20 +08:00
Deng Xin
ee25caf4b2
WiFi: optimize scan feature
...
1. Add all channel scan feature
2. Add sort matched SSID by authmode feature
2017-09-21 14:28:49 +08:00
Chris Morgan
76db44e8ce
openssl_client, openssl_server example: Fix misspelling of PRIORITY in OPENSSL_EXAMPLE_TASK_PRIORITY
...
Merges https://github.com/espressif/esp-idf/pull/929
2017-09-20 12:09:01 +10:00
Tian Hao
b54719d00f
component/bt : fix bluetooth controller enable limit && release memory when de-initialize bluetooth controller
...
1. fix bluetooth controller enable limit
2. release memory when de-initialize bluetooth controller
3. fix heap_caps_add_region limit
2017-09-19 21:14:28 +08:00
Jiang Jiang Jian
3d7ec475d1
Merge branch 'feature/btdm_cherry_pick_change_gattc_api' into 'master'
...
component/bt: Change all the gattc API && bta gattc layer.
See merge request !1147
2017-09-15 19:39:29 +08:00
xiewenxiang
3fbc4ff353
component/bt:modify for gattc new api ci
2017-09-15 17:53:36 +08:00
wangpan
3760d8e175
example : eddystone demo
...
- Separate Eddystone codes into the following 4 files:
esp_eddystone_protocol.h
esp_eddystone_api.h
esp_eddystone_api.c
edp_eddystone_demo.c
- Just store eddystone information into eddystone result
2017-09-15 11:06:46 +08:00
zhiweijian
31cb284967
Component/bt: modify mtu api in spp client demo
2017-09-14 21:11:10 +08:00
Jiang Jiang Jian
169361b38b
Merge branch 'feature/btdm_ble_spp_server_demo' into 'master'
...
component/bt: add example for ble spp server
See merge request !1042
2017-09-14 17:15:17 +08:00
Jiang Jiang Jian
f90eb1c371
Merge branch 'feature/btdm_ble_spp_client_demo' into 'master'
...
component/bt: add example for ble spp client
See merge request !1043
2017-09-14 17:15:01 +08:00
Wangjialin
2fceec4d85
feature(I2S-ADC): add ADC mode for I2S.
...
1. Support built-in ADC for I2S.
2. Modify code of ADC, made no change to the original APIs.
3. Add APIs in I2S:
esp_err_t i2s_set_adc_mode(adc_unit_t adc_unit, adc1_channel_t adc_channel);
4. Add I2S ADC/DAC example code.
5. add old-fashion definition to make it more compatible
6. replase spi_flash_ APIs with esp_partition_ APIs
7. add example of generating audio table from wav
8. change example sound
2017-09-14 13:24:08 +08:00
Ivan Grokhotkov
b2adaf2a4c
Merge branch 'feature/docs_adc_api_reference' into 'master'
...
More details added to description of ADC API
See merge request !1240
2017-09-14 10:49:12 +08:00
Jiang Jiang Jian
ea7a09c3e4
Merge branch 'bugfix/btdm_sec_config' into 'master'
...
component/bt : fix btc security storage bug
See merge request !1161
2017-09-13 11:46:34 +08:00
Yulong
1759a47060
This is a combination of 4 commits.
...
squash again all the commit.
component/bt: Change all the gattc API && bta gattc layer.
component/bt: Debug the code and change the btc_ble_gattc_get_db method.
component/bt: Change the gatt read API interface.
component/bt: Reconstruction the BTA_gattc_cache code.
component/bt: Change back the bluedroid_get_status to marco.
component/bt: Added the serch service res start_handle & end_handle to the result.
component/bt: Change the gattc docs format.
component/bt: Change the docs format.
component/bt: fix the read char value bug.
component/bt: change the gattc_get_attr_count method.
component/bt: Change back the bta_gattc write ccc code.
component/bt: Change the gattc api docs format
component/bt: Change the gattc API docs.
component/bt: Change the prepare write descriptor method to avoid the exection.
Component/bt: modify gatt clinet demo with new API
component/bt: Change the p_src_data->read.p_value to avoid exection.
compoent/bt: Change the bugfix of gattc unreg for the notify.
Modify gattc security demo
component/bt: Change the log error.
Component/bt: modify gattc_multi_connect demo
componnet/bt: Change the bta_gattc_cache sdp include.
component/bt: Change the start_handle & end_handle not from the service.
component/bt: Change the gattc API docs.
component/bt: Change the return issues.
component/bt: Fixed the include service bug.
component/bt: Modify gattc_multi_connect demo , add scan log
component/bt: Fixed the BTA_GATTC_GetIncludeService start handle & end handle error bug.
component/bt: Fix the invalid handle of the get all char issues.
component/bt: Fix the bug with get_db_size_with_type of the start handle & end_handle not correted issue.
component/bt: Fixed the get secondly service num not correct issue.
component/bt: Fixed the last service handle not correted issue.
2017-09-12 07:36:02 -04:00
Ivan Grokhotkov
b6d82eeceb
Merge branch 'feature/gcov_over_apptrace' into 'master'
...
esp32: Adds gcov over JTAG feature
See merge request !1117
2017-09-12 18:54:26 +08:00
Angus Gratton
d5301bdac6
gatts_demo example: Use add_char_descr.attr_handle everywhere
2017-09-12 10:57:45 +10:00
Siarhei Volkau
1922f6cd80
using param, which corresponds to handled event
...
In the handlers of ESP_GATTS_ADD_CHAR_DESCR_EVT was used incorrect parameter, which corresponding to ESP_GATTS_ADD_CHAR_EVT.
2017-09-12 10:41:43 +10:00
krzychb
31eda99136
More detailed description of ADC API
2017-09-11 21:00:09 +02:00
me-no-dev
dd87deb278
Add SPIFFS Component to IDF
2017-09-11 19:56:40 +03:00
krzychb
4079886704
Added socket receiving timeout, ref. TW#14353 / GitHub issue #844
2017-09-11 05:15:39 +02:00
krzychb
b69379941b
Fixed broken links in documentation
2017-09-07 18:48:15 +02:00
Alexey Gerenkov
891f0db31d
esp32: Adds gcov over JTAG feature
...
Implements function to dump GCOV data to host via JTAG.
The following functionality was added:
- Host file I/O
- GCOV runtime I/O stubs
- GCOV example
2017-09-07 18:13:16 +03:00
island
9e27c24e54
component/bt: add esp_ibeacon_api file
2017-09-07 20:49:11 +08:00
zhiweijian
941001959e
Component/bt: delete the useless .h files
2017-09-07 20:49:11 +08:00
island
2f9111c13f
component/bt: Optimize iBeacon demo
...
- Add endian change for major and minor part
- Change measured power format
- Optimize comments in example
2017-09-07 20:49:11 +08:00
island
eff95f3799
component/bt: add ibeacon demo
2017-09-07 20:49:11 +08:00
Tian Hao
38102f4148
component/bt : fix btc security storage bug
...
1. Remove the bond_device global variable.
2. Fix bond_device add cause memory exception
3. Modify the code location.
4. modify thread security
5. remove esp_ble_clear_bond_device_list() API
6. modify esp_ble_get_gond_device_list() to return list immediately, rather than wait event.
7. modify the gatt_security_server demo to show how to remove all the bonded devices.
8. fix some code bugs may cause something error.
2017-09-07 19:37:49 +08:00
Ivan Grokhotkov
3c470e7c43
Merge branch 'bugfix/rmt' into 'master'
...
RMT 2 fixes: Rename one API and specify wait_time in another API
See merge request !896
2017-09-07 18:03:08 +08:00
Ivan Grokhotkov
0d86db773c
Merge branch 'feature/spi_lcd_autodetect' into 'master'
...
example(spi_master): add menuconfig to enable the auto detect of LCD type.
See merge request !1185
2017-09-07 17:47:00 +08:00
Angus Gratton
c503a01388
mbedtls: Rename net to net_sockets (in line with 2.4.0 API change)
2017-09-07 18:02:39 +10:00
krzychb
672390c458
Mass replacement of http with https urls, fixed broken urls
2017-09-06 08:16:01 +02:00
michael
c9f065fd2b
example(spi_master): add menuconfig to enable the auto detect of LCD type.
2017-09-06 11:41:07 +08:00
Ivan Grokhotkov
70cdb03ffa
Merge branch 'bugfix/openssl_client_example' into 'master'
...
example/openssl_client: Fix http string "printf" error without end character '\0'
See merge request !1201
2017-09-05 11:15:55 +08:00
Dong Heng
d523a5181b
example/openssl_client: Fix http string "printf" error without end character '\0'
2017-09-04 13:29:19 +08:00
zhiweijian
f1c4eda373
Component/bt: add set local MTU API
...
- add esp_ble_gatt_set_local_mtu( ) API
- modify esp_ble_gattc_config_mtu(esp_gatt_if_t gattc_if, uint16_t conn_id)
- modify gattc demo
2017-09-01 21:55:28 +08:00
Jiang Jiang Jian
3a1de7dba3
Merge branch 'bugfix/btdm_fix_connection_parameters_update' into 'master'
...
component/bt: fix connection parameters update
See merge request !1099
2017-09-01 20:15:30 +08:00
Jiang Jiang Jian
73473ad351
Merge branch 'bugfix/btdm_optimize_gatt_security_server_demo' into 'master'
...
component/bt: optimize gatt security server demo
See merge request !1047
2017-09-01 20:13:13 +08:00
Ivan Grokhotkov
d2acf1ce77
sleep: add light sleep, factor out APIs common for deep/light sleep
2017-09-01 10:36:14 +08:00
Angus Gratton
96f9ae3e30
Merge branch 'bugfix/minor_prs_github' into 'master'
...
Minor bugfixes and corrections from github
See merge request !1181
2017-08-31 07:11:30 +08:00
Wangjialin
1c9e821fb4
bugfix(timer group): remove floating-point in timer isr in example.
2017-08-30 23:30:53 +08:00
Chris Morgan
105f9f466e
openssl_server: Rename openssl_client_init() to openssl_server_init() to match usage
...
Merges https://github.com/espressif/esp-idf/pull/928
2017-08-30 17:55:00 +10:00
zhiweijian
1a9b02ccbc
component/bt: fix connection parameters update
...
- update connection parameters timeout due to master update illegal connection parameters
- slave returns error status when slave check the connection parameters
- slave connection parameters update callback get that interval_max is equal to interval_min
2017-08-30 11:29:25 +08:00
xiewenxiang
2b0893d8a8
component/bt: add example for ble spp client
...
- refactory spp client code for modification suggestion.
2017-08-29 22:35:33 +08:00
Darian Leung
88b05f9391
esp_adc_cal: Added ADC calibration component
...
Added component containg API that is able to correct raw ADC readings
into a voltage in mV. Also provided a helper function that combines
the process of getting the raw ADC1 reading then converting it to a
voltage in mV. In doing so, the adc1_get_voltage() function of the ADC
driver has been deprecated. Instead there is now adc1_get_raw to obtain
the raw ADC1 reading, and adc1_to_voltage() that gets the raw reading
and converts all in one function. Functions using the deprecated
adc1_get_voltage() have also been updated to use adc1_get_raw().
Conversion is based on ADC characteristics. The characteristics are based
on the ADC's v_ref, herefore the appropriate structure and functions have
been provided to obtain the ADC characteristics.
The existing ADC driver has also been modified by adding a function to
route the internal ADC reference voltage to a GPIO allowing users to measure
it manually.
Relevant documentation has also been updated
2017-08-29 18:43:14 +08:00
xiewenxiang
e6f0ff7209
component/bt: add example for ble spp server
...
- refactory spp server code for modification suggestion.
2017-08-29 13:44:58 +08:00
zhiweijian
e14509b1ed
Component/bt: optimize gatt security server demo
...
- optimize gatt security server demo
- change the adv public address to a private address
2017-08-25 15:33:35 +08:00
xiewenxiang
b3fa390681
component/bt: add example for ble spp client
...
- this demo needs to work with the spp server demo
2017-08-25 09:52:24 +08:00
Ivan Grokhotkov
e1846df542
Merge branch 'feature/app_trace_to_host_example' into 'master'
...
Example on using application trace and logging to host
See merge request !1082
2017-08-24 14:30:28 +08:00
Wang Jia Lin
f1ecffb46c
Merge branch 'bugfix/touch_pad_driver' into 'master'
...
driver(touch): fix bug and add more features
See merge request !1056
2017-08-23 19:12:39 +08:00
Wangjialin
842caaab21
driver(touch): fix bug and add more features
...
1. add sens_struct.h
2. add definition of RTCCNTL and RTCIO
3. modify touch pad examples
4. update example code.
5. add comments add option in menuconfig
6. fix issue that pad index 8 and 9 are mismatched
7. add touch_pad_read_filtered() api to get value filtered by iir filter
8. modify touch pad isr func
9. Make the items in perihperal.ld in the sequence of address
10. delete Kconfig for touch pad
11. add touchpad filter APIs to adjust the filter
12. add touch_pad into index.rst
13. add touch_pad in Doxyfile
14. add touch_pad.rst
2017-08-22 21:21:39 +08:00
xiewenxiang
46e7570dcd
component/bt: add example for ble spp server
...
- the first characteristic is used to receive data from client.
- the second characteristic is used to notify data to client.
- the third characteristic is used to receive command from client, user
can add code to process the command.
- the fourth characteristic is used to notify status to client.
- the fifth characteristic is used to keep ble connection
2017-08-22 16:56:20 +08:00
Jiang Jiang Jian
642117a37f
Merge branch 'bugfix/btdm_optimize_gatt_server_demo' into 'master'
...
component/bt: optimize gatt server demo
See merge request !1040
2017-08-22 16:30:08 +08:00
zhiweijian
6fa06c4646
Component/bt: optimize gatt server demo
2017-08-22 14:48:01 +08:00
zhiweijian
2e6835e90c
Component/bt: optimize gatt_client demo
2017-08-22 14:40:12 +08:00
Jiang Jiang Jian
43f3c59f81
Merge branch 'feature/btdm_add_multiple_connections_demo' into 'master'
...
component/bt : add gattc multiple connect demo
See merge request !1027
2017-08-22 14:12:33 +08:00
Jiang Jiang Jian
5c3f2bdd00
Merge branch 'feature/btdm_add_gatt_security_client_demo' into 'master'
...
component/bt: add gatt_security_client demo
See merge request !1049
2017-08-22 11:59:42 +08:00
Yulong
202c5783db
component/bt:squash the 2 commits.
...
component/bt: cherry-pick the bugfix/btdm_api_manage_pair_info_#13119 to this branch.
component/bt: Change the ble gap API code format & added the status judgment in the btc_storage_load_bonded_ble_devices function.
2017-08-21 06:17:21 -04:00
Ivan Grokhotkov
10f0543080
console: add support for terminal probing and dumb terminal mode
2017-08-21 15:58:28 +08:00
Ivan Grokhotkov
5de7c91a54
add console component and example
2017-08-21 15:58:27 +08:00
Angus Gratton
f44091e48a
Merge branch 'feature/mbedtls_cipher_config' into 'master'
...
mbedtls: Add compile-time configuration, better default configuration
See merge request !1118
2017-08-21 07:19:24 +08:00
krzychb
78a0523757
Example on use application trace logging to host
2017-08-19 15:44:06 +02:00
Ivan Grokhotkov
bb7d5fc10f
Merge branch 'feature/remove_ethernet_config_option' into 'master'
...
ethernet: remove CONFIG_ETHERNET
See merge request !1116
2017-08-18 18:45:49 +08:00
Angus Gratton
ea171a651c
https example: Use correct pattern around mbedtls_ssl_write()
...
mbedtls_ssl_write() will always write the request here in one go,
but it's good to have correct patterns in examples.
2017-08-18 17:15:11 +10:00
Angus Gratton
f4404ae220
https example: Clean up output, print cipher suite & request count
2017-08-18 17:15:11 +10:00
Kedar Sovani
8348a71847
ethernet: remove CONFIG_ETHERNET
...
1. Hello World application shows no footprint difference before and
after this change
2. examples/ethernet/ethernet application compiles properly (can't
test with my board)
2017-08-18 08:31:43 +05:30
michael
f6495d618f
example(spi_master): add menuconfig options allowing users to choose which type of LCD is used.
...
also some modification in the example file, replacing "ili_*" to "lcd_*".
2017-08-18 10:26:07 +08:00
Ivan Grokhotkov
8a7bc34b78
Merge branch 'feature/remove_wifi_config_option' into 'master'
...
Remove wifi config option
Remove Wi-Fi enable/disable option from Kconfig. This can be detected by the presence of esp_wifi_init() function in the application. Minimum footprint impact after the change.
See merge request !1098
2017-08-16 18:43:56 +08:00
Kedar Sovani
63c738de4c
sdkconfig: Remove rest of the references to WIFI_ENABLED
2017-08-16 15:55:42 +05:30
Nilay Sheth
0eb59844bb
bugfix(driver): fix RMT issues from github
...
1. Rename api from rmt_get_ringbuf_handler to rmt_get_ringbuf_handle (Github Issue #274 )
2. doxygen param rename
3. change API rmt_wait_tx_done to specify maximum waiting time
4.Change return type of rmt_wait_tx_done API from bool to esp_err_t
5. update doc
2017-08-15 17:23:51 +08:00
Angus Gratton
5eef5e7a5d
bootloader: Fallback if OTA data is invalid
...
Make bootloader more robust if either OTA data or some OTA app slots are corrupt.
2017-08-15 09:42:19 +10:00
zhangyanjiao
e782928b50
example: optimize the robust of TCP connect
2017-08-10 18:19:50 +08:00
Deng Xin
57bc38d867
Add the fast crypto function in supplicant
...
optimize the speed when do wifi connect
2017-08-09 21:36:13 +08:00
zhiweijian
d03ad1ad73
t # This is a combination of 2 commits.
...
Component/bt : add gattc multiple connect demo
2017-08-08 20:15:38 +08:00
zhiweijian
a7f8ac5ad6
Component/bt: add gatt_security_client demo
...
- connect gatt_security_server demo with paring and bonding
- connet other ble devices that needs to be encrypted
2017-08-04 16:26:17 +08:00
Ivan Grokhotkov
002f38fa8f
Merge branch 'feature/sdspi_driver' into 'master'
...
SD SPI mode driver
This MR adds functionality to support SD cards connected via SPI interface.
Additionally, two bugs are fixed:
- Definition of `SPI_TRANS_MODE_DIOQIO_ADDR` in spi_master driver
- SD card probing frequency was 4000kHz instead of 400kHz as required by the standard
See merge request !727
2017-07-26 13:51:37 +08:00
Jiang Jiang Jian
7b44d3c083
Merge branch 'bugfix/btdm_blufi_aes_cfb128' into 'master'
...
component/bt : comment out set_key_dec for res cfb128(software crypt)
See merge request !971
2017-07-24 14:08:11 +08:00
Ivan Grokhotkov
0e54caabe3
examples: add missing nvs_flash.h include
2017-07-20 17:20:49 +08:00
Ivan Grokhotkov
292c2abd3b
Merge branch 'bugfix/init_nvs_in_bluetooth' into 'master'
...
bt: call nvs_flash_init in examples, show error if NVS is not initialized
See merge request !1003
2017-07-20 14:25:49 +08:00
Dmitry Yakovlev
e5bb45f381
driver: SD protocol driver for SPI peripheral
2017-07-20 13:43:07 +08:00
krzychb
c0cd79c9a9
Changed adc GPIO pin 32, that is not broken out on header in ESP-WROVER-KIT, to 34
2017-07-18 21:11:22 +02:00
Ivan Grokhotkov
979fce0df5
bt: call nvs_flash_init in examples, show error if NVS is not initialized
...
NVS is used to store PHY calibration data, WiFi configuration, and BT
configuration. Previously BT examples did not call nvs_flash_init,
relying on the fact that it is called during PHY init. However PHY init
did not handle possible NVS initialization errors.
This change moves PHY init procedure into the application, and adds
diagnostic messages to BT config management routines if NVS is not
initialized.
2017-07-17 21:29:50 +08:00
Tian Hao
f01c6eb96c
component/bt : comment out set_key_dec for res cfb128(software crypt)
2017-07-10 14:29:29 +08:00
Anton Maklakov
3d1d4fe150
build: Fix the warnings that break the tests
...
unused variable 'lfn'
'isr_handler' defined but not used
'servo_set_angle' defined but not used
'gpio_test_signal' defined but not used
'change_duty' defined but not used
2017-07-07 11:03:25 +08:00
Jiang Jiang Jian
2aad52300a
Merge branch 'bugfix/update_wpa2_certificate' into 'master'
...
update expiration date of wpa2 enterprise certificates to 2027/06/05.
See merge request !830
2017-07-03 15:35:36 +08:00
Angus Gratton
3fe0022efa
stack sizes: Revert stack size increases added in 8d43859
...
Set min stack size to 2048 if AppTrace support is enabled, 512 bytes otherwise.
2017-06-29 14:57:13 +10:00
Ivan Grokhotkov
9b955f4c9f
Merge branch 'feature/sysview_via_apptrace' into 'master'
...
sysview via apptrace
See merge request !708
2017-06-29 08:40:13 +08:00
Alexey Gerenkov
8d43859b6a
esp32: SEGGER SystemView Tracing Support
...
Implements support for system level traces compatible with SEGGER
SystemView tool on top of ESP32 application tracing module.
That kind of traces can help to analyse program's behaviour.
SystemView can show timeline of tasks/ISRs execution, context switches,
statistics related to the CPUs' load distribution etc.
Also this commit adds useful feature to ESP32 application tracing module:
- Trace data buffering is implemented to handle temporary peaks of events load
2017-06-27 20:52:43 +03:00
Jiang Jiang Jian
3dd2861e2a
Merge branch 'bugfix/btdm_ble_update_conn_params_issues' into 'master'
...
component/bt: Modifed the update connection method to fixed the bug of connectio…
See merge request !889
2017-06-22 20:50:37 +08:00
zhiweijian
eec989f026
Component /bt: modify some log infor
2017-06-21 10:54:51 +08:00
Yulong
01705166bc
component/bt: Modifed the update connection method to fixed the bug of connection parameters not correct.
2017-06-19 03:22:25 -04:00
Jiang Jiang Jian
f114ef4a6a
Merge branch 'bugfix/btdm_hci_example' into 'master'
...
component/bt : fix controller_hci_uart sdkconfig.defaults
See merge request !876
2017-06-15 15:38:21 +08:00
Jiang Jiang Jian
ac5040a7c2
Merge branch 'bugfix/btdm_ll_get_remote_feature' into 'master'
...
component/bt: Fix can't get remote's feature bug
See merge request !871
2017-06-15 15:10:52 +08:00
Tian Hao
643a79c527
component/bt : fix controller_hci_uart sdkconfig.defaults
2017-06-15 14:23:08 +08:00
Tian Hao
7cf5eea36f
component/bt : fix blufi second init fail bug
2017-06-15 11:05:21 +08:00
island
e2e5f4caae
component/bt: Fix can't get remote's feature bug
...
- Slave send version_ind cause some Android 7.0 devices can't encrypt correctly
2017-06-14 21:56:59 +08:00
Jiang Jiang Jian
ae7269d39d
Merge branch 'bugfix/btdm_smp_auth_complete_error' into 'master'
...
component/bt: Change the btc layer data copy method.
See merge request !844
2017-06-14 15:16:38 +08:00
Jiang Jiang Jian
6b3a559ee7
Merge branch 'bugfix/btdm_master_write_service_change_ccc' into 'master'
...
component/bt: Fix slave initiate service change ccc discovery procedure bug
See merge request !847
2017-06-14 15:12:45 +08:00
island
c5debed621
component/bt: Fix bug while writing slave's service change characteristic
...
- Fix slave initiate service discovery procedure
- Fix master re-discovery every time connection established
- Optimize service discovery char ccc write procedure
- Optimize esp_log_buffer function
- Modify default supervision timeout from 20s to 2s
2017-06-14 13:12:38 +08:00
Ivan Grokhotkov
af1bec4625
Merge branch 'bugfix/ulp_fixes' into 'master'
...
Minor fixes for ULP
See merge request !800
2017-06-14 09:12:55 +08:00
Yulong
4734ba40b0
component/bt: Change the btc layer data copy method.
2017-06-09 04:32:01 -04:00
Yulong
e5adfb8119
component/bt: correct the security demo pair status code.
2017-06-09 02:37:28 -04:00
XiaXiaotian
176107f845
update expiration date of wpa2 enterprise certificates to 2027/06/05.
2017-06-07 16:30:39 +08:00
Jiang Jiang Jian
b78242da58
Merge branch 'bugfix/btdm_rebase_update_param_#9626' into 'master'
...
component/bt: rebase the btdm_updata_param_bug_#9626 to the new master.
See merge request !808
2017-06-06 20:55:23 +08:00
Yulong
e6acc32df6
component/bt: rebase the btdm_updata_param_bug_#9626 to the new master.
...
- Added the error code for the time out status.
2017-06-06 05:51:31 -04:00
Jiang Jiang Jian
1eaf88262d
Merge branch 'bugfix/btdm_add_open_and_close_event_for_gatts' into 'master'
...
component/bt: add open and close event for gatts
See merge request !786
2017-06-02 13:53:03 +08:00
Jiang Jiang Jian
77a53e528a
Merge branch 'example/smartconfig' into 'master'
...
feat: add smartconfig example
See merge request !716
2017-06-02 13:11:12 +08:00
zhiweijian
f5a59f4f78
component/bt: add open and close event for gatts
...
1.added open event and close event for gatts.
2.used esp_log_buffer_char/hex for gattc scan result.
2017-06-01 15:01:54 +08:00
jack
fc130fba86
fix bug that files missing commit in MR 773
2017-05-31 19:37:39 +08:00
Ivan Grokhotkov
7abd9bc023
ULP: remove deprecated cycle_sel field from ADC instruction
...
Cycle_sel field was never used in binutils and was always set to zero.
This change removes it from documentation and examples.
Needs ULP binutils with this change:
https://github.com/espressif/binutils-esp32ulp/commit/af79434
2017-05-31 18:22:48 +08:00