ver:init

Committer:
iv123
Date:
Sun Jun 18 16:11:03 2017 +0000
Revision:
0:4946262d6030
Initial commit

Who changed what in which revision?

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