Prototyping the Adaptable Emergency System on an C027 board.

Dependencies:   C027_Support mbed

Fork of c027_prototyping by Philémon Favrod

sms_lib.h

Committer:
aroulin
Date:
2014-10-05
Revision:
17:726bbc1b73ee
Parent:
10:b9ca12e9bb34

File content as of revision 17:726bbc1b73ee:

#ifndef __SMS_LIB_H__
#define __SMS_LIB_H__

#include "MDM.h"

struct sms_data_t {
    char *phone_num;
    char *msg_buf;
};

int init_sms_features(MDMSerial *_mdm, char* SIMPIN);

int send_sms(struct sms_data_t *sms);
int read_sms(struct sms_data_t *sms);
#endif