Files
ModemManager/examples/network-scan-python
Aleksander Morgado fcbffbd123 libmm-glib,3gpp: make MMModem3gppNetwork a boxed type
So that bindings know how to free the list of structs.

This commit ends up triggering an API break in the bindings generated
via GObject introspection, because the methods to access the items of
a MMModem3gppNetwork are no longer treated as Modem3gpp class methods.

E.g. instead of:
  ModemManager.Modem3gpp.network_get_operator_code(network)
We should now do:
  network.get_operator_code()

There is no API break in libmm-glib.
2019-12-13 18:04:02 +01:00
..

The network-scan-python program makes use of the 'libmm-glib' library through
GObject Introspection to talk to ModemManager.

The program will:
 * Detect whether ModemManager is found in the bus
 * Loop through each modem found in the system, running a network scan for each

The output will look like this:

$ ./network-scan-python


Note that the program requires ModemManager and libmm-glib to be installed in
the system and the introspection typelibs available in the standard paths.

Have fun!