NAME
Net::Radio::oFono::Modem - access to oFono's Modem objects
SYNOPSIS
Provides access to oFono's Modem objects with org.ofono.Modem interface.
use Net::Radio::oFono::Modem;
...
my $modem = Net::Radio::oFono::Modem->new("/option_0");
if( !$modem->GetProperty("Online") )
{
$modem->SetProperty("Online", dbus_boolean(1) );
}
Usually modem objects are accessed via "get_modem_interface" in Net::Radio::oFono:
$oFono->get_modem_interface("Modem")->SetProperty("Online", dbus_boolean(1) );
INHERITANCE
Net::Radio::oFono::Modem
ISA Net::Radio::oFono::Helpers::EventMgr
DOES Net::Radio::oFono::Roles::RemoteObj
DOES Net::Radio::oFono::Roles::Properties
EVENTS
No additional events are triggered.
METHODS
new($obj_path;%events)
Instantiates new object for org.ofono.Modem interfaced objects.
_init($obj_path)
Initializes the Modem interface. Using the "basename" of the instantiated package as interface name for the RemoteObj role.
modem_path
Alias for obj_path
getter of RemoteObj role.