YUFEI JIANG / BLE_API_Tiny_BLE

Dependents:   CSSE4011_BLE_IMU

Fork of BLE_API by Bluetooth Low Energy

GattCharacteristic.h

Committer:
ktownsend
Date:
2014-01-07
Revision:
23:f19c60478e1b
Parent:
11:200931be5617
Child:
27:4a83843f04b0

File content as of revision 23:f19c60478e1b:

#ifndef __GATT_CHARACTERISTIC_H__
#define __GATT_CHARACTERISTIC_H__

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

class GattCharacteristic
{
private:

public:
    GattCharacteristic(uint16_t uuid=0, uint16_t minLen=1, uint16_t maxLen=1, uint8_t properties=0);
    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