hi guys, my phone doesn't see my base station.. To start I used : 1. First terminal: ~/osmocombb/trx/src# sudo host/osmocon/osmocon -m c123xor -p /dev/ttyUSB0 -c target/firmware/board/compal_e88/trx.highram.bin -r 99
2. Second terminal: ~/osmocombb/trx/src/host/layer23/src/transceiver# sudo ./transceiver -a 40 -r 99
Then I showed <0012> l1ctl.c:383 Reset received: Starting sync. <0012> l1ctl.c:338 Sync acquired, setting BTS mode ... <0011> trx.c:194 TRX CLK Indication 1890062 <0011> trx.c:194 TRX CLK Indication 1890113 <0011> trx.c:194 TRX CLK Indication 1890164 <0011> trx.c:194 TRX CLK Indicatn 1890215 ........ 3. third terminal: osmo-nitb -c ~/.osmocom/open-bsc.cfg -l ~/.osmocom/hlr.sqlite3 -P -C —debug=DRLL:DCC:DMM:DRR:DRSL:DNM
DB: Database initialized. DB: Database prepared.
My open-bsc.cfg contains: ! OpenBSC configuration saved from vty ! ! password foo ! line vty no login ! e1_input e1_line 0 driver ipa network network country code 1 mobile network code 1 short name OpenBSC long name OpenBSC auth policy closed location updating reject cause 13 encryption a5 0 neci 1 rrlp mode none mm info 1 handover 0 handover window rxlev averaging 10 handover window rxqual averaging 1 handover window rxlev neighbor averaging 10 handover power budget interval 6 handover power budget hysteresis 3 handover maximum distance 9999 timer t3101 10 timer t3103 0 timer t3105 0 timer t3107 0 timer t3109 4 timer t3111 0 timer t3113 60 timer t3115 0 timer t3117 0 timer t3119 0 timer t3141 0 bts 0 type sysmobts band DCS1800 cell_identity 0 location_area_code 1 training_sequence_code 7 base_station_id_code 63 ms max power 15 cell reselection hysteresis 4 rxlev access min 0 channel allocator ascending rach tx integer 9 rach max transmission 7 ip.access unit_id 1801 0 oml ip.access stream_id 255 line 0 gprs mode none trx 0 rf_locked 0 arfcn 514 nominal power 23 max_power_red 20 rsl e1 tei 0 timeslot 0 phys_chan_config CCCH+SDCCH4 timeslot 1 phys_chan_config SDCCH8 timeslot 2 phys_chan_config TCH/F timeslot 3 phys_chan_config TCH/F timeslot 4 phys_chan_config TCH/F timeslot 5 phys_chan_config TCH/F timeslot 6 phys_chan_config TCH/F timeslot 7 phys_chan_config TCH/F
arfcn I chose the 514..... 4. fourth terminal: cd /osmocombb/osmo-bts/src/osmo-bts-trx osmo-bts-trx -c ~/.osmocom/osmo-bts.cfg
showed me: ((*)) | / \ OsmoBTS <0017> control_if.c:693 CTRL at 127.0.0.1 4238 <0010> telnet_interface.c:95 telnet at 127.0.0.1 4241 <0012> input/ipaccess.c:881 enabling ipaccess BTS mode <0006> phy_link.c:58 PHY link state change shutdown -> connectiong <0006> scheduler.c:174 Init scheduler for trx=0 <000b> trx_if.c:584 Open transceiver for phy0.0 <0006> phy_link.c:58 PHY link state change connectiong -> connected <0006> phy_link.c:68 trx_set_avail(1) <0006> scheduler_trx.c:1514 GSM clock skew: old fn=0, new fn=1908169 <0006> scheduler_trx.c:1519 GSM clock jitter: -691 <0006> scheduler_trx.c:1519 GSM clock jitter: 128 <0006> scheduler_trx.c:1519 GSM clock jitter: 674 <0006> scheduler_trx.c:1519 GSM clock jitter: 204 <0006> scheduler_trx.c:1519 GSM clock jitter: 467 <0006> scheduler_trx.c:1519 GSM clock jitter: -1620 <0006> scheduler_trx.c:1519 GSM clock jitter: 1362 <0006> scheduler_trx.c:1519 GSM clock jitter: -668 <0006> scheduler_trx.c:1519 GSM clock jitter: -846 <0006> scheduler_trx.c:1519 GSM clock jitter: 519 <0006> scheduler_trx.c:1519 GSM clock jitter: 457 <0006> scheduler_trx.c:1519 GSM clock jitter: 384 <0006> scheduler_trx.c:1519 GSM clock jitter: 218
..... My osmo-bts.cfg contains: !OsmoBTS (0.0.1.100-0455) configuration saved from vty !! ! phy 0 instance 0 bts 0 band DCS1800 ipa unit-id 1801 0 oml remote-ip 192.168.100.11 trx 0 phy 0 instance 0
Where I erred? Thank you.
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-my-phone-my-phone-doe... Sent from the baseband-devel mailing list archive at Nabble.com.
Hi!
On Tue, Dec 13, 2016 at 11:26:05AM -0700, phreaker1983 wrote:
hi guys, my phone doesn't see my base station.. To start I used :
How strong is your signal? The initial sync of OsmocomBB is (as far as I remmber) setting the AGC to an expected signal level of -85 dBm. If "your base station" (I assume it is not a public network, but a base station you have on your desk / in your lab) is next to your phone, you might have -45dBM or even more. This will clip the signal.
Unfortunately in all the 6 years of OsmocomBB, nobody voluntered to address any of those long-standing issues or lacking features. It continues to sadden me that despite all the efforts that people like Dieter, Andreas, Sylvain and I have put into implementing the first >= 80%, the rest of the community and user base has not managed to address those remaining parts. The AGC handling for initial sync is one part, and the re-sync to neighbor cells (as requirement for hand-over) is another of those key parts.
Regards, Harald
Sorry I do not fully understand where to change the signal strength... in my file open-bsc.cfg in section trx , nominal power is equal to 23. Where should I make changes ?
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-my-phone-my-phone-doe... Sent from the baseband-devel mailing list archive at Nabble.com.
Sorry I do not fully understand where to change the signal strength... in my file open-bsc.cfg in section trx , nominal power is equal to 23. Where should I make changes ?
-- View this message in context: http://baseband-devel.722152.n3.nabble.com/Calypso-BTS-my-phone-my-phone-doe... Sent from the baseband-devel mailing list archive at Nabble.com.
Sorry I do not fully understand where to change the signal strength... in my file open-bsc.cfg in section trx , nominal power is equal to 23. Where should I make changes ?
In regards to setting gain, would it be a call to this function?
src/target/firmware/rf/trf6151.c:146 int trf6151_set_gain_reg(uint8_t dbm, int high)
I found that rffe_set_gain is the only caller of trf6151_set_gain_reg and the only caller of rffe_set_gain seems to not be adjusting the gain based on any measurements.
So maybe there needs to be new code which adjusts the gain?
-Craig
baseband-devel@lists.osmocom.org