Commit Graph

3 Commits

Author SHA1 Message Date
Max 1c82ae53cb libosmonetify SMPP
Use libosmo-netif instead of socket interface.
Note: osmo_stream_srv_recv() is not used for now to keep as much of existing
code as possible and make troubleshooting easier.

Related: OS#5568
Change-Id: Idc2e60af1010783e555e61b114ae61f55a89d890
2022-09-27 12:55:05 +07:00
Max 43a6a9a208 SMPP: move read/write callbacks to libsmpputil
The code is shared between OsmoMSC and smpp_mirror tool.

Related: OS#5568
Change-Id: I875eb5249004d3a960aee46c5099592d18fcaa76
2022-09-27 12:51:17 +07:00
Max 5346f69a54 Introduce libsmpputil
As part of preparation for libosmo-netif migration let's move common SMPP code
into separate build-time library and use it for both smpp_mirror and OsmoMSC
renaming the files if necessary.

While at it we also fix id/password legth limits in smpp_mirror and drop unused
fields from ESME struct.

Related: OS#5568
Change-Id: I61910651bc7c188dc2fb67d96189a66a47e7e8fb
2022-08-05 22:12:09 +07:00