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/bootloader_dfu/dfu_transport.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 | /**@file |
rgrover1 | 370:295f76db798e | 14 | * |
rgrover1 | 370:295f76db798e | 15 | * @defgroup nrf_dfu_transport DFU transport API. |
rgrover1 | 370:295f76db798e | 16 | * @{ |
rgrover1 | 370:295f76db798e | 17 | * |
rgrover1 | 370:295f76db798e | 18 | * @brief DFU transport module interface. |
rgrover1 | 370:295f76db798e | 19 | */ |
rgrover1 | 370:295f76db798e | 20 | |
rgrover1 | 370:295f76db798e | 21 | #ifndef DFU_TRANSPORT_H__ |
rgrover1 | 370:295f76db798e | 22 | #define DFU_TRANSPORT_H__ |
rgrover1 | 370:295f76db798e | 23 | |
rgrover1 | 370:295f76db798e | 24 | #include <stdint.h> |
rgrover1 | 370:295f76db798e | 25 | |
rgrover1 | 370:295f76db798e | 26 | /**@brief Function for starting the update of Device Firmware. |
rgrover1 | 370:295f76db798e | 27 | * |
rgrover1 | 370:295f76db798e | 28 | * @retval NRF_SUCCESS Operation success. |
rgrover1 | 370:295f76db798e | 29 | */ |
rgrover1 | 370:295f76db798e | 30 | uint32_t dfu_transport_update_start(void); |
rgrover1 | 370:295f76db798e | 31 | |
rgrover1 | 370:295f76db798e | 32 | /**@brief Function for closing the transport layer. |
rgrover1 | 370:295f76db798e | 33 | * |
rgrover1 | 370:295f76db798e | 34 | * @retval NRF_SUCCESS Operation success. |
rgrover1 | 370:295f76db798e | 35 | */ |
rgrover1 | 370:295f76db798e | 36 | uint32_t dfu_transport_close(void); |
rgrover1 | 370:295f76db798e | 37 | |
rgrover1 | 370:295f76db798e | 38 | #endif // DFU_TRANSPORT_H__ |
rgrover1 | 370:295f76db798e | 39 | |
rgrover1 | 370:295f76db798e | 40 | /**@} */ |