Jens Rehsack > Net-Radio-Modem-Adapter-oFono > Net::Radio::Modem::Adapter::oFono

Download:
Net-Radio-Modem-Adapter-oFono-0.001.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.001   Source  

NAME ^

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

SYNOPSIS ^

  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;

METHODS ^

new(;\%params)

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

Supported paramaters:

dbus_main_runs

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.

get_modems

Returns list of modems by object path known by oFono.

get_aliases

Returns the associative list of known aliases.

Overrides:

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

get_modem_property

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

BUGS ^

Please report any bugs or feature requests to bug-net-radio-modem-adapter-ofono at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Radio-Modem-Adapter-oFono. 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: http://www.chiark.greenend.org.uk/~sgtatham/bugs.html.

SUPPORT ^

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 rehsackATcpan.org. 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.

ACKNOWLEDGEMENTS ^

AUTHOR ^

Jens Rehsack, <rehsack at cpan.org>

LICENSE AND COPYRIGHT ^

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 http://dev.perl.org/licenses/ for more information.

syntax highlighting: