Skip to content

Commit

Permalink
Clarify "unknown application frame" message for TCP coordinators (#667)
Browse files Browse the repository at this point in the history
Clarify TCP error frame
  • Loading branch information
puddly authored Jan 25, 2025
1 parent 6579f1f commit bdb7374
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bellows/ezsp/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,11 +149,16 @@ def __call__(self, data: bytes) -> None:
frame_name, _, rx_schema = self.COMMANDS_BY_ID[frame_id]
except KeyError:
LOGGER.warning(
"Unknown application frame 0x%04X received: %s (%s). This is a bug!",
"Unknown application frame 0x%04X received: %s (%s)",
frame_id,
binascii.hexlify(data),
binascii.hexlify(orig_data),
)
LOGGER.warning(
"If you are using a network coordinator, this is usually caused by"
" multiple clients connecting at once to the same coordinator. This is"
" not a supported configuration."
)
return

try:
Expand Down

0 comments on commit bdb7374

Please sign in to comment.