For with fix for disconnection notifications
Fork of nRF51822 by
nordic/nordic_global.h@61:057be2a0cd38, 2014-09-03 (annotated)
- Committer:
- janekm
- Date:
- Wed Sep 03 17:19:53 2014 +0000
- Revision:
- 61:057be2a0cd38
- Parent:
- 0:eff01767de02
Fix disconnection notification to application (used to only notify on locally initiated disconnection)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 0:eff01767de02 | 1 | /* Copyright (c) 2014 Nordic Semiconductor. All Rights Reserved. |
bogdanm | 0:eff01767de02 | 2 | * |
bogdanm | 0:eff01767de02 | 3 | * Licensed under the Apache License, Version 2.0 (the "License"); |
bogdanm | 0:eff01767de02 | 4 | * you may not use this file except in compliance with the License. |
bogdanm | 0:eff01767de02 | 5 | * You may obtain a copy of the License at |
bogdanm | 0:eff01767de02 | 6 | * |
bogdanm | 0:eff01767de02 | 7 | * http://www.apache.org/licenses/LICENSE-2.0 |
bogdanm | 0:eff01767de02 | 8 | * |
bogdanm | 0:eff01767de02 | 9 | * Unless required by applicable law or agreed to in writing, software |
bogdanm | 0:eff01767de02 | 10 | * distributed under the License is distributed on an "AS IS" BASIS, |
bogdanm | 0:eff01767de02 | 11 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
bogdanm | 0:eff01767de02 | 12 | * See the License for the specific language governing permissions and |
bogdanm | 0:eff01767de02 | 13 | * limitations under the License. |
bogdanm | 0:eff01767de02 | 14 | */ |
bogdanm | 0:eff01767de02 | 15 | |
bogdanm | 0:eff01767de02 | 16 | #ifndef _NORDIC_GLOBAL_H_ |
bogdanm | 0:eff01767de02 | 17 | #define _NORDIC_GLOBAL_H_ |
bogdanm | 0:eff01767de02 | 18 | |
bogdanm | 0:eff01767de02 | 19 | /* There are no global defines in mbed, so we need to define */ |
bogdanm | 0:eff01767de02 | 20 | /* mandatory conditional compilation flags here */ |
bogdanm | 0:eff01767de02 | 21 | #define NRF51 |
bogdanm | 0:eff01767de02 | 22 | #define DEBUG_NRF_USER |
bogdanm | 0:eff01767de02 | 23 | #define BLE_STACK_SUPPORT_REQD |
bogdanm | 0:eff01767de02 | 24 | #define BOARD_PCA10001 |
bogdanm | 0:eff01767de02 | 25 | |
bogdanm | 0:eff01767de02 | 26 | #endif |