beautypg.com

7 miscellaneous commands, 1 command list – Matrix Orbital LK204-24-USB User Manual

Page 32

background image

Table 18: 1-Wire Error Codes

Code

Description

0x00

Success

0x01

Unknown 1-Wire command

0x02

No devices on the bus

0x03

Fatal search error

6.4.2 Search command (254 C8 2)

This is used to find the addresses of all 1-Wire devices on the bus. After this command the display will

return one or more “Display return protocol” packets containing either an error code or addresses of 1-wire

packets. The structure of these packets is shown in the Table below.

Table 19: Search Return Packet

Offset

(Bytes)

Length

(Bytes)

Description

0

2

0x232A - Preamble.

2

1

0x8A - Packet 10 bytes long, an-

other address will follow. 0x0A -

Packet is 10 bytes long, this is the

last address.

3

1

0x31 - 1-Wire Packet Type

4

1

Error Code (0x00 for success)

5

8

1-Wire Address

13

1

CRC8 - 0x00 means the last address

was valid.

7 Miscellaneous Commands

The commands listed in this chapter don’t readily fit in any of the other categories, or are used in more

than one category.

7.1 Command List

Some commands, marked with an “R”, may be "Remembered" to set new defaults that will be in effect

each time the unit is powered on.

Matrix Orbital

LK204-24-USB

28