fairecasoimeme / ZiGate

Zigate is an Universal Zigbee Gateway
http://zigate.fr
171 stars 59 forks source link

Usage of E_ZCL_ERR_ZTRANSMIT_FAIL should be avoid and we should return the real error code #334

Closed pipiche38 closed 3 years ago

pipiche38 commented 3 years ago

E_ZCL_ERR_ZTRANSMIT_FAIL seems to be used as a generic error when various ZCL call failed. Instead of returning this E_ZCL_ERR_ZTRANSMIT_FAIL ( 21, 0x15), it would be much efficient to return the exact ZCL error code

pipiche38 commented 3 years ago

implementation of 0x9999 in order to retreive the Extended Error Code