aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gsm_04_11.h
AgeCommit message (Collapse)AuthorFilesLines
2016-11-12sms_next_rp_msg_ref(): use direct pointer to next_rp_ref counterNeels Hofmeyr1-1/+1
libbsc and libmsc will have separate subscriber connection structs. Hence don't rely on gsm_subscriber_connection, but work on a direct pointer to the counter for the next RP reference. The only very thin function in gsm_04_11_helper.c thus becomes obsolete: drop the entire file. Change-Id: I2a2e9ba6a981a385d1f8f07acbe03536ffed0072
2014-02-20sms: Increment the RP Message Reference for each transactionHolger Hans Peter Freyther1-0/+2
Each RP-DATA should have a unique msg reference. Currently 42 is used for all of these. Remember the last reference we used and increment it on the next SMS. Do not track if the reference is still in use a clash is a lot less likely now. First unless SMPP is used only one SMS is delivered at a time, second the transaction space is a lot smaller than the one for the reference.
2013-01-01libmsc: Allow to set sender id when sending SMS from the VTYSylvain Munaut1-1/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-04-18misc: Move from u_int to uint types of stdint.hHolger Hans Peter Freyther1-12/+12
This was done with sed on the files.
2011-03-23src: use new library libosmogsm and new path to headers in libosmocorePablo Neira Ayuso1-1/+1
libosmogsm is a new library that is distributed in the libosmocore. Now, openbsc depends on it. This patch gets openbsc with this change. This patch also rewrites all include path to the new osmocom/[gsm|core] Signed-off-by: Pablo Neira Ayuso <pablo@gnumonks.org>
2011-01-10sms: Allow to specify the DCS for the SMS.Holger Hans Peter Freyther1-1/+1
2011-01-10sms: Move the sms_from_text to gsm_04_11Holger Hans Peter Freyther1-0/+1
Move the SMS from text code from the VTY interface into the gsm_04_11.c code next to the sms_alloc and sms_free.
2010-12-26sms: Introduce a SMS queue that will be responsible for deliveryHolger Hans Peter Freyther1-0/+2
The SMSqueue will be responsible of sending to the user. It will do so in a loop and will also try not to overload the BTS. This means the throughput of SMS will be limited.
2010-06-17bsc_api: Move gsm48_rcvmsg into the BSC API and dispatch.Holger Hans Peter Freyther1-1/+1
The next step in the way to the BSC API. We have a clear a new connection was opened signal now... and the MSC could use it...
2010-06-16bsc_api: Pass the subscriber connection to the SMS...Holger Hans Peter Freyther1-1/+1
2010-06-16bsc_api: Remove the _lchan and make the method static..Holger Hans Peter Freyther1-2/+0
2010-06-15bsc_api: Do not use RLL inside the SMS code, handle SAPI n REJECTHolger Hans Peter Freyther1-0/+3
Directly send a SMS using the send method, in case of an error we will need to find the transaction and free the SMS and the transaction.
2010-03-25sms: First run of removing lchan usage from MSC code paths.Holger Hans Peter Freyther1-1/+1
2010-02-20move GSM protocol definitions to include/osmocore/protocol/*Harald Welte1-181/+1
2009-10-22Forward declare methods to fix compiler warningsHolger Hans Peter Freyther1-0/+3
Put the used method in the header files or use extern in the case of a vty method used by token_auth
2009-08-14respect the link_id, not only the SAPI from SMS codeHarald Welte (local)1-1/+1
SMS related messages are all sent over SAPI=3. But in addition to that, we also need to send it over the correct link identifier, i.e. SACCH or main signalling channel
2009-08-10misc: Add prototypes to header files, include more header filesHolger Hans Peter Freyther1-1/+4
Fix various warnings about implicit declarations of functions.
2009-08-10add SMS CP timer TC1* to tear down lchan in case MS never responds to CP-DATAHarald Welte1-3/+5
2009-08-09fix SMS RP message type definitions to reflect SMMA and MT ERRORHarald Welte1-2/+2
2009-08-08first 'working' SMS implementationHarald Welte1-23/+0
we now have the full path from the MS into the database (SUBMIT), as well as back from the database to the MS (DELIVER). The database gets correctly updated once a SMS has been successfully delivered. What's still missing is the periodic scan over all undelivered messages, trying to deliver them to the respective MS. So far, you have to manually trigger this on the telnet interface with 'sms send pending 1'
2009-07-27further steps towards better, transaction based SMSHarald Welte1-1/+20
2009-07-05more SMS improvementsHarald Welte1-25/+25
* describe data structures in gsm_04_11.h * increae LCHAN RELEASE TIMEOUT for case of long SMS * convert header field in sql table from NUMERIC to BLOB * initial handling for validity period * send RP ERROR messages with meaningful RP CAUSE in case of error
2009-07-04more layering /abstraction of sms protocolHarald Welte1-3/+0
2009-06-15add GSM 4.11 SMS CP and RP cause values as enumHarald Welte1-0/+43
2009-06-10move openbsc into its own subdirectoryHarald Welte1-0/+172