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
softdevice_nrf51822_licence_agreement.txt@479:f6e4a3f0a09a, 2015-11-26 (annotated)
- Committer:
- rgrover1
- Date:
- Thu Nov 26 15:02:39 2015 +0000
- Revision:
- 479:f6e4a3f0a09a
- Parent:
- 473:48645f59c264
Synchronized with git rev 167ddd63
Author: Andres Amaya Garcia
Execute radio notification in low priority context
The ble-nrf51822 implementation of the BLE API executes callbacks for radio
notification events at very high priority. This functionality is replaced by
executing the radio notification callback at a lower priority. When using
mbed OS the callback is posted through minar. In mbed classic the callback is
executed directly, but from a lower priority. Note that minar or callback
execution in mbed classic could not be posted/generated directly from the
radio notification handler because this causes race conditions that may lead
to a hard-fault. Alternatively, a Timeout was used to post the callback in
another context with lower priority.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| rgrover1 | 473:48645f59c264 | 1 | /* |
| rgrover1 | 473:48645f59c264 | 2 | * S110/S120/S130 License Agreement |
| rgrover1 | 473:48645f59c264 | 3 | * |
| rgrover1 | 473:48645f59c264 | 4 | * Copyright (c) 2015, Nordic Semiconductor ASA, All rights reserved. |
| rgrover1 | 473:48645f59c264 | 5 | * |
| rgrover1 | 473:48645f59c264 | 6 | * Redistribution. Redistribution and use in binary form, without modification, |
| rgrover1 | 473:48645f59c264 | 7 | * are permitted provided that the following conditions are met: |
| rgrover1 | 473:48645f59c264 | 8 | * |
| rgrover1 | 473:48645f59c264 | 9 | * • Redistributions must reproduce the above copyright notice and the following |
| rgrover1 | 473:48645f59c264 | 10 | * disclaimer in the documentation and/or other materials provided with the |
| rgrover1 | 473:48645f59c264 | 11 | * distribution. |
| rgrover1 | 473:48645f59c264 | 12 | * • Neither the name of the copyright holder nor the names of its contributors |
| rgrover1 | 473:48645f59c264 | 13 | * may be used to endorse or promote products derived from this software |
| rgrover1 | 473:48645f59c264 | 14 | * without specific prior written permission. |
| rgrover1 | 473:48645f59c264 | 15 | * • No reverse engineering, decompilation, or disassembly of this software is |
| rgrover1 | 473:48645f59c264 | 16 | * permitted. |
| rgrover1 | 473:48645f59c264 | 17 | * |
| rgrover1 | 473:48645f59c264 | 18 | * DISCLAIMER. |
| rgrover1 | 473:48645f59c264 | 19 | * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
| rgrover1 | 473:48645f59c264 | 20 | * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| rgrover1 | 473:48645f59c264 | 21 | * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| rgrover1 | 473:48645f59c264 | 22 | * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
| rgrover1 | 473:48645f59c264 | 23 | * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| rgrover1 | 473:48645f59c264 | 24 | * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| rgrover1 | 473:48645f59c264 | 25 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| rgrover1 | 473:48645f59c264 | 26 | * ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| rgrover1 | 473:48645f59c264 | 27 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| rgrover1 | 473:48645f59c264 | 28 | * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| rgrover1 | 473:48645f59c264 | 29 | * |
| rgrover1 | 473:48645f59c264 | 30 | * / |
