Prototyping the Adaptable Emergency System on an C027 board.
Dependencies: C027_Support mbed
Fork of c027_prototyping by
sms_lib.h@10:b9ca12e9bb34, 2014-09-30 (annotated)
- Committer:
- philemonf
- Date:
- Tue Sep 30 18:20:12 2014 +0000
- Revision:
- 10:b9ca12e9bb34
- Parent:
- 6:58d48b90c9f7
- Child:
- 17:726bbc1b73ee
remove new from sms_lib.[hc]
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
philemonf | 2:0eb41327c023 | 1 | #ifndef __SMS_LIB_H__ |
philemonf | 2:0eb41327c023 | 2 | #define __SMS_LIB_H__ |
philemonf | 2:0eb41327c023 | 3 | |
philemonf | 10:b9ca12e9bb34 | 4 | #include "MDM.h" |
philemonf | 10:b9ca12e9bb34 | 5 | |
philemonf | 2:0eb41327c023 | 6 | struct sms_data_t { |
philemonf | 2:0eb41327c023 | 7 | char *phone_num; |
philemonf | 2:0eb41327c023 | 8 | char *msg_buf; |
philemonf | 2:0eb41327c023 | 9 | }; |
philemonf | 2:0eb41327c023 | 10 | |
philemonf | 10:b9ca12e9bb34 | 11 | int init_sms_features(MDMSerial *_mdm); |
philemonf | 2:0eb41327c023 | 12 | |
philemonf | 6:58d48b90c9f7 | 13 | int send_sms(struct sms_data_t *sms); |
philemonf | 6:58d48b90c9f7 | 14 | int read_sms(struct sms_data_t *sms); |
aroulin | 4:f1708f6ec905 | 15 | #endif |