Skip to content

Commit

Permalink
Implement multicast requests
Browse files Browse the repository at this point in the history
  • Loading branch information
puddly committed Jul 12, 2020
1 parent 88d92be commit 399c18f
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion zigpy_znp/zigbee/application.py
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,16 @@ async def mrequest(
hops=0,
non_member_radius=3,
):
raise NotImplementedError() # pragma: no cover
return await self._send_request(
dst_addr=t.AddrModeAddress(mode=t.AddrMode.Group, address=group_id),
dst_ep=src_ep,
src_ep=src_ep, # not actually used?
cluster=cluster,
sequence=sequence,
options=c.af.TransmitOptions.NONE,
radius=hops,
data=data,
)

async def force_remove(self, device) -> None:
"""Forcibly remove device from NCP."""
Expand Down

0 comments on commit 399c18f

Please sign in to comment.