-
Notifications
You must be signed in to change notification settings - Fork 372
Expand file tree
/
Copy pathL3SMSControl.h
More file actions
executable file
·38 lines (31 loc) · 1.19 KB
/
L3SMSControl.h
File metadata and controls
executable file
·38 lines (31 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
/*
* Copyright 2013, 2014 Range Networks, Inc.
*
* This software is distributed under multiple licenses;
* see the COPYING file in the main directory for licensing
* information for this specific distribution.
*
* This use of this software may be subject to additional restrictions.
* See the LEGAL file in the main directory for details.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/
#ifndef _L3SMSCONTROL_H_
#define _L3SMSCONTROL_H_
#include "L3LogicalChannel.h"
#include "ControlCommon.h"
namespace Control {
// 3GPP 4.11 5.2. These are the SMS states. It is nearly empty. The only one we care about is awaiting the final ack.
enum SmsState {
SmsNonexistent, // Not an SMS state; we use to mean there is no SMS transaction.
MoSmsIdle,
MoSmsWaitForAck,
// In the spec this is a catch-all for any other state. For us this is a transitory state we dont care about because
// the TranEntry will be removed momentarily.
MoSmsMMConnection,
};
void startMOSMS(const GSM::L3MMMessage *l3msg, MMContext *dcch);
void initMTSMS(TranEntry *tran);
};
#endif