drivers: ieee802154: reverse ack data ext addr string
When ack data for extended address is set with the nrf_802154_ack_data_set function, the extended address must be reversed to the IEEE 802.15.4 address transmit order in order to be properly matched. Signed-off-by: Rafał Kuźnia <rafal.kuznia@nordicsemi.no>
This commit is contained in:
parent
ebfb23979c
commit
3053a931a3
2 changed files with 16 additions and 4 deletions
|
@ -281,6 +281,13 @@ struct ieee802154_config {
|
|||
const uint8_t *data;
|
||||
uint16_t data_len;
|
||||
uint16_t short_addr;
|
||||
/**
|
||||
* The extended address is expected to be passed starting
|
||||
* with the leftmost octet and ending with the rightmost octet.
|
||||
* A device with an extended address 01:23:45:67:89:ab:cd:ef
|
||||
* should provide a pointer to array containing values in the
|
||||
* same exact order.
|
||||
*/
|
||||
const uint8_t *ext_addr;
|
||||
} ack_ie;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue