ZiGate icon indicating copy to clipboard operation
ZiGate copied to clipboard

Added destination address to 0x8701

Open ISO-B opened this issue 4 years ago • 5 comments

Fixes #215

ISO-B avatar Aug 22 '19 07:08 ISO-B

Tested with the pre-firmware version. I indeed get a value, but the short address given doesn't correspond to any of my devices short address !

pipiche38 avatar Aug 23 '19 08:08 pipiche38

Here is a payload I'm geting

d000ae27

ae27 is unknown in my Devices list !

And as already reported: The first by which are expected to be u8NwkStatus seems to u8NwkStatus;; the 2nd byte which is expected to be u8NwkStatus is u8NwkStatus;

So I wonder if the ZPS_tsAfNwkRouteDiscoveryConfEvent is correct !

pipiche38 avatar Aug 23 '19 09:08 pipiche38

I might have a clue. In case NwkStatus & Status are not equal to 0x00, u16DstAddress seems to be invalid.

pipiche38 avatar Aug 23 '19 11:08 pipiche38

Expected structure is:

<Status: uint8_t>
<NwkStatus: uint8_t>
<DstAddress: uint16_t>

NXP documentation doesn't have any notes about u16DstAddress being invalid in some cases, but that doesn't mean it cant be so. Should we discard address when statuses aren't both 0?

ISO-B avatar Aug 27 '19 08:08 ISO-B

NXP documentation doesn't have any notes about u16DstAddress being invalid in some cases, but that doesn't mean it cant be so. Should we discard address when statuses aren't both 0?

For me it is up to the above layer to decide based on the Status, no ?

pipiche38 avatar Aug 27 '19 08:08 pipiche38