High level Bluetooth Low Energy API and radio abstraction layer

Dependencies:   nRF51822

Dependents:   LinkNode_LIS3DH

Fork of BLE_API by Bluetooth Low Energy

GattCharacteristic.h

Committer:
ktownsend
Date:
2013-12-17
Revision:
11:200931be5617
Parent:
4:50a31ff5f974
Child:
23:f19c60478e1b

File content as of revision 11:200931be5617:

#ifndef __GATT_CHARACTERISTIC_H__
#define __GATT_CHARACTERISTIC_H__

#include "blecommon.h"
#include "uuid.h"

class GattCharacteristic
{
private:

public:
    GattCharacteristic(uint16_t uuid, uint16_t minLen, uint16_t maxLen, uint8_t properties);
    virtual ~GattCharacteristic(void);

    uint16_t uuid;              /* Characteristic UUID */
    uint16_t lenMin;            /* Minimum length of the value */
    uint16_t lenMax;            /* Maximum length of the value */
    uint8_t  handle;
    uint8_t  properties;
};

#endif