High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

Committer:
ktownsend
Date:
Tue Dec 17 17:28:41 2013 +0000
Revision:
11:200931be5617
Parent:
4:50a31ff5f974
Child:
23:f19c60478e1b
Added debug info to nrf51822.cpp

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ktownsend 2:ffc5216bd2cc 1 #ifndef __GATT_CHARACTERISTIC_H__
ktownsend 2:ffc5216bd2cc 2 #define __GATT_CHARACTERISTIC_H__
ktownsend 2:ffc5216bd2cc 3
ktownsend 2:ffc5216bd2cc 4 #include "blecommon.h"
ktownsend 2:ffc5216bd2cc 5 #include "uuid.h"
ktownsend 2:ffc5216bd2cc 6
ktownsend 2:ffc5216bd2cc 7 class GattCharacteristic
ktownsend 2:ffc5216bd2cc 8 {
ktownsend 2:ffc5216bd2cc 9 private:
ktownsend 2:ffc5216bd2cc 10
ktownsend 2:ffc5216bd2cc 11 public:
ktownsend 2:ffc5216bd2cc 12 GattCharacteristic(uint16_t uuid, uint16_t minLen, uint16_t maxLen, uint8_t properties);
ktownsend 2:ffc5216bd2cc 13 virtual ~GattCharacteristic(void);
ktownsend 2:ffc5216bd2cc 14
ktownsend 2:ffc5216bd2cc 15 uint16_t uuid; /* Characteristic UUID */
ktownsend 2:ffc5216bd2cc 16 uint16_t lenMin; /* Minimum length of the value */
ktownsend 2:ffc5216bd2cc 17 uint16_t lenMax; /* Maximum length of the value */
ktownsend 11:200931be5617 18 uint8_t handle;
ktownsend 4:50a31ff5f974 19 uint8_t properties;
ktownsend 2:ffc5216bd2cc 20 };
ktownsend 2:ffc5216bd2cc 21
ktownsend 2:ffc5216bd2cc 22 #endif