Change meaning of 8000 API #298
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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