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