Fork of ble-x-nucleo-idb0xa1 with changes required by BleStarMbed

Dependents:   ble-star-mbed

Committer:
lorevee
Date:
Tue Feb 20 11:07:16 2018 +0000
Revision:
0:ac0b0725c6fa
Initial commit

Who changed what in which revision?

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