MagTek MagneSafe V5 User Manual

Page 114

Advertising
background image

MagneSafe V5

106


00 01 20 ; Get current Pre Track String
Request : CMND=00, LEN=01, DATA=20
Response : RC= 00, LEN=00, DATA=

; Form MAC for Set Property command
; Message to be sent is: 01 05 20 nnnnnnnn (nnnnnnnn is the MAC)
; Message to be MACd is: 0105200000000000
; This is the simplest MAC, simply TDES encrypt the message to be MACd with
; the MAC Key:
; 0105200000000000 MACd with 9CF640F279C251E6 15F725EEEAC234AF
; gets 442A09E6588BBF04
; MAC is first four bytes: 442A09E6
01 05 20 442A09E6 ; Set to ""
Request : CMND=01, LEN=05, DATA=20 44 2A 09 E6
Response : RC= 00, LEN=00, DATA=

00 01 21 ; Get current Post Track String
Request : CMND=00, LEN=01, DATA=21
Response : RC= 00, LEN=00, DATA=

; Form MAC for Set Property command
; Message to be sent is: 01 05 21 nnnnnnnn (nnnnnnnn is the MAC)
; Message to be MACd is: 0105210000000000
; This is the simplest MAC, simply TDES encrypt the message to be MACd with
; the MAC Key:
; 0105210000000000 MACd with C3DF489FDF11ACB4 F03DE97C27DCB32F
; gets 1FA9A44C703099E1
; MAC is first four bytes: 1FA9A44C
01 05 21 1FA9A44C ; Set to ""
Request : CMND=01, LEN=05, DATA=21 1F A9 A4 4C
Response : RC= 00, LEN=00, DATA=

00 01 22 ; Get current Termination String
Request : CMND=00, LEN=01, DATA=22
Response : RC= 00, LEN=01, DATA=0D

; Form MAC for Set Property command
; Message to be sent is: 01 06 22 0D nnnnnnnn (nnnnnnnn is the MAC)
; Message to be MACd is: 0106220D00000000
; This is the simplest MAC, simply TDES encrypt the message to be MACd with
; the MAC Key:
; 0106220D00000000 MACd with 6584885077214CF1 4737FA93F92334D2
; gets 381AD461F2BDC522
; MAC is first four bytes: 381AD461
01 06 22 0D 381AD461 ; Set to "<ENTER>"
Request : CMND=01, LEN=06, DATA=22 0D 38 1A D4 61
Response : RC= 00, LEN=00, DATA=

00 01 2C ; Get current Format Code
Request : CMND=00, LEN=01, DATA=2C
Response : RC= 00, LEN=05, DATA=31 FF FF FF FF

; Form MAC for Set Property command
; Message to be sent is: 01 09 2C 31303030 nnnnnnnn (nnnnnnnn is the MAC)
; Message to be MACd is: 01092C3130303000
; This is the simplest MAC, simply TDES encrypt the message to be MACd with
; the MAC Key:
; 01092C3130303000 MACd with E161D1956A6109D2 F37AFD7F9CC3969A
; gets D153861529E88020

Advertising