Prototyping the Adaptable Emergency System on an C027 board.

Dependencies:   C027_Support mbed

Fork of c027_prototyping by Philémon Favrod

Committer:
aroulin
Date:
Sun Oct 05 12:38:04 2014 +0000
Revision:
17:726bbc1b73ee
Parent:
10:b9ca12e9bb34
PIN in argument of sms_init;

Who changed what in which revision?

UserRevisionLine numberNew 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
aroulin 17:726bbc1b73ee 11 int init_sms_features(MDMSerial *_mdm, char* SIMPIN);
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