A blue button is always a nice toy ...

Dependencies:   BLE_API X_NUCLEO_IDB0XA1 mbed

Fork of BLE_HeartRate_IDB0XA1 by ST

Committer:
hux
Date:
Fri Jan 06 15:28:18 2017 +0000
Revision:
23:677689000369
Child:
26:fd06c8b57d16
Already nice & easy level. Still bugs!

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hux 23:677689000369 1 // types.h - declaring some common types
hux 23:677689000369 2 //
hux 23:677689000369 3 // The type identifiers are all begining with capital letter in order to leave
hux 23:677689000369 4 // the lower capital identifiers free for 'overloaded' variable or characteristic
hux 23:677689000369 5 // identifiers.
hux 23:677689000369 6 //
hux 23:677689000369 7
hux 23:677689000369 8 #ifndef _TYPES_H_
hux 23:677689000369 9 #define _TYPES_H_
hux 23:677689000369 10
hux 23:677689000369 11 #define SIZE_OBJECTNAME 40
hux 23:677689000369 12 #define SIZE_INIBUFFER SIZE_OBJECTNAME
hux 23:677689000369 13
hux 23:677689000369 14 typedef uint8_t ObjectId[6];
hux 23:677689000369 15 typedef char ObjectName[SIZE_OBJECTNAME]; // use UTF8S coded characters
hux 23:677689000369 16 typedef uint8_t Digital;
hux 23:677689000369 17 typedef uint8_t DateTime[10];
hux 23:677689000369 18
hux 23:677689000369 19 typedef uint8_t IniBuffer[SIZE_INIBUFFER];
hux 23:677689000369 20
hux 23:677689000369 21
hux 23:677689000369 22 #endif // _TYPES_H_