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/nrf-sdk/bootloader_dfu/bootloader_util.h@66:b3680699d9a4, 2014-09-22 (annotated)
- Committer:
- Rohit Grover
- Date:
- Mon Sep 22 11:19:51 2014 +0100
- Revision:
- 66:b3680699d9a4
Release 0.2.0
=============
Highlights:
Add support for over-the-air firmware updates.
Features
~~~~~~~~
- Add files to support DFU bootloader.
- charHandle is now a part of GattCharacteristicWriteCBParams.
- nRF51GattServer::addService(): Skip any incompletely defined, read-only
characteristics. For instance, the DeviceInformationService may have many
optional, read-only characteristics which may be safely dropped if the
application hasn't defined them.
Bugfixes
~~~~~~~~
None.
Compatibility
~~~~~~~~~~~~~
Works with 0.2.0 of BLE_API.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Rohit Grover |
66:b3680699d9a4 | 1 | /* Copyright (c) 2013 Nordic Semiconductor. All Rights Reserved. |
| Rohit Grover |
66:b3680699d9a4 | 2 | * |
| Rohit Grover |
66:b3680699d9a4 | 3 | * The information contained herein is property of Nordic Semiconductor ASA. |
| Rohit Grover |
66:b3680699d9a4 | 4 | * Terms and conditions of usage are described in detail in NORDIC |
| Rohit Grover |
66:b3680699d9a4 | 5 | * SEMICONDUCTOR STANDARD SOFTWARE LICENSE AGREEMENT. |
| Rohit Grover |
66:b3680699d9a4 | 6 | * |
| Rohit Grover |
66:b3680699d9a4 | 7 | * Licensees are granted free, non-transferable use of the information. NO |
| Rohit Grover |
66:b3680699d9a4 | 8 | * WARRANTY of ANY KIND is provided. This heading must NOT be removed from |
| Rohit Grover |
66:b3680699d9a4 | 9 | * the file. |
| Rohit Grover |
66:b3680699d9a4 | 10 | * |
| Rohit Grover |
66:b3680699d9a4 | 11 | */ |
| Rohit Grover |
66:b3680699d9a4 | 12 | |
| Rohit Grover |
66:b3680699d9a4 | 13 | /**@file |
| Rohit Grover |
66:b3680699d9a4 | 14 | * |
| Rohit Grover |
66:b3680699d9a4 | 15 | * @defgroup nrf_bootloader_util Bootloader util API. |
| Rohit Grover |
66:b3680699d9a4 | 16 | * @{ |
| Rohit Grover |
66:b3680699d9a4 | 17 | * |
| Rohit Grover |
66:b3680699d9a4 | 18 | * @brief Bootloader util module interface. |
| Rohit Grover |
66:b3680699d9a4 | 19 | */ |
| Rohit Grover |
66:b3680699d9a4 | 20 | |
| Rohit Grover |
66:b3680699d9a4 | 21 | #ifndef BOOTLOADER_UTIL_H__ |
| Rohit Grover |
66:b3680699d9a4 | 22 | #define BOOTLOADER_UTIL_H__ |
| Rohit Grover |
66:b3680699d9a4 | 23 | |
| Rohit Grover |
66:b3680699d9a4 | 24 | #include <stdint.h> |
| Rohit Grover |
66:b3680699d9a4 | 25 | #include "bootloader_types.h" |
| Rohit Grover |
66:b3680699d9a4 | 26 | |
| Rohit Grover |
66:b3680699d9a4 | 27 | /**@brief Function for starting the application (or bootloader) at the provided address. |
| Rohit Grover |
66:b3680699d9a4 | 28 | * |
| Rohit Grover |
66:b3680699d9a4 | 29 | * @param[in] start_addr Start address. |
| Rohit Grover |
66:b3680699d9a4 | 30 | * |
| Rohit Grover |
66:b3680699d9a4 | 31 | * @note This function will never retrun. Instead it will reset into the application of the |
| Rohit Grover |
66:b3680699d9a4 | 32 | * provided address. |
| Rohit Grover |
66:b3680699d9a4 | 33 | */ |
| Rohit Grover |
66:b3680699d9a4 | 34 | void bootloader_util_app_start(uint32_t start_addr); |
| Rohit Grover |
66:b3680699d9a4 | 35 | |
| Rohit Grover |
66:b3680699d9a4 | 36 | #endif // BOOTLOADER_UTIL_H__ |
| Rohit Grover |
66:b3680699d9a4 | 37 | |
| Rohit Grover |
66:b3680699d9a4 | 38 | /**@} */ |
