ver:init

Committer:
iv123
Date:
Sun Jun 18 16:10:28 2017 +0000
Revision:
0:88b85febcb45
Initial commit

Who changed what in which revision?

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