Hrishikesh Dhayagude
e14c55c3ad
examples/bluetooth/nimble: Correct the connection handle in update and enc_change event
2020-02-20 14:02:33 +05:30
Hrishikesh Dhayagude
cf6f1e8246
Add support of NimBLE host in ESP-BLE-Mesh - v3.3
2020-02-13 12:33:23 +05:30
Hrishikesh Dhayagude
a03b9c7465
Add NimBLE files in ESP-BLE-Mesh again
...
Revert "ble_mesh: Remove NimBLE implementation for ESP-BLE-MESH"
This reverts commit 925f93614c
.
2020-02-05 13:37:54 +05:30
lly
925f93614c
ble_mesh: Remove NimBLE implementation for ESP-BLE-MESH
2020-02-03 12:04:00 +08:00
lly
b19671e0d4
ble_mesh: Add ESP BLE Mesh implementation
...
1. BLE Mesh Core
* Provisioning: Node Role
* PB-ADV and PB-GATT
* Authentication OOB
* Provisioning: Provisioner Role
* PB-ADV and PB-GATT
* Authentication OOB
* Networking
* Relay
* Segmentation and Reassembly
* Key Refresh
* IV Update
* Proxy Support
* Multiple Client Models Run Simultaneously
* Support multiple client models send packets to different nodes simultaneously
* No blocking between client model and server
* NVS Storage
* Store BLE Mesh node related information in flash
* Store BLE Mesh Provisioner related information in flash
2. BLE Mesh Models
* Foundation Models
* Configuration Server Model
* Configuration Client Model
* Health Server Model
* Health Client Model
* Generic
* Generic OnOff Server
* Generic OnOff Client
* Generic Level Server
* Generic Level Client
* Generic Default Transition Time Server
* Generic Default Transition Time Client
* Generic Power OnOff Server
* Generic Power OnOff Setup Server
* Generic Power OnOff Client
* Generic Power Level Server
* Generic Power Level Setup Server
* Generic Power Level Client
* Generic Battery Server
* Generic Battery Client
* Generic Location Server
* Generic Location Setup Server
* Generic Location Client
* Generic Admin Property Server
* Generic Manufacturer Property Server
* Generic User Property Server
* Generic Client Property Server
* Generic Property Client
* Sensor Server Model
* Sensor Server
* Sensor Setup Server
* Sensor Client
* Time and Scenes
* Time Server
* Time Setup Server
* Time Client
* Scene Server
* Scene Setup Server
* Scene Client
* Scheduler Server
* Scheduler Setup Server
* Scheduler Client
* Lighting
* Light Lightness Server
* Light Lightness Setup Server
* Light Lightness Client
* Light CTL Server
* Light CTL Setup Server
* Light CTL Client
* Light CTL Temperature Server
* Light HSL Server
* Light HSL Setup Server
* Light HSL Client
* Light HSL Hue Server
* Light HSL Saturation Server
* Light xyL Server
* Light xyL Setup Server
* Light xyL Client
* Light LC Server
* Light LC Setup Server
* Light LC Client
3. BLE Mesh Applications
* BLE Mesh Node
* OnOff Client Example
* OnOff Server Example
* BLE Mesh Provisioner
* Example
* Fast Provisioning
* Vendor Fast Prov Server Model
* Vendor Fast Prov Client Model
* Examples
* Wi-Fi & BLE Mesh Coexistence
* Example
* BLE Mesh Console Commands
* Examples
2020-02-03 12:03:36 +08:00
Hrishikesh Dhayagude
b4383d609f
NimBLE: Update the documentation link in the examples
2020-01-16 17:13:21 +05:30
Geng Yu Chao
db8bcc60f9
Bugfix/btdm fix doc and host bug backport v3.3
2019-12-18 14:19:13 +08:00
Prasad Alatkar
3545b58986
NimBLE: Port NimBLE stack to IDF Release v3.3 (Backport v3.3)
...
Includes all the latest NimBLE stack changes from idf-v4.0 with few idf-v3.3
specific modifications.
- Addition of nimble component as submodule (`nimble-1.1.0-idf-v3.3`), contains
IDF v3.3 specific minor changes.
- Example applications are identical to idf-v4.0
- Modification in `bt/Kconfig` to accommodate NimBLE as a BT host.
2019-10-18 13:23:24 +08:00
baohongde
e64bae3a0c
components/bt: Fix iphone can't get song's informations
2019-07-08 19:40:22 +08:00
zhiweijian
d71df18d92
Component/bt: fix iOS and win10 compatibility error for HID
2019-02-28 20:39:12 +08:00
zhiweijian
06a2e20b15
Component/bt: fix comment error
2019-01-31 20:47:36 +08:00
Roland Dobai
37126d3451
Correct Kconfigs according to the coding style
2019-01-29 13:37:01 +01: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
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
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
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
Anton Maklakov
eb13758d1a
example: Fix unused identifier warnings
2018-12-13 12:29:27 +08:00
Angus Gratton
81231fcc4b
Merge branch 'feature/i2s_tx_descriptor_auto_clear' into 'master'
...
i2s: add (optional) support to clear tx descriptor in underflow case
See merge request idf/esp-idf!2397
2018-11-27 13:45:51 +08:00
Mahavir Jain
1751607adf
examples: enable option to auto clear I2S tx descriptor on underflow
...
Closes: https://github.com/espressif/esp-idf/issues/1945
2018-11-23 14:43:20 +05:30
zhiweijian
e9ee9384fc
Component/bt: add BLE Compatibility Test demo
2018-11-21 19:36:51 +08:00
Jiang Jiang Jian
1b7a4758e3
Merge branch 'bugfix/fix_ble_examples' into 'master'
...
examples/bluetooth: Miscellaneous fixes in some of the examples
See merge request idf/esp-idf!3549
2018-11-08 18:09:29 +08:00
Jiang Jiang Jian
71f1a34540
Merge branch 'feature/btdm_support_oob_in_SMP' into 'master'
...
Component/bt: support OOB in SMP
See merge request idf/esp-idf!3496
2018-11-08 16:44:15 +08:00
Hrishikesh Dhayagude
55dfb79e91
examples/bluetooth: Miscellaneous fixes in some of the examples
...
This closes:
https://github.com/espressif/esp-idf/issues/2617
https://github.com/espressif/esp-idf/issues/2622
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-10-29 11:14:09 +05:30
zhiweijian
4e81705ca2
Component/bt: support OOB in SMP
2018-10-25 07:09:59 +00:00
zhiweijian
44827bb681
Component/bt: add attr_handle for ESP_GATTS_CONF_EVT
2018-10-19 08:19:36 +00:00
David Cermak
9784df1c3a
asio: examples renamed to have consistent binary names when build in make and CMake
2018-10-17 15:00:26 +02:00
island
024f27f3d5
component/bt: modify the BLE example to make it run with "numeric comparison" mode
2018-10-17 16:55:11 +08:00
zhiweijian
fe7fd3bf4d
Component/bt: fix connection interval error in slave adv params
2018-09-30 11:14:27 +00:00
Jiang Jiang Jian
d6bc6fad8b
Merge branch 'bugfix/btdm_add_ESP_BLE_SM_ONLY_ACCEPT_SPECIFIED_SEC_AUTH_in_set_security_param_API' into 'master'
...
Component/bt: add only accept sepecified authentication function for SMP
See merge request idf/esp-idf!3385
2018-09-30 14:18:23 +08:00
zhiweijian
3050e55801
Component/bt: add only accept sepecified Authentication
2018-09-29 21:23:55 +08:00
zhiweijian
e6d737780a
Component/bt: add “service from” param for ESP_GATTC_SEARCH_CMPL_EVT
2018-09-28 12:59:01 +00:00
Anton Maklakov
d4cbfd34cc
cmake: silence some warnings in coap, bt, expat, libsodium, lwip and examples/bluetooth
2018-09-20 18:53:15 +08:00
Anton Maklakov
9a55557ad8
build system: Add a compatible old GCC flag
2018-09-20 18:53:14 +08:00
Ivan Grokhotkov
0b35292abe
examples/bluetooth: silence unused const variables warnings
2018-09-20 18:53:14 +08:00
Angus Gratton
b38a6da74b
cmake: Fix some failing example builds, fix gcov
2018-09-19 14:38:19 +10:00
Jiang Jiang Jian
3a19fb7e8a
Merge branch 'bugfix/btdm_controller_enable_failed_in_examples' into 'master'
...
bugfix/btdm_controller_enable_failed_in_examples
See merge request idf/esp-idf!3224
2018-09-12 16:41:58 +08:00
wangmengyang
ee7a73e5a7
component/bt: release some controller memory according to the configuration of bluetooth examples
2018-09-11 11:32:20 +08:00
wangmengyang
37269dbbca
component/bt: bugfix for mismatch of controller mode in sdkconfig.defaults and source code in some examples
2018-09-11 11:32:04 +08:00
Renz Christian Bagaporo
d9939cedd9
cmake: make main a component again
2018-09-11 09:44:12 +08:00
Jiang Jiang Jian
892fc4ac3f
Merge branch 'feature/btdm_add_set_default_passkey_function' into 'master'
...
Component/bt: add set/clear static passkey function
See merge request idf/esp-idf!3128
2018-09-10 16:08:05 +08:00
Angus Gratton
4eeed31a04
Merge branch 'feature/cmake' into 'master'
...
Merge experimental CMake support to master
See merge request idf/esp-idf!3024
2018-09-07 13:44:17 +08:00
zhiweijian
d12982dc6e
Component/bt: add set default passkey function
2018-09-07 10:55:44 +08:00
XieWX
f278c7c9f8
docs: refactor BLE iBeacon demo readme
2018-09-06 17:31:03 +08:00
Angus Gratton
b355854d4d
Merge branch 'master' into feature/cmake
2018-09-05 10:35:04 +08:00
baohongde
bd8b9960d5
component/bt: Add Legacy Pairing
2018-09-04 21:11:03 +08:00
Jiang Jiang Jian
f83926a6e6
Merge branch 'doc/btdm_a2dp_sink_example_improvement' into 'master'
...
component/bt: fix the format and add more content to A2DP sink example
See merge request idf/esp-idf!2995
2018-09-04 19:37:31 +08:00
Jiang Jiang Jian
619eadf8d3
Merge branch 'doc/btdm_a2dp_source_example_improvement' into 'master'
...
component/bt: fix the format and add more content to A2DP source example
See merge request idf/esp-idf!2996
2018-09-04 19:14:55 +08:00
Angus Gratton
83a179abb0
esp32: Add esp_fill_random() function
...
Convenience function to fill a buffer with random bytes.
Add some unit tests (only sanity checks, really.)
2018-09-03 04:39:45 +00:00
Angus Gratton
a9c4ed7139
Merge branch 'master' into feature/cmake
2018-08-30 18:51:01 +08:00
Angus Gratton
5689e446dc
cmake: Add missing example CMakeLists.txt files, CI check all examples have both
2018-08-29 20:22:55 +08:00
Angus Gratton
a56b3abf84
kconfiglib: Allow CONFIG_xxx= to disable booleans
...
But replace all sdkconfig.defaults to use the explicit =n (more correct)
2018-08-29 19:39:17 +08:00
Ivan Grokhotkov
61dc37a6c3
examples/bluetooth: add fallthrough annotations
2018-08-29 14:40:28 +08:00
Anton Maklakov
6af721e8e4
examples/bluetooth: Fix incompatible cast
2018-08-29 14:40:28 +08:00
Jiang Jiang Jian
ad9db6ff1c
Merge branch 'bugfix/bluetooth_demo_sdkconfig' into 'master'
...
Fix bluetooth example sdkconfig.defaults
See merge request idf/esp-idf!3032
2018-08-20 20:33:35 +08:00
Angus Gratton
9bc74e6815
Merge branch 'bugfix/err_variable_issue' into 'master'
...
Fix small parameter issue in bt_a2dp_sink example. Merges…
See merge request idf/esp-idf!3012
2018-08-20 07:59:24 +08:00
Tian Hao
99d0624999
Fix bluetooth example sdkconfig.defaults
...
1. a2dp_gatts_coex
2. blufi BT_RESERVE_DRAM
2018-08-19 11:35:28 +08:00
wangmengyang
0465e930d5
component/bt: fix the format and add more content to A2DP source example document and source code
2018-08-16 20:08:00 +08:00
Jiang Jiang Jian
00ef8bf726
Merge branch 'feature/decrease_bt_contrller_memory_with_new_mem_reserved' into 'master'
...
decrease bt contrller memory with new mem reserved
See merge request idf/esp-idf!2791
2018-08-16 19:12:44 +08:00
Angus Gratton
ff2404a272
Merge branch 'master' into feature/cmake
2018-08-16 17:14:17 +10:00
Piocky
23a510c752
Fix small parameter issue in bt_a2dp_sink example. Merges https://github.com/espressif/esp-idf/pull/2261
...
The wrong parameter was used to print the error if something failed during the bt init.
2018-08-14 22:13:00 +02:00
Jiang Jiang Jian
b4b1b361da
Merge branch 'bugfix/bt_fix_incorrect_handle_print' into 'master'
...
examples/bluetooth: Fix incorrect end handle print in the GATT client applications
See merge request idf/esp-idf!2880
2018-08-14 14:16:53 +08:00
Tian Hao
ee787085f9
component/bt : decrease memory consumption by conn number
...
1. BLE only with 9(max) connection will decrease 3K DRAM
2. BR/EDR only with 7(max) connection will decrease 16K DRAM
3. Any of BLE or BR/EDR connection number decrease will also decrease DRAM consumption
4. Decrease one BLE connection will save about 1KB DRAM
5. Decrease one BR/EDR ACL connection will save about 1.2KB DRAM
6. Decrease one BR/EDR SCO/eSCO will save 2KB DRAM.
7. fix some definition and kconfig
8. remove 1.2k of vhci tx cache and make .bss & .data to heap about 1.4K
9. modify BT Reserved Memory size and modify example to support new bt kconfig
2018-08-14 02:29:17 +00:00
wangmengyang
e60db51240
component/bt: fix the format and add more content to A2DP sink example document and source code
2018-08-13 21:17:27 +08:00
Angus Gratton
5f56f2ca01
Merge branch 'feature/nvs_version_check' into 'master'
...
nvs_flash: Version compatibility check for nvs storage
See merge request idf/esp-idf!2855
2018-08-07 13:31:49 +08:00
Sagar Bijwe
1df85e0039
nvs_flash: Version compatibility check for nvs storage
...
This change adds a check for compatibility between the nvs version
found on nvs flash and the one assumed by running code during nvs
initialization. Any mismatch is reported to the user using new error
code ESP_ERR_NVS_NEW_VERSION_FOUND.
2018-08-05 00:00:56 +00:00
zhiweijian
163dbc3200
Component/bt: fix SC_MITM_BOND failed in smp for iphones
2018-08-04 16:52:53 +00:00
zhiweijian
1261b9e40b
Component/bt: fix ble HID demo error
2018-07-31 15:25:14 +08:00
Hrishikesh Dhayagude
eb92a06aaf
examples/bluetooth: Fix incorrect end handle print in the GATT client applications
...
End handle is incorrectly printed as start handle
Tested that gatt_client, gatt_security_client and gattc_multi_connect compile successfully
Signed-off-by: Hrishikesh Dhayagude <hrishi@espressif.com>
2018-07-30 12:04:07 +05:30
baohongde
cf061a01b7
component/bt: Fix some misspell
...
Using CONFIG_BT_SSP_ENABLE instead if BT_SPP_INCLUDED
2018-07-16 20:56:45 +08:00
Jiang Jiang Jian
394eabdeec
Merge branch 'docs/btdm_refactor_ble_spp_readme' into 'master'
...
component/bt_refactor_ble_spp_readme
See merge request idf/esp-idf!2717
2018-07-15 15:38:40 +08:00
Jiang Jiang Jian
8571170abe
Merge branch 'feature/btdm_bt_ssp' into 'master'
...
component/bt: Add Secure Simple Pairing
See merge request idf/esp-idf!2453
2018-07-13 19:19:53 +08:00
Angus Gratton
a67d5d89e0
Replace all DOS line endings with Unix
...
Command run was:
git ls-tree -r HEAD --name-only | xargs dos2unix
2018-07-12 19:10:37 +08:00
xiewenxiang
91052cd333
component/bt_refactor_ble_spp_readme
2018-07-12 09:09:01 +08:00
baohongde
21af1d7339
component/bt: Add Secure Simple Pairing
2018-07-10 11:18:52 +08:00
Jiang Jiang Jian
8f804d5ee7
Merge branch 'bugfix/btdm_some_ble_hid_bugs' into 'master'
...
component/bt: Fix some hid bugs
See merge request idf/esp-idf!2628
2018-06-29 15:36:53 +08:00
baohongde
7ff84d94aa
component/bt: Fix some hid bugs
...
1. Property of HID Information is Read
2. Property of HID Control Point is WriteWithoutResponse
2018-06-26 17:48:07 +08:00
zhiweijian
ee9db0c76a
Component/bt: modify service uuid of ble_sec_gatts demo
2018-06-25 16:04:20 +08:00
zhiweijian
4aae691519
Component/bt: modify throughput demo default config
2018-06-21 20:48:20 +08:00
Jiang Jiang Jian
a3a0b01c1b
Merge branch 'bugfix/btdm_fix_ble_throughput_demo_fail' into 'master'
...
Component/bt: fix throughput_demo_fail
See merge request idf/esp-idf!2467
2018-05-31 18:53:01 +08:00
Angus Gratton
6b9784cc45
Merge branch 'master' into feature/cmake_update
2018-05-31 14:46:23 +10:00
zhiweijian
212b786119
Component/bt: fix throughput_demo_fail
2018-05-30 19:58:31 +08:00
zhiweijian
26db749257
Component/bt: add makefile for coex demo
2018-05-30 19:33:52 +08:00
Ivan Grokhotkov
cb649e452f
remove executable permission from source files
2018-05-29 20:07:45 +08:00
Jiang Jiang Jian
5b88d90a6c
Merge branch 'feature/btdm_add_bt_ble_coex_demo' into 'master'
...
Component/bt: add a2dp_gatts_coex demo
See merge request idf/esp-idf!1945
2018-05-25 19:57:45 +08:00
Jiang Jiang Jian
affed9a235
Merge branch 'feature/a2dp-sink-source-runtime-selection' into 'master'
...
bt-a2dp: BT A2DP sink and source selection is now runtime
See merge request idf/esp-idf!2229
2018-05-22 22:21:39 +08:00
zhiweijian
97a4332ed9
Component/bt: add bt_ble_coex demo
2018-05-22 17:19:44 +08:00
Amey Inamdar
ae8ed8dad8
bt-a2dp: BT A2DP sink and source selection is now runtime
...
Earlier they have to be selected at the compile time through sdkconfig.
A2DP sink and source application tested with this change.
Signed-off-by: Amey Inamdar <amey@espressif.com>
2018-05-21 14:02:49 +05:30
zhiweijian
340ad5c430
Component/bt: fix scan duplicate
2018-05-21 15:23:15 +08:00
Jiang Jiang Jian
cf9499479c
Merge branch 'bugfix/i2s_mix_result_with_error_code_master' into 'master'
...
fix i2s mix result and error code
See merge request idf/esp-idf!2227
2018-05-17 21:53:06 +08:00
Zhang Zhao Xiang
9deb58859c
fix i2s mix result and error code
2018-05-17 10:59:04 +08:00
baohongde
50f82a1aa5
component/bt: Change scan mode after connected or disconnected
2018-05-16 10:28:03 +00:00
Jiang Jiang Jian
6adaeb0048
Merge branch 'bugfix/btdm_fix_crash_without_smp_when_deinit_bluedroid' into 'master'
...
Component/bt: fix crash without SMP when deinit bluedroid
See merge request idf/esp-idf!2375
2018-05-14 21:20:44 +08:00
Jiang Jiang Jian
66406e1f64
Merge branch 'bugfix/upate_ble_a2dsink_example' into 'master'
...
example(ble): Update ble a2d_sink example
See merge request idf/esp-idf!2105
2018-05-11 15:59:14 +08:00
zhiweijian
b7a5fef871
Component/bt: fix crash without SMP when deinit bluedroid
...
- fix crash without SMP when bluedroid deinit
- modify default menuconfig in blufi demo
2018-05-10 11:39:34 +08:00
baohongde
c22c070e07
component/bt: Add APIs of get and remove bond device
...
1. Add APIs of get and remove bond device
2. Add ESP_BT_GAP_AUTH_CMPL_EVT
2018-05-03 19:05:57 +08:00
Angus Gratton
381be65472
cmake: Build all examples in CI
...
Includes some fixes for compile errors/warnings in examples.
2018-04-30 10:18:33 +10:00
Angus Gratton
800bffb8b0
cmake: Add CMakeLists.txt files for all examples
...
Generating using convert_to_cmake.py, with some minor cleanup
2018-04-30 09:59:20 +10:00