Compaq 99875320-5 manual Serialnum Property, Cmd Num Data Len Prp ID Prp Value 31 32

Models: 99875320-5

1 44
Download 44 pages 26.76 Kb
Page 25
Image 25

Section 4. USB Communications

SERIAL_NUM PROPERTY

Property ID:

0x01

Property Type:

String

Length:

0 – 15 bytes

Get Property:

Yes

Set Property:

Yes

Default Value:

The default value is no string with a length of zero.

Description:

The value is an ASCII string that represents the device’s serial number. This

 

string can be 0 – 15 bytes long. The value of this property, if any, will be sent

 

to the host when the host requests the USB string descriptor.

 

This property is stored in non-volatile memory, so it will persist when the unit

 

is power cycled. When this property is changed, the unit must be reset (see

 

Command Number 2) or power cycled to have these changes take effect.

Example Set Serial Num property Request (Hex):

Cmd Num

Data Len

Prp ID

Prp Value

01

04

01

31 32 33

Example Set Serial Num property Response (Hex):

Result Code

Data Len

Data

00

00

 

Example Get Serial Num property Request (Hex):

Cmd Num

Data Len

Prp ID

00

01

01

Example Get Serial Num property Response (Hex):

Result Code

Data Len

Prp Value

00

03

31 32 33

17

Page 25
Image 25
Compaq 99875320-5 manual Serialnum Property, Cmd Num Data Len Prp ID Prp Value 31 32, Result Code Data Len