fairecasoimeme / ZiGate

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

Change meaning of 8000 API #298

Closed badzz closed 4 years ago

badzz commented 4 years ago

so now 0x8000 has two new parameters u8SeqNum and u8RequestSent

all 0x8000 parameters are as follow u8Status : as before - returned value of the function call u8SeqNum : as before - ZCL sqn and ZDP sqn u16PacketType : as before - command requested u8RequestSent : new - 1 if a request been sent to a device(aps ack/nack 8011 should be expected) , 0 otherwise u8SeqApsNum : new - sqn of the APS layer - used to check sqn sent back in aps ack

The purpose is to be able to get the APS sqn for all functions in order to find the APS ACK/NACK corresponding to this call

pipiche38 commented 4 years ago

Ca me parait etre un bonne approche. Voir avec @doudz et @KiwiHC16

fairecasoimeme commented 4 years ago

Ok