comparison gsm-fw/services/etm/etm_api.h @ 165:9dbf3248a197

starting to compile ETM
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 19 Nov 2013 04:23:29 +0000
parents d78219c43fbf
children
comparison
equal deleted inserted replaced
164:d78219c43fbf 165:9dbf3248a197
20 20
21 21
22 #ifndef __ETM_API_H_ 22 #ifndef __ETM_API_H_
23 #define __ETM_API_H_ 23 #define __ETM_API_H_
24 24
25 #include "etm/etm_misc.h" 25 #include "etm_misc.h"
26 #include "etm/etm_messages_i.h" 26 #include "etm_messages_i.h"
27 27
28 /****************************************************************************** 28 /******************************************************************************
29 * ETM Packet 29 * ETM Packet
30 *****************************************************************************/ 30 *****************************************************************************/
31 31
32 typedef struct { 32 typedef struct {
33 T_RV_HDR header; 33 T_RV_HDR header;
34 char size; 34 char size;
35 uint8 data[255]; 35 uint8 data[255];
36
37 } T_ETM_MAIL; 36 } T_ETM_MAIL;
38 37
39 38
40 /****************************************************************************** 39 /******************************************************************************
41 * Messages 40 * Messages
45 #define ETM_DATA_READY (ETM_MESSAGES_OFFSET | 0x010) 44 #define ETM_DATA_READY (ETM_MESSAGES_OFFSET | 0x010)
46 typedef struct 45 typedef struct
47 { 46 {
48 T_RV_HDR header; 47 T_RV_HDR header;
49 char data[255]; 48 char data[255];
50
51 } T_ETM_DATA_READY; 49 } T_ETM_DATA_READY;
52 50
53 51
54 /****************************************************************************** 52 /******************************************************************************
55 * Prototypes 53 * Prototypes