From 90f5c6dd4704c9793d4f370b31ad5abf044dcec8 Mon Sep 17 00:00:00 2001 From: Alexei Chetroi Date: Thu, 26 Dec 2019 14:32:34 -0500 Subject: [PATCH 1/3] Version bump 0.13.0 --- bellows/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bellows/__init__.py b/bellows/__init__.py index 55965057..2a9a57cf 100644 --- a/bellows/__init__.py +++ b/bellows/__init__.py @@ -1,5 +1,5 @@ MAJOR_VERSION = 0 -MINOR_VERSION = 11 +MINOR_VERSION = 13 PATCH_VERSION = "0.dev0" __short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION) __version__ = "{}.{}".format(__short_version__, PATCH_VERSION) From 7d9bbd44d930e6449ddbe283596d5c0418fa7732 Mon Sep 17 00:00:00 2001 From: Alexei Chetroi Date: Wed, 29 Jan 2020 14:29:01 -0500 Subject: [PATCH 2/3] Cleanup. --- bellows/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bellows/__init__.py b/bellows/__init__.py index 2a9a57cf..fb042346 100644 --- a/bellows/__init__.py +++ b/bellows/__init__.py @@ -1,5 +1,5 @@ MAJOR_VERSION = 0 -MINOR_VERSION = 13 +MINOR_VERSION = 13 PATCH_VERSION = "0.dev0" __short_version__ = "{}.{}".format(MAJOR_VERSION, MINOR_VERSION) __version__ = "{}.{}".format(__short_version__, PATCH_VERSION) From 9bfc2bf7fa87d97eab5e20ef9d5e053e8a208381 Mon Sep 17 00:00:00 2001 From: Alexei Chetroi Date: Wed, 29 Jan 2020 14:29:51 -0500 Subject: [PATCH 3/3] Allow establishing of TC link keys (#208) * Allow establishing of TC link keys. * Lint. --- bellows/zigbee/application.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bellows/zigbee/application.py b/bellows/zigbee/application.py index 01f6d26f..649e49f1 100644 --- a/bellows/zigbee/application.py +++ b/bellows/zigbee/application.py @@ -87,7 +87,7 @@ async def initialize(self): await self._cfg(c.CONFIG_SOURCE_ROUTE_TABLE_SIZE, 8) await self._cfg(c.CONFIG_MAX_END_DEVICE_CHILDREN, 32) await self._cfg(c.CONFIG_INDIRECT_TRANSMISSION_TIMEOUT, 7680) - await self._cfg(c.CONFIG_KEY_TABLE_SIZE, 1) + await self._cfg(c.CONFIG_KEY_TABLE_SIZE, 16) await self._cfg(c.CONFIG_TRANSIENT_KEY_TIMEOUT_S, 180, True) if self._ezsp.ezsp_version >= 7: await self._cfg(c.CONFIG_END_DEVICE_POLL_TIMEOUT, 8) @@ -231,7 +231,8 @@ async def _policy(self): """Set up the policies for what the NCP should do""" e = self._ezsp v = await e.setPolicy( - t.EzspPolicyId.TC_KEY_REQUEST_POLICY, t.EzspDecisionId.DENY_TC_KEY_REQUESTS + t.EzspPolicyId.TC_KEY_REQUEST_POLICY, + t.EzspDecisionId.GENERATE_NEW_TC_LINK_KEY, ) assert v[0] == t.EmberStatus.SUCCESS # TODO: Better check v = await e.setPolicy(