Data Fields | |
char | cli [20] |
char | da [20] |
unsigned char | dcs |
unsigned char | err |
int | framenumber |
unsigned char | hangup |
unsigned char | ibitc |
unsigned char | ibith |
unsigned char | ibitl |
unsigned char | ibitn |
unsigned char | ibitt |
unsigned char | ibytec |
unsigned char | ibytep |
unsigned char | ibytev |
unsigned int | idle |
unsigned char | ierr |
unsigned short | imag |
signed long long | imc0 |
signed long long | imc1 |
signed long long | ims0 |
signed long long | ims1 |
unsigned char | imsg [250] |
unsigned char | ipc0 |
unsigned char | ipc1 |
unsigned char | iphasep |
unsigned char | ips0 |
unsigned char | ips1 |
short | mr |
char | oa [20] |
unsigned char | obitp |
unsigned char | obyte |
unsigned char | obyten |
unsigned char | obytep |
unsigned char | omsg [256] |
unsigned int | opause |
int | opause_0 |
unsigned char | ophase |
unsigned char | ophasep |
int | oseizure |
unsigned char | osync |
unsigned char | pid |
int | protocol |
char | queue [30] |
unsigned char | rp:1 |
unsigned char | rx:1 |
timeval | scts |
unsigned char | smsc:1 |
unsigned char | srr:1 |
unsigned short | ud [SMSLEN] |
unsigned char | udh [SMSLEN] |
unsigned char | udhi:1 |
int | udhl |
int | udl |
char | udtxt [SMSLEN] |
unsigned int | vp |
Definition at line 216 of file app_sms.c.
char cli[20] |
caller ID
Definition at line 236 of file app_sms.c.
Referenced by sms_exec(), and sms_handleincoming().
char da[20] |
destination address
Definition at line 223 of file app_sms.c.
Referenced by sms_compose1(), sms_compose2(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_nextoutgoing(), sms_readfile(), and sms_writefile().
unsigned char dcs |
data coding scheme
Definition at line 226 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), and sms_readfile().
unsigned char err |
set for any errors
Definition at line 218 of file app_sms.c.
Referenced by sms_messagerx(), and sms_process().
int framenumber |
protocol 2: frame number (for sending ACK0 or ACK1)
Definition at line 272 of file app_sms.c.
Referenced by sms_messagetx().
unsigned char hangup |
we are done...
Definition at line 217 of file app_sms.c.
Referenced by sms_messagerx(), and sms_process().
unsigned char ibytep |
unsigned int idle |
unsigned short imag |
unsigned char imsg[250] |
data buffer (in)
Definition at line 246 of file app_sms.c.
Referenced by sms_debug(), sms_handleincoming(), sms_handleincoming_proto2(), sms_messagerx(), and sms_messagerx2().
unsigned char ipc0 |
phase sin for bit 1, start at 0 inc by 13 mod 80
Definition at line 255 of file app_sms.c.
Referenced by sms_exec().
unsigned char ipc1 |
phase cos for bit 1, start at 20 inc by 13 mod 80
Definition at line 256 of file app_sms.c.
Referenced by sms_exec().
unsigned char ips0 |
unsigned char ips1 |
short mr |
message reference - actually a byte, but use -1 for not set
Definition at line 227 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), sms_log(), and sms_readfile().
char oa[20] |
originating address
Definition at line 222 of file app_sms.c.
Referenced by sms_compose1(), sms_compose2(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_nextoutgoing(), sms_readfile(), and sms_writefile().
unsigned char obitp |
unsigned char obyte |
byte being sent
Definition at line 239 of file app_sms.c.
Referenced by sms_generate(), and sms_messagetx().
unsigned char obyten |
bytes in data
Definition at line 244 of file app_sms.c.
Referenced by sms_generate(), sms_messagetx(), and sms_process().
unsigned char obytep |
unsigned char omsg[256] |
data buffer (out)
Definition at line 245 of file app_sms.c.
Referenced by adddata_proto2(), sms_compose1(), sms_compose2(), sms_debug(), sms_messagerx(), sms_messagetx(), and sms_nextoutgoing().
unsigned int opause |
silent pause before sending (in sample periods)
Definition at line 240 of file app_sms.c.
Referenced by sms_generate(), and sms_messagetx().
int opause_0 |
initial delay in ms, p() option
Definition at line 269 of file app_sms.c.
Referenced by sms_exec(), and sms_messagetx().
unsigned char ophase |
phase (0-79) for 0 and 1 frequencies (1300Hz and 2100Hz)
Definition at line 237 of file app_sms.c.
Referenced by sms_generate().
unsigned char ophasep |
int oseizure |
protocol 2: channel seizure bits to send
Definition at line 271 of file app_sms.c.
Referenced by sms_generate(), and sms_messagetx().
unsigned char osync |
sync bits to send
Definition at line 242 of file app_sms.c.
Referenced by sms_generate(), sms_messagetx(), and sms_process().
unsigned char pid |
protocol ID
Definition at line 225 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), and sms_readfile().
int protocol |
ETSI SMS protocol to use (passed at app call)
Definition at line 270 of file app_sms.c.
Referenced by sms_exec(), sms_messagerx(), sms_messagetx(), and sms_nextoutgoing().
char queue[30] |
queue name
Definition at line 221 of file app_sms.c.
Referenced by sms_exec(), sms_log(), sms_nextoutgoing(), and sms_writefile().
unsigned char rp |
Reply Path
Definition at line 232 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), and sms_readfile().
unsigned char rx |
this is a received message
Definition at line 220 of file app_sms.c.
Referenced by sms_handleincoming(), sms_log(), sms_nextoutgoing(), sms_readfile(), and sms_writefile().
struct timeval scts |
time stamp, UTC
Definition at line 224 of file app_sms.c.
Referenced by sms_compose1(), sms_compose2(), sms_handleincoming(), sms_handleincoming_proto2(), sms_readfile(), and sms_writefile().
unsigned char smsc |
we are SMSC
Definition at line 219 of file app_sms.c.
Referenced by sms_compose1(), sms_compose2(), sms_exec(), sms_handleincoming(), sms_log(), sms_nextoutgoing(), and sms_writefile().
unsigned char srr |
Status Report request
Definition at line 230 of file app_sms.c.
Referenced by sms_compose1(), sms_exec(), sms_handleincoming(), and sms_readfile().
unsigned short ud[SMSLEN] |
user data (message), UCS-2 coded
Definition at line 234 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_readfile(), and sms_writefile().
unsigned char udh[SMSLEN] |
user data header
Definition at line 235 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), sms_readfile(), and sms_writefile().
unsigned char udhi |
User Data Header required, even if length 0
Definition at line 231 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), sms_readfile(), and sms_writefile().
int udhl |
user data header length
Definition at line 229 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), sms_readfile(), and sms_writefile().
int udl |
user data length
Definition at line 228 of file app_sms.c.
Referenced by putdummydata_proto2(), sms_compose1(), sms_handleincoming(), sms_handleincoming_proto2(), sms_log(), sms_readfile(), and sms_writefile().
char udtxt[SMSLEN] |
user data (message), PLAIN text
Definition at line 273 of file app_sms.c.
Referenced by putdummydata_proto2(), and sms_readfile().
unsigned int vp |
validity period in minutes, 0 for not set
Definition at line 233 of file app_sms.c.
Referenced by sms_compose1(), sms_handleincoming(), and sms_readfile().