ofono with local patches/modifications
Go to file
Richard Röjfors 388248d6a1 ublox: network-registration: Check ureg for tech also for L2 modems
It seems like the CREG reporting from the L2 modems are quite
buggy. An example for a L210 where CREG reports UTRAN while
COPS and UREG reports LTE. A manual poll also indicates LTE.

I also found that the technology mapping was incorrect,
probably confused with enum packet_bearer.

A commented log showing where CREG is not trustable:

UREG indicates LTE
21:59:29 : < \r\n+UREG: 7\r\n
21:59:29 : < \r\n+CIEV: 9,2\r\n
21:59:29 : < \r\n+CGEV: NW MODIFY 1,0,0\r\n
21:59:31 : < \r\n+CIEV: 2,2\r\n
21:59:39 : < \r\n+CIEV: 2,3\r\n
21:59:44 : < \r\n+CIEV: 2,2\r\n
22:01:38 : < \r\n+CIEV: 2,3\r\n
22:01:43 : < \r\n+CIEV: 2,2\r\n

A CREG indicating UTRAN with HSDPA and HSUPA
22:29:39 : < \r\n+CREG: 5,"0000","00000000",6\r\n
22:29:39 : > AT\r
22:29:39 : < \r\nOK\r\n
22:29:39 : > AT+COPS=3,2\r
22:29:39 : < \r\n+CIEV: 9,2\r\n
22:29:39 : < \r\nOK\r\n
22:29:39 : > AT+COPS?\r

An immediate cops indicating LTE
22:29:39 : < \r\n+COPS: 0,2,"24007",7\r\n
22:29:39 : < \r\nOK\r\n
22:29:39 : > AT+CSQ\r
22:29:39 : < \r\n+CIEV: 2,4\r\n
22:29:39 : < \r\n+CSQ: 26,4\r\n
22:29:39 : < \r\nOK\r\n
22:29:39 : > AT+CGATT=1\r
22:29:39 : < \r\nOK\r\n
22:29:39 : > AT+COPS=3,0\r
22:29:39 : < \r\nOK\r\n
22:29:39 : > AT+COPS?\r

Another cops also indicates LTE
22:29:39 : < \r\n+COPS: 0,0,"Tele2",7\r\n <- 7: LTE
22:29:39 : < \r\nOK\r\n
22:29:39 : > AT+CGREG?\r

CGREG indicates unknown -> normal on LTE
22:29:39 : < \r\n+CGREG: 2,4\r\n
22:29:39 : < \r\nOK\r\n
22:29:44 : < \r\n+CIEV: 9,2\r\n
22:29:46 : < \r\n+CIEV: 2,2\r\n
22:56:23 : < \r\n+CIEV: 2,3\r\n
22:56:28 : < \r\n+CIEV: 2,2\r\n
22:59:40 : < \r\n+CIEV: 2,4\r\n

Manual poll shows we are running LTE
at+creg?
+CREG: 2,5,"2AFC","01DB0206",7

OK
2019-09-25 20:53:08 -05:00
btio btio: Add BtIOMode enum to be used with BT_IO_OPT_MODE 2012-02-10 10:18:01 +01:00
doc doc: convert quectel power event reasons to lower case 2019-08-13 05:48:47 -05:00
drivers ublox: network-registration: Check ureg for tech also for L2 modems 2019-09-25 20:53:08 -05:00
dundee dundee: Fix out-of-order free 2015-05-13 15:44:39 -05:00
examples gprs-provision: Fix crash if no SPN present 2011-12-02 12:53:44 -06:00
gatchat gatchat: add g_at_chat_retry() 2019-08-13 02:09:09 -05:00
gdbus gdbus: Close private connection if setup fails 2015-04-20 09:04:39 +02:00
gisi gisi: Fix compiler warnings from -Wpragmas 2019-08-13 00:53:45 +02:00
gril treewide: Remove superfluous use of _GNU_SOURCE 2018-10-17 10:01:57 -05:00
include gprs: Add list_active_contexts 2019-08-13 01:41:16 -05:00
linux build: Add internal copy of linux/gsmmux.h for older systems 2019-08-12 19:53:40 +02:00
plugins ublox: raise call to open device 2019-09-24 09:57:39 -05:00
src gprs: Do nothing on detached when attaching. 2019-09-24 09:55:38 -05:00
test test: process-context-settings: print settings to stderr 2019-07-19 01:22:00 -05:00
tools stktest: Fix immediate response test 2018-12-27 18:19:31 -06:00
unit unit: Update to the new stkutil api 2018-12-29 14:15:04 -06:00
.gitignore gitignore: unit/test-idmap binary 2019-01-23 19:15:50 +01:00
.mailmap mailmap: Fix up Michael's name 2012-05-01 12:40:09 +02:00
AUTHORS AUTHORS: Mention Stefan's contributions 2019-05-08 09:47:16 -05:00
COPYING Initial revision 2009-04-26 20:31:15 +02:00
ChangeLog Release 1.30 2019-08-12 20:54:02 +02:00
HACKING HACKING: Update instructions with email address 2015-12-17 13:13:27 -06:00
INSTALL Initial revision 2009-04-26 20:31:15 +02:00
Makefile.am build: Add missing drivers/atmodem/network-registration.h 2019-08-12 20:14:32 +02:00
NEWS Initial revision 2009-04-26 20:31:15 +02:00
README README: Add information about ELL when building from sources 2018-11-08 21:26:52 +01:00
TODO TODO: Add DTMF batch hint task 2015-11-12 13:39:31 -06:00
acinclude.m4 build: Use -fsigned-char and -fno-exceptions compiler options 2019-01-18 09:39:57 +01:00
bootstrap bootstrap: autoconf must run before automake 2009-12-10 15:55:49 +01:00
bootstrap-configure build: Reorder default developer build options 2012-12-10 20:45:24 +01:00
configure.ac Release 1.30 2019-08-12 20:54:02 +02:00
ofono.pc.in build: Support for pkg-config 2011-01-31 10:44:56 +01:00

README

oFono - Open Source Telephony
*****************************

Copyright (C) 2008-2011  Intel Corporation. All rights reserved.


Compilation and installation
============================

In order to compile telephony stack you need following software packages:
	- GCC compiler
	- GLib library
	- D-Bus library

To configure run:
	./configure --prefix=/usr --mandir=/usr/share/man \
				--sysconfdir=/etc --localstatedir=/var

Configure automatically searches for all required components and packages.

To compile and install run:
	make && make install


Embedded Linux library
======================

In order to compile the daemon and utilities the development version of
Embedded Linux library is required to be present. The development
repositories can be found here:

	git://git.kernel.org/pub/scm/libs/ell/ell.git
	https://kernel.googlesource.com/pub/scm/libs/ell/ell.git

The build systems requires that the Embedded Linux library source code
is available on the same top level directory as the source code:

	.
	|--- ell
	|    |--- ell
	|    `--- unit
	`--- ofono
	     |--- src
	     `--- tools

It is not required to build or install Embedded Linux library. The build
will happen when building the Wireless daemon and it will then be linked
internally.

When using --enable-external-ell build option, it is not required that the
Embedded Linux library source code is available in the top level directory.


Kernel Dependencies
===================

In order to have the PPP stack working in oFono you need to enable CONFIG_TUN
(Universal TUN/TAP device driver support) in your kernel .config.


Information
===========

Mailing list:
	ofono@ofono.org

For additional information about the project visit oFono web site:
	http://www.ofono.org