Updated to latest online libraries (See also mbed Apps: HelloBlue, FOTA4)
Dependencies: BLE_API mbed nRF51822
Fork of BLE_Default_APP by
nRF51822/btle/btle_advertising.h@1:a607cd9655d7, 2014-10-10 (annotated)
- 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?
User | Revision | Line number | New contents of line |
---|---|---|---|
yihui | 1:a607cd9655d7 | 1 | /* mbed Microcontroller Library |
yihui | 1:a607cd9655d7 | 2 | * Copyright (c) 2006-2013 ARM Limited |
yihui | 1:a607cd9655d7 | 3 | * |
yihui | 1:a607cd9655d7 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
yihui | 1:a607cd9655d7 | 5 | * you may not use this file except in compliance with the License. |
yihui | 1:a607cd9655d7 | 6 | * You may obtain a copy of the License at |
yihui | 1:a607cd9655d7 | 7 | * |
yihui | 1:a607cd9655d7 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
yihui | 1:a607cd9655d7 | 9 | * |
yihui | 1:a607cd9655d7 | 10 | * Unless required by applicable law or agreed to in writing, software |
yihui | 1:a607cd9655d7 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
yihui | 1:a607cd9655d7 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
yihui | 1:a607cd9655d7 | 13 | * See the License for the specific language governing permissions and |
yihui | 1:a607cd9655d7 | 14 | * limitations under the License. |
yihui | 1:a607cd9655d7 | 15 | */ |
yihui | 1:a607cd9655d7 | 16 | |
yihui | 1:a607cd9655d7 | 17 | #ifndef _BTLE_ADVERTISING_H_ |
yihui | 1:a607cd9655d7 | 18 | #define _BTLE_ADVERTISING_H_ |
yihui | 1:a607cd9655d7 | 19 | |
yihui | 1:a607cd9655d7 | 20 | #include "common/common.h" |
yihui | 1:a607cd9655d7 | 21 | |
yihui | 1:a607cd9655d7 | 22 | error_t btle_advertising_start(void); |
yihui | 1:a607cd9655d7 | 23 | |
yihui | 1:a607cd9655d7 | 24 | #endif // ifndef _BTLE_ADVERTISING_H_ |