I used osmocom-bb and grgsm with usrp b210 to connect openBTS, but failed. The command is "./mobile -c /home/oi/wf/osmocom-bb/doc/examples/mobile/default.cfg","./trxcon -p 5075 " ,"grgsm_trx -p 5075" . When i used “./cell_log -A 1 ”, it could find plmn 1-1 with arfcn 1 which is same with openBTS. DSUM INFO cell_log.c:344 Sync ARFCN 1 (rxlev -105, 1 syncs left) DSUM INFO cell_log.c:372 Measure from 1 to 1 DSUM INFO l1ctl.c:1177 start_pm L1CTL_PM_CONF DSUM INFO cell_log.c:400 start_pm S_L1CTL_PM_DONE DSUM INFO cell_log.c:363 Measurement done DSUM INFO cell_log.c:372 Measure from 1 to 1 DSUM INFO l1ctl.c:1177 start_pm L1CTL_PM_CONF DSUM INFO cell_log.c:400 start_pm S_L1CTL_PM_DONE DSUM INFO cell_log.c:363 Measurement done DSUM INFO cell_log.c:372 Measure from 1 to 1 DSUM INFO l1ctl.c:1177 start_pm L1CTL_PM_CONF DSUM INFO cell_log.c:400 start_pm S_L1CTL_PM_DONE DSUM INFO cell_log.c:363 Measurement done DSUM INFO cell_log.c:372 Measure from 1 to 1 DSUM INFO l1ctl.c:1177 start_pm L1CTL_PM_CONF DSUM INFO cell_log.c:400 start_pm S_L1CTL_PM_DONE DSUM INFO cell_log.c:363 Measurement done DSUM INFO cell_log.c:372 Measure from 1 to 1 DSUM INFO l1ctl.c:1177 start_pm L1CTL_PM_CONF DSUM INFO cell_log.c:400 start_pm S_L1CTL_PM_DONE DSUM INFO cell_log.c:363 Measurement done DSUM INFO cell_log.c:344 Sync ARFCN 1 (rxlev -105, 1 syncs left) DSUM INFO cell_log.c:190 Cell: ARFCN=1 MCC-MNC=001-01 (Test, Test)
But when test with sim testcard 1, it failed to find the 1-1 cell. Could anyone give any suggestion about this? Thanks a lot!
6.5.0-25-generic #25~22.04.1-Ubuntu osmocom-bb: commit 0d1ab4c8d2cbe0ba72662d5b466fb6c60cb8b45f (HEAD -> master, origin/master, origin/HEAD) grgsm: https://github.com/bkerler/gr-gsm.git origin/maint-3.10_with_multiarfcn
On 21.03.2024 17:04, hellowangfang@gmail.com wrote:
I used osmocom-bb and grgsm with usrp b210 to connect openBTS, but failed. The command is "./mobile -c /home/oi/wf/osmocom-bb/doc/examples/mobile/default.cfg","./trxcon -p 5075 " ,"grgsm_trx -p 5075" . When i used “./cell_log -A 1 ”, it could find plmn 1-1 with arfcn 1 which is same with openBTS.
FYI, grgsm_trx does not implement any kind of power measurement. The reported RSSI values are just random values between -120 and -100. Because of that, cell_log may or may not detect cells.
But when test with sim testcard 1, it failed to find the 1-1 cell. Could anyone give any suggestion about this? Thanks a lot!
It's a good question why cell_log does find your cell, but mobile does not. As a workaround, I would recommend using the 'stick' parameter in mobile.cfg. Just add it like this:
ms 1 stick 1 ...
This will force the mobile app to use ARFCN 1 and nothing else. This is exactly what I am doing when running a virtual setup, for instance.
Hi Vadim: Thanks a lot for you reply. It locked now. Another simple question is how to start the phone in vty. When i entered : OsmocomBB(mobile)> en OsmocomBB(mobile)# sim testcard 1 SIM already attached, remove first! it seems not triggered plmn search.what is the command to start the phone? Thank again!
Vadim Yanitskiy axilirator@gmail.com 于2024年3月22日周五 01:36写道:
On 21.03.2024 17:04, hellowangfang@gmail.com wrote:
I used osmocom-bb and grgsm with usrp b210 to connect openBTS, but
failed. The command is "./mobile -c /home/oi/wf/osmocom-bb/doc/examples/mobile/default.cfg","./trxcon -p 5075 " ,"grgsm_trx -p 5075" .
When i used “./cell_log -A 1 ”, it could find plmn 1-1 with arfcn 1
which is same with openBTS.
FYI, grgsm_trx does not implement any kind of power measurement. The reported RSSI values are just random values between -120 and -100. Because of that, cell_log may or may not detect cells.
But when test with sim testcard 1, it failed to find the 1-1 cell. Could
anyone give any suggestion about this? Thanks a lot!
It's a good question why cell_log does find your cell, but mobile does not. As a workaround, I would recommend using the 'stick' parameter in mobile.cfg. Just add it like this:
ms 1 stick 1 ...
This will force the mobile app to use ARFCN 1 and nothing else. This is exactly what I am doing when running a virtual setup, for instance.
-- Best regards, Vadim.
On 22.03.2024 08:49, Wang Fang wrote:
Another simple question is how to start the phone in vty. When ientered : OsmocomBB(mobile)> en OsmocomBB(mobile)# sim testcard 1 SIM already attached, remove first! it seems not triggered plmn search.what is the command to start the phone? Thank again!
Check the config file, you most likely already have 'sim reader' configured in it. Either modify the config file to use the testcard, or do 'sim remove 1' before doing 'sim testcard 1'.
still could not find the cell. when sim remove 1, it start to search the network,but can't find cell 1. After type 'sim testcard 1' in telnet,it did nothing. I entered "configure terminal>ms 1>network-selection-mode manual" to trigger plmn search, still can't find the cell. what is the right way to get the phone doing plmn search with sim card in cfg file. what I done above is ok? I compared the 2 trxcon log between mobile and cell_log, mobile just could not find the cell. Any more suggestion about this? cell 1 already locked. Is the default cfg(osmocom-bb/doc/examples/mobile/default.cfg) ok? or do you need more logs ? Thanks again!
[image: image.png]
Vadim Yanitskiy axilirator@gmail.com 于2024年3月22日周五 13:44写道:
On 22.03.2024 08:49, Wang Fang wrote:
Another simple question is how to start the phone in vty. When ientered : OsmocomBB(mobile)> en OsmocomBB(mobile)# sim testcard 1 SIM already attached, remove first! it seems not triggered plmn search.what is the command to start the phone? Thank again!
Check the config file, you most likely already have 'sim reader' configured in it. Either modify the config file to use the testcard, or do 'sim remove 1' before doing 'sim testcard 1'.
-- Best regards, Vadim.
still could not find the cell. when sim remove 1, it start to search the network,but can't find cell 1. After type 'sim testcard 1' in telnet,it did nothing. I entered "configure terminal>ms 1>network-selection-mode manual" to trigger plmn search, still can't find the cell. what is the right way to get the phone doing plmn search with sim card in cfg file. what I done above is ok? I compared the 2 trxcon log between mobile and cell_log, mobile just could not find the cell. Any more suggestion about this? cell 1 already locked. Is the default cfg(osmocom-bb/doc/examples/mobile/default.cfg) ok? or do you need more logs ? Thanks again! [image: image.png]
Vadim Yanitskiy axilirator@gmail.com 于2024年3月22日周五 13:44写道:
On 22.03.2024 08:49, Wang Fang wrote:
Another simple question is how to start the phone in vty. When ientered : OsmocomBB(mobile)> en OsmocomBB(mobile)# sim testcard 1 SIM already attached, remove first! it seems not triggered plmn search.what is the command to start the phone? Thank again!
Check the config file, you most likely already have 'sim reader' configured in it. Either modify the config file to use the testcard, or do 'sim remove 1' before doing 'sim testcard 1'.
-- Best regards, Vadim.
still could not find the cell. when sim remove 1, it start to search the network,but can't find cell 1. After type 'sim testcard 1' in telnet,it did nothing. I entered "configure terminal>ms 1>network-selection-mode manual" to trigger plmn search, still can't find the cell. what is the right way to get the phone doing plmn search with sim card in cfg file. what I done above is ok? I compared the 2 trxcon log between mobile and cell_log, mobile just could not find the cell. Any more suggestion about this? cell 1 already locked. Is the default cfg(osmocom-bb/doc/examples/mobile/default.cfg) ok? or do you need more logs ? Thanks again!
Vadim Yanitskiy axilirator@gmail.com 于2024年3月22日周五 01:36写道:
On 21.03.2024 17:04, hellowangfang@gmail.com wrote:
I used osmocom-bb and grgsm with usrp b210 to connect openBTS, but
failed. The command is "./mobile -c /home/oi/wf/osmocom-bb/doc/examples/mobile/default.cfg","./trxcon -p 5075 " ,"grgsm_trx -p 5075" .
When i used “./cell_log -A 1 ”, it could find plmn 1-1 with arfcn 1
which is same with openBTS.
FYI, grgsm_trx does not implement any kind of power measurement. The reported RSSI values are just random values between -120 and -100. Because of that, cell_log may or may not detect cells.
But when test with sim testcard 1, it failed to find the 1-1 cell. Could
anyone give any suggestion about this? Thanks a lot!
It's a good question why cell_log does find your cell, but mobile does not. As a workaround, I would recommend using the 'stick' parameter in mobile.cfg. Just add it like this:
ms 1 stick 1 ...
This will force the mobile app to use ARFCN 1 and nothing else. This is exactly what I am doing when running a virtual setup, for instance.
-- Best regards, Vadim.
Hi I have this problem like you and ask it on https://lists.osmocom.org/hyperkitty/list/baseband-devel@lists.osmocom.org/t... But I did not receive an answer. Did you find a solution for it? Thank you.
baseband-devel@lists.osmocom.org