Tool/software:
Hi
We have found out that MIN_LQI_COST values mentioned in this thread
https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/1094338/cc2652p-lqi-to-link-cost-mapping
are still present in current SDK (8.30.01.01)
// LQI to Cost mapping #define MIN_LQI_COST_1 12 //24 #define MIN_LQI_COST_2 9 //20 #define MIN_LQI_COST_3 6 //16 #define MIN_LQI_COST_4 4 //12 #define MIN_LQI_COST_5 2 //8 #define MIN_LQI_COST_6 1 //4 #define MIN_LQI_COST_7 0 //0
#define MIN_LQI_COST_1 64 //192 #define MIN_LQI_COST_2 32 //128 #define MIN_LQI_COST_3 16 //96 #define MIN_LQI_COST_4 12 //64 #define MIN_LQI_COST_5 8 //32 #define MIN_LQI_COST_6 4 //16 #define MIN_LQI_COST_7 1 //1 #define MIN_LQI_COST_0 0 //0
can we change those lqi costs according to our needs?
Best regards
Bartosz
Hi Bartosz,
You are correct in that the MIN_LQI_COST_X have not been reviewed and updated for quite some time. Developers are enabled to change these values to meet their application needs.
Regards,
Ryan
Hi Ryan,
Thank you for your answer. Does it also apply to ZNP? Do you maybe know if it is used in any way? I don't see references in the code, like in ZR, where it is used for an association table.
Best regards
Bartosz
Yes, the MIN_LQI_COST_X is used by the networking and routing layers which are part of the pre-built Z-Stack libraries and this will affect the ZNP.
Regards,
Ryan