Prototyping the Adaptable Emergency System on an C027 board.
Dependencies: C027_Support mbed
Fork of c027_prototyping by
sms_lib.h@5:6d0cdd715100, 2014-09-30 (annotated)
- Committer:
- philemonf
- Date:
- Tue Sep 30 17:49:29 2014 +0000
- Revision:
- 5:6d0cdd715100
- Parent:
- 4:f1708f6ec905
- Child:
- 6:58d48b90c9f7
sms_lib completed
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 | 2:0eb41327c023 | 4 | struct sms_data_t { |
philemonf | 2:0eb41327c023 | 5 | char *phone_num; |
philemonf | 2:0eb41327c023 | 6 | char *msg_buf; |
philemonf | 2:0eb41327c023 | 7 | }; |
philemonf | 2:0eb41327c023 | 8 | |
philemonf | 2:0eb41327c023 | 9 | int init_sms_features(void); |
philemonf | 5:6d0cdd715100 | 10 | void close_sms_features(void); |
philemonf | 2:0eb41327c023 | 11 | |
philemonf | 5:6d0cdd715100 | 12 | int send_sms(struct sms_t *sms); |
philemonf | 5:6d0cdd715100 | 13 | int read_sms(struct sms_t *sms); |
aroulin | 4:f1708f6ec905 | 14 | #endif |