fairecasoimeme / ZiGate

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

Send all not currently handled event type to raw 8002 message #282

Closed badzz closed 4 years ago

badzz commented 4 years ago

Until now some events were not handled and thrown away, this patch changes the behaviour to have them sent as raw 8002 message. This will allow us to deal with read request for example from some devices

fairecasoimeme commented 4 years ago

Thx a lot ! I will test and see Fred

badzz commented 4 years ago

It does not work as expected as the firmware keep sending its response 'unknown attribute'. I will change the PR and re submit once everything is resolved Thanks

On Sun, Apr 12, 2020, 18:46 Fairesoimeme notifications@github.com wrote:

Thx a lot ! I will test and see Fred

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/fairecasoimeme/ZiGate/pull/282#issuecomment-612643785, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABR5UYMWR4Z3XRKH2IZ5NXLRMHV53ANCNFSM4MF5YJJQ .

fairecasoimeme commented 4 years ago

OK

badzz commented 4 years ago

Modifed to make it work. It was still answering "unknown attribute" after calling the callback function I had to free myPDUM_thAPduInstance to avoid memory leak

fairecasoimeme commented 4 years ago

OK, But could you make changes with the 3.1d branch please ? Fred

badzz commented 4 years ago

new PR created https://github.com/fairecasoimeme/ZiGate/pull/283