mirror of
				https://github.com/RangeNetworks/openbts.git
				synced 2025-11-04 13:53:15 +00:00 
			
		
		
		
	git-svn-id: http://wush.net/svn/range/software/public/openbts/trunk@6168 19bc5d8c-e614-43d4-8b26-e1612bc8e597
		
			
				
	
	
		
			66 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			66 lines
		
	
	
		
			1.8 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
/**@file Declarations for common-use control-layer functions. */
 | 
						|
/*
 | 
						|
* Copyright 2008, 2009, 2010 Free Software Foundation, Inc.
 | 
						|
* Copyright 2010 Kestrel Signal Processing, Inc.
 | 
						|
* Copyright 2011 Range Networks, Inc.
 | 
						|
*
 | 
						|
* This software is distributed under multiple licenses;
 | 
						|
* see the COPYING file in the main directory for licensing
 | 
						|
* information for this specific distribuion.
 | 
						|
*
 | 
						|
* 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 SMSCONTROL_H
 | 
						|
#define SMSCONTROL_H
 | 
						|
 | 
						|
#include <SMSMessages.h>
 | 
						|
 | 
						|
namespace GSM {
 | 
						|
class L3Message;
 | 
						|
class LogicalChannel;
 | 
						|
class SDCCHLogicalChannel;
 | 
						|
class SACCHLogicalChannel;
 | 
						|
class TCHFACCHLogicalChannel;
 | 
						|
class L3CMServiceRequest;
 | 
						|
};
 | 
						|
 | 
						|
 | 
						|
namespace Control {
 | 
						|
 | 
						|
/** MOSMS state machine.  */
 | 
						|
void MOSMSController(const GSM::L3CMServiceRequest *req, GSM::LogicalChannel *LCH);
 | 
						|
 | 
						|
/** MOSMS-with-parallel-call state machine.  */
 | 
						|
void InCallMOSMSStarter(TransactionEntry *parallelCall);
 | 
						|
 | 
						|
/** MOSMS-with-parallel-call state machine.  */
 | 
						|
void InCallMOSMSController(const SMS::CPData *msg, TransactionEntry* transaction, GSM::SACCHLogicalChannel *LCH);
 | 
						|
/**
 | 
						|
	Basic SMS delivery from an established CM.
 | 
						|
	On exit, SAP3 will be in ABM and LCH will still be open.
 | 
						|
	Throws exception for failures in connection layer or for parsing failure.
 | 
						|
	@return true on success in relay layer.
 | 
						|
*/
 | 
						|
bool deliverSMSToMS(const char *callingPartyDigits, const char* message, const char* contentType, unsigned TI, GSM::LogicalChannel *LCH);
 | 
						|
 | 
						|
/** MTSMS */
 | 
						|
void MTSMSController(TransactionEntry* transaction, GSM::LogicalChannel *LCH);
 | 
						|
 | 
						|
}
 | 
						|
 | 
						|
 | 
						|
 | 
						|
 | 
						|
#endif
 | 
						|
 | 
						|
// vim: ts=4 sw=4
 |