From peter.wallereres at gmail.com Wed Dec 2 17:14:51 2020 From: peter.wallereres at gmail.com (Peter Wallereres) Date: Wed, 2 Dec 2020 18:14:51 +0100 Subject: gmr1_rach_scan Message-ID: Hi, I try to use the gmr1_rach_scan flowgraph, but did not succeed. I am always getting this error: Traceback (most recent call last): File "/home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/apps/gmr1_rach_scan.py", line 22, in from gnuradio import gmr1 ImportError: cannot import name gmr1 Anyone can help me how to compile and install correctly the needed blocks for the flowgraph? Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From 246tnt at gmail.com Thu Dec 3 21:21:43 2020 From: 246tnt at gmail.com (Sylvain Munaut) Date: Thu, 3 Dec 2020 22:21:43 +0100 Subject: gmr1_rach_scan In-Reply-To: References: Message-ID: > I try to use the gmr1_rach_scan flowgraph, but did not succeed. > > I am always getting this error: > > Traceback (most recent call last): > File "/home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/apps/gmr1_rach_scan.py", line 22, in > from gnuradio import gmr1 > ImportError: cannot import name gmr1 The block is in the gr-gmr1 repo .. you build it with cmake like any other GR OOT. Although I don't think I ever ported it to gnuradio 3.8 so it might need adaptation for that. Also it doesn't support mixed prefix install so you need to install it in the same prefix as your gnuradio. Cheers, Sylvain From peter.wallereres at gmail.com Sat Dec 5 00:45:46 2020 From: peter.wallereres at gmail.com (Peter Wallereres) Date: Sat, 5 Dec 2020 01:45:46 +0100 Subject: Fwd: gmr1_rach_scan In-Reply-To: References: Message-ID: I am using gnuradio 3.7, the build process stops with the following error, and i really don't know why, would be nice, if you, or anyone else can help me. Thank you! [ 42%] Building C object lib/CMakeFiles/gnuradio-gmr1.dir/home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/src/l1/tch3.c.o [ 44%] Building C object lib/CMakeFiles/gnuradio-gmr1.dir/home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/src/l1/tch9.c.o [ 47%] Building C object lib/CMakeFiles/gnuradio-gmr1.dir/home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/src/gsmtap.c.o [ 50%] Building CXX object lib/CMakeFiles/gnuradio-gmr1.dir/burst_to_tagged_stream_impl.cc.o [ 52%] Building CXX object lib/CMakeFiles/gnuradio-gmr1.dir/gsmtap_sink_impl.cc.o /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc: In constructor ?gr::gmr1::gsmtap_sink_impl::gsmtap_sink_impl(const string&, uint16_t)?: /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:58:27: error: ?PDU_PORT_ID? was not declared in this scope message_port_register_in(PDU_PORT_ID); ^~~~~~~~~~~ /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc: In member function ?void gr::gmr1::gsmtap_sink_impl::send_pdu(pmt::pmt_t)?: /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: invalid conversion from ?const uint8_t* {aka const unsigned char*}? to ?uint8_t {aka unsigned char}? [-fpermissive] )); ^ /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: invalid conversion from ?size_t {aka long unsigned int}? to ?const uint8_t* {aka const unsigned char*}? [-fpermissive] /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: too few arguments to function ?msgb* gmr1_gsmtap_makemsg(uint8_t, uint16_t, uint32_t, uint8_t, const uint8_t*, int)? In file included from /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:34:0: /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/../include/osmocom/gmr1/gsmtap.h:36:14: note: declared here struct msgb *gmr1_gsmtap_makemsg( ^~~~~~~~~~~~~~~~~~~ lib/CMakeFiles/gnuradio-gmr1.dir/build.make:309: recipe for target 'lib/CMakeFiles/gnuradio-gmr1.dir/gsmtap_sink_impl.cc.o' failed make[2]: *** [lib/CMakeFiles/gnuradio-gmr1.dir/gsmtap_sink_impl.cc.o] Error 1 CMakeFiles/Makefile2:254: recipe for target 'lib/CMakeFiles/gnuradio-gmr1.dir/all' failed make[1]: *** [lib/CMakeFiles/gnuradio-gmr1.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.wallereres at gmail.com Fri Dec 4 22:23:12 2020 From: peter.wallereres at gmail.com (Peter Wallereres) Date: Fri, 4 Dec 2020 23:23:12 +0100 Subject: gmr1_rach_scan In-Reply-To: References: Message-ID: Thank you! Am Do., 3. Dez. 2020 um 22:22 Uhr schrieb Sylvain Munaut <246tnt at gmail.com>: > > I try to use the gmr1_rach_scan flowgraph, but did not succeed. > > > > I am always getting this error: > > > > Traceback (most recent call last): > > File > "/home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/apps/gmr1_rach_scan.py", > line 22, in > > from gnuradio import gmr1 > > ImportError: cannot import name gmr1 > > The block is in the gr-gmr1 repo .. you build it with cmake like any > other GR OOT. > > Although I don't think I ever ported it to gnuradio 3.8 so it might > need adaptation for that. > Also it doesn't support mixed prefix install so you need to install it > in the same prefix as your gnuradio. > > Cheers, > > Sylvain > -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.wallereres at gmail.com Mon Dec 7 20:38:01 2020 From: peter.wallereres at gmail.com (Peter Wallereres) Date: Mon, 7 Dec 2020 21:38:01 +0100 Subject: gmr-1-3g Message-ID: Someone can give me some info how to use the gmr-1-3g branch for GmPRS? Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From peter.wallereres at gmail.com Wed Dec 9 00:59:50 2020 From: peter.wallereres at gmail.com (Peter Wallereres) Date: Wed, 9 Dec 2020 01:59:50 +0100 Subject: S-Band Base frequency Message-ID: Someone can tell me what the base frequency for s-band is, to calculate the arfcn. I found this info, but i am not sure what is ul/dl, and if the frequencies are correct. 2.170.000.000 - 2.200.000.000 1.980.000.000 - 2.010.000.000 -------------- next part -------------- An HTML attachment was scrubbed... URL: From 246tnt at gmail.com Wed Dec 9 10:47:16 2020 From: 246tnt at gmail.com (Sylvain Munaut) Date: Wed, 9 Dec 2020 11:47:16 +0100 Subject: gmr-1-3g In-Reply-To: References: Message-ID: Hi, > Someone can give me some info how to use the gmr-1-3g branch for GmPRS? GmPRS != GMR-1-3G GMR-1-3G introduced new FACCH3 which is non-existent in GmPRS. What satellite system are you looking at ? I don't actually know any using GmPRS AFAIR. Cheers, Sylvain From 246tnt at gmail.com Wed Dec 9 10:51:06 2020 From: 246tnt at gmail.com (Sylvain Munaut) Date: Wed, 9 Dec 2020 11:51:06 +0100 Subject: S-Band Base frequency In-Reply-To: References: Message-ID: > Someone can tell me what the base frequency for s-band is, to calculate the arfcn. 1980 is Uplink 2170 is Downlink Look at http://git.osmocom.org/osmo-gmr/tree/utils/gmr1_rx_sdr.py?id=f5bdb26c9499424518eaebf79d9c92399a1c6c9a#n71 This is a python class that can comput ecenter frequency of any channel. (any width, any band, any ARFCN). Cheers, Sylvain From peter.wallereres at gmail.com Sun Dec 27 16:02:01 2020 From: peter.wallereres at gmail.com (Peter Wallereres) Date: Sun, 27 Dec 2020 17:02:01 +0100 Subject: rach Message-ID: Dear list , i am still trying to compile the gnuradio blocks for the rach. But the building stops after 52%. Could it be that there is something wrong in the source code? Anyone else already succeeded to build the blocks? I am using Ubuntu 18.04.5 LTS, with gnu-radio 3.7, the compiler give me the following error: [ 52%] Building CXX object lib/CMakeFiles/gnuradio-gmr1.dir/gsmtap_sink_impl.cc.o /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc: In constructor ?gr::gmr1::gsmtap_sink_impl::gsmtap_sink_impl(const string&, uint16_t)?: /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:58:27: error: ?PDU_PORT_ID? was not declared in this scope message_port_register_in(PDU_PORT_ID); ^~~~~~~~~~~ /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc: In member function ?void gr::gmr1::gsmtap_sink_impl::send_pdu(pmt::pmt_t)?: /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: invalid conversion from ?const uint8_t* {aka const unsigned char*}? to ?uint8_t {aka unsigned char}? [-fpermissive] )); ^ /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: invalid conversion from ?size_t {aka long unsigned int}? to ?const uint8_t* {aka const unsigned char*}? [-fpermissive] /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: too few arguments to function ?msgb* gmr1_gsmtap_makemsg(uint8_t, uint16_t, uint32_t, uint8_t, const uint8_t*, int)? In file included from /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:34:0: /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/../include/osmocom/gmr1/gsmtap.h:36:14: note: declared here struct msgb *gmr1_gsmtap_makemsg( ^~~~~~~~~~~~~~~~~~~ lib/CMakeFiles/gnuradio-gmr1.dir/build.make:309: recipe for target 'lib/CMakeFiles/gnuradio-gmr1.dir/gsmtap_sink_impl.cc.o' failed make[2]: *** [lib/CMakeFiles/gnuradio-gmr1.dir/gsmtap_sink_impl.cc.o] Error 1 CMakeFiles/Makefile2:254: recipe for target 'lib/CMakeFiles/gnuradio-gmr1.dir/all' failed make[1]: *** [lib/CMakeFiles/gnuradio-gmr1.dir/all] Error 2 Makefile:140: recipe for target 'all' failed make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From 246tnt at gmail.com Sun Dec 27 20:32:44 2020 From: 246tnt at gmail.com (Sylvain Munaut) Date: Sun, 27 Dec 2020 21:32:44 +0100 Subject: rach In-Reply-To: References: Message-ID: Hi, > [ 52%] Building CXX object lib/CMakeFiles/gnuradio-gmr1.dir/gsmtap_sink_impl.cc.o > /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc: In constructor ?gr::gmr1::gsmtap_sink_impl::gsmtap_sink_impl(const string&, uint16_t)?: > /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:58:27: error: ?PDU_PORT_ID? was not declared in this scope > message_port_register_in(PDU_PORT_ID); > ^~~~~~~~~~~ PDU_PORT_ID is supposed to be provided by gnuradio. Either your version is too old and doesn't have it yet ... or maybe it's too new and that symbol has been removed. Or maybe an include is missing ... At least in 3.7.9 it's there : http://aws.pabut.org/gnuradio/pdu_8h.html#Macros > /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc: In member function ?void gr::gmr1::gsmtap_sink_impl::send_pdu(pmt::pmt_t)?: > /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: invalid conversion from ?const uint8_t* {aka const unsigned char*}? to ?uint8_t {aka unsigned char}? [-fpermissive] > )); > ^ > /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: invalid conversion from ?size_t {aka long unsigned int}? to ?const uint8_t* {aka const unsigned char*}? [-fpermissive] > /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:94:2: error: too few arguments to function ?msgb* gmr1_gsmtap_makemsg(uint8_t, uint16_t, uint32_t, uint8_t, const uint8_t*, int)? > In file included from /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/lib/gsmtap_sink_impl.cc:34:0: > /home/peter/Radio/Thuraya/sylvain-gr/osmo-gmr/gr-gmr1/../include/osmocom/gmr1/gsmtap.h:36:14: note: declared here > struct msgb *gmr1_gsmtap_makemsg( > ^~~~~~~~~~~~~~~~~~~ Yeah, there might have been some changes not propagated everywhere ... just look at the function being called and how it's meant to be called, fix should be obvious. The content of that branch will definitly require you to dig into stuff, it's _far_ from being a turn-key solution ... more like a kit. And I haven't run it in a while ... (don't even have gnuradio installed ATM, especially not GR 3.7 ...) Cheers, Sylvain