SMS status?

Andrew Reusch areusch at
Thu Aug 11 22:46:58 UTC 2011

Hey Stefan,

Thanks for checking in, I hope the CCCamp goes well.

After some more surveying of the osmocom-bb codebase, I don't think I'm
seeing any support yet for LAPDm multiframe mode. According to Wikipedia
this is a necessary step to exchange SMS data (correct me if I'm wrong here,
I just started really learning SMS last week). I've started implementing
this in osmocom-bb/src/host/layer23/src/mobile/gsm48_mm.c as a first step.

I did a quick look around the openbsc codebase. There appears to be some
code there relating to SMS TP-DU forming and parsing, and the rest looks
like it would require some refactoring to split. I'm not sure how much
refactoring is worth it, but at least for the TP-DU code, would you want
that relocated to libosmocore if I wanted to reuse it?

I'll post up a patch when I get something decent. What's (is there a?) the
preferred test method for layer23 code? Understandable that you're having
some trouble getting input from people.


On Thu, Aug 11, 2011 at 4:34 AM, Stefan Schmidt
<stefan at>wrote:

> Hello.
> I skim in here as most developers are really busy with the GSM network
> setup at the CCCamp at the moment.
> On Wed, 2011-08-10 at 13:41, Andrew Reusch wrote:
> >
> > I work in a research lab and we're interested in using your stack to send
> > SMS. I've got some time on my hands and a working OpenBTS stack (USRP),
> so I
> > will probably go ahead and start implementing it in the mobile app.
> Before I
> > start I just wanted to ask first about the status of mobile-originated
> SMS?
> > I saw some traffic in the archives a few months back from Gianni about
> > mobile-terminated SMS, but nothing recent about mobile-originated SMS.
> Jolly or Sylvain will maybe know better but I think there is no SMS
> functionality at all in osmocom bb right now. What we have though is
> the SMS code on the networking side in OpenBSC. This could be used as
> base for sharing this between and OpenBSC.
> > Barring that, any suggestions on where to start? :) I'm kinda new here.
> You should have a look at libosmocore and the openbsc codebase first
> to figure out what parts of SMS functionality is there first.
> > Assuming I get something solid working, I'd of course be willing to
> > contribute it back to the codebase.
> This would at least give you some support here. We had some problems
> with supporting people without getting anything back. Be it docs,
> useful bug reports or actual code. :/
> Anyway a putting up a public repo with your code will show other
> people what you have and perhaps help you debug it.
> regards
> Stefan Schmidt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the baseband-devel mailing list