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:
philemonf
Date:
2014-09-30
Revision:
10:b9ca12e9bb34
Parent:
6:58d48b90c9f7
Child:
17:726bbc1b73ee

File content as of revision 10:b9ca12e9bb34:

#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);

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