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
Tian Hao
e384c7c014
component/bt : modify alarm APIs to be safely accessible from multiple tasks
2017-04-05 17:34:26 +08:00
Tian Hao
13f0737883
component/bt : fix blufi bug of sec_mode reset
2017-03-21 17:17:07 +08:00
Derek Gregory
a4a790030d
component/bt: fix bug where uuid was not reset in btc_gatts_act_create_attr_tab.
...
Merges #307 https://github.com/espressif/esp-idf/pull/307
2017-03-03 14:59:15 +11:00
lucashutchinson
8ce94d5bd3
ble: Fix ble_adv data truncation
...
Fixed issue with ble_adv data being truncated after the 31st octet due to an incorrect length passed in a memcpy.
Merges #389 https://github.com/espressif/esp-idf/pull/389
2017-03-03 14:59:15 +11:00
Tian Hao
b582697889
component/bt : add adv/scan start complete event
...
1. indicate adv/scan start complete success or failed
2. controller do limit of adv/scan concurrence, so add some codes to report adv/scan start failed or not.
2017-02-23 17:54:22 +08:00
Tian Hao
2c334b46e0
component/bt : fix BLUFI bug with small MTU size
2017-02-10 11:20:34 +08:00
Tian Hao
0073ff3acd
component/bt : add api to set raw adv_data/scan_rsp_data
...
1. add api to set raw scan response data
2. add api to set raw scan response data
3. update doxygen
4. add menuconfig to config gatt server demo
2017-01-19 17:36:40 +08:00
Tian Hao
5508826509
component/bt : fix gatts demo mistakes & unpeg notify bug
2017-01-17 20:13:25 +08:00
Tian Hao
799be9fa3a
component/bt : fix gatt server table bugs
...
1. fix gatt server table bugs
2. fix blufi a minor bug
2017-01-17 18:42:11 +08:00
Wu Jian Gang
ad1790fe3e
Merge branch 'feature/btdm_attr_table' into 'master'
...
component bt:Added the create attribute table method to the new API
GATT Server service table APIs.
Have already modify the style and other things as @jeroen suggestion in other MR(the MR have been closed)
See merge request !399
2017-01-12 17:31:39 +08:00
Tian Hao
fec2f534d5
component/bt : gatt server table fix uuid discovery bug
2017-01-12 16:25:09 +08:00
Island
9f151d745e
component/bt : Optimize Gatt attr table and fix some bugs
...
1. Optimize GATT attribute table structure
2. fix read/write bugs
3. add docs
2017-01-12 11:49:15 +08:00
Tian Hao
1eed54c7cd
component/bt : modify bluedroid task to core0
2017-01-11 17:19:25 +08:00
Yulong
d512d6100c
component bt:Added the create attribute table method to the new API
2017-01-11 16:57:19 +08:00
Jiang Jiang Jian
0c01ef68f1
Merge branch 'bugfix/id9562_unregistered_callback' into 'master'
...
component/bt: check for registration status of callback function before using it
Add checking of NULL function pointers when calling bluetooth callbacks, especially before the callback functions are registered
See merge request !406
2017-01-11 15:57:03 +08:00
wangmengyang
babeed4170
component/bt: change MACRO to inline function when invoking callbacks
2017-01-11 14:08:16 +08:00
wangmengyang
0c31bdf643
component/bt: check for registration status of callback function before using it
2017-01-11 11:31:35 +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
e4b9563dac
component/bt : blufi add version
2017-01-06 17:40:46 +08:00
Tian Hao
24af07fd13
component/bt : new blufi
...
1. new blufi protocol
2. new blufi demo
3. support security
4. support sta/ap/sta_ap
5. support wpa-enterprise
2017-01-05 20:22:35 +08:00
Tian Hao
daf58e3852
component/bt : fix advertising bug
...
1. adv data flag
2. default adv data not BR/EDR in demo
2017-01-05 17:53:33 +08:00
Tian Hao
ee318d42ae
Merge branch 'master' into feature/btdm_gatt_api
2017-01-05 15:25:03 +08:00
Angus Gratton
06e03ff52e
Replace backwards-compatible portTICK_RATE_MS with FreeRTOS v8+ portTICK_PERIOD_MS
...
Closes github #51 https://github.com/espressif/esp-idf/issues/51
2016-12-28 10:23:13 +11:00
Tian Hao
65fe6ab320
component/bt : modify demo for new api
...
1. modify GATT Client demo
2. modify GATT Server demo
3. fix a register notify bug
2016-12-19 17:15: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
d242251295
component/bt : fix advertising bug
...
1. low duty can not be set bug
2. adv type can not be effective bug
2016-12-15 14:33:09 +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
5933ebc6b6
component/bt : cleanup all the "-W-no-xx" and all the warnings
...
1. cleanup the warnings.
2. fix the some function called in gap
3. fix some code in btc_main
2016-12-07 13:49:53 -08:00
Tian Hao
954ffa102f
component/bt : add ble event type
2016-12-01 20:16:09 +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
9d9e758756
component/bt : add comment for doxygen
...
1. use doxygen check api comment
2016-11-28 21:59:04 +08:00
Tian Hao
ff8ce12787
component/bt : cleanup the spell && redundant
2016-11-28 14:58:30 +08:00
Tian Hao
1173106a20
component/bt : change task to decease dram(heap)
...
1. decrease the task size(HCI cannot < 1024, btu cannot < 4096)
2. btc task can config by menuconfig(default 2048)
2016-11-25 23:37:46 +08:00
Tian Hao
19273c7b2d
component/bt : run astyle handle the code files
2016-11-25 02:10:15 +08:00
Tian Hao
d7eb709a9c
component/bt : add license header
2016-11-25 01:58:26 +08:00
Tian Hao
e5ceddabac
component/bt : change gatt client callback param
...
1. change the array to point to decrease the memory occupy
2. change the sendindconfirm position
3. fix union lost
2016-11-24 15:17:49 +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
85aac3afa6
component/bt : decrease callback cb param size
...
1. decrease callback cb param size
2. add write in gatt server demo
2016-11-23 15:34:21 +08:00
Tian Hao
9ec0fea8e1
component/bt : gatt arg use union
...
1. union is 28 bytes for each btc task msg arg
2. as gap, individual arg(not use union) is the best mem occupy.
2016-11-23 13:45:21 +08:00
Tian Hao
6cae05d058
component/bt : change gap btc args to union
...
1. change gap btc args to union to decrease the dram occupied by btc args
2. actually use individual args for every action is the best way(decrease the dram occupy), but for writing code easily and the style, use union
3. gatt server/client should do the same work
2016-11-22 21:50:26 +08:00
Tian Hao
db007fbb2e
component/bt : clean up the demos
...
1. cleanup gatt client demo
2. cleanup gatt server demo
3. cleanup blufi demo
4. use correct log level
2016-11-22 20:32:45 +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
3b432735c6
component/bt : fix advertising data and refer bug
2016-11-21 22:38:00 +08:00
Tian Hao
4ed6404e9f
Merge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature/btdm_arch
...
# Conflicts:
# components/bt/bluedroid/api/include/esp_gatt_defs.h
# components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c
2016-11-21 14:50:51 +08:00
Tian Hao
bf20b958a9
component/bt : fix rsp convert
2016-11-21 12:11:47 +08:00
Yulong
1561c02ba9
component bt:Add stop scan API to the esp_gap_ble API module
2016-11-19 09:56:36 -05:00
Yulong
a76b65ed95
compnent bt:debug the btc_gattc received data error issues.
2016-11-19 08:00:08 -05:00