Hi!
I played with osmo-trx today and tried to run it with a USRP1 that I
have laying around, though to no avail.
osmo-trx supports two kinds of devices, USRP1 via libusrp and UHD.
libusrp was last included in gnuradio 3.4.2[1] from Dec 2013, it
unsurprisingly does not build on a recent Linux distribution, due to API
incompatibilities with boost.
The USRP1 would theoretically be supported by UHD, though the device
initialization code in osmo-trx explicitly treats it differently, see
[2,3].
I found an old ML post[4] from 2015 that pretty much asks the same
question but did not get an answer.
Supposedly there is a simple reason why USRP1 is not driven via UHD in
osmo-trx, but I don't know.
Can somebody please enlighten me? Tom, maybe you?
I would like to understand whether it is feasible to use an USRP1 with
UHD for osmo-trx or one would have to go down the rabbit hole to build
libusrp on a modern system.
Kind regards,
-Alex
[1] https://gnuradio.org/releases/gnuradio/
[2] https://git.osmocom.org/osmo-trx/tree/Transceiver52M/UHDDevice.cpp#n512
[3] https://git.osmocom.org/osmo-trx/tree/Transceiver52M/USRPDevice.cpp
[4] https://lists.osmocom.org/pipermail/openbsc/2015-January/000058.html
Hi,
I was trying to find if the doxygen documentation is uploaded and
publicly available somewhere in some web server.
Google pointed me to this libosmocore wiki page:
ftp://ftp.osmocom.org/api/latest/libosmonetif/
In there, there are several links to stuff like
http://www.osmocom.org/doc/libosmocore/latest/html/, but I get access
forbidden when trying to use that one.
On the other hand, I found somewhere else a link to
http://ftp.osmocom.org/api/latest/libosmonetif/html/ which seems to be
working.
Now the question is: which is the expected way to access the
documentation? should "www.osmocom.org" work instead of having to use
"ftp.osmocom.org"?
--
- Pau Espin Pedrol <pespin(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte
Hi,
We have manged to decode the BSIC in dedicated mode which were not
implemented before. Now we are working on the synchronize and
non-synchronize Handover. Once we send the fake measurement report to the
BTS we get a handover command from the network. That could be synchronized
or non-synchronized.
In case of synchronized hand over, without making any changes in the TPU
clock offset and the frame number and frequency correction, we are able to
complete the handover process most of the time.
In case of non-synchronized handover, a physical info is required from the
network when mobile station would send Handover access burst to the network
before the timer expires but we never get physical info during this period.
Here we are stuck.
Changes: for non-synchronized handover we need to change the TPU offset and
frequency correction offset and frame number parameters which we stored
during the BSIC decoding. We set these values before we send handover
access burst to the network but no success.
Anybody who is working on the handover currently or in the past can discuss
these things with me so we can figure out why we are not getting the
physical info during the non-sync handover.
I have also attached the main changed files with this email. I hope someone
would give advice how to debug the issue.
Regards
M. Awais
Hi all,
Anyone experiencing this error in Latest packages (Debian 9):
"The following packages have unmet dependencies:
osmo-mgw : Depends: libosmo-mgcp0 but it is not installable"
Nightly works great thou.
Cheers,
Rafael Diniz
In osmo-bts, we just have the configure flag --enable-sysmocom-bts, and
don't pass a header include location. i.e. we expect the header files to
exist locally.
I'm a bit stumped on why introducing stow would cause this to break. IIUC
stow should only affect the installed dependencies, while the sysmocom
headers are just placed in a local dir?
If we can't fix the osmo-bts build quickly, we'll have to revert the stow
patch until that works.
https://jenkins.osmocom.org/jenkins/view/master/job/master-osmo-bts/36/BTS_…
The build scripts are (obviously) in osmo-bts/contrib/ and
osmo-ci/scripts.
Any help is appreciated.
~N
Dear Harald,
In this mail I would like to express my thoughts and ideas
regarding to the 'external interface for USSD'. To provide
some background for other mailing list members, who are not
aware of this topic, I'll explain it in a few sentences.
We already have an external interface for SMS - SMPP. But
unfortunately, the same cannot be said about USSD. There is
no built-in support of any interface, which could be used to
handle USSD requests in a separate application. So, at the
moment we only handle *#100# (own number request), which is
implemented as a part of both OsmoMSC and legacy OsmoNiTB.
And if one would like to implement additional USSD commands,
it's required to modify and recompile the whole project :/
Fairwaves team already have some draft implementation for legacy
OsmoNiTB, which relays on the libosmocore's GSM 04.80 API. And
having the external interface in the mainline would be great
not only for Fairwaves, but for the whole Osmocom project
and its users.
The problem is that the current libosmocore's GSM 04.80 API
is not complete and requires some critical modifications,
which of course cannot be integrated immediately. Moreover,
this implementation doesn't follow Osmocom coding style,
for example, unlike other functions, where return code
rc = 0 means success, there it means error...
So, first of all, we need to know, how many projects are
using the current API, especially non-Osmocom projects.
After that (taking it into account), it shall be decided:
- Should we keep the old API / ABI and maintain all new
features among with it. This way would force us to
duplicate the existing code and use different symbols.
Then the old API would continuously became deprecated...
- Should we make all the critical changes in the current
API (increasing the libosmocore version?). This way would
break builds of dependent projects and would suppose
fixing compatibility with the new API. But, at the same
time, the implementation would be cleaner and closer to
the specification, without any deprecated duplication...
Personally, I prefer the second way. At the same time, I want
to make the modification as much transparent as possible.
Speaking about Osmocom projects, the only users of the GSM
04.80 API are OsmoMSC and legacy OsmoNiTB. Both projects
utilize it for '*#100#' handling only :/
To be more convincing, let's look at the following code:
#define MAX_LEN_USSD_STRING 31
struct ss_request {
uint8_t opcode;
uint8_t ss_code;
uint8_t ussd_text[MAX_LEN_USSD_STRING + 1];
uint8_t transaction_id;
uint8_t invoke_id;
};
This is what the current API allows you to obtain from a
SS-request (e.g. '*#100#') coming from user. And what's
wrong here?
- The 'ss_request' doesn't indicate a part of the library
it comes from. Would be better to use 'gsm0480_ss_request'.
- The 'ussd_text' length doesn't follow the specification,
where USSD OCTET STRING length is 160 bytes. So, the amount
of characters depends on used coding scheme.
- The information about SS-message type, component type, text
length and used DCS (Data Coding Scheme), etc. is missing.
Despite it could be important for the external application.
So, let's discuss together all the 'pros and cons', and decide
together, how should we facilitate the external USSD interface
development.
With best regards,
Vadim Yanitskiy.
Hi dexter,
reading a commit of yours apparently merged to osmo-bsc in November, I notice
that you "secretly sneaked in" this:
diff --git a/src/Makefile.am b/src/Makefile.am
index d04f025..dd1ad3d 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,5 +33,4 @@ SUBDIRS += \
utils \
ipaccess \
osmo-bsc \
- osmo-bsc_nat \
$(NULL)
in a patch that was supposed to "mgcp: use osmo-mgw to switch RTP streams".
http://git.osmocom.org/osmo-bsc/commit/?id=39c609b7c924524172ad311bdf89f92b…
So since we merged that patch, osmo-bsc_nat is no longer part of the osmo-bsc
build. That's certainly not intended, is it?
Confirm and please fix that. thx!
~N
Hi everybody,
as some of you may have noticed due to the generated noise in gerrit ml
during last days, I have been adding some autotest setup to osmo-trx in
order to have several tests being run during gerrit review. Since
osmo-trx has some specific code built with NEON instructions, I also
added some infrastructure to jenkin.sh to generate and use a prebuilt
debian armhf rootfs so we can easily build and run tests using qemu-arm
from our local workstations or from jenkins slaves, which will check
that support for those architectures doesn't become broken.
In order to set up the make check tests, I re-used existing tests and
moved them to the tests/ directory. I also moved
utils/convolvtest/main.c into "tests/Transceiver52M/convolve_test" [1]
to become a test that checks "convolve_{real,complex}" APIs.
I noticed, however, that this test prints slightly (or not that
slightly) different outputs on different machine architectures, which of
course make tests fail as it matches the exact values.
So far the output is different in my x86_64 workstation, my i686 netbook
(or i586 OBS host) and in my qemu-arm (armhf).
As each machine uses different instructions sets, I indeed can
understand that there appear small differences due to floating
operations and rounding, but sometimes I can see relatively big
difference between one implementation and the other one (eg 7.032490 vs
6.655972).
I'm thinking about modifying the test to, instead of matching the output
exactly, check that for each value in the vector it is similar to a
value with a maximum epsilon distance from a reference vector. However,
as I don't have any knowledge regarding the maths and theory behind the
convolution codes, I must admit I am not sure which epsilon should I be
using, or which should be the expected output for the test. It may
perhaps make sense to have separate reference output for different
architectures, I don't know. Can somebody shed some light on this topic?
Any advise or hint is welcome.
It would also be nice to have some tests for the "convert" API, which
uses optimized instructions sets too. If somebody wants to provide those
or any hint on how to implement them that's going to be handy.
All the test infrastructure is merged now, only the patch adding the
qemu part is not merged but already working in [2], I'll merge it
tomorrow if nobody is angry with it. You can find related output for the
test I was speaking of for different machine arch (x86_64, i686, arm) in
[3] and [4].
[1]https://git.osmocom.org/osmo-trx/tree/tests/Transceiver52M/convolve_test.c
[2] https://gerrit.osmocom.org/#/c/5763
[3] https://osmocom.org/issues/2826
[4] https://osmocom.org/issues/2828
--
- Pau Espin Pedrol <pespin(a)sysmocom.de> http://www.sysmocom.de/
=======================================================================
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte