?
STX ESC ‘L’ <filename> CS1 CS2 ADDR
?
ACK or NAK
; if NAK, retry or abort
the command
?
STX ESC ‘Y’ <data> CS1 CS2 ADDR
; if ACK, loops until file is
transmitted
?
ACK or NAK
; if NAK, send the packet
again
?
STX ESC ‘Z’ CS1 CS2 ADDR
; end of file transfer
? ?
ACK or NAK
Description: The download command is used to send binary executable
program (*.exe file) or data file from host system to the PT600.
When the PT600 receives the download command it sends an ACK
response back to the host and immediately put itself into file
receiving state. The host system may start transmission of the file as
soon as the ACK response has arrived.
2. Cancel Current Downloading File Command (ESC z)
Format:
?
STX ESC ‘z’ CS1 CS2 ADDR
?
ACK or NAK
3. Host Requests File from the
PT600 ( Upload )
Format:
?
STX ESC ‘U’ <filename> CS1 CS2 ADDR
?
ACK or NAK
; if NAK,
retry or abort
?
STX ESC ‘Y’ CS1 CS2 ADDR
; loops until ESC
‘Z’ is
?
STX ESC ‘Y’ <data> CS1 CS2 ETX ; received
?
STX ESC ‘Z’ CS1 CS2 ETX
; end of file
transfer
?
ACK or NAK
Description: For uploading, the host must know the filename on PT600. Get
Directory Command (ESC ‘D’) can be used to view all filenames on
PT600 (see 4.4 Host Commands).
4. Cancel Current Uploading File Command (ESC y)
Summary of Contents for PT600
Page 1: ...PT600 Portable Terminal Programming Reference Guide Document number 3506000120...
Page 7: ......
Page 16: ......
Page 20: ...regs h bh 5 regs h al unsigned char type regs h bl unsigned char status int86 0x21 regs regs...
Page 57: ......
Page 66: ...Host Command STX ESC CMD parameters CS1 CS2 ADDR Acknowledgement ACK Negative ACK NAK...