Bug 5399 - (int-142839) libconic0-dev is missing bearer types for N900
(int-142839)
: libconic0-dev is missing bearer types for N900
Status: RESOLVED WONTFIX
Product: Connectivity
ICD
: 5.0/(1.2009.41-10)
: All Linux
: Low normal (vote)
: ---
Assigned To: unassigned
: icd-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2009-10-13 18:09 UTC by Thomas Perl
Modified: 2009-10-14 13:59 UTC (History)
1 user (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description Thomas Perl (reporter) 2009-10-13 18:09:21 UTC
SOFTWARE VERSION:

On the device: 1.2009.41-10

libconic0-dev version 0.22+0m5 from Fremantle Final SDK

STEPS TO REPRODUCE THE PROBLEM:

Write an application that uses libconic to get notified about connection
changes and lookup the different bearer types in the documentation or header
file.

(Docs: http://maemo.org/api_refs/5.0/5.0-final/libconic/coniciap_8h.html)

EXPECTED OUTCOME:

The header file coniciap.h (and the documentation) tells me that "GPRS" is used
as bearer type for Cellular data connections on the N900.

ACTUAL OUTCOME:

Only WLAN_INFRA, WLAN_ADHOC, DUN_GSM_CS and DUN_GSM_PS are defined in
coniciap.h

REPRODUCIBILITY:
always

OTHER COMMENTS:

Running a small example and connecting cellular data shows "GPRS" as bearer
type on the device.

There might be a new bearer type for circuit-switched GSM as well, but I have
only tested with a GPRS/3G connection.
Comment 1 Andre Klapper maemo.org 2009-10-14 13:59:15 UTC
Forwarding internal comment:

libconic should not have any network types hardcoded, as applications in
general should only need to request "any suitable" network. Those applications
that need a specific connection, should use con_ic_connection_get_all_iaps()
and have the user select one. If the application installs an IAP of it's own,
then the information is already hardcoded in the application at installation
phase, whereby the problem goes away.

All network types supported by the device are found as directories in gconf at
'/system/osso/connectivity/network_type/', if an application needs them anyway.
There is no API in libconic for this, though.