aboutsummaryrefslogtreecommitdiff
path: root/inhex
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2022-06-25 04:05:14 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2022-06-25 04:05:14 +0000
commit2e225c87784735360e9619766efe06782179a86a (patch)
tree1df2832c733c55207261b829ec7f0146287afe82 /inhex
parenta3eb530bb4b93949287f19a2b6fb418901f1f699 (diff)
downloadsg3_utils-2e225c87784735360e9619766efe06782179a86a.tar.gz
sg_rem_rest_elem: new utility for removing or restoring elements; bug fixes
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@955 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'inhex')
-rw-r--r--inhex/fixed_sense.hex5
-rw-r--r--inhex/vpd_di_all.hex23
2 files changed, 28 insertions, 0 deletions
diff --git a/inhex/fixed_sense.hex b/inhex/fixed_sense.hex
new file mode 100644
index 00000000..1c6464b4
--- /dev/null
+++ b/inhex/fixed_sense.hex
@@ -0,0 +1,5 @@
+# Test fixed format sense data. Values are in hex.
+# Invocation: 'sg_decode_sense -f fixed_sense.hex' [dpg 20220622]
+
+f0 00 03 00 00 12 34 0a 00 00 00 00 11 00 77 80
+01 98
diff --git a/inhex/vpd_di_all.hex b/inhex/vpd_di_all.hex
new file mode 100644
index 00000000..bc89c0b1
--- /dev/null
+++ b/inhex/vpd_di_all.hex
@@ -0,0 +1,23 @@
+#
+# An example invocation:
+# sg_vpd --inhex=vpd_di_all.hex
+
+00 83 00 82
+
+# Vendor specific designator
+01 00 00 16 11 22 33 44 55 66 77 88 99 aa bb cc
+dd ee ff ed cb a9 87 65 43 21
+
+# T10 vendor ID
+02 01 00 14
+41 42 43 20 20 20 20 20
+58 59 5a 31 32 33 34 35 36 37 38 39
+
+# EUI-64
+01 02 00 08 11 22 33 44 55 66 77 88
+01 02 00 0c 11 22 33 44 55 66 77 88 00 00 01 23
+01 02 00 10 01 23 45 67 89 ab cd ef 11 22 33 44 55 66 77 88
+
+# NAA
+01 03 00 08 51 22 33 44 55 66 77 88
+01 03 00 10 61 22 33 44 55 66 77 88 aa bb cc dd ee ff ee dd