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.
Dependents: microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter
Fork of nRF51822 by
nRF51SecurityManager.cpp@386:3253b512fb24, 2015-07-21 (annotated)
- Committer:
- rgrover1
- Date:
- Tue Jul 21 13:23:43 2015 +0100
- Revision:
- 386:3253b512fb24
- Parent:
- source/nRF51SecurityManager.cpp@381:c997e9717fb7
Synchronized with git rev 928a5e63
Author: Rohit Grover
Release 0.4.1
=============
This is a minor release.
Enhancements
~~~~~~~~~~~~
* Hide duplicate symbol definitions in ble_types.h. These have already been
brought into ble/blecommon.h.
* Replace DiscoveredCharacteristic::setupOnDataRead() with
GattClient::onDataRead().
* Implement new API GattServer::areUpdatesEnabled() to determine notification
status for a characteristic.
Bugfixes
~~~~~~~~
* fix for #20: GattServer::addService() incorrectly initialized value
attribute-handles. These were getting confused with characteristicIndex.
Event handlers also return attribute handles correctly now; they were also
previously returning characteristic indices.
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| rgrover1 | 356:55ede9fd5279 | 1 | /* mbed Microcontroller Library |
| rgrover1 | 356:55ede9fd5279 | 2 | * Copyright (c) 2006-2013 ARM Limited |
| rgrover1 | 356:55ede9fd5279 | 3 | * |
| rgrover1 | 356:55ede9fd5279 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| rgrover1 | 356:55ede9fd5279 | 5 | * you may not use this file except in compliance with the License. |
| rgrover1 | 356:55ede9fd5279 | 6 | * You may obtain a copy of the License at |
| rgrover1 | 356:55ede9fd5279 | 7 | * |
| rgrover1 | 356:55ede9fd5279 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
| rgrover1 | 356:55ede9fd5279 | 9 | * |
| rgrover1 | 356:55ede9fd5279 | 10 | * Unless required by applicable law or agreed to in writing, software |
| rgrover1 | 356:55ede9fd5279 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
| rgrover1 | 356:55ede9fd5279 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| rgrover1 | 356:55ede9fd5279 | 13 | * See the License for the specific language governing permissions and |
| rgrover1 | 356:55ede9fd5279 | 14 | * limitations under the License. |
| rgrover1 | 356:55ede9fd5279 | 15 | */ |
| rgrover1 | 356:55ede9fd5279 | 16 | |
| rgrover1 | 356:55ede9fd5279 | 17 | #include "nRF51SecurityManager.h" |
| rgrover1 | 356:55ede9fd5279 | 18 | |
| rgrover1 | 356:55ede9fd5279 | 19 | nRF51SecurityManager &nRF51SecurityManager::getInstance(void) { |
| rgrover1 | 356:55ede9fd5279 | 20 | static nRF51SecurityManager m_instance; |
| rgrover1 | 356:55ede9fd5279 | 21 | return m_instance; |
| rgrover1 | 356:55ede9fd5279 | 22 | } |
