High level Bluetooth Low Energy API and radio abstraction layer
Fork of BLE_API by
source/BLEInstanceBase.cpp@1209:e3d4f8c7787b, 2017-02-22 (annotated)
- Committer:
- VicenteFerrara
- Date:
- Wed Feb 22 23:25:59 2017 +0000
- Revision:
- 1209:e3d4f8c7787b
- Parent:
- 1201:9b71aac42d14
a
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Vincent Coubard |
1201:9b71aac42d14 | 1 | /* mbed Microcontroller Library |
Vincent Coubard |
1201:9b71aac42d14 | 2 | * Copyright (c) 2006-2013 ARM Limited |
Vincent Coubard |
1201:9b71aac42d14 | 3 | * |
Vincent Coubard |
1201:9b71aac42d14 | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
Vincent Coubard |
1201:9b71aac42d14 | 5 | * you may not use this file except in compliance with the License. |
Vincent Coubard |
1201:9b71aac42d14 | 6 | * You may obtain a copy of the License at |
Vincent Coubard |
1201:9b71aac42d14 | 7 | * |
Vincent Coubard |
1201:9b71aac42d14 | 8 | * http://www.apache.org/licenses/LICENSE-2.0 |
Vincent Coubard |
1201:9b71aac42d14 | 9 | * |
Vincent Coubard |
1201:9b71aac42d14 | 10 | * Unless required by applicable law or agreed to in writing, software |
Vincent Coubard |
1201:9b71aac42d14 | 11 | * distributed under the License is distributed on an "AS IS" BASIS, |
Vincent Coubard |
1201:9b71aac42d14 | 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
Vincent Coubard |
1201:9b71aac42d14 | 13 | * See the License for the specific language governing permissions and |
Vincent Coubard |
1201:9b71aac42d14 | 14 | * limitations under the License. |
Vincent Coubard |
1201:9b71aac42d14 | 15 | */ |
Vincent Coubard |
1201:9b71aac42d14 | 16 | |
Vincent Coubard |
1201:9b71aac42d14 | 17 | #include "ble/BLE.h" |
Vincent Coubard |
1201:9b71aac42d14 | 18 | #include "ble/BLEInstanceBase.h" |
Vincent Coubard |
1201:9b71aac42d14 | 19 | |
Vincent Coubard |
1201:9b71aac42d14 | 20 | BLEInstanceBase::~BLEInstanceBase() |
Vincent Coubard |
1201:9b71aac42d14 | 21 | { |
Vincent Coubard |
1201:9b71aac42d14 | 22 | // empty destructor |
Vincent Coubard |
1201:9b71aac42d14 | 23 | } |
Vincent Coubard |
1201:9b71aac42d14 | 24 | |
Vincent Coubard |
1201:9b71aac42d14 | 25 | void BLEInstanceBase::signalEventsToProcess(BLE::InstanceID_t id) |
Vincent Coubard |
1201:9b71aac42d14 | 26 | { |
Vincent Coubard |
1201:9b71aac42d14 | 27 | BLE::Instance(id).signalEventsToProcess(); |
Vincent Coubard |
1201:9b71aac42d14 | 28 | } |