ZiGate
ZiGate copied to clipboard
Added destination address to 0x8701
Fixes #215
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 !
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 !
I might have a clue. In case NwkStatus & Status are not equal to 0x00, u16DstAddress seems to be invalid.
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?
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 ?