Hi all
I asked this question some time back and still waiting for some help. As
someone who is trying very hard to learn about Osmocom surly there is
someone interested in helping me. If not I don't see the point of having
this mailing list. We all have to start somewhere.
Tom
I am trying to build osmocombb using GwmB7UGK.c file.
When I run MAKE I get the following errors.
# make
CC app_ccch_scan.o
app_ccch_scan.c:74:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c:79:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c: In function ‘dump_bcch’:
app_ccch_scan.c:213:29: error: ‘CCCH_MODE_NON_COMBINED2’ undeclared
(first use in this function)
app_ccch_scan.c:213:29: note: each undeclared identifier is reported
only once for each function it appears in
app_ccch_scan.c:216:29: error: ‘CCCH_MODE_NON_COMBINED4’ undeclared
(first use in this function)
app_ccch_scan.c:219:29: error: ‘CCCH_MODE_NON_COMBINED6’ undeclared
(first use in this function)
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:315:39: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:315:24: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:315:10: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c: In function ‘fillField’:
app_ccch_scan.c:711:17: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
app_ccch_scan.c: In function ‘process_tch_efr’:
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:778:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:780:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:787:3: warning: implicit declaration of function
‘osmo_conv_decode’ [-Wimplicit-function-declaration]
app_ccch_scan.c:732:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:731:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:730:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:730:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:730:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:729:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:726:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘process_tch_fr’:
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:887:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:889:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:841:89: warning: unused variable ‘EFRAMR’
[-Wunused-variable]
app_ccch_scan.c:841:76: warning: unused variable ‘EFRBits’
[-Wunused-variable]
app_ccch_scan.c:841:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:840:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:839:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:839:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:839:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:838:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:835:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘local_burst_decode’:
app_ccch_scan.c:1049:29: error: ‘struct gsm48_ass_cmd’ has no member
named ‘chan_mode’
app_ccch_scan.c:1038:40: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:1038:25: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:1038:11: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c:1037:11: warning: unused variable ‘ch_type’
[-Wunused-variable]
app_ccch_scan.c:943:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘ccch_tn_decode’:
app_ccch_scan.c:1261:14: warning: assignment makes pointer from integer
without a cast [enabled by default]
app_ccch_scan.c:1203:17: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:1200:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘layer3_rx_burst’:
app_ccch_scan.c:1302:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: At top level:
app_ccch_scan.c:109:1: warning: ‘gen_filename’ defined but not used
[-Wunused-function]
make: *** [app_ccch_scan.o] Error 1
Tom
Hi all
I asked this question some time back and still waiting for some help. As
someone who is trying very hard to learn about Osmocom surly there is
someone interested in helping me. If not I don't see the point of having
this mailing list. We all have to start somewhere.
Tom
I am trying to build osmocombb using GwmB7UGK.c file.
When I run MAKE I get the following errors.
# make
CC app_ccch_scan.o
app_ccch_scan.c:74:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c:79:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c: In function ‘dump_bcch’:
app_ccch_scan.c:213:29: error: ‘CCCH_MODE_NON_COMBINED2’ undeclared
(first use in this function)
app_ccch_scan.c:213:29: note: each undeclared identifier is reported
only once for each function it appears in
app_ccch_scan.c:216:29: error: ‘CCCH_MODE_NON_COMBINED4’ undeclared
(first use in this function)
app_ccch_scan.c:219:29: error: ‘CCCH_MODE_NON_COMBINED6’ undeclared
(first use in this function)
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:315:39: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:315:24: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:315:10: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c: In function ‘fillField’:
app_ccch_scan.c:711:17: warning: pointer targets in initialization
differ in signedness [-Wpointer-sign]
app_ccch_scan.c: In function ‘process_tch_efr’:
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:778:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:780:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:787:3: warning: implicit declaration of function
‘osmo_conv_decode’ [-Wimplicit-function-declaration]
app_ccch_scan.c:732:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:731:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:730:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:730:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:730:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:729:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:726:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘process_tch_fr’:
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20
in format [-Wformat]
app_ccch_scan.c:887:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:889:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:841:89: warning: unused variable ‘EFRAMR’
[-Wunused-variable]
app_ccch_scan.c:841:76: warning: unused variable ‘EFRBits’
[-Wunused-variable]
app_ccch_scan.c:841:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:840:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:839:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:839:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:839:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:838:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:835:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘local_burst_decode’:
app_ccch_scan.c:1049:29: error: ‘struct gsm48_ass_cmd’ has no member
named ‘chan_mode’
app_ccch_scan.c:1038:40: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:1038:25: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:1038:11: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c:1037:11: warning: unused variable ‘ch_type’
[-Wunused-variable]
app_ccch_scan.c:943:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘ccch_tn_decode’:
app_ccch_scan.c:1261:14: warning: assignment makes pointer from integer
without a cast [enabled by default]
app_ccch_scan.c:1203:17: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:1200:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘layer3_rx_burst’:
app_ccch_scan.c:1302:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: At top level:
app_ccch_scan.c:109:1: warning: ‘gen_filename’ defined but not used
[-Wunused-function]
make: *** [app_ccch_scan.o] Error 1
Tom
Hi all
I am trying to build osmocombb using GwmB7UGK.c file.
When I run MAKE I get the following errors.
# make
CC app_ccch_scan.o
app_ccch_scan.c:74:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c:79:1: warning: useless storage class specifier in empty
declaration [enabled by default]
app_ccch_scan.c: In function ‘dump_bcch’:
app_ccch_scan.c:213:29: error: ‘CCCH_MODE_NON_COMBINED2’ undeclared (first
use in this function)
app_ccch_scan.c:213:29: note: each undeclared identifier is reported only
once for each function it appears in
app_ccch_scan.c:216:29: error: ‘CCCH_MODE_NON_COMBINED4’ undeclared (first
use in this function)
app_ccch_scan.c:219:29: error: ‘CCCH_MODE_NON_COMBINED6’ undeclared (first
use in this function)
app_ccch_scan.c: In function ‘gsm48_rx_imm_ass’:
app_ccch_scan.c:315:39: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:315:24: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:315:10: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c: In function ‘fillField’:
app_ccch_scan.c:711:17: warning: pointer targets in initialization differ
in signedness [-Wpointer-sign]
app_ccch_scan.c: In function ‘process_tch_efr’:
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20 in
format [-Wformat]
app_ccch_scan.c:753:2: warning: unknown conversion type character 0x20 in
format [-Wformat]
app_ccch_scan.c:778:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:780:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:787:3: warning: implicit declaration of function
‘osmo_conv_decode’ [-Wimplicit-function-declaration]
app_ccch_scan.c:732:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:731:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:730:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:730:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:730:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:729:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:729:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:726:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘process_tch_fr’:
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20 in
format [-Wformat]
app_ccch_scan.c:862:2: warning: unknown conversion type character 0x20 in
format [-Wformat]
app_ccch_scan.c:887:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:889:4: warning: pointer targets in passing argument 1 of
‘tch_deinterleave’ differ in signedness [-Wpointer-sign]
app_ccch_scan.c:681:6: note: expected ‘ubit_t *’ but argument is of type
‘sbit_t *’
app_ccch_scan.c:841:89: warning: unused variable ‘EFRAMR’
[-Wunused-variable]
app_ccch_scan.c:841:76: warning: unused variable ‘EFRBits’
[-Wunused-variable]
app_ccch_scan.c:841:9: warning: unused variable ‘steal_bit’
[-Wunused-variable]
app_ccch_scan.c:840:10: warning: unused variable ‘bursts’
[-Wunused-variable]
app_ccch_scan.c:839:21: warning: variable ‘length’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:839:10: warning: unused variable ‘bid’ [-Wunused-variable]
app_ccch_scan.c:839:6: warning: variable ‘ul’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:21: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:838:17: warning: variable ‘tn’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:838:10: warning: variable ‘cbits’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c:835:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘local_burst_decode’:
app_ccch_scan.c:1049:29: error: ‘struct gsm48_ass_cmd’ has no member named
‘chan_mode’
app_ccch_scan.c:1038:40: warning: unused variable ‘ra’ [-Wunused-variable]
app_ccch_scan.c:1038:25: warning: unused variable ‘chan_req_mask’
[-Wunused-variable]
app_ccch_scan.c:1038:11: warning: unused variable ‘chan_req_val’
[-Wunused-variable]
app_ccch_scan.c:1037:11: warning: unused variable ‘ch_type’
[-Wunused-variable]
app_ccch_scan.c:943:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘ccch_tn_decode’:
app_ccch_scan.c:1261:14: warning: assignment makes pointer from integer
without a cast [enabled by default]
app_ccch_scan.c:1203:17: warning: unused variable ‘lch_idx’
[-Wunused-variable]
app_ccch_scan.c:1200:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: In function ‘layer3_rx_burst’:
app_ccch_scan.c:1302:10: warning: variable ‘rx_dbm’ set but not used
[-Wunused-but-set-variable]
app_ccch_scan.c: At top level:
app_ccch_scan.c:109:1: warning: ‘gen_filename’ defined but not used
[-Wunused-function]
make: *** [app_ccch_scan.o] Error 1
Tom
I have been noticing from quite a while that the values of Signal level and
SNR embedded in GSM header (GSMTAP) in wireshark (b/w 0-255) are different
from that visible on the terminal while layer 1 and layer 2 & 3 are
operating (something like -60 dBm and 60 dB respectively). Can anybody plz
explain why is that difference if both these values represent the same
meaning? Is that due to different definations of int8_t and int in GSMTAP.h
and gsm48_rr.c respectively. If yes how to convert these values to dBm as
shown in terminal?
<http://baseband-devel.722152.n3.nabble.com/file/n4026711/sample10_layer23_d…>
--
View this message in context: http://baseband-devel.722152.n3.nabble.com/Wireshark-values-of-Signal-level…
Sent from the baseband-devel mailing list archive at Nabble.com.
Hi,
I'm trying to run the latest osmocom-bb git on a Motorola C118 phone.
After a minor problem with the build (as you may've noticed in the
patch I've sent). I got to the point of successfuly running layer1 on
the phone and the mobile app on the PC (I have also enabled TX). The
process seems to be stuck on trying to perform a location update. The
status of the ms is always either:
show ms
MS '1' is up, MM connection active
IMEI: 000000000000000
IMEISV: 0000000000000000
IMEI generation: fixed
automatic network selection state: A1 trying RPLMN
MCC=104 MNC=002 (104, 002)
cell selection state: connected mode 1
ARFCN=19 MCC=104 MNC=002 LAC=0xb00f CELLID=0x4fd9
(104, 002)
radio ressource layer state: connection pending
mobility management layer state: wait for RR connection (location updating)
OsmocomBB>
or
show ms
MS '1' is up, service is limited (pending)
IMEI: 000000000000000
IMEISV: 0000000000000000
IMEI generation: fixed
automatic network selection state: A1 trying RPLMN
MCC=104 MNC=002 (104, 002)
cell selection state: C3 camped normally
ARFCN=19 MCC=104 MNC=002 LAC=0xb00f CELLID=0x4fd9
(104, 002)
radio ressource layer state: idle
mobility management layer state: MM idle, attempting to update
OsmocomBB>
I think, that because of this I can't make any calls or send sms (all
the requests are being rejected):
OsmocomBB# call 1 <X>
call 1 <X>
OsmocomBB#
% (MS 1)
% Call has been rejected
The log information from mobile when it's trying to do a location
update is show below:
<000b> gsm48_rr.c:2174 PAGING REQUEST 1
<000b> gsm48_rr.c:2141 IMSI 260021964220249 (not for us)
<000b> gsm48_rr.c:2132 TMSI fd82a501 (not for us)
<000e> gsm48_mm.c:344 Location update retry
<0005> gsm48_mm.c:345 timer T3211 (loc. upd. retry delay) has fired
<0005> gsm48_mm.c:4311 (ms 1) Received 'MM_EVENT_TIMEOUT_T3211' event
in state MM IDLE, attempting to update
<000e> gsm48_mm.c:2199 Perform location update (MCC 104, MNC 002 LAC 0xb00f)
<0005> gsm48_mm.c:2333 LOCATION UPDATING REQUEST
<0005> gsm48_mm.c:2355 using LAI (mcc 104 mnc 002 lac 0xb00f)
<0005> gsm48_mm.c:2363 using TMSI 0x28a3d62e
<0005> gsm48_mm.c:914 new state MM IDLE, attempting to update -> wait
for RR connection (location updating)
<0001> gsm48_rr.c:5428 (ms 1) Message 'RR_EST_REQ' received in state
idle (sapi 0)
<000e> gsm48_rr.c:1318 Establish radio link due to mobility management request
<0003> gsm322.c:4037 (ms 1) Event 'EVENT_LEAVE_IDLE' for Cell
selection in state 'C3 camped normally'
<0003> gsm322.c:823 new state 'C3 camped normally' -> 'connected mode 1'
<0003> gsm322.c:3653 Going to camping (normal) ARFCN 19.
<0003> gsm322.c:463 Sync to ARFCN=19 rxlev=-74 (Sysinfo, ccch mode NON-COMB)
<0001> gsm48_rr.c:366 new state idle -> connection pending
<0001> gsm48_rr.c:1465 CHANNEL REQUEST: 00 (Location Update with NECI)
<0003> gsm322.c:2938 Channel synched. (ARFCN=19, snr=16, BSIC=17)
<0001> gsm322.c:2959 using DSC of 90
<0003> gsm48_rr.c:4816 Channel provides data.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 5)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 0 ra 0x0e)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 4)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 55 ra 0x07)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x75 chan_nr 0x0a MAIO 0 HSN 38
TS 2 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x75 chan_nr 0x0a MAIO 0 HSN 38
TS 2 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 0 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 3)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 55 ra 0x0f)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 2)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 55 ra 0x01)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 1/553m ra 0x18 chan_nr 0x59 ARFCN 19 TS 1
SS 3 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 1/553m ra 0x18 chan_nr 0x59 ARFCN 19 TS 1
SS 3 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 1)
<0001> gsm48_rr.c:1658 RANDOM ACCESS (Tx-integer 50 combined no
S(lots) 55 ra 0x0a)
<0001> gsm48_rr.c:1697 Use MS-TXPWR-MAX-CCH power value 5 (33 dBm)
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 1 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:1601 RANDOM ACCESS (requests left 0)
<0001> gsm48_rr.c:1605 Done with sending RANDOM ACCESS bursts
<0001> gsm48_rr.c:836 starting T3126 with 5.000 seconds
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 0 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x0a chan_nr 0x41 ARFCN 19 TS 1
SS 0 TSC 1)
<0001> gsm48_rr.c:2393 request 0a matches but not frame number
(IMM.ASS fn=22,6,30 != RACH fn=22,5,25)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x05 chan_nr 0x49 ARFCN 19 TS 1
SS 1 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x05 chan_nr 0x49 ARFCN 19 TS 1
SS 1 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-77 snr= 0 ber= 6 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x00 chan_nr 0x61 ARFCN 19 TS 1
SS 4 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2473 (ta 2/1107m ra 0x00 chan_nr 0x61 ARFCN 19 TS 1
SS 4 TSC 1)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x7d chan_nr 0x0b MAIO 0 HSN 38
TS 3 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x7d chan_nr 0x0b MAIO 0 HSN 38
TS 3 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 0 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 3 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x77 chan_nr 0x09 MAIO 0 HSN 38
TS 1 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2450 IMMEDIATE ASSIGNMENT:
<0001> gsm48_rr.c:2462 (ta 2/1107m ra 0x77 chan_nr 0x09 MAIO 0 HSN 38
TS 1 SS 0 TSC 0)
<0001> gsm48_rr.c:2503 Request, but not for us.
<0001> gsm48_rr.c:2225 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:2170 PAGING ignored, we are not camping.
<0001> gsm48_rr.c:673 MON: f=19 lev=-78 snr= 0 ber= 6 LAI=104 002 b00f ID=4fd9
<0001> gsm48_rr.c:765 timer T3126 has fired
<000e> gsm48_rr.c:770 Requesting channel failed
<0001> gsm48_rr.c:366 new state connection pending -> idle
<0003> gsm322.c:4037 (ms 1) Event 'EVENT_RET_IDLE' for Cell selection
in state 'connected mode 1'
<0003> gsm322.c:3565 Selecting ARFCN 19. after LOC.UPD.
<0003> gsm322.c:463 Sync to ARFCN=19 rxlev=-74 (Sysinfo, ccch mode NON-COMB)
<0003> gsm322.c:823 new state 'connected mode 1' -> 'C3 camped normally'
<0005> gsm48_mm.c:3902 (ms 1) Received 'RR_REL_IND' from RR in state
wait for RR connection (location updating) (sapi 0)
<0005> gsm48_mm.c:2732 RR link released after loc. upd.
<000e> gsm48_mm.c:2676 Location update failed
<000e> gsm48_mm.c:2686 Try location update later
<0005> gsm48_mm.c:2688 Loc. upd. failed, retry #0
<0005> gsm48_mm.c:413 starting T3211 (loc. upd. retry delay) with 15.0 seconds
<0005> gsm48_mm.c:1143 We are camping normally as returning to MM IDLE
<0005> gsm48_mm.c:1159 Loc. upd. allowed.
<0005> gsm48_mm.c:919 new state wait for RR connection (location
updating) -> MM IDLE, location updating needed
<0005> gsm48_mm.c:909 new MM IDLE state location updating needed ->
attempting to update
<0005> gsm48_mm.c:2215 Loc. upd. already pending.
<0005> gsm48_mm.c:4311 (ms 1) Received 'MM_EVENT_CELL_SELECTED' event
in state MM IDLE, attempting to update
<0005> gsm48_mm.c:2215 Loc. upd. already pending.
<0003> gsm322.c:2938 Channel synched. (ARFCN=19, snr=16, BSIC=17)
<0001> gsm322.c:2959 using DSC of 90
Can you provide me any hints on how to debug this ? Why is the
location update failing constantly ?
Thanks in advance for your help.
Best regards,
Maciej Grela
Hi guys,
pirelli dp-l10 unexpectable stuck running osmocombb + mobile (master branch)
its connected directly to DC power supply, so issue not related to battery.
In osmocon, mobile debugs nothing particilular everything worked fine and just in one moment stuck even without any actions,
just in idle mode.
Anyone got some issues?
Any suggestions?
Yury
"TSAREGORODTSEV, Yury" <yury(a)bridgecommunication.co.uk> wrote:
> Damn, yeah
> its not charging at all :)
> even when connected to hub with external power :)
Unfortunately there are no schematics available for the DP-L10 (and
reconstructing them from steve-m's PCB layer scans is anything but
easy), so everything that follows is ultimately pure guesswork, but it
*seems* to me that the battery charging circuit in this phone is
fundamentally the same as in the more traditional Calypso+Iota phones
(Compal etc), aside from using USB VBUS as the charging power source
instead of a dedicated round-plug type of power jack.
If the charging circuit in the DP-L10 works the way I think it does,
following common sense and all that, than the battery charging process
ought to be controlled by Iota ABB. The ABB chip in this phone is
TWL3014, but I'll use the more readable TWL3025 datasheet as a
reference instead - back in 2011 both Steve M. and Sylvain M. said on
this list that the two chips are functionally identical.
The battery charging functionality is described on pages 46-48 of
TWL3025_SWRS021.pdf; in particular, refer to Figure 4-10 on page 48.
If my understanding of this datasheet description is correct, and if
the phone in question (Pirelli DP-L10) indeed has its battery charging
circuit implemented in the canonical way, then one of the following
two conditions must be met in order for charging current to pass from
VBUS into the battery:
1. The "precharge" function is enabled inside the ABB chip, such that
an internal transistor in the ABB opens up to pass some current from
the VCHG pin to the PCHG pin. This precharge function is intended for
situation when the battery has discharged so low that it needs to be
charged some before one can boot the CPU, hence this precharge phase
has to be done entirely in hardware without any CPU firmware
supervision. But it appears that this hardware-only precharge function
is automatically disabled when the CPU is turned on, or maybe the
precharge current is so feeble that the drain from the running CPU is
greater than the amount of power coming from the precharge circuit.
-or-
2. The "normal" way of charging the battery (with the CPU running) is
for the CPU to enable the main charging circuit in the ABB via some
register writes. In this case the power flows from the charging source
(USB VBUS in the case of Pirelli DP-L10) into the battery through an
external power transistor controlled by the ICTL output from the ABB.
In TI's standard firmware the battery charging function lives in the
PWR SWE (RiViera Software Entity) in the older versions and in the LCC
SWE in newer ones. Pirelli's version appears to use PWR rather than
LCC. We (the world public) have the source for the PWR SWE in the
MV100 find, and that for LCC in the Sotovik find, but I haven't really
looked at either of them yet - working on L1 integration currently.
If you would like to get Pirelli battery charging working in OsmocomBB,
I would recommend that you take the charging code for compal_e88,
enable it for the DP-L10 build, and experiment from there. Don't be
fooled by Pirelli's use of USB charging instead of a round-plug
charger, my guess is that they use USB VBUS in exactly the same way as
how Compal etc use their charging power source.
It also seems to me that Pirelli's charging mechanism does not strictly
comply with the USB spec. Per the spec, you are supposed to draw no
more than 100 mA from VBUS until and unless you negotiate a higher
power budget with the host, and that negotiation takes place over the
D+ and D- wires. But in Pirelli's case these D+ and D- wires go to
the CP2102 USB-serial chip and nowhere else, and only this CP2102
speaks the USB protocol - the Calypso only sees UART-serial on the
other side of the CP2102. So they "illegally" tap VBUS (which per the
spec must not go anywhere but to the device that speaks the USB
protocol) to use it as the charging power source, but have no way to
negotiate their current draw.
When Pirelli's fw detects the presence of VBUS via the charger-insert
interrupt from the ABB and decides to start charging the battery, it
has no choice but to enable some hard-coded charging current value -
the charging current can be adjusted by programming a register in the
ABB, but the fw has no way of knowing how much current it is allowed
to draw from VBUS, if any at all, because only the USB logic in the
CP2102 has access to this knowledge. So whatever charging current it
draws, it must do so blindly. I can only guess that this current must
be somewhere around 500 mA, as charging at 100 mA would be too slow.
I actually like Pirelli's design in this regard, and I currently plan
on copying it in my own Pirelli-inspired Calypso dumbphone design: put
a CP2102 inside the phone just like Pirelli did, and use the same USB
charging arrangement, drawing 500 mA for charging unconditionally,
showing "the middle finger" to the developer-unfriendly Unusable
Serial Botch specs... Or can someone think of a better way?
VLR,
SF