Prototyping the Adaptable Emergency System on an C027 board.

Dependencies:   C027_Support mbed

Fork of c027_prototyping by Philémon Favrod

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sms_lib.h Source File

sms_lib.h

00001 #ifndef __SMS_LIB_H__
00002 #define __SMS_LIB_H__
00003 
00004 #include "MDM.h"
00005 
00006 struct sms_data_t {
00007     char *phone_num;
00008     char *msg_buf;
00009 };
00010 
00011 int init_sms_features(MDMSerial *_mdm, char* SIMPIN);
00012 
00013 int send_sms(struct sms_data_t *sms);
00014 int read_sms(struct sms_data_t *sms);
00015 #endif