Net::Radio::Modem::Adapter::oFono - Adapter to use oFono controlled modems from Net::Radio::Modem


  use Net::Radio::Modem;
  my $modem = Net::Radio::Modem->new('oFono');
  my @devs = $modem->get_modems();
  my %modem_info => map {
      $_ => {
          'MNC' => $modem->get_modem_property($_, 'MNC'),
          'MCC' => $modem->get_modem_property($_, 'MCC'),
          'IMSI' => $modem->get_modem_property($_, 'IMSI'),
  } @devs;



Instantiates new object proxying between Net::Radio::Modem and Net::Radio::oFono.

Supported paramaters:


When set to a false value, all requests to Net::Radio::oFono are done with enabled force flag. Otherwise the force flag is omitted or set to a false value.


Returns list of modems by object path known by oFono.


Returns the associative list of known aliases.


    InternationalMobileSubscriberIdentity => 'SubscriberIdentity',
    MobileSubscriberISDN                  => 'SubscriberNumbers',


Returns specified property for given modem object path. Following modem interfaces are queried (in that order): NetworkRegistration, SimManager, Modem.


Please report any bugs or feature requests to bug-net-radio-modem-adapter-ofono at, or through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

If you think you've found a bug then please read "How to Report Bugs Effectively" by Simon Tatham:


You can find documentation for this module with the perldoc command.

    perldoc Net::Radio::Modem::Adapter::oFono

You can also look for information at:

Where can I go for help with a concrete version?

Bugs and feature requests are accepted against the latest version only. To get patches for earlier versions, you need to get an agreement with a developer of your choice - who may or not report the issue and a suggested fix upstream (depends on the license you have chosen).

Business support and maintenance

For business support you can contact Jens via his CPAN email address Please keep in mind that business support is neither available for free nor are you eligible to receive any support based on the license distributed with this package.



Jens Rehsack, <rehsack at>


Copyright 2012 Jens Rehsack.

This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.

See for more information.