Appendix D. Command Examples
95
00 01 20 ; Get current Pre Track String
Request : CMND=00, LEN=01, DATA=20
Response : RC= 00, LEN=00, DATA=
01 07 20 54524B545354 ; Set to "TRKTST"
Request : CMND=01, LEN=07, DATA=20 54 52 4B 54 53 54
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=
01 07 21 54524B454E44 ; Set to "TRKEND"
Request : CMND=01, LEN=07, DATA=21 54 52 4B 45 4E 44
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
01 07 22 5458454E440D ; Set to "TXEND<ENTER>"
Request : CMND=01, LEN=07, DATA=22 54 58 45 4E 44 0D
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
01 05 2C 31323334 ; Set to "1234"
Request : CMND=01, LEN=05, DATA=2C 31 32 33 34
Response : RC= 00, LEN=00, DATA=
02 00 ; Reset so changes take effect
Request : CMND=02, LEN=00, DATA=
Response : RC= 00, LEN=00, DATA=
Delay : (waited 20 seconds)
00 01 10 ; Get current interface (should return 01)
Request : CMND=00, LEN=01, DATA=10
Response : RC= 00, LEN=01, DATA=01
00 01 01 ; Get current USB SN (should return "1234")
Request : CMND=00, LEN=01, DATA=01
Response : RC= 00, LEN=04, DATA=31 32 33 34
00 01 02 ; Get current Polling Interval (should return 02)
Request : CMND=00, LEN=01, DATA=02
Response : RC= 00, LEN=01, DATA=02
00 01 03 ; Get current Device Serial Number (should return "B000795")
Request : CMND=00, LEN=01, DATA=03
Response : RC= 00, LEN=07, DATA=42 30 30 30 37 39 35
00 01 05 ; Get current Track ID Enable (should return 85)
Request : CMND=00, LEN=01, DATA=05
Response : RC= 00, LEN=01, DATA=85
00 01 07 ; Get current ISO Track Mask (should return "0404*N")
Request : CMND=00, LEN=01, DATA=07
Response : RC= 00, LEN=06, DATA=30 34 30 34 2A 4E
Summary of Contents for MagneSafe V5
Page 8: ...viii...
Page 84: ...MagneSafe V5 76...
Page 96: ...MagneSafe V5 88...
Page 98: ...MagneSafe V5 90...
Page 132: ...MagneSafe V5 124...