
The LINK™ Family Manual
Version 1.6 ©iButtonLink, LLC 2016
Page 47
Sniffer Mode
Command “ \\ ” (bac backslash)
Command Compatible With:
Link45/45i | LinkOEM**
This command causes the above LINK
TM
devices to enter 1-Wire® sniffer mode and switch to
the 57600-baud serial port rate. Sniffer mode is a way to watch the communications on a 1-
Wire® bus. This is necessary to keep up with standard speed 1-Wire® bus data. The 1-Wire®
sniffer function listens to the 1-Wire® bus and decodes data on the bus. The LINK
TM
device
stops serving as the bus master in this mode. Data detected on the device is converted into
hexadecimal bytes and displayed. Each time a 1-Wire® bus reset is detected, a carriage return
and line feed <CR><LF> are sent. This mode is used to debug 1-Wire® master programs by
capturing the actual data bytes that are observed on the bus.
Overdrive speed is not supported by the sniffer mode.
**N
OTE
:
For the LinkOEM,
sniffer mode is activated through a single backslash “ \ “.
In sniffer mode, only whole bytes are reported, so any partial bytes that occur prior to a reset will
not be reported.
Sending a break condition will cause the device to be reset to default settings and to the default
9,600 baud serial port data rate.
N
OTE
:
The Maxim DS1410 series of parallel-port 1-Wire® interfaces generates narrow out-of-
spec pulses that may not make it through filtering, so the bus master may not work with the
sniffer function. This filtering is an important part of LINK
TM
devices’ analog front end.
DS9097U adaptors or other LINK
TM
devices will work well as “sniff-able” bus masters.
For the LinkHub-S and LinkHub-E devices,
this also works as an escape character for the
expanded command set.