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.