ESC $E Erase Template

The command erases the specified template on MV1100.

==>

STX ESC $E xxxxxxxxxx.yyy CS1 CS2 ADDR

<==

STX ESC $E RESULT

CS1 CS2 ETX

or

 

 

 

 

<==

NAK

 

 

 

xxxxxxxxxx

 

;template ID

( ‘1’ -- ‘4294967294’)

yyy

 

;template index ( ‘0‘-- ‘255’)

RESULT

=

‘0’

;success

 

 

=

‘1’

;fail

 

 

=

‘2’

;busy

 

 

=

‘3’

;timeout

 

NAK means command format error or checksum error.

ESC $F Enroll and Store Template on MR350 MKII

The command enrolls and stores the template with the specified ID to the MR350 MKII reserved file $FP.UPL .

==>

STX ESC $F xxxxxxxxxx CS1 CS2 ADDR

<==

STX ESC $F RESULT

< ,QUALITY, CONTENT >

CS1 CS2 ETX

 

 

 

or

 

 

 

 

<==

NAK

 

 

 

xxxxxxxxxx

 

;template ID

( ‘1’-- ‘4294967294’)

RESULT

=

‘0’

;success

 

 

=

‘1’

;fail

 

 

=

‘2’

;busy

 

 

=

‘3’

;timeout

 

If RESULT = ‘0’, MR350MKII will response with QUALITY and CONTENT fields:

QUALITY is an integer that has a range of ‘000’– ‘100’

CONTENT is an integer that has a range of ‘000’– ‘100’

NAK means command format error or checksum error.

For the host to get the template, it should issue ESC $F command first and then issue ESC U command to upload file $FP.UPL if ESC $F command is successful.

4-74

Page 75
Image 75
Unitech MR350MKII ESC $E Erase Template, STX ESC $E Result CS1 CS2 ETX NAK, ESC $F Enroll and Store Template on MR350 Mkii