Warned about animation incompatibility at least with Alcatel 311 (firmware 101.01)
authorshort <>
Mon, 14 Jan 2002 11:10:35 +0000 (11:10 +0000)
committershort <>
Mon, 14 Jan 2002 11:10:35 +0000 (11:10 +0000)
  "You probably need to specify initial frame display delay, converting anyway"
 - reported/tested by Daniel Vesely <jude@atspraha.cz>

GSM/examples/commandline/gsmcmd

index 8adb0da..0c2c220 100755 (executable)
@@ -141,6 +141,10 @@ for $msisdn (@ARGV) {
                                        $imgmap{$_};
                                }
                } @names;
+               # It needs to be used for compatibility with Alcatel 311 (firmware 101.01)
+               #  - reported/tested by Daniel Vesely <jude@atspraha.cz>
+               warn "You probably need to specify initial frame display delay, converting anyway"
+                               if "GSM::SMS::Bitmap" eq ref $list[0];
                my ($msg, $udh) = GSM::SMS::NBS::Alcatel->alcatel_animation(@list);
                $udh->[0]{"name"}=$opt_alcatel_name if defined $opt_alcatel_name;
                $nbs->sendsms($msisdn, $msg, udh=>$udh);