BLE FOTA APP
It doesn't work with the default FOTA bootloader. It use NVIC_SystemReset() to enter a bootloader.
Diff: nRF51822/nordic/nrf-sdk/ble/ble_advdata_parser.h
- Revision:
- 1:a607cd9655d7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/nRF51822/nordic/nrf-sdk/ble/ble_advdata_parser.h Fri Oct 10 03:36:28 2014 +0000 @@ -0,0 +1,9 @@ +#ifndef BLE_ADVDATA_PARSER_H_ +#define BLE_ADVDATA_PARSER_H_ + +#include "ble_advdata.h" + +uint32_t ble_advdata_parse(uint8_t * p_data, uint8_t len, ble_advdata_t * advdata); +uint32_t ble_advdata_parser_field_find(uint8_t type, uint8_t * p_advdata, uint8_t * len, uint8_t ** pp_field_data); + +#endif