disk-storage-block-driver2-test-return-code 1.3.6.1.4.1.11.2.3.9.4.2.1.1.15.3.2.1.1

This test object will not be supported in any released product. Setting this object allows the next call to the mass storage block driver 2 to return the specified code. The POS will specify the binary format. Additional information: The hrDeviceIndex value for the mass storage device is the same value that is used to index into the DISK-STORAGE-BLOCK-DRIVERS sub-tree. Since this product only supports one mass storage device, the hrDeviceIndex for the mass storage device will be 2 if the mass storage device is installed. The value is a two byte value. The value of the first byte indicates the return code, as described in the following table: value | meaning ------+------------------ 1 | After the next power cycle, indicate the | mass storage device is not installed. Only affects the | printer state after the next power cycle. 2 | After the next power cycle, indicate the | mass storage device is not initialized. Changes the | contents of the mass storage device so the mass storage device becomes | uninitialized. 3 | After the next power cycle, indicate the | mass storage device is defective. Only affects the | printer state after the next power cycle. 4 | Cause the specified call to the read block | routine to indicate read failure. 5 | Cause the specified call to the write block | routine to indicate write failure. 6 | After the next power cycle, indicate the | mass storage device failed the power-on self-test, but | completed the initialization sequence | successfully. Only affects the | printer state after the next power cycle. 7 | Cause the driver to behave, after the next power | cycle, as if the mass storage device had the serial number | 'SN00000000'. This is a one-shot effect and the | driver reverts to normal behavior if the printer | is power cycled a second time. The second byte indicates on which call to the specified block driver the failure will start to occur. If the value of the first bytes is four or five, then the value of the second byte in indicates which call to the specified block driver routine will fail. A value of one means the first call will fail. A value of two means the second call will fail, and so on. If the value of the first byte is one, two, three, six, or seven, then the value of the second byte is ignored. Writing this object causes any previous write to this object to be invalidated.

Informations

Access Type
readwrite