Re: primitives without msgb

2017-11-27 Thread Holger Freyther
> On 20. Nov 2017, at 21:25, Harald Welte wrote: > > Hi Holger, > > Yes, understood. Still, those structures could probably simply be > copied/wrapped into a msgb? Like the struct that represents a parsed > SMS? > At that point you gain that you can queue them,

Re: primitives without msgb

2017-11-20 Thread Harald Welte
Hi Holger, thanks for bringing this up. The original idea of introducing osmo_prim was for asynchronous primitives being exchanged between individual parts of a protocol stack. I think the L1/L2 interface in OsmocomBB was one of the first users. There we also need the async nature, as

primitives without msgb

2017-11-20 Thread Holger Freyther
Hi, while I am adding scripting support to the mobile application I tried using a primitive interface between the scripting implementation and the mobile application. On new indications a callback in the primitive interface user will be invoked and there is a generic submit function that will