Definition in file STATE_functions.c.
#include <ioavr.h>
#include <inavr.h>
#include "main.h"
#include "LCD_functions.h"
#include "..\AVRGSM_FILES\AVRGSM_api.h"
#include "..\AVRGSM_FILES\AVRGSM_com.h"
#include "..\AVRGSM_FILES\AVRGSM_tools.h"
Include dependency graph for STATE_functions.c:
Go to the source code of this file.
Functions | |
char | ST_delete_msg (char input) |
This function will delete the newly arrived message. | |
char | ST_get_index (char input) |
This function extract the storage location of the newly arrived message. | |
char | ST_init_phone (char input) |
Init phone. | |
char | ST_read (char input) |
This function will read message at memory location index. | |
char | ST_send (char input) |
This function will send a user defined text string. | |
Variables | |
int | index |
unsigned char | msgbuff [161] |
Message buffer for coded and decoded messages. |
|
This function will delete the newly arrived message. State function
Definition at line 118 of file STATE_functions.c. References API_deletemsg(), CMTI_, COM_rx_on(), COM_rx_reset(), COM_setSearchString(), index, and ST_AVR_READY.
Here is the call graph for this function: ![]() |
|
This function extract the storage location of the newly arrived message. State function
Definition at line 141 of file STATE_functions.c. References index, ST_AVR_NEW_SMS, and TOOLS_decodeCMTI(). Referenced by main().
Here is the call graph for this function: ![]() |
|
Init phone. State function
Definition at line 51 of file STATE_functions.c. References API_modem_init(), CMTI_, COM_rx_on(), COM_rx_reset(), COM_setSearchString(), ST_AVR_NO_ECHO, ST_AVR_READY, ST_AVR_WRONG_OPTION, and ST_AVR_WRONG_STORAGE.
Here is the call graph for this function: ![]() |
|
This function will read message at memory location index. State function
Definition at line 158 of file STATE_functions.c. References API_readmsg(), COM_rx_on(), COM_rx_reset(), COM_setSearchString(), index, LCD_puts(), msgbuff, and ST_AVR_DISPLAY.
Here is the call graph for this function: ![]() |
|
This function will send a user defined text string. State function
Definition at line 100 of file STATE_functions.c. References API_sendmsg(), and ST_AVR_READY.
Here is the call graph for this function: ![]() |
|
Definition at line 36 of file STATE_functions.c. Referenced by ST_delete_msg(), ST_get_index(), and ST_read(). |
|
Message buffer for coded and decoded messages.
Definition at line 38 of file STATE_functions.c. Referenced by API_readmsg(), API_sendmsg(), and ST_read(). |