Michael Galis / nRF51822

Fork of nRF51822 by Nordic Semiconductor

Committer:
rgrover1
Date:
Fri Jun 19 15:55:33 2015 +0100
Revision:
338:b5ea3c879e6e
Parent:
333:8eedcd324853
Synchronized with git rev 3f88e3e3
Author: Rohit Grover
remove extraneous comment carrying old code.

Who changed what in which revision?

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