
Contents | Parent Topic | Previous Topic | Next Topic
This library contains some functions for GSM SIM cards.
The library already loads the Scam Library, so it suffices to say:
use GSM;
Be sure that you first initialize the SCAM program with Scam::init before calling any of the functions in this library.
This library has no variables.
read_binary offset_high, offset_low, length
#!/usr/bin/perl
use GSM;
Scam::init();
Scam::reader("dumbmouse(wait_etu=100,conv=inverse,parity=odd)");
# Flush the serial port & the named pipe
Scam::send("dump");
Scam::recv();
Scam::reset();
($out, $err) = Scam::recv();
chomp $out; chomp $err;
print "ATR = $out\n";
# MORE TO COME
It's the wrong season for bugs now. They will come later.