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
363f201603
Merge branch 'bugfix/exection_not_init_bt_use_smp_api_#13691' into 'master'
...
component/bt: Added the bluedorid status checkout for the BLE security API.
See merge request !1045
2017-08-21 14:51:17 +08:00
Yulong
4efc97efc1
component/bt: All esp_bluedroid_get_status check-return could be used as MACRO ESP_BLUEDROID_STATUS_CHECK(ESP_BLUEDROID_STATUS_ENABLED);
2017-08-08 05:28:19 -04:00
zhiweijian
6ff53d1967
Component/bt: wrong return code type for notify func
...
- fix esp_ble_gattc_register_for_notify() returen wrong code type
- fix esp_ble_gattc_unregister_for_notify() returen wrong code type
2017-07-31 18:02:15 +08: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
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
zhiweijian
71401bc9b3
Component/bt:add API to prepare write descriptor for gattc
2017-05-05 18:08:47 +08: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
d512d6100c
component bt:Added the create attribute table method to the new API
2017-01-11 16:57:19 +08:00
wangmengyang
c592714679
component/bt: fix typos in "if" condition espressions
2017-01-11 13:36:48 +08:00
wangmengyang
59540eeae1
component/bt: bug fix of lack of checking bluetooth stack status inside API functions
2017-01-11 11:04:41 +08:00
Tian Hao
c01dedcb06
component/bt : change api for V2.0
...
1. change all gatt cb function to 3 args and function type. add gattc_if/gatts_if as second argument
2. delete gatt_if of "gatt cb param"
3. separate conn_id and gatt_if from conn_id
4. change the demo code as the gatt changed
2016-12-19 17:15:41 +08:00
Tian Hao
8185b0f806
component/bt : fix bug of bdaddr point to resolve gattc recv notify
2016-12-09 14:38:21 +08:00
Tian Hao
758a9e5f06
component/bt : fix compile error
2016-11-29 19:45:10 +08:00
Tian Hao
9f33d8f5c0
component/bt : add write type
2016-11-29 17:27:12 +08:00
Tian Hao
06e2a1d4e1
component/bt : cleanup a macro
2016-11-29 14:38:58 +08:00
Tian Hao
ff8ce12787
component/bt : cleanup the spell && redundant
2016-11-28 14:58:30 +08:00
Tian Hao
19273c7b2d
component/bt : run astyle handle the code files
2016-11-25 02:10:15 +08:00
Tian Hao
225e31b6de
component/bt : change gatt client arg to union
...
1. decrease the args memory occupy
2. change some macro name
2016-11-23 21:27:05 +08:00
Tian Hao
595bd2e3c4
component/bt : gatt client fix search service bug
...
1. fix search service bug
2. delete some print
2016-11-22 17:26:30 +08:00
Tian Hao
21d2b78105
component/bt : mv some define to btc
...
1. Actually, btc & api are the same module thing. So the type defined in api header file can be included by btc c/h files.
Besides, why btc & api should be separated, because that user may be aware of api and api refer defines/types, rather than other non-refer things.
All defines/types that user won't use should be put in btc directory (and define with prefix "btc_"), and which will be used by user should be defined with prefix "esp_" .
2. rename attribute value(all is value, not data)
2016-11-16 02:10:37 +08:00
Tian Hao
229df65cfc
component/bt : cleanup id/uuid define
...
1. which named uuid is esp_bt_uuid_t type
2. which named id is xxx_id_t type, such as service_id_t char_id_t, include inst & uuid
3. share include directory
2016-11-16 00:34:48 +08:00
Tian Hao
521ef3f579
component/bt : new architectecture
...
1st compile ok
2016-11-15 20:56:15 +08:00