Low-level probing helpers for bringing up a new NCP over serial.
These bypass Zigbee.EZSP.ASH.Connection and talk to the port directly so you can
see exactly what (if anything) the dongle sends back, which helps when the
reset handshake times out and you don't yet know the right baud rate, flow
control, or even whether the firmware speaks EZSP at all.
Run from IEx:
Zigbee.EZSP.Diagnostics.sweep("/dev/cu.usbmodem2101")
Summary
Functions
Send an ASH RST at one baud/flow-control setting and dump whatever comes back.
Probe a list of baud rates (default [115200, 460800, 230400, 57600]) at flow_control: :none
and report which, if any, yields a valid RSTACK.
Functions
Send an ASH RST at one baud/flow-control setting and dump whatever comes back.
Options: :speed (default 115200), :flow_control (:none | :hardware,
default :none), :listen_ms (default 1500).
Probe a list of baud rates (default [115200, 460800, 230400, 57600]) at flow_control: :none
and report which, if any, yields a valid RSTACK.