autoadd_config

This commit is contained in:
Florent 2026-02-02 13:18:44 -04:00
parent 3b46986dfa
commit d57162375a
4 changed files with 18 additions and 0 deletions

View file

@ -378,6 +378,13 @@ class MessageReader:
logger.error(f"Unknown stats type: {stats_type}, data: {data.hex()}")
await self.dispatcher.dispatch(Event(EventType.ERROR, {"reason": f"unknown_stats_type: {stats_type}"}))
elif packet_type_value == PacketType.AUTOADD_CONFIG.value:
logger.debug(f"received autoadd config response: {data.hex()}")
res = {}
res["config"] = dbuf.read(1)[0]
await self.dispatcher.dispatch(Event(EventType.AUTOADD_CONFIG, res, res))
elif packet_type_value == PacketType.CHANNEL_INFO.value:
logger.debug(f"received channel info response: {data.hex()}")
res = {}