]> granicus.if.org Git - esp-idf/commit
component/bt : change gap btc args to union
authorTian Hao <tianhao@espressif.com>
Tue, 22 Nov 2016 13:50:26 +0000 (21:50 +0800)
committerTian Hao <tianhao@espressif.com>
Tue, 22 Nov 2016 13:50:26 +0000 (21:50 +0800)
commit6cae05d058d7980b7a24f01714d0f623222a8fbb
treeec38437838305637a40af5ba98aa6cb105a9b47a
parentdb007fbb2ec175c0a5cdad8f27e3ec447449e4b5
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
components/bt/bluedroid/api/esp_gap_ble_api.c
components/bt/bluedroid/btc/profile/std/gap/btc_gap_ble.c
components/bt/bluedroid/btc/profile/std/include/btc_gap_ble.h