Jason Garner / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Committer:
rgrover1
Date:
Fri Jun 19 15:55:33 2015 +0100
Revision:
339:e5e2157e8b44
Child:
360:7c68c8d67e1f
Synchronized with git rev d3889dfb
Author: Rohit Grover
rename nRF* to nRF51*

Who changed what in which revision?

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