Zigbee.EZSP.Adapter (zigbee v0.1.0)

Copy Markdown View Source

Zigbee.Adapter backend for Silicon Labs EmberZNet dongles (EZSP over ASH).

Owns a Zigbee.EZSP connection, runs the EmberZNet-specific coordinator sequence (form, endpoints, unicast), and normalizes the NCP's unsolicited callbacks into the backend-neutral events Zigbee.Adapter promises:

{:zigbee, :device_joined, %{node_id: _, eui64: _}}   # trustCenterJoinHandler
{:zigbee, :message, %Zigbee.Message{}}                # incomingMessageHandler

Start it through the Zigbee facade:

{:ok, zb} = Zigbee.start_link(Zigbee.EZSP.Adapter, device: "/dev/ttyACM0", speed: 460_800)

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.