Not able to connect to Network using C-115 devices.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Not able to connect to Network using C-115 devices.

karnatinagesh@gmail.com
Hi,

Finally i am able to compile the GSM Stack code and flash into the Motorol Device C-115.
i can see the "layer1.bin" on the display, but my device is not latched on to the N/W.

  • When i ran the HOST software of Mobile. i can see that SIM reader code is not working, and i can see the IMEI is hardcoded to "0000000000000000".
  • i captured the response of FBSB(Frequency and Time synchronization Burst), the result is comming as "255".

can any one please help me how to resolve these issues so that i can latch on to the N/W.


regards,
nageswara reddy.


Reply | Threaded
Open this post in threaded view
|

Re: Not able to connect to Network using C-115 devices.

screaming-pain
To use a real sim you need the sylvain/testing branch I think.
Once you have mobile running, open telnet and type the following:

enable
config t
ms 1
sim reader
no shutdown
write

Note: this is from what I remember but check the wiki and old posts in the mailing list for confirmation
(you might need to shutdown and then bring the mobile back up after the sim reader command)

Regards,
Loretta

Ps. My c115 with the testing branch attaches to the network, I've never managed to make the call work though.
Reply | Threaded
Open this post in threaded view
|

Re: Not able to connect to Network using C-115 devices.

karnatinagesh@gmail.com
Hi screaming-pain,

i tried the way u mentioned. but still i am not able to latch on to the N/W.
Please find below the Logs.

nagesh@nagesh:~/osmocom-bb/src/host/layer23/src/mobile$ ./mobile -i 127.0.0.1
Copyright (C) 2008-2010 ...
Contributions by ...

License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

VTY available on port 4247.
No Mobile Station defined, creating: MS '1'
<000f> sim.c:1206 init SIM client
<0006> gsm48_cc.c:61 init Call Control
<0001> gsm48_rr.c:5095 init Radio Ressource process
<0005> gsm48_mm.c:1312 init Mobility Management process
<0005> gsm48_mm.c:1035 Selecting PLMN SEARCH state, because no SIM.
<0002> gsm322.c:5023 init PLMN process
<0003> gsm322.c:5024 init Cell Selection process
***
Warning: Mobile '1' has default IMEI: 000000000000000
This could relate your identitiy to other users with default IMEI.
***
Mobile '1' initialized, please start phone now!
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_SWITCH_ON' for automatic PLMN selection in state 'A0 null'
<000e> gsm322.c:1356 SIM is removed
<0002> gsm322.c:1357 SIM is removed
<0002> gsm322.c:800 new state 'A0 null' -> 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_SWITCH_ON' for Cell selection in state 'C0 null'
<0003> gsm322.c:3700 Switch on without SIM.
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the first! Please fix prim_pm.c
^A<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (955..955)
<0003> gsm322.c:2888 Getting PM for ARFCN 955 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2812 Found no frequency.
<0003> gsm322.c:2124 Cell search finished without result.
<0003> gsm322.c:823 new state 'C6 any cell selection' -> 'C0 null'
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN selection in state 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_NO_CELL_FOUND' for Cell selection in state 'C0 null'
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0005> gsm48_mm.c:4188 (ms 1) Received 'MM_EVENT_NO_CELL_FOUND' event in state MM IDLE, PLMN search
<0005> gsm48_mm.c:907 new MM IDLE state PLMN search -> no cell available
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (955..955)
<0003> gsm322.c:2888 Getting PM for ARFCN 955 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2812 Found no frequency.
<0003> gsm322.c:2124 Cell search finished without result.
<0003> gsm322.c:823 new state 'C6 any cell selection' -> 'C0 null'
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN selection in state 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_NO_CELL_FOUND' for Cell selection in state 'C0 null'
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0005> gsm48_mm.c:4188 (ms 1) Received 'MM_EVENT_NO_CELL_FOUND' event in state MM IDLE, no cell available
<0005> gsm48_mm.c:4201 Message unhandled at this state.
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (955..955)
<0003> gsm322.c:2888 Getting PM for ARFCN 955 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2812 Found no frequency.
<0003> gsm322.c:2124 Cell search finished without result.
<0003> gsm322.c:823 new state 'C6 any cell selection' -> 'C0 null'
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN selection in state 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_NO_CELL_FOUND' for Cell selection in state 'C0 null'
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0005> gsm48_mm.c:4188 (ms 1) Received 'MM_EVENT_NO_CELL_FOUND' event in state MM IDLE, no cell available
<0005> gsm48_mm.c:4201 Message unhandled at this state.
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (955..955)
<0003> gsm322.c:2888 Getting PM for ARFCN 955 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2812 Found no frequency.
<0003> gsm322.c:2124 Cell search finished without result.
<0003> gsm322.c:823 new state 'C6 any cell selection' -> 'C0 null'
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN selection in state 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_NO_CELL_FOUND' for Cell selection in state 'C0 null'
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0005> gsm48_mm.c:4188 (ms 1) Received 'MM_EVENT_NO_CELL_FOUND' event in state MM IDLE, no cell available
<0005> gsm48_mm.c:4201 Message unhandled at this state.
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first! Please fix prim_pm.c
<0003> gsm322.c:2900 Found signal (ARFCN 33 rxlev -103 (7))
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the first! Please fix prim_pm.c

pab
Reply | Threaded
Open this post in threaded view
|

Re: Not able to connect to Network using C-115 devices.

pab
Hi,

