zephyr/subsys
Luiz Augusto von Dentz e0f3ab6bf2 Bluetooth: GATT: Add support for static services
This reintroduces support for static service in the form of a new API,
BT_GATT_SERVICE_DEFINE, and changes the internal services (GAP/GATT)
to be defined as const as they are never register/unregistered.

Internal service needed to be renamed in order to keep the same order
as before since the section elements are sorted by name.

The result is the following (make ram_report):

before:
      gatt.c                                    572     0.66%
        cf_cfg                                   32     0.04%
        db                                        8     0.01%
        db_hash                                  16     0.02%
        db_hash_work                             32     0.04%
        gap_attrs				180     0.21%
        gap_svc                                  12     0.01%
        gatt_attrs                              160     0.18%
        gatt_sc                                  80     0.09%
        gatt_svc                                 12     0.01%
        sc_ccc_cfg                               32     0.04%
        subscriptions                             8     0.01%

after:
      gatt.c                                    210     0.24%
        cf_cfg                                   32     0.04%
        db                                        8     0.01%
        db_hash                                  16     0.02%
        db_hash_work                             32     0.04%
        gatt_sc                                  80     0.09%
        last_static_handle                        2     0.00%
        sc_ccc_cfg                               32     0.04%
        subscriptions                             8     0.01%

Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
2019-05-02 08:29:23 +03:00
..
bluetooth Bluetooth: GATT: Add support for static services 2019-05-02 08:29:23 +03:00
console net: telnet: remove obsolete code 2019-04-07 10:26:27 -04:00
cpp license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
debug license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
dfu dfu: introduce progressive erasing 2019-04-28 12:20:01 -04:00
disk license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fb license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
fs license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
jwt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
logging logging: Fix RTT backend drop mode and coverity issue 2019-04-12 08:38:16 -04:00
mgmt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
net net: core: In RX check if the pkt is for loopback interface 2019-04-30 09:56:01 -07:00
power license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
random license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
settings subsys/settings: Allow to register custom backends in settings subsystem 2019-04-26 11:24:31 +03:00
shell shell: prompt configuration during project generation 2019-04-30 10:40:04 -04:00
stats stats: extending api to handle statistics with more than 256 elements 2019-05-01 10:33:17 -04:00
storage flash_map: add shell interface 2019-04-19 13:41:02 -05:00
testsuite testsuite: Include thread name in crash dump for tests 2019-04-24 09:01:07 -07:00
usb usb: bluetooth: l2cap buffer size now configurable 2019-04-29 13:40:18 +03:00
CMakeLists.txt license: cleanup: add SPDX Apache-2.0 license identifier 2019-04-07 08:45:22 -04:00
Kconfig userspace: remove APP_SHARED_MEM Kconfig 2019-02-23 07:43:55 -05:00