oFono/RadioSettings.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 5 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Net::Radio::oFono::RadioSettings;
2  
3 use 5.010;
4 use strict;
5 use warnings;
6  
7 =head1 NAME
8  
9 Net::Radio::oFono::RadioSettings - provide RadioSettings interface for Modem objects
10  
11 =cut
12  
13 our $VERSION = '0.001';
14  
15 use Net::DBus qw(:typing);
16  
17 use base qw(Net::Radio::oFono::Modem);
18  
19 =head1 SYNOPSIS
20  
21 my $oFono = Net::Location::oFono->new();
22 my @modems = Net::Location::oFono->get_modems();
23 foreach my $modem_path (@modems) {
24 my $rs = Net::Location::oFono->get_modem_interface($modem_path, "RadioSettings");
25 $rs->SetProperty("TechnologyPreference", dbus_string("umts")); # only UMTS used for radio access
26 }
27  
28 =head1 INHERITANCE
29  
30 Net::Radio::oFono::RadioSettings
31 ISA Net::Radio::oFono::Modem
32 ISA Net::Radio::oFono::Helpers::EventMgr
33 DOES Net::Radio::oFono::Roles::RemoteObj
34 DOES Net::Radio::oFono::Roles::Properties
35  
36 =head1 METHODS
37  
38 No new ones.
39  
40 See C<ofono/doc/radio-settings.txt> for detailed property description.
41  
42 =cut
43  
44 =head1 BUGS
45  
46 Please report any bugs or feature requests to C<bug-net-radio-ofono at rt.cpan.org>, or through
47 the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Radio-oFono>. I will be notified, and then you'll
48 automatically be notified of progress on your bug as I make changes.
49  
50 If you think you've found a bug then please read "How to Report Bugs
51 Effectively" by Simon Tatham:
52 L<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>.
53  
54 =head1 SUPPORT
55  
56 You can find documentation for this module with the perldoc command.
57  
58 perldoc Net::Radio::oFono
59  
60 You can also look for information at:
61  
62 =over 4
63  
64 =item * RT: CPAN's request tracker (report bugs here)
65  
66 L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=Net-Radio-oFono>
67  
68 If you think you've found a bug then please read "How to Report Bugs
69 Effectively" by Simon Tatham:
70 L<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>.
71  
72 =item * AnnoCPAN: Annotated CPAN documentation
73  
74 L<http://annocpan.org/dist/Net-Radio-oFono>
75  
76 =item * CPAN Ratings
77  
78 L<http://cpanratings.perl.org/d/Net-Radio-oFono>
79  
80 =item * Search CPAN
81  
82 L<http://search.cpan.org/dist/Net-Radio-oFono/>
83  
84 =back
85  
86 =head2 Where can I go for help with a concrete version?
87  
88 Bugs and feature requests are accepted against the latest version
89 only. To get patches for earlier versions, you need to get an
90 agreement with a developer of your choice - who may or not report the
91 issue and a suggested fix upstream (depends on the license you have
92 chosen).
93  
94 =head2 Business support and maintenance
95  
96 For business support you can contact Jens via his CPAN email
97 address rehsackATcpan.org. Please keep in mind that business
98 support is neither available for free nor are you eligible to
99 receive any support based on the license distributed with this
100 package.
101  
102 =head1 ACKNOWLEDGEMENTS
103  
104 At first the guys from the oFono-Team shall be named: Marcel Holtmann and
105 Denis Kenzior, the maintainers and all the people named in ofono/AUTHORS.
106 Without their effort, there would no need for a Net::Radio::oFono module.
107  
108 Further, Peter "ribasushi" Rabbitson helped a lot by providing hints
109 and support how to make this API accessor a valuable CPAN module.
110  
111 =head1 AUTHOR
112  
113 Jens Rehsack, C<< <rehsack at cpan.org> >>
114  
115 =head1 LICENSE AND COPYRIGHT
116  
117 Copyright 2012 Jens Rehsack.
118  
119 This program is free software; you can redistribute it and/or modify it
120 under the terms of either: the GNU General Public License as published
121 by the Free Software Foundation; or the Artistic License.
122  
123 See http://dev.perl.org/licenses/ for more information.
124  
125  
126 =cut
127  
128 1;