Skip to content

net/ieee802154_hal: add const qualifiers and set pan_id with pointer#14938

Merged
benpicco merged 2 commits intoRIOT-OS:masterfrom
jia200x:pr/improve_radio_hal
Sep 3, 2020
Merged

net/ieee802154_hal: add const qualifiers and set pan_id with pointer#14938
benpicco merged 2 commits intoRIOT-OS:masterfrom
jia200x:pr/improve_radio_hal

Conversation

@jia200x
Copy link
Copy Markdown
Member

@jia200x jia200x commented Sep 3, 2020

Contribution description

This PR:

  • Add const qualifiers in read only arguments
  • As discussed in RDM: The 802.15.4 Radio HAL #13943 (comment), now the panid argument of ieee802154_radio_set_hw_addr_filter is a pointer. It's now possible to pass NULL if there's no interest in updating the PAN ID.

Testing procedure

This is alrady used by #14655 . Compiling that one should be enough.

Issues/PRs references

#13943

@benpicco benpicco added Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation labels Sep 3, 2020
@benpicco benpicco merged commit ffea8cd into RIOT-OS:master Sep 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: network Area: Networking CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants