Frans-Willem / AqaraHub

AqaraHub is an open-source Zigbee hub for Xiaomi Aqara devices. It aims to be a replacement to the Xiaomi Gateway that does not require communication to outside servers, and uses a saner communication option (e.g. MQTT).
252 stars 34 forks source link

Cache IEEE (Long) Address to and from Network (Short) Address #21

Open Frans-Willem opened 6 years ago

Frans-Willem commented 6 years ago

For now we're calling UTIL_ADDRMGR_NWK_ADDR_LOOKUP and UTIL_ADDRMGR_EXT_ADDR_LOOKUP whenever we need to convert between the two, but that's sending a lot of data over the serial line. Ideally we should cache this and not call the USB stick all the time.