Perl Modules for Raspberry Pi
Version 0.92 - released 28 March 2024


These modules provide access to the HiLink API which is not the same as accessing the dongle through AT commands over a serial device.

The API allows you read and send SMS messages, start and stop your data connection and monitor your data usage. HiPi::Huawei::E3531 provides the interface for the only currently tested USB device.


Dump a list of error codes and descriptions as a string

use HiPi::Huawei::Errors;
my $dump = HiPi::Huawei::Errors->dump_errors();
print $dump

Given an error code return the description of the error

use HiPi::Huawei::Errors;

my $description = HiPi::Huawei::Errors->get_error_message( 100003 );