Specifications

© 2010 Cypress Solutions Complete Manual: CTM-15X Firmware 1.3.0
Open CTM (Revision D)
139
Command Reference
A cmd save and a power cycle are required for this command to take effect.
See also: mode
return to list of commands
swipereport [r1] [r2] [r3] [r4] [r5] [r6] [r7] [r8]
This command sets the report(s) to be used for swipe card reader triggered reports.
Up to 8 reports can be assigned to the swipereport configuation:
r = 0 disables the report
r = 1 to 999 report number
When swipereport is configured to use a report, it appends to the already existing messages configured
in the report a modified 114 message.
The appended message contains the ID of the swipe card detected by the swipe card reader. mode must
be configured correctly to allow the swipe card reader to communicate with the modem. When using the
redboot loader swipe card reader application to trigger remote reports, store and forward must be
enabled for the report(s) assigned using swipereport.
Example:
cmd reptype 2 0 3 1
cmd repremip 2 123.123.123.123
cmd repremport 2 5555
cmd repaddmes 2 114
cmd swipereport 2
cmd save
uses report 2 with store and forward enabled for swipe card reader triggered reports, adds a
standard message 114 as a message, saves the configuration.
Report output:
$PGPS,171134.00,A,4915.3868,N,12259.8049,W,000.0,000.0,170609,+00004,5,0960489
0958*4A
$PGPS,171134.00,A,4915.3868,N,12259.8049,W,000.0,000.0,170609,+00004,5,0960489
0958,039-30391,V*33
In the above example the first line is the default 114 message, the second line shows the appended swipe
card ID information added to the message. Note, the message type 114 does not have to be explicitly
added as a message, this is handled automatically by the swipereport command.
A cmd save is required for this command to take effect.