From: Yorn <yorn@gmx.net>
To: ofono@ofono.org
Subject: Re: Ublox Toby Modem
Date: Wed, 20 Apr 2016 19:54:12 +0200 [thread overview]
Message-ID: <5717C244.3080302@gmx.net> (raw)
In-Reply-To: <571799C7.6040906@endocode.com>
[-- Attachment #1: Type: text/plain, Size: 14273 bytes --]
Hi Dragos,
logs + comments inline
Am 20.04.2016 um 17:01 schrieb Dragos Tatulea:
> Hi Yorn,
>
> On 04/20/2016 04:24 PM, Yorn wrote:
>> Hi Dragos,
>>
>> it is still active=0 :(
>>
>> root(a)colibri-vf:~/test# ./list-contexts
>> [ /ublox_0 ]
>> [ /ublox_0/context1 ]
>> Username =
>> AuthenticationMethod = chap
>> Protocol = ip
>> Name = Internet
>> Settings = { }
>> IPv6.Settings = { }
>> Active = 0
>> AccessPointName =
>> Password =
>> Type = internet
>>
> Can you run only oFono (no connman) with OFONO_AT_DEBUG env variable set
> and run the following scripts:
>
> enable-modem
> online-modem
> activate-context
>
> Then send the logs.
Here they are [1]
I set the context information now as follows:
root(a)colibri-vf:~/test# ./list-contexts
[ /ublox_0 ]
[ /ublox_0/context1 ]
Username = eplus
AuthenticationMethod = chap
Protocol = ip
Name = Internet
Settings = { }
IPv6.Settings = { }
Active = 0
AccessPointName = m2m.tele2.com
Password =
Type = internet
I would expect AT Commands like this, however, I am not a modem AT
command expert, so this is more or less taken from a tutorial (which set
up my manual environment successfully)
AT+COPS?
AT+CGDCONT=1,"IP","m2m.tele2.com"
ATD*99***1#
AT+CGACT=1,1
AT+CGDATA="PPP",1
CONNECT ""
But I do not really find them in the logs.
There are some modem errors return.
BR - Yorn
[1]
ofonod[6749]: plugins/ublox.c:open_device() Aux /dev/ttyACM0
ofonod[6749]: Aux: > AT\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: Finally woke up the modem
ofonod[6749]: Aux: > ATE0 +CMEE=1\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CFUN=4\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: plugins/ublox.c:cfun_enable() ok 1
ofonod[6749]: src/modem.c:modem_change_state() old state: 0, new state: 1
ofonod[6749]: plugins/ublox.c:ublox_pre_sim() 0x1cf0680
ofonod[6749]: Aux: > AT+UBMCONF=2\r
ofonod[6749]: src/sim.c:ofono_sim_add_state_watch() 0x1ccc810
ofonod[6749]: src/sim.c:ofono_sim_add_state_watch() 0x1ccc810
ofonod[6749]: src/sim.c:ofono_sim_add_state_watch() 0x1ccc810
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+GCAP\r
ofonod[6749]: Aux: < \r\n+GCAP: +CGSM\r\n\r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=192,12258\r
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"62178202412183022FE28A01058B032F06078002000A880110"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90,
00, 25
ofonod[6749]: Aux: > AT+CGMI\r
ofonod[6749]: Aux: < \r\nu-blox\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=176,12258,0,0,10\r
ofonod[6749]: Aux: < \r\n+CRSM: 144,0,"98640264500110007536"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90,
00, 10
ofonod[6749]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff:
0, tocopy: 10
ofonod[6749]: Aux: > AT+CGMM\r
ofonod[6749]: Aux: < \r\nTOBY-L210\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=192,28421\r
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"62178202412183026F058A01058B036F060480020008880110"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90,
00, 25
ofonod[6749]: Aux: > AT+CGMR\r
ofonod[6749]: Aux: < \r\n09.71\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=176,28421,0,0,8\r
ofonod[6749]: Aux: < \r\n+CRSM: 144,0,"FFFFFFFFFFFFFFFF"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90,
00, 8
ofonod[6749]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff:
0, tocopy: 8
ofonod[6749]: Aux: > AT+CGSN\r
ofonod[6749]: Aux: < \r\n352255060097262\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=192,12037\r
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"62178202412183022F058A01058B032F06068002000C880128"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90,
00, 25
ofonod[6749]: Aux: > AT+CRSM=176,12037,0,0,12\r
ofonod[6749]: Aux: < \r\n+CRSM: 144,0,"656EFFFFFFFFFFFFFFFFFFFF"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90,
00, 12
ofonod[6749]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff:
0, tocopy: 12
ofonod[6749]: Aux: > AT+CPIN?\r
ofonod[6749]: Aux: < \r\n+CPIN: READY\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_cpin_cb() crsm_pin_cb: READY
ofonod[6749]: src/sim.c:sim_pin_query_cb() sim->pin_type: 0, pin_type: 0
ofonod[6749]: drivers/atmodem/sim.c:at_pin_retries_query()
ofonod[6749]: Aux: > AT+UPINCNT\r
ofonod[6749]: Aux: < \r\n+UPINCNT: 3,3,10,10\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:upincnt_cb() retry counter id=1, val=3
ofonod[6749]: drivers/atmodem/sim.c:upincnt_cb() retry counter id=4, val=3
ofonod[6749]: drivers/atmodem/sim.c:upincnt_cb() retry counter id=9, val=10
ofonod[6749]: drivers/atmodem/sim.c:upincnt_cb() retry counter id=11, val=10
ofonod[6749]: Aux: > AT+CRSM=192,28590\r
ofonod[6749]: Aux: < \r\n+CRSM: 106,130\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=192,28589\r
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"62178202412183026FAD8A01058B036F060B80020004880118"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90,
00, 25
ofonod[6749]: Aux: > AT+CRSM=176,28589,0,0,4\r
ofonod[6749]: Aux: < \r\n+CRSM: 144,0,"00000102"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90,
00, 4
ofonod[6749]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff:
0, tocopy: 4
ofonod[6749]: Aux: > AT+CRSM=192,28438\r
ofonod[6749]: Aux: < \r\n+CRSM: 106,130\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=192,28472\r
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"62178202412183026F388A01058B036F06058002000C880120"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90,
00, 25
ofonod[6749]: Aux: > AT+CRSM=176,28472,0,0,12\r
ofonod[6749]: Aux: < \r\n+CRSM: 144,0,"06FA1CAC213E040040011000"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90,
00, 12
ofonod[6749]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff:
0, tocopy: 12
ofonod[6749]: Aux: > AT+CRSM=192,28502\r
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"62178202412183026F568A01058B036F060A80020001880128"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90,
00, 25
ofonod[6749]: Aux: > AT+CRSM=176,28502,0,0,1\r
ofonod[6749]: Aux: < \r\n+CRSM: 144,0,"00"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90,
00, 1
ofonod[6749]: src/simfs.c:sim_fs_op_read_block_cb() bufoff: 0, dataoff:
0, tocopy: 1
ofonod[6749]: Aux: > AT+CIMI\r
ofonod[6749]: Aux: < \r\n240075810199181\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_cimi_cb() cimi_cb: 240075810199181
ofonod[6749]: src/modem.c:modem_change_state() old state: 1, new state: 2
ofonod[6749]: plugins/ublox.c:ublox_post_sim() 0x1cf0680
ofonod[6749]: drivers/ubloxmodem/gprs-context.c:ublox_gprs_context_probe()
ofonod[6749]: drivers/ubloxmodem/gprs-context.c:ublox_gprs_context_probe()
ofonod[6749]: drivers/ubloxmodem/gprs-context.c:ublox_gprs_context_probe()
ofonod[6749]: drivers/ubloxmodem/gprs-context.c:ublox_gprs_context_probe()
ofonod[6749]: drivers/ubloxmodem/gprs-context.c:ublox_gprs_context_probe()
ofonod[6749]: drivers/ubloxmodem/gprs-context.c:ublox_gprs_context_probe()
ofonod[6749]: drivers/ubloxmodem/gprs-context.c:ublox_gprs_context_probe()
ofonod[6749]: drivers/ubloxmodem/gprs-context.c:ublox_gprs_context_probe()
ofonod[6749]: src/modem.c:get_modem_property() modem 0x1cf0680 property
AlwaysOnline
ofonod[6749]: Aux: > AT+CGDCONT=?\r
ofonod[6749]: Aux: < \r\n+CGDCONT:
(1-8),"IP",,,(0-2),(0-2),(0,1),(0,1),(0-2),(0,1)\r\n+CGDCONT:
(1-8),"IPV6",,,(0-2),(0-2),(0,1),(0,1),(0-2),(0,1)\r\n+CGDCONT:
(1-8),"IPV4V6",,,(0-2),(0-2),(0,1),(0,1),(0-2),(0,1)\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=192,28480\r
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"62198205422100220283026F408A01058B036F0606800200448800"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_info_cb() crsm_info_cb: 90,
00, 27
ofonod[6749]: Aux: > AT+CGREG=?\r
ofonod[6749]: Aux: < \r\n+CGREG: (0-2)\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=178,28480,1,4,34\r
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90,
00, 34
ofonod[6749]: Aux: > AT+CGREG=2\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CGAUTO=0\r
ofonod[6749]: Aux: < \r\n+CME ERROR: 100\r\n
ofonod[6749]: Aux: > AT+CGEREP=2,1\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: plugins/bluez5.c:bt_register_profile() Bluetooth:
Registering 00001103-0000-1000-8000-00805f9b34fb (dun_gw) profile
ofonod[6749]: Aux: > AT+CRSM=178,28480,2,4,34\r
ofonod[6749]: RegisterProfile() replied an error:
org.freedesktop.DBus.Error.UnknownMethod, Method "RegisterProfile" with
signature "osa{sv}" on interface "org.bluez.ProfileManager1" doesn't exist
ofonod[6749]: Aux: < \r\n+CRSM:
144,0,"FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF"\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/sim.c:at_crsm_read_cb() crsm_read_cb: 90,
00, 34
ofonod[6749]: Aux: > AT+UREG=1\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=192,28489\r
ofonod[6749]: Aux: < \r\n+CRSM: 106,130\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CRSM=192,20256\r
ofonod[6749]: Aux: < \r\n+CRSM: 106,130\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: src/modem.c:get_modem_property() modem 0x1cf0680 property
AlwaysOnline
ofonod[6749]: plugins/ublox.c:ublox_set_online() modem 0x1cf0680 online
ofonod[6749]: Aux: > AT\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: Finally woke up the modem
ofonod[6749]: Aux: > AT+CFUN=1\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: src/modem.c:modem_change_state() old state: 2, new state: 3
ofonod[6749]: Aux: > AT+CREG=?\r
ofonod[6749]: Aux: < \r\n+CREG: 2\r\n
ofonod[6749]: Aux: < \r\n+CREG: (0-2)\r\n\r\nOK\r\n
ofonod[6749]: Aux: > AT+CREG=2\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CIND=?\r
ofonod[6749]: Aux: < \r\n+CIND:
("battchg",(0-5)),("signal",(0-5)),("service",(0-1)),("sounder",(0-1)),("message",(0-1)),("call",(0-1)),("roam",(0-1)),("smsfull",(0-1)),("gprs",(0-2)),("callsetup",(0-3)),("callheld",(0-1)),("simind",(0-2))\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+CIND=0,1,0,0,0,0,0,0,0,0,0,0\r
ofonod[6749]: Aux: < \r\n+CME ERROR: 4\r\n
ofonod[6749]: Aux: > AT+CMER=?\r
ofonod[6749]: Aux: < \r\n+CMER: (0-1),(0),(0),(0-2),(0-1)\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/network-registration.c:build_cmer_string()
ofonod[6749]: Aux: > AT+CMER=1,0,0,1\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: src/sim.c:ofono_sim_add_spn_watch() 0x1ccc810
ofonod[6749]: src/network.c:__ofono_netreg_add_status_watch() 0x1ccb1d0
ofonod[6749]: src/gprs.c:gprs_netreg_update() attach: 0, driver_attached: 0
ofonod[6749]: Aux: > AT+CREG?\r
ofonod[6749]: src/simfs.c:sim_fs_op_read_block() bufoff: 0, seekoff: 39,
toread: 17
ofonod[6749]: Aux: < \r\n+CREG: 2,2\r\n\r\nOK\r\n
ofonod[6749]: src/network.c:ofono_netreg_status_notify() /ublox_0 status
2 tech -1
ofonod[6749]: src/network.c:current_operator_callback() 0x1ccb1d0, (nil)
ofonod[6749]: src/gprs.c:netreg_status_changed() 2
ofonod[6749]: src/gprs.c:gprs_netreg_update() attach: 0, driver_attached: 0
ofonod[6749]: src/simfs.c:sim_fs_op_read_block() bufoff: 0, seekoff: 39,
toread: 34
ofonod[6749]: Aux: > AT+CRSM=192,28437\r
ofonod[6749]: Aux: < \r\n+CRSM: 106,130\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: < \r\n+CREG: 5,"0000","00000000",4\r\n
ofonod[6749]: src/network.c:ofono_netreg_status_notify() /ublox_0 status
5 tech 4
ofonod[6749]: src/gprs.c:netreg_status_changed() 5
ofonod[6749]: src/gprs.c:gprs_netreg_update() attach: 0, driver_attached: 0
ofonod[6749]: Aux: > AT+COPS=3,2\r
ofonod[6749]: Aux: < \r\n+CIEV: 7,1\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+COPS?\r
ofonod[6749]: Aux: < \r\n+COPS: 0,2,"26203",4\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/network-registration.c:cops_numeric_cb()
Cops numeric got mcc: 262, mnc: 03
ofonod[6749]: Aux: > AT+CIND?\r
ofonod[6749]: Aux: < \r\n+CIND: 5,3,0,0,0,0,1,0,1,0,0,1\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: src/network.c:ofono_netreg_strength_notify() strength 60
ofonod[6749]: Aux: > AT+COPS=3,0\r
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: Aux: > AT+COPS?\r
ofonod[6749]: Aux: < \r\n+COPS: 0,0,"E-Plus",4\r\n
ofonod[6749]: Aux: < \r\nOK\r\n
ofonod[6749]: drivers/atmodem/network-registration.c:cops_cb() cops_cb:
E-Plus, 262 03 4
ofonod[6749]: src/network.c:current_operator_callback() 0x1ccb1d0, (nil)
ofonod[6749]: src/gprs.c:netreg_status_changed() 5
ofonod[6749]: src/gprs.c:gprs_netreg_update() attach: 0, driver_attached: 0
ofonod[6749]: Aux: < \r\n+CIEV: 2,2\r\n
ofonod[6749]: src/network.c:ofono_netreg_strength_notify() strength 40
ofonod[6749]: Aux: < \r\n+CIEV: 2,3\r\n
ofonod[6749]: src/network.c:ofono_netreg_strength_notify() strength 60
ofonod[6749]: Aux: < \r\n+CIEV: 2,2\r\n
ofonod[6749]: src/network.c:ofono_netreg_strength_notify() strength 40
ofonod[6749]: Aux: < \r\n+CIEV: 2,3\r\n
ofonod[6749]: src/network.c:ofono_netreg_strength_notify() strength 60
>
> Thanks
next prev parent reply other threads:[~2016-04-20 17:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <57178134.7070200@endocode.com>
2016-04-20 14:11 ` Ublox Toby Modem Yorn
2016-04-20 14:18 ` Dragos Tatulea
2016-04-20 14:24 ` Yorn
2016-04-20 15:01 ` Dragos Tatulea
2016-04-20 17:54 ` Yorn [this message]
2016-04-21 9:03 ` Dragos Tatulea
2016-04-21 10:06 ` Yorn
2016-04-21 18:37 ` Yorn
2016-04-22 10:23 ` Dragos Tatulea
2016-04-22 11:51 ` Yorn
2016-04-22 15:36 ` Dragos Tatulea
2016-04-24 13:03 ` Yorn
2016-04-20 15:02 ` Denis Kenzior
2016-04-20 16:34 ` Yorn
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5717C244.3080302@gmx.net \
--to=yorn@gmx.net \
--cc=ofono@ofono.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.