A blue button is always a nice toy ...

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers types.h Source File

types.h

00001 // types.h - declaring some common types
00002 //
00003 // The type identifiers are all begining with capital letter in order to leave
00004 // the lower capital identifiers free for 'overloaded' variable or characteristic
00005 // identifiers.  
00006 //
00007 
00008 #ifndef _TYPES_H_
00009 #define _TYPES_H_
00010 
00011 #define SIZE_OBJECTNAME 40   
00012 #define SIZE_INIBUFFER SIZE_OBJECTNAME   
00013 
00014    typedef uint8_t ObjectId[6];
00015    typedef char    ObjectName[SIZE_OBJECTNAME];  // use UTF8S coded characters
00016    typedef uint8_t Bool;
00017    typedef uint8_t Digital;
00018    typedef uint8_t DateTime[10];
00019    typedef uint8_t Buffer[10];
00020    
00021    typedef uint8_t IniBuffer[SIZE_INIBUFFER];
00022 
00023 
00024 #endif // _TYPES_H_