Nordic stack and drivers for the mbed BLE API. Version to work around build bug.

Dependents:   microbit_rubber_ducky microbit_mouse_BLE microbit_mouse_BLE_daybreak_version microbit_presenter

Fork of nRF51822 by Nordic Semiconductor

Committer:
rgrover1
Date:
Tue Jul 21 13:23:44 2015 +0100
Revision:
388:db85a09c27ef
Child:
564:77d4fcde8f2a
Synchronized with git rev 0eb58d86
Author: Rohit Grover
rename nRF51... to nRF5x...
This prepares us to support nRF52.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rgrover1 388:db85a09c27ef 1 /* mbed Microcontroller Library
rgrover1 388:db85a09c27ef 2 * Copyright (c) 2006-2013 ARM Limited
rgrover1 388:db85a09c27ef 3 *
rgrover1 388:db85a09c27ef 4 * Licensed under the Apache License, Version 2.0 (the "License");
rgrover1 388:db85a09c27ef 5 * you may not use this file except in compliance with the License.
rgrover1 388:db85a09c27ef 6 * You may obtain a copy of the License at
rgrover1 388:db85a09c27ef 7 *
rgrover1 388:db85a09c27ef 8 * http://www.apache.org/licenses/LICENSE-2.0
rgrover1 388:db85a09c27ef 9 *
rgrover1 388:db85a09c27ef 10 * Unless required by applicable law or agreed to in writing, software
rgrover1 388:db85a09c27ef 11 * distributed under the License is distributed on an "AS IS" BASIS,
rgrover1 388:db85a09c27ef 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
rgrover1 388:db85a09c27ef 13 * See the License for the specific language governing permissions and
rgrover1 388:db85a09c27ef 14 * limitations under the License.
rgrover1 388:db85a09c27ef 15 */
rgrover1 388:db85a09c27ef 16
rgrover1 388:db85a09c27ef 17 #ifndef __NRF_DISCOVERED_CHARACTERISTIC_H__
rgrover1 388:db85a09c27ef 18 #define __NRF_DISCOVERED_CHARACTERISTIC_H__
rgrover1 388:db85a09c27ef 19
rgrover1 388:db85a09c27ef 20 #include "ble/DiscoveredCharacteristic.h"
rgrover1 388:db85a09c27ef 21 #include "ble_gatt.h"
rgrover1 388:db85a09c27ef 22
rgrover1 388:db85a09c27ef 23 class nRF5xGattClient; /* forward declaration */
rgrover1 388:db85a09c27ef 24
rgrover1 388:db85a09c27ef 25 class nRF5xDiscoveredCharacteristic : public DiscoveredCharacteristic {
rgrover1 388:db85a09c27ef 26 public:
rgrover1 388:db85a09c27ef 27 void setup(nRF5xGattClient *gattcIn,
rgrover1 388:db85a09c27ef 28 Gap::Handle_t connectionHandleIn,
rgrover1 388:db85a09c27ef 29 ble_gatt_char_props_t propsIn,
rgrover1 388:db85a09c27ef 30 GattAttribute::Handle_t declHandleIn,
rgrover1 388:db85a09c27ef 31 GattAttribute::Handle_t valueHandleIn);
rgrover1 388:db85a09c27ef 32
rgrover1 388:db85a09c27ef 33 void setup(nRF5xGattClient *gattcIn,
rgrover1 388:db85a09c27ef 34 Gap::Handle_t connectionHandleIn,
rgrover1 388:db85a09c27ef 35 UUID::ShortUUIDBytes_t uuidIn,
rgrover1 388:db85a09c27ef 36 ble_gatt_char_props_t propsIn,
rgrover1 388:db85a09c27ef 37 GattAttribute::Handle_t declHandleIn,
rgrover1 388:db85a09c27ef 38 GattAttribute::Handle_t valueHandleIn);
rgrover1 388:db85a09c27ef 39 };
rgrover1 388:db85a09c27ef 40
rgrover1 388:db85a09c27ef 41 #endif /* __NRF_DISCOVERED_CHARACTERISTIC_H__ */