Modem User Manual

Chapter 3 – Fax Class 2 Commands
Multi-Tech Systems, Inc. SocketModem MT5634SMIxx Reference Guide (S000263C) 91
Set Current Time and Date, AT+FTD
The AT+FTD command is used to set the current date and time. The current time
and date will be tracked automatically by the modem once the time and date are set.
However, these boards do not have a real time clock. So, the accuracy of the time
and date is not guaranteed. It is recommended that the current time and date be set
before each FAX transmit session.
The syntax of the command is:
AT+FTD=<year>, <month>, <hour>, <minute>, <second>, <zone>, <dtsdelta>
The arguments to this command are:
<year> The current year (UTC zone). Range: 1970 to 65535
<month> The current month number (UTC zone). Range: 1 to 12.
January is 1.
<day> The current day of the month. Range: 1 to 31.
<hour> The current hour in military time (UTC zone). Range: 0
to 23.
<minute> The current minute (UTC zone). Range 0 to 59.
<second> The current second (UTC zone). Range 0 to 59.
<zone> The number of seconds east (positive) or west
(negative) that the local time zone is from Greenwich.
Range: -43200 to 43200.
<dtsdelta> Zero if daylight savings time is not in effect at the current
time. Otherwise, the number of minutes to add to the
time. Range 0 to 255.
The current local time is calculated from the UTX (Universal Coordinated Time, i.e.,
GMT) time specified in this command, plus the <zone> offset, plus the <dtsdelta>
offset, plus the number of seconds accumulated by the board since the command
was executed.
Page Header Generation, AT+FPH
The AT+FPH command is used to enable automatic generation of a FAX page
header.
There are four legal formats for the syntax of this command:
AT+FPH=mode, “left”(string is left justified)
AT+FPH=mode, “left’middle’ right”
AT+FPH=mode, “left ’right”
The arguments to this command are:
mode
The mode argument controls generation of the page header. A mode
of 0 disables page header generation. A mode of 1 enables page
header generation and the page header is prepended to the FAX
page data. A mode of 2 enables page header generation and the
page header is overlaid on the first few lines of the FAX page data.
string
The string defines the page header itself. Only ASCII printable
characters are allowed in the string (0x20 through 0x7e). Escape
sequences that are introduced with the percent (%) character are
allowed. The string can be partitioned into one, two, or three parts by
using single-quote characters ( ‘) in the command expression.