Bug #3676
openofono: org.ofono.ConnectionManager property Bearer returning "none"
0%
Description
According to ofono, it should return the data technology used (gprs, edge, etc.), but it returns None no matter we enable gprs or edge in the network in osmo-gsm-tester (and data services work).
Documentation about the property can be found here:
https://git.kernel.org/pub/scm/network/ofono/ofono.git/tree/doc/connman-api.txt#n103
This property seems to be updated in common ofono code (src/gprs.c) through API ofono_gprs_bearer_notify
. It seems though that property is not implemented in current ofono QMI code (I cannot find any reference to code under qmi calling that function).
It seems, however, that QMI supports some way to query this information, as can be seen in libqmi-glib QmiWdsDataBearerTechnology
:
https://chromium.googlesource.com/chromiumos/third_party/libqmi/+/factory-4128.B/libqmi-glib/qmi-enums-wds.h#680
It would be nice to implement that part in ofono to cross-check that the MS resolves the network configuration correctly (if we configure the BTS to use EGPRS, see than ofono indeed states it uses EGPRS and not GPRS).
Updated by pespin almost 4 years ago
I think somebody submitted a patch to ofono mailing with support for it:
"[PATCH] [qmimodem] Implement data capability bearer notify"
https://lists.ofono.org/hyperkitty/list/ofono@ofono.org/thread/RHF65XXK2AKRHZI6DAWV5SOUVRVZULTV/