Did you use the sylvain/testing branch and compile firmware with TX support?
Also as I see from
>No Mobile Station defined, creating: MS '1'
you have not config for mobile, may be you should create it in ~/.osmocom/bb/osmocom.cfg and define config for ms 1 with 'sim reader', 'network-selection-mode auto' and 'no shutdown' options. Or do it in console as Loretta says.

PS: I'm new to Osmocom BB, so it's just my first steps with this project. I use C118 and C115 and they could connect to network and make calls.

~Pavel

On Thu, Sep 8, 2011 at 4:37 PM, [hidden email] <[hidden email]> wrote:
Hi screaming-pain,

i tried the way u mentioned. but still i am not able to latch on to the N/W.
Please find below the Logs.

nagesh@nagesh:~/osmocom-bb/src/host/layer23/src/mobile$ ./mobile -i
127.0.0.1
Copyright (C) 2008-2010 ...
Contributions by ...

License GPLv2+: GNU GPL version 2 or later
&lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

VTY available on port 4247.
No Mobile Station defined, creating: MS '1'
<000f> sim.c:1206 init SIM client
<0006> gsm48_cc.c:61 init Call Control
<0001> gsm48_rr.c:5095 init Radio Ressource process
<0005> gsm48_mm.c:1312 init Mobility Management process
<0005> gsm48_mm.c:1035 Selecting PLMN SEARCH state, because no SIM.
<0002> gsm322.c:5023 init PLMN process
<0003> gsm322.c:5024 init Cell Selection process
***
Warning: Mobile '1' has default IMEI: 000000000000000
This could relate your identitiy to other users with default IMEI.
***
Mobile '1' initialized, please start phone now!
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_SWITCH_ON' for automatic PLMN
selection in state 'A0 null'
<000e> gsm322.c:1356 SIM is removed
<0002> gsm322.c:1357 SIM is removed
<0002> gsm322.c:800 new state 'A0 null' -> 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_SWITCH_ON' for Cell selection in
state 'C0 null'
<0003> gsm322.c:3700 Switch on without SIM.
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the
first! Please fix prim_pm.c
^A<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (955..955)
<0003> gsm322.c:2888 Getting PM for ARFCN 955 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2812 Found no frequency.
<0003> gsm322.c:2124 Cell search finished without result.
<0003> gsm322.c:823 new state 'C6 any cell selection' -> 'C0 null'
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN
selection in state 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_NO_CELL_FOUND' for Cell selection
in state 'C0 null'
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0005> gsm48_mm.c:4188 (ms 1) Received 'MM_EVENT_NO_CELL_FOUND' event in
state MM IDLE, PLMN search
<0005> gsm48_mm.c:907 new MM IDLE state PLMN search -> no cell available
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the
first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (955..955)
<0003> gsm322.c:2888 Getting PM for ARFCN 955 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2812 Found no frequency.
<0003> gsm322.c:2124 Cell search finished without result.
<0003> gsm322.c:823 new state 'C6 any cell selection' -> 'C0 null'
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN
selection in state 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_NO_CELL_FOUND' for Cell selection
in state 'C0 null'
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0005> gsm48_mm.c:4188 (ms 1) Received 'MM_EVENT_NO_CELL_FOUND' event in
state MM IDLE, no cell available
<0005> gsm48_mm.c:4201 Message unhandled at this state.
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the
first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (955..955)
<0003> gsm322.c:2888 Getting PM for ARFCN 955 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2812 Found no frequency.
<0003> gsm322.c:2124 Cell search finished without result.
<0003> gsm322.c:823 new state 'C6 any cell selection' -> 'C0 null'
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN
selection in state 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_NO_CELL_FOUND' for Cell selection
in state 'C0 null'
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0005> gsm48_mm.c:4188 (ms 1) Received 'MM_EVENT_NO_CELL_FOUND' event in
state MM IDLE, no cell available
<0005> gsm48_mm.c:4201 Message unhandled at this state.
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the
first! Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (955..955)
<0003> gsm322.c:2888 Getting PM for ARFCN 955 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2812 Found no frequency.
<0003> gsm322.c:2124 Cell search finished without result.
<0003> gsm322.c:823 new state 'C6 any cell selection' -> 'C0 null'
<0002> gsm322.c:3804 (ms 1) Event 'EVENT_NO_CELL_FOUND' for automatic PLMN
selection in state 'A6 no SIM inserted'
<0003> gsm322.c:4035 (ms 1) Event 'EVENT_NO_CELL_FOUND' for Cell selection
in state 'C0 null'
<0003> gsm322.c:823 new state 'C0 null' -> 'C6 any cell selection'
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (0..0)
<0005> gsm48_mm.c:4188 (ms 1) Received 'MM_EVENT_NO_CELL_FOUND' event in
state MM IDLE, no cell available
<0005> gsm48_mm.c:4201 Message unhandled at this state.
<0003> gsm322.c:2888 Getting PM for ARFCN 0 twice. Overwriting the first!
Please fix prim_pm.c
<0003> gsm322.c:2900 Found signal (ARFCN 33 rxlev -103 (7))
<0003> gsm322.c:2912 Done with power scanning range.
<0003> gsm322.c:2790 Scanning power for all frequencies.
<0003> gsm322.c:2851 Scanning frequencies. (512(DCS)..512(DCS))
<0003> gsm322.c:2888 Getting PM for ARFCN 512(DCS) twice. Overwriting the
first! Please fix prim_pm.c



--
View this message in context: http://baseband-devel.722152.n3.nabble.com/Not-able-to-connect-to-Network-using-C-115-devices-tp3316437p3319524.html
Sent from the baseband-devel mailing list archive at Nabble.com.