]> granicus.if.org Git - esp-idf/commit
component/bt : mv some define to btc
authorTian Hao <tianhao@espressif.com>
Tue, 15 Nov 2016 18:10:37 +0000 (02:10 +0800)
committerTian Hao <tianhao@espressif.com>
Tue, 15 Nov 2016 18:10:37 +0000 (02:10 +0800)
commit21d2b7810544d2439b643d45d5f51ec7cf29ba5e
tree2c9835749cf05d64a627f2fb921b86b536975fc8
parent229df65cfc65ac65394c060ce9860cd94ea3fbd0
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)
components/bt/bluedroid/api/esp_gattc_api.c
components/bt/bluedroid/api/esp_gatts_api.c
components/bt/bluedroid/api/include/esp_gattc_api.h
components/bt/bluedroid/api/include/esp_gatts_api.h
components/bt/bluedroid/btc/profile/std/gatt/btc_gattc.c
components/bt/bluedroid/btc/profile/std/gatt/btc_gatts.c
components/bt/bluedroid/btc/profile/std/include/btc_gattc.h
components/bt/bluedroid/btc/profile/std/include/btc_gatts.h