Expand description
What NCP is on a port.
- EZSP: one ASH reset (RST, which every EZSP session starts with and
which only resets the NCP’s serial link state machine and stack, never
its network), then read-only queries:
version, theVERSION_INFOvalue, the coordinator’s IEEE address and the board’s manufacturing strings. - ZNP: the CC2652 bootloader skip byte,
SYS_PING,SYS_VERSIONandUTIL_GET_DEVICE_INFO. - deCONZ:
VERSIONand theMAC_ADDRESSparameter.
Nothing is written. A probe finishes in under three seconds and drops the port when it returns.
Structs§
- NcpIdentity
- What a probe found.
Enums§
- NcpKind
- The NCP families a port can be probed for.
- Probe
Error - The probe could not talk to the port at all.
Constants§
- PROBE_
TIMEOUT - The longest a probe takes.
Functions§
- probe
- Open
port(a serial device ortcp://host:port) atbaudand probe it forkind. The port is closed when this returns. - probe_
any - Probe
portfor each family in turn (NcpKind::ALL), opening it afresh for each; the first that answers wins. - probe_
deconz - Probe an open stream for a deCONZ coordinator (ConBee, RaspBee).
Ok(None)means nothing valid answered. - probe_
ezsp - Probe an open stream for an EZSP NCP.
Ok(None)means nothing valid answered (wrong device, wrong baud rate);Erris an I/O failure. - probe_
stream - Probe an open stream for
kind. - probe_
znp - Probe an open stream for a Z-Stack ZNP coordinator.
Ok(None)means nothing valid answered.