zhiweijian
25b0a4f514
Component/bt: abnormal behavior for update conn param command
2017-09-22 20:19:02 +08:00
Tian Hao
fbdec19c23
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.
9. modify gatt_security_server demo
2017-09-22 20:19:02 +08:00
Tian Hao
4fd437d466
component/bt : support remove bonded device
...
1. add feature of remove bonded devices.
2. fix SMP key size bug
3. fix privacy bug
4. fix gatt set value bug
5. add gatt security client demo
6. change gatt server/gatt client demo
2017-09-22 20:19:02 +08:00
zhiweijian
58b65291d9
component / bt: add set pkt data length event callback
2017-06-15 16:02:03 +08:00
Jiang Jiang Jian
06fa08b022
Merge branch 'bugfix/btdm_config_bluedroid_mem_debug_github_#12631' into 'master'
...
component/bt: Change the osi_mem_dbg_init to the esp_bluedroid_init function.
See merge request !860
2017-06-14 11:18:34 +08:00
Jiang Jiang Jian
243bc97119
Merge branch 'bugfix/btdm_task_post' into 'master'
...
component/bt : fix task post bug && fix controller init protection
See merge request !856
2017-06-14 10:52:56 +08:00
Yulong
2a759a9864
component/bt: Change the osi_mem_dbg_init to the esp_bluedroid_init function.
2017-06-13 08:52:26 -04:00
Jiang Jiang Jian
be680a0ef3
Merge branch 'bugfix/btdm_auth_val_error_#12962' into 'master'
...
component/bt: correct the security demo pair status code.
See merge request !841
2017-06-13 18:14:39 +08:00
Tian Hao
808b07799c
component/bt : fix task post bug && fix controller init protection
...
1. fix bluedroid task post to blocking.
2. use semphore protect btdm controller task when be called from higher priority task
2017-06-13 17:14:50 +08:00
Yulong
e5adfb8119
component/bt: correct the security demo pair status code.
2017-06-09 02:37:28 -04:00
island
30783d481d
component/bt: Fix crash problem while using invalid control parameter
...
- Fix crash problem while using invalid control parameter to set gatt characteristic or descriptor
2017-06-07 20:18:36 +08:00
Jiang Jiang Jian
7da4b42ed1
Merge branch 'feature/btdm_add_connect_event_and_disconnect_event_for_gattc' into 'master'
...
component/bt: Add disconnect & connect func and event
See merge request !806
2017-06-07 13:45:43 +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
Yulong
531f751fd3
component/bt: Cherry-pick the btdm_no_doc_for_value_type_github_#118659 to this branch to avoid conflict.
2017-06-06 05:22:17 -04:00
zhiweijian
db96edc5d9
component/bt: Add disconnect & connect func and event
...
- Add disconnect func for gap
- Add connect event and disconnect event for gattc
2017-06-06 16:53:37 +08:00
Jiang Jiang Jian
0a66f0db4c
Merge branch 'bugfix/btdm_bit_against_enums_github_#12289' into 'master'
...
component/bt: Change the esp_gatt_perm_t & esp_gatt_char_prop_t type from enum t…
See merge request !809
2017-06-02 15:41:01 +08:00
Yulong
be3eda0044
component/bt: Change the esp_gatt_perm_t & esp_gatt_char_prop_t type from enum to uint16_t & uint8_t.
2017-06-02 01:48:56 -04: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
Yulong
e9fae704e3
component/bt: Merge the new master to avoid conflict.
2017-05-26 22:47:56 -04:00
Tian Hao
0c6d966bff
component/bt : fix bugs of some constant value not equal internal define but quotes internal define
2017-05-25 16:12:48 +08:00
Yulong
66bb6a2f2b
component/bt: squash the branch of the early commit
...
component/bt: squash the branch of the early commit
component/bt: Added the set static random address callback to the bt project.
component/bt: fixed the set static random address error.
component/bt: fixed the set static random address error.
2017-05-25 02:13:27 -04:00
Yulong
b401bbc4d6
component/bt: change the esp_ble_gattc_cache_refresh API return value from esp_gatt_status_t to esp_err_t.
2017-05-18 02:11:42 -04:00
Yulong
8f1a6989ee
component/bt: Added the declaration for esp_ble_gattc_cache_refresh in the gattc api header file.
2017-05-18 02:07:16 -04:00
Yulong
00cdf62ce7
component/bt: fixed the discover primary service not correct if server changes service during disconnect period.
2017-05-16 09:10:37 -04:00
Jiang Jiang Jian
65acd99cce
Merge branch 'feature/btdm_gattc_add_API_prepare_write_char_desrc' into 'master'
...
Component/bt:add API to prepare write descriptor for gattc
See merge request !734
2017-05-05 20:34:41 +08:00
zhiweijian
71401bc9b3
Component/bt:add API to prepare write descriptor for gattc
2017-05-05 18:08:47 +08:00
Jiang Jiang Jian
fd079a8bd6
Merge branch 'bugfix/set_scan_bug_rebase_#10399' into 'master'
...
component/bt: component/bt: Check own address and filter policy for validity.
rebase the invalid scan params not report error.
See merge request !736
2017-05-05 17:47:27 +08:00
Yulong
3453824bf2
component/bt: component/bt: Check own address and filter policy for validity.
2017-05-05 04:31:24 -04:00
zhiweijian
fb45ee7a4c
Component/bt: add new cmd for blufi ,ESP32 close a gatt connection
2017-05-04 20:31:58 +08:00
Tian Hao
d648835def
component/bt : fix the comment
2017-05-03 11:58:52 +08:00
Yulong
e8a3f87e4f
component/bt:Fixed the bug for #11754:GATT service should provide command to set char/descriptor read value.
2017-04-28 07:23:52 -04:00
Yulong
bc807a18d1
component/bt:Finish all the separate code from BT & BLE
2017-04-20 07:18:05 -04:00
Yulong
2723504473
add the GATTC_INCLUDED marco to close the bta_gattc module when not used the GATTC
2017-04-19 05:16:24 -04:00
Yulong
c6a516f122
component/bt:move the btdm_rebase_ssp_api branch to this branch
2017-04-13 10:14:28 -04:00
Jiang Jiang Jian
6ace4f6fa4
Merge branch 'feature/btdm_avrc' into 'master'
...
Feature/btdm avrc
The source branch "feature/btdm_avrc" includes classic Bluetooth profiles A2DP(sink role) and AVRCP(controller role);
Menuconfig options to control whether to enable classic BT is added.
See merge request !591
2017-04-13 14:36:58 +08:00
wangmengyang
b503d68045
component/bt: implement classic Bluetooth profiles A2DP(sink) and AVRCP(controller)
2017-04-12 16:42:14 +08:00
island
941a12cb4e
bt component: Add stop adv/scan completed event
2017-04-12 14:19:16 +08:00
island
a4f3312d9d
bt component: optimize scan feature
...
1. Add advertising data length and scan response length in scan result
2. Add scan continuously feature
3. Fix non connectable adv topology error
4. Increase BTC queue size
2017-04-11 14:20:20 +08:00
wangmengyang
8ec94418de
component/bt: clean up the API header and generate documentation files
2017-03-18 14:55:31 +08:00
wangmengyang
1cf5a56896
component/bt: move API to set device name that can be used by both bt and ble applications
2017-03-17 19:16:52 +08:00
wangmengyang
fda2e89a1e
component/bt: add conditional compilation direvatives to control the source code building of classic bluetooth
2017-03-17 15:08:47 +08:00
wangmengyang
383db0dc81
Merge branch 'master' into feature/btdm_avrc
2017-03-13 16:21:41 +08:00
wangmengyang
d101f2113b
component/bt: code clean up for btc_media_task
...
1. remove unused macros variables and functions
2. modify the implementation of API "esp_a2d_register_data_callback" to post messages to BTC task.
2017-03-13 14:54:02 +08:00
wangmengyang
5b7b704365
component/bt: format the API headers
2017-03-09 19:03:34 +08:00
Ivan Grokhotkov
045aa45731
Merge branch 'bugfix/btdm_gatt_attribute_table_debug' into 'master'
...
bt component: fix bluetooth gatt packets process bugs
1. Add process of prepare write request packets
2. Add process of execute write request packets
3. Add process of reliable write request packets
4. Fix bug of processing read blob request packets
5. Fix bug of processing write request packets
6. Optimize error check and process in stack
See merge request !558
2017-03-09 13:28:11 +08:00
wangmengyang
18814c03d4
component/bt: clean up profile call/callback handlers
...
1. remove the empty function btc_gap_bt_cb_handler();
2. separate the a2dp profile call/callback handers
2017-03-08 21:08:11 +08:00
island
a74f3f9fd7
bt component: code style update
2017-03-08 17:09:05 +08:00
wangmengyang
e6f36f2dc5
component/bt: modify AVRCP APIs to post events and arguments to be handled by BTC task
2017-03-08 13:48:56 +08:00