Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
nordic-sdk/components/libraries/util/sdk_common.h@370:295f76db798e, 2015-07-06 (annotated)
- Committer:
- rgrover1
- Date:
- Mon Jul 06 10:13:26 2015 +0100
- Revision:
- 370:295f76db798e
- Parent:
- 362:6fa0d4d555f6
- Child:
- 371:8f7d2137727a
Synchronized with git rev 9f72c4ba
Author: Rohit Grover
Release 0.3.7
=============
This is a minor set of enhancements mostly around reduce our global static
memory footprint.
Enhancements
~~~~~~~~~~~~
* Reduce the maximum number of CHARACTERISTICS and DESCRIPTORS that can be
handled. This has memory implications for static global memory. It should
be possible to re-architect our solution for add_characteristic() to not
require these limits; hopefully we'll get there soon.
* Move nRF51GattServer::getInstance() into a .cpp file; same for nRF51Gap::getInstance().
* Reduce max bonds to managed by device-manager to 4; this has memory implications for static global memory.
* Reduce pStorage command queue size to 2; this has memory implications for static global memory.
* Replace uses of deprecated Gap::addr_type_t with Gap::AddressType_t.
* Some UUID-related types have moved into UUID class. Minor changes were needed to work around build errors.
Bugfixes
~~~~~~~~
* None.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rgrover1 | 370:295f76db798e | 1 | /* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved. |
rgrover1 | 370:295f76db798e | 2 | * |
rgrover1 | 370:295f76db798e | 3 | * The information contained herein is property of Nordic Semiconductor ASA. |
rgrover1 | 370:295f76db798e | 4 | * Terms and conditions of usage are described in detail in NORDIC |
rgrover1 | 370:295f76db798e | 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. |
rgrover1 | 370:295f76db798e | 6 | * |
rgrover1 | 370:295f76db798e | 7 | * Licensees are granted free, non-transferable use of the information. NO |
rgrover1 | 370:295f76db798e | 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from |
rgrover1 | 370:295f76db798e | 9 | * the file. |
rgrover1 | 370:295f76db798e | 10 | * |
rgrover1 | 370:295f76db798e | 11 | */ |
rgrover1 | 370:295f76db798e | 12 | |
rgrover1 | 370:295f76db798e | 13 | /** @cond */ |
rgrover1 | 370:295f76db798e | 14 | /**@file |
rgrover1 | 370:295f76db798e | 15 | * |
rgrover1 | 370:295f76db798e | 16 | * @ingroup experimental_api |
rgrover1 | 370:295f76db798e | 17 | * @defgroup sdk_common SDK Common Header |
rgrover1 | 370:295f76db798e | 18 | * @breif All common headers needed for SDK examples will be included here so that application |
rgrover1 | 370:295f76db798e | 19 | * developer does not have to include headers on him/herself. |
rgrover1 | 370:295f76db798e | 20 | * @{ |
rgrover1 | 370:295f76db798e | 21 | */ |
rgrover1 | 370:295f76db798e | 22 | |
rgrover1 | 370:295f76db798e | 23 | #ifndef SDK_COMMON_H__ |
rgrover1 | 370:295f76db798e | 24 | #define SDK_COMMON_H__ |
rgrover1 | 370:295f76db798e | 25 | |
rgrover1 | 370:295f76db798e | 26 | #include <stdint.h> |
rgrover1 | 370:295f76db798e | 27 | #include <stdbool.h> |
rgrover1 | 370:295f76db798e | 28 | #include <string.h> |
rgrover1 | 370:295f76db798e | 29 | #include "nordic_common.h" |
rgrover1 | 370:295f76db798e | 30 | #include "compiler_abstraction.h" |
rgrover1 | 370:295f76db798e | 31 | #include "sdk_os.h" |
rgrover1 | 370:295f76db798e | 32 | #include "sdk_errors.h" |
rgrover1 | 370:295f76db798e | 33 | #include "app_util.h" |
rgrover1 | 370:295f76db798e | 34 | |
rgrover1 | 370:295f76db798e | 35 | /** @} */ |
rgrover1 | 370:295f76db798e | 36 | /** @endcond */ |
rgrover1 | 370:295f76db798e | 37 | #endif // SDK_COMMON_H__ |
rgrover1 | 370:295f76db798e | 38 |