Tian Hao
0245a2028c
component/bt : gatts fix
...
1. gatt server demo
2. gatt server fix bug(bta btc covert bug)
3. fix print lost
2016-11-18 22:10:35 +08:00
Tian Hao
37365cef95
component/bt : gatt server
...
1.add gatt server demo for user
2. some function didn't be tested
2016-11-18 00:30:35 +08:00
Tian Hao
a35e2d42f0
Merge remote-tracking branch 'remotes/origin/feature/btdm_arch_debug1' into feature/btdm_arch
...
1. merge to fix gap modify
2016-11-17 11:28:10 +08:00
Tian Hao
94f26af17d
component/bt : fix component.mk
...
delete coexist in lib, because the lib is in esp32/lib
2016-11-16 22:15:00 +08:00
Tian Hao
aafaebefb4
component/bt : move blufi to new architecture btc task
...
1. move blufi to new architecture
2. delete some log trace
2016-11-16 22:11:59 +08:00
Yulong
a63383dd19
component bt:change the scan rsp callback & scan param setup
2016-11-16 06:50:44 -05:00
Tian Hao
9691fe9dae
component/bt : init api
...
1. use future to redefine init api
2016-11-16 16:26:02 +08:00
Tian Hao
8fed003ce5
component/bt : main api
...
1. use blufi check main api ok
2016-11-16 11:28:41 +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
Tian Hao
118984283a
component/bt : blufi use api
...
1. use api
2. bluetooth init/deinit/enable/disable wrap api(1st version)
3. bluetooth deinit(free resource) still some problem
2016-11-07 02:16:00 +08:00
Tian Hao
3b489f04f0
component:bt : change adv api
2016-11-06 23:58:37 +08:00
Tian Hao
224acf37f6
component/bt : api category
2016-11-05 20:40:07 +08:00
Tian Hao
084248e211
component/bt : cleanup task evt
2016-11-05 19:57:53 +08:00
Tian Hao
5c3ce5b269
component/bt : demo compile fix
2016-11-05 02:50:51 +08:00
Tian Hao
aa6fe04148
component/bt : cleanup the liscence header
2016-11-05 02:48:16 +08:00
Tian Hao
acda125e8b
Merge branch 'feature/btdm_prf_task' into feature/btdm_bluedroid
...
# Conflicts:
# components/bt/bluedroid/profiles/core/bt_prf_sys_main.c
# components/bt/bluedroid/profiles/core/bt_prf_task.c
# components/bt/bluedroid/profiles/core/include/bt_prf_sys.h
# components/bt/bluedroid/profiles/core/include/bt_prf_task.h
# components/bt/bluedroid/profiles/esp/include/wx_airsync_prf.h
# components/bt/bluedroid/profiles/esp/wechat_AirSync/wx_airsync_prf.c
# components/bt/bluedroid/stack/btm/btm_sec.c
2016-11-04 19:32:47 +08:00
Tian Hao
4ea38327b6
component:bt delete old demo trash
2016-11-04 17:50:40 +08:00
Yulong
b83b0ed06a
commpnent bt:Added the stop advertising to the bt project
2016-11-04 05:36:32 -04:00
Yulong
1544965b21
componet bt:debug the advertising issues,it can works in this version
2016-11-04 04:52:23 -04:00
Yulong
90d9f1a74e
component bt:debug the profile task can work
2016-11-04 02:34:52 -04:00
Tian Hao
1540469598
component/esp32 component/bt : seperate phy init
2016-11-03 16:28:04 +08:00
Yulong
c377650cdd
component bt:Added the profile task to the bt project
2016-11-03 04:27:44 -04:00
Yulong
57f8128718
component bt:Change the battery client profile to the new API
2016-11-02 07:04:11 -04:00
Yulong
cdd65095e3
component bt:Change the wx_airsync_prf to the new API function
2016-11-02 06:48:17 -04:00
Yulong
bc604d14ff
component bt: Change the battery function to the new API function
2016-11-02 06:14:02 -04:00
Yulong
a0007ceb79
component bt:Change the HIDD profile function to the new api function
2016-11-02 03:45:00 -04:00
Yulong
2cea783ca1
component bt:Added the app_button event process function to the bt project
2016-11-02 02:21:31 -04:00
yulong
97c75a88ae
component bt:Change the button profile function to the new API function
2016-11-02 02:05:30 -04:00
yulong
bc834820bb
Merge remote-tracking branch 'origin/feature/btdm_api' into feature/btdm_wechat_prf
2016-11-01 07:16:54 -04:00
Tian Hao
d472ff5856
Merge branch 'master' into feature/btdm_bluedroid
...
1.update esptool submodule
2.new esp32 lib and new phy lib
3.new bt lib
4.soc.h add comment
2016-11-01 17:53:59 +08:00
Tian Hao
66b31b89ac
Merge branch 'feature/btdm_gap' into feature/btdm_bluedroid
...
# Conflicts:
# examples/07_blufi/components/bluedroid_demos/app_project/SampleClientProject.c
# examples/07_blufi/components/bluedroid_demos/app_project/SampleServerProject.c
# examples/07_blufi/components/bluedroid_demos/include/bt_app_common.h
2016-11-01 14:19:38 +08:00
Tian Hao
cb33e2a5ae
Merge branch 'feature/btdm_blufi' into feature/btdm_bluedroid
...
# Conflicts:
# components/bt/bluedroid/bta/dm/bta_dm_pm.c
# components/bt/component.mk
# examples/07_blufi/components/bluedroid_demos/app_core/bt_app_core.c
# examples/07_blufi/components/bluedroid_demos/app_project/SampleServerProject.c
2016-11-01 14:01:49 +08:00
yulong
c85be70b9f
component bt:Add the CLASSIC_BT_INCLUDED Macro to the project
2016-11-01 00:07:34 -04:00
wangmengyang
a8b2608dd9
component/bt: merge SDP client and SDP server example to a single demo
2016-11-01 11:54:01 +08:00
wangmengyang
124a673a78
component/bt: legacy bt API provide
...
1. move btif module out of bluetooth stack
2. provide new APIs in bluedroid/stack_api
2016-10-31 21:40:01 +08:00
Wu Jian Gang
c7f8d206ed
Merge branch 'bugfix/tw8242_fix_tcp_rx_abnormal_issue' into 'master'
...
lwip: fix tcp rx abnormal issue(tw8242)
In tcp_alloc(), initialize per_soc_tcp_wnd before initializing recv_wnd because recv_wnd depends on per_soc_tcp_wnd.
See merge request !160
2016-10-31 20:28:11 +08:00
Liu Zhi Fu
2b722ea468
turn on per socket tcp window by default
2016-10-31 19:43:18 +08:00
Liu Zhi Fu
19f61332a9
make build pass when disable per soc tcp window
2016-10-31 19:38:47 +08:00
yulong
1cc3858dc8
component bt:Modified the API method to the bt project
2016-10-31 07:24:03 -04:00
yulong
3053518f8a
component bt:modified the API format to the standard format
2016-10-31 06:55:54 -04:00
Wu Jian Gang
d7b4197ade
Merge branch 'feature/tw8221_softap_supports_max_10_stations' into 'master'
...
esp32/tcpip_adapter: softap supports max 10 stations
The max number of stations softap supports is modified from 8 to 10
See merge request !158
2016-10-31 18:09:03 +08:00
Liu Zhi Fu
a5552b1e21
lwip: fix tcp rx abnormal issue(tw8242)
...
In tcp_alloc(), initialize per_soc_tcp_wnd before initializing recv_wnd because recv_wnd depends on per_soc_tcp_wnd.
2016-10-31 17:50:09 +08:00
Ivan Grokhotkov
e34fc7a46c
Merge branch 'bugfix/nvs_leaks' into 'master'
...
nvs: fix memory leaks in HashList and nvs_close
Fixes TW8162.
Associated test case is run under Instruments on macOS, until I set up valgrind to test this automatically on Linux.
See merge request !150
2016-10-31 17:30:00 +08:00
He Yin Ling
e7cc1aded5
Merge branch 'test/clean_ci_fails' into 'master'
...
Test/clean ci fails
See merge request !159
2016-10-31 16:37:36 +08:00
wangmengyang
2d15803f70
component/bt: add new demo for Bluetooth SDP client
...
1. add Bluetooth SDP client demo;
2. some minor typo fixes
2016-10-31 12:34:11 +08:00
Liu Zhi Fu
f30887bc70
modify comments according to review
2016-10-31 11:17:33 +08:00
Jeroen Domburg
ffeffcd315
Merge branch 'feature/crosscore_int' into 'master'
...
Add cross-core int to accelerate task being awoken from another CPU.
This adds a per-CPU interrupt that can be used to poke the CPU to go do something. In this case all that is implemented is a request to yield the current task, used in case a CPU unblocks a task that runs on another CPU. This gets rid of the limitation that inter-CPU communication using queues, muxes etc can take up to a FreeRTOS tick to happen.
Specs!
Sending an in in a queue of length 1 (essentially a semaphore) as quickly as possible (just a small delay in the sender, to make sure the receiver task gets swapped out) for 10 seconds. Number indicates the amount of ints transferred
Old code:
CPU0->CPU0: 42986
CPU0->CPU1,: 2999
New code:
CPU0->CPU0: 42868
CPU0->CPU1: 62073
See merge request !155
2016-10-31 11:04:28 +08:00
Jeroen Domburg
90b787636a
Remove redundant volatile keyword
2016-10-31 11:00:27 +08:00