BLE FOTA APP

Dependencies:   BLE_API mbed

It doesn't work with the default FOTA bootloader. It use NVIC_SystemReset() to enter a bootloader.

Committer:
yihui
Date:
Fri Oct 10 03:36:28 2014 +0000
Revision:
1:a607cd9655d7
use NVIC_SystemReset() to run bootloader

Who changed what in which revision?

UserRevisionLine numberNew contents of line
yihui 1:a607cd9655d7 1 /*
yihui 1:a607cd9655d7 2 * Copyright (c) 2012 Nordic Semiconductor. All Rights Reserved.
yihui 1:a607cd9655d7 3 *
yihui 1:a607cd9655d7 4 * The information contained herein is confidential property of Nordic Semiconductor. The use,
yihui 1:a607cd9655d7 5 * copying, transfer or disclosure of such information is prohibited except by express written
yihui 1:a607cd9655d7 6 * agreement with Nordic Semiconductor.
yihui 1:a607cd9655d7 7 *
yihui 1:a607cd9655d7 8 */
yihui 1:a607cd9655d7 9 /**
yihui 1:a607cd9655d7 10 @addtogroup nrf_sdm_api
yihui 1:a607cd9655d7 11 @{
yihui 1:a607cd9655d7 12 @defgroup nrf_sdm_error SoftDevice Manager Error Codes
yihui 1:a607cd9655d7 13 @{
yihui 1:a607cd9655d7 14
yihui 1:a607cd9655d7 15 @brief Error definitions for the SDM API
yihui 1:a607cd9655d7 16 */
yihui 1:a607cd9655d7 17
yihui 1:a607cd9655d7 18 /* Header guard */
yihui 1:a607cd9655d7 19 #ifndef NRF_ERROR_SDM_H__
yihui 1:a607cd9655d7 20 #define NRF_ERROR_SDM_H__
yihui 1:a607cd9655d7 21
yihui 1:a607cd9655d7 22 #include "nrf_error.h"
yihui 1:a607cd9655d7 23
yihui 1:a607cd9655d7 24 #define NRF_ERROR_SDM_LFCLK_SOURCE_UNKNOWN (NRF_ERROR_SDM_BASE_NUM + 0) ///< Unknown lfclk source
yihui 1:a607cd9655d7 25 #define NRF_ERROR_SDM_INCORRECT_INTERRUPT_CONFIGURATION (NRF_ERROR_SDM_BASE_NUM + 1) ///< Incorrect interrupt configuration (can be caused by using illegal priority levels, or having enabled SoftDevice interrupts)
yihui 1:a607cd9655d7 26 #define NRF_ERROR_SDM_INCORRECT_CLENR0 (NRF_ERROR_SDM_BASE_NUM + 2) ///< Incorrect CLENR0 (can be caused by erronous SoftDevice flashing)
yihui 1:a607cd9655d7 27
yihui 1:a607cd9655d7 28 #endif // NRF_ERROR_SDM_H__
yihui 1:a607cd9655d7 29
yihui 1:a607cd9655d7 30 /**
yihui 1:a607cd9655d7 31 @}
yihui 1:a607cd9655d7 32 @}
yihui 1:a607cd9655d7 33 */