Hi. My name is tyrus and I have been working with OsmocomBB since 2014 but
had given it a break. I decided to go back to the project only that this
time I am running a machine on Ubuntu 16.04 LTS.
I get the following error during the make stage of the installation:
libmobile.a(gsm48_rr.o): In function `gsm48_rr_enc_cm3':
*/home/tyrus/osmocom-bb/src/host/layer23/src/mobile/gsm48_rr.c:1210:
undefined reference to `bitvec_fill'*
*libmobile.a(vty_interface.o): In function `cfg_ms_rename':*
*/home/tyrus/osmocom-bb/src/host/layer23/src/mobile/vty_interface.c:1283:
undefined reference to `osmo_talloc_replace_string'*
collect2: error: ld returned 1 exit status
Makefile:377: recipe for target 'mobile' failed
make[3]: *** [mobile] Error 1
make[3]: Leaving directory
'/home/tyrus/osmocom-bb/src/host/layer23/src/mobile'
Makefile:322: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/tyrus/osmocom-bb/src/host/layer23/src'
Makefile:348: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/tyrus/osmocom-bb/src/host/layer23'
Makefile:84: recipe for target 'host/layer23/layer23' failed
make: *** [host/layer23/layer23] Error 2
Anyone else experienced this? I have *gcc-arm-none-eabi* toolchain
installed
Much appreciated.
-ty
Hi,
> I believe I need to keep focusing on osmo-trx support
> as the gr-gsm app does not seem to support TX (please
> correct me if I'm wrong though).
You are right, currently it doesn't. But we together with
Piotr Krysik are working on TX support for GR-GSM...
> I will keep investigating this and I will provide you
> some patches for osmo-trx which enable power
> measurement and synchronization.
Great! Having both OsmoTRX and GR-GSM TRX support would
be good. I am currently busy with TCH implementation for
trxcon, so as soon as I finish, I'll put my development
power on this too.
With best regards,
Vadim Yanitskiy.
Hi Adrian,
> I am interested in the sdr_phy work being done currently
Great to hear that.
> I built osmo-trx from the ms branch and implemented a crude
> power measurement command. When running trxcon everything works
> fine, I get power indications for channels, and then when the
> mobile app is trying to sync to an ARFCN I start having issues.
I have never developed / tested trxcon with OsmoTRX so far.
Currently I am using GR-GSM as a L1 back-end, and the virtual
connection between OsmocomBB and OsmoBTS during development.
In general, trxcon should be able to 'speak' with OsmoTRX,
because one do use classical transceiver UDP interfaces. But
there are some CTRL commands, which aren't implemented in OsmoTRX
yet (such as ECHO and MEASURE).
> I had to change the code of trxcon in order for SCH to work,
> because the bit values were inverted (0 was 1 and viceversa).
> I am attaching the changes at the end of the message.
Sounds strange. In case of virtual Um-interface (FakeTRX) and
GR-GSM TRX all SCH messages are decoded correctly. I will look
closer to this issue, thanks anyway!
> It appears as if the deinterleaving in gsm0503_xcch_decode
> does not work... could be the order of bursts?
The order of bursts should be consistent, I mean frame-by-frame.
You need to make sure that a frame number from SCH burst is being
decoded correctly by OsmoTRX. Every burst coming from OsmoTRX
has a header with frame number, which is used by trxcon to
determine a current frame position within a multiframe.
Probably, the problem is due to incorrect / consistent
frame number values. The internal clock counter (sched_clck.c)
is only used to schedule the UL bursts transmission.
> I'd appreciate any help here. I'm also ready to share the
> changes I've made to osmo-trx/ms and trxcon.
For now, have a look at:
- GR-GSM based transceiver:
https://github.com/axilirator/gr-gsm/tree/fixeria/trx
- Virtual Um-interface (brief description):
http://git.osmocom.org/osmocom-bb/tree/src/target/fake_trx/README?h=fixeria…
- The latest version of trxcon (use fixeria/fake_trx branch):
http://git.osmocom.org/osmocom-bb/log/?h=fixeria/fake_trx
You can also join the development process, feel free to mail me.
I will create the wiki page as soon as possible.
With best regards,
Vadim Yanitskiy.
Hello,
I am interested in the sdr_phy work being done currently, and I'm
trying to get it set up on my computer. I built osmo-trx from the ms
branch and implemented a crude power measurement command. When running
trxcon everything works fine, I get power indications for channels,
and then when the mobile app is trying to sync to an ARFCN I start
having issues.
The FCCH bursts are decoded fine, and so are the SCH bursts (which I
can also see in the osmo-trx terminal). I had to change the code of
trxcon in order for SCH to work, because the bit values were inverted
(0 was 1 and viceversa). I am attaching the changes at the end of the
message.
Unfortunately, the BCCH and CCCH bursts are not decoded:
<0006> sched_lchan_sch.c:98 Received SCH: bsic=30, fn=1116799, sched_fn=1116798
<0006> sched_lchan_xcch.c:69 Data received on BCCH: fn=1116800 ts=0 bid=0
<0006> sched_lchan_xcch.c:69 Data received on BCCH: fn=1116801 ts=0 bid=1
<0006> sched_lchan_xcch.c:69 Data received on BCCH: fn=1116802 ts=0 bid=2
<0006> sched_lchan_xcch.c:69 Data received on BCCH: fn=1116803 ts=0 bid=3
<0006> sched_lchan_xcch.c:117 Received bad data frame at fn=1116800
(2/51) for BCCH with 66 errors
It appears as if the deinterleaving in gsm0503_xcch_decode does not
work... could be the order of bursts?
I'd appreciate any help here. I'm also ready to share the changes I've
made to osmo-trx/ms and trxcon.
Best regards,
Adrian
diff --git a/src/host/trxcon/trx_if.c b/src/host/trxcon/trx_if.c
index 6a84af6..def571c 100644
--- a/src/host/trxcon/trx_if.c
+++ b/src/host/trxcon/trx_if.c
@@ -325,6 +325,11 @@ int trx_if_cmd_setslot(struct trx_instance *trx,
uint8_t tn, uint8_t type)
return trx_ctrl_cmd(trx, 1, "SETSLOT", "%d %d", tn, type);
}
+int trx_if_cmd_sync(struct trx_instance *trx, uint8_t type)
+{
+ return trx_ctrl_cmd(trx, 1, "SYNC", "%d", type);
+}
+
/*
* Tuning Control
*
@@ -392,7 +397,7 @@ int trx_if_cmd_measure(struct trx_instance *trx,
LOGP(DTRX, LOGL_ERROR, "ARFCN %d not defined\n", arfcn_start);
return -ENOTSUP;
}
-
+ trx_ctrl_cmd(trx, 1, "RXTUNE", "%d", freq10 * 100);
return trx_ctrl_cmd(trx, 1, "MEASURE", "%d", freq10 * 100);
}
@@ -421,6 +426,7 @@ static void trx_if_measure_rsp_cb(struct
trx_instance *trx, char *resp)
arfcn == trx->pm_arfcn_stop);
/* Schedule a next measurement */
+ usleep(50000);
if (arfcn != trx->pm_arfcn_stop)
trx_if_cmd_measure(trx, ++arfcn, trx->pm_arfcn_stop);
}
@@ -558,9 +564,9 @@ static int trx_data_rx_cb(struct osmo_fd *ofd,
unsigned int what)
/* Copy and convert bits {254..0} to sbits {-127..127} */
for (i = 0; i < 148; i++) {
if (buf[8 + i] == 255)
- bits[i] = -127;
+ bits[i] = 127;
else
- bits[i] = 127 - buf[8 + i];
+ bits[i] = -127 + buf[8 + i];
}
Hello, I am from Russia, can you help me with Filter Replacement!
I have to mobile, Motorolla C115 and C118. I was bye all elements to make filter replacement. Motorolla C115 look like your instruction and I was done filter replacement. Motorolla C115 nice work after it. But Motorolla C118 don`t look like in your instruction (no network signal or network signal is 1 level from 5).
I read: "Different circuit
Sometimes the input (at the bottom of the balun) is not with caps in series and a resistor in parallel. Instead it might be without the resistors in parallel and resistors in series. Remove the resistors and place 2x the appropriate cap in series (22 pF for GSM90, 15 pF for DCS1800".
But I don`t understand what I must do. I do like my picture (your network email network filter doesn`t allow me to download my photo, but I can send it if you allow this), but after it Motorolla don`t work: No signal from Network (or network signal is 1 level from 5).
Can you help me?
With Best Regards, Oleg Syvorov
Hi
My name is Mohsen Asghari, master student in Computer EngineeringI have to create a communication center based on GSM with OpenBTS,everything is OK, I have tested osmocom-bb with SMS in vty and it was perfectbut there is call problem. in both of real and virtual network this problem is bothering me finishing my thesiscan you help me understand whats wrong with my packages and installation?
it is five months that I am trying to fix this problem but I cant.in the cm-service command I have a channel release from ms which the comments shows that the problem is about there is no free socket for voice....! _____________
yours sincerely,
Mohsen Asghari
Hello, I am from Russia, can you help me with Filter Replacement!
I have to mobile, Motorolla C115 and C118. I was bye all elements to make filter replacement. Motorolla C115 look like your instruction and I was done filter replacement. Motorolla C115 nice work after it. But Motorolla C118 don`t look like in your instruction. I read:
"Different circuit
Sometimes the input (at the bottom of the balun) is not with caps in series and a resistor in parallel. Instead it might be without the resistors in parallel and resistors in series. Remove the resistors and place 2x the appropriate cap in series (22 pF for GSM90, 15 pF for DCS1800". But I don`t understand what I must do. I do like my picture (С118_2.jpg), but after it Motorolla don`t work: No signal from Network.
Can you help me?
With Best Regards, Oleg Syvorov
Dear Osmocom community,
from August 26th 06:54 UTC through August 31st 06:22 UTC our Osmocom.org
redmine could not send any e-mails. This was due to a configuration
file syntax error introduced by me, my apologies.
If you rely on redmine e-mail notifications to the issues you have
subscribed to, please double-check as related notifications during that
interval were unfortunately lost.
Best regards,
Harald
p.s.: The reason for the config change was to enable e-mail
notifications from jenkins.osmocom.org (which it now has, if you want to
configure e.g. post-build notification actions).
--
- Harald Welte <laforge(a)gnumonks.org> http://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Hello,
I have this error when I try to choose channel of baseband near me:
<000c> l1ctl.c:114 FBSB RESP: result=255
I'm using Motorola C115 Phone, flashed layer1.compalram.bin, burst_ind branch
Are there any solutions of this problem?
Sent with [ProtonMail](https://protonmail.com) Secure Email.
Hi,
> And I found it's possible to acrivate some setting in
> OnmoNITB but how can I do the actual request? I cannot
> find anything in the user manual, vty manual or in the menu...
This request is being sent automatically every time when
a dedicated channel between MS and BTS is established.
With best regards,
Vadim Yanitskiy.