HP Moonshot 1500 Chassis User Manual Page 121

  • Download
  • Add to my manuals
  • Print
  • Page
    / 189
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 120
the record ID for the wrong record. However, events that change record IDs for any existing records
cause the present reservation ID to be canceled. This prevents software from using an out-of-date
record ID to access a record. For example, it would prevent the delete SDR command from
executing and deleting the wrong record in case a given record ID was reassigned to a different
record.
Table 88 Reserve SDR repository command response data
Data fieldResponse data byte
number
Completion code1
Reservation ID, LS byte.2
Reservation ID, MS byte.3
Reservation restricted commands
A requester must issue a reserve SDR repository command before issuing any of the following
SDR repository commands. This command only needs to be reissued if the reservation is canceled.
The following commands are rejected if the requester’s reservation has been canceled.
Delete SDR command
Clear SDR Repository command
Get SDR command (if a partial read)
If the given reservation has been canceled, a reservation canceled completion code is returned in
response to the above commands. See “Reservation cancellation” (page 121)
Since record IDs could change between offset 0 gets” of a given record, it is the responsibility of
the device accessing the repository to verify that the retrieved record information matches up with
the ID information (slave address, LUN, sensor ID, and so on) of the desired sensor.
Reservation cancellation
The SDR repository device automatically cancels the present SDR repository reservation after any
of the following events occur:
An SDR record is added using the add SDR command so that other record IDs change. As
a simplification, an implementation is allowed to cancel the reservation on any SDR record
add.
An SDR record is deleted so that other record IDs change. As a simplification, an
implementation is allowed to cancel the reservation on any SDR record deletion.
The SDR repository is cleared.
The SDR repository device is reset (via hardware or cold reset command).
A new reserve SDR repository command is received.
An error completion code is returned if an attempt is made to execute a command that requires a
reservation ID, but the reservation ID used is not valid or current.
Get SDR command
This command is available to the MC.
This command returns the sensor record specified by record ID. The command also accepts a byte
range specification that allows just a selected portion of the record to be retrieved (incremental
read). The requester must first reserve the SDR repository using the reserve SDR repository
command in order for an incremental read to an offset other than 0000h to be accepted. (It is also
recommended that an application use the get SDR repository info command to verify the
Standard command specification 121
Page view 120
1 2 ... 116 117 118 119 120 121 122 123 124 125 126 ... 188 189

Comments to this Manuals

No comments