Device...obotics(3pm)

πŸ“¦
version 1.59 Β· 3 versions
, in debian bookworm, debian trixie, ubuntu jammy, ubuntu noble, ubuntu resolute

πŸ’– Device::Modem::UsRobotics β€” bestie edition πŸ’–

okay so this is a page from the User Contributed Perl Documentation (that's the manual name, periodt πŸ’…), and it's all about Device::Modem::UsRobotics, the USR-modem glow-up for controlling self-mode. Buckle up πŸŽ€


✨ NAME ✨

Device::Modem::UsRobotics β€” USR modems extensions to control self-mode 🌸


πŸ¦‹ SYNOPSIS πŸ¦‹

like, here's the whole vibe in code, no cap:

  use Device::Modem::UsRobotics;

  my $modem = Device::Modem::UsRobotics->new( port => '/dev/ttyS1' );
  $modem->connect( baudrate => 9600 );
  my %info = $modem->messages_info();
  print "There are $info{unreleased_voice_msg} unread voice messages on $info{stored_voice_msg} total\n";
  print "There are $info{unreleased_fax_msg} unread fax messages on $info{stored_fax_msg} total\n";

  # Get details about message n. X
  my %msg = $modem->message_info(1);
        index type information attributes status day hour minute
        callerid page addresshigh addresslow checksum
  print 'This is a ', ($msg{type} == 2 ? 'voice' : 'fax'), 'message', "\n";
  print 'It came from no. ', $msg{callerid}, "\n";
  # ...

  # Now clear all messages
  $modem->clear_memory();

⚠️ WARNING ⚠️

bestie, heads up, this is important!!

This module is not documented yet, and it is a rough work in progress 😭. Up to now, it correctly reads voice/fax messages information β€” but when it's saving voice messages to disk, sometimes they are incorrectly decoded. It's giving "almost iconic but not quite".

So if you need a working program, go check out the good old TkUsr by Ludovic Drolez β€” unless you wanna help develop Device::Modem::UsRobotics, in which case, come through 🫢.


🌈 DOCS TO BE COMPLETED FROM NOW..... 🌈

Yes, I'm a bad boy :-) πŸ’€


πŸ’œ DESCRIPTION πŸ’œ

Bla Bla Bla... πŸ¦‹


πŸ‘‘ METHODS πŸ‘‘

πŸŽ€ clear_memory()

Used to permanently clear the memory space of the modem. Not like, "oops undo", β€” permanently. There are separate memory spaces, one for voice/fax messages and one for user settings. Examples:

        $modem->clear_memory('user');     # or $modem->clear_memory(1)
    $modem->clear_memory('messages'); # or $modem->clear_memory(2)

To clear both, you can use:

    $modem->clear_memory('all');      # or $modem->clear_memory(0);

Parameters:

  • $memtype β€” a String or integer that selects the type of memory to be cleared, where 0 is for "all", 1 is for "user" memory, 2 is for "messages" memory. Pick your fighter πŸ’…

🫢 SUPPORT 🫢

Please feel free to contact me at my e-mail address cosimo@cpan.org for any information, to resolve problems you can encounter with this module, or for any kind of commercial support you may need. Slide into the inbox, fr fr ✨


🌟 AUTHOR 🌟

Cosimo Streppone, cosimo@cpan.org


(C) 2004-2005 Cosimo Streppone, cosimo@cpan.org

This library is free software; you can only redistribute it and/or modify it under the same terms as Perl itself.


πŸ” SEE ALSO πŸ”

  • Device::Modem
  • perl

and that's the whole page, bestie!! πŸ’– This lil' beauty comes to you as perl v5.30.3, dated 2020-06-20, and it's the Device...obotics(3pm) page from the User Contributed Perl Documentation. stay slaying, and don't clear your memory by accident πŸ‘‘βœ¨πŸŽ€

πŸ“¦ where this page comes from