A blue button is always a nice toy ...

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

bricks/types.h

Committer:
hux
Date:
2017-01-06
Revision:
23:677689000369
Child:
26:fd06c8b57d16

File content as of revision 23:677689000369:

// types.h - declaring some common types
//
// The type identifiers are all begining with capital letter in order to leave
// the lower capital identifiers free for 'overloaded' variable or characteristic
// identifiers.  
//

#ifndef _TYPES_H_
#define _TYPES_H_

#define SIZE_OBJECTNAME 40   
#define SIZE_INIBUFFER SIZE_OBJECTNAME   

   typedef uint8_t ObjectId[6];
   typedef char    ObjectName[SIZE_OBJECTNAME];  // use UTF8S coded characters
   typedef uint8_t Digital;
   typedef uint8_t DateTime[10];
   
   typedef uint8_t IniBuffer[SIZE_INIBUFFER];


#endif // _TYPES_H_