Skip to content

netdev/lora: add netdev_lora_rx_info structure for RX info#11144

Merged
aabadie merged 5 commits intoRIOT-OS:masterfrom
jia200x:pr/netdev_lora_rx_info
Mar 8, 2019
Merged

netdev/lora: add netdev_lora_rx_info structure for RX info#11144
aabadie merged 5 commits intoRIOT-OS:masterfrom
jia200x:pr/netdev_lora_rx_info

Conversation

@jia200x
Copy link
Copy Markdown
Member

@jia200x jia200x commented Mar 8, 2019

Contribution description

This PR adds a generic RX info structure for LoRa devices. This obsoletes the netdev_sx127x_lora_packet_info_t structure, so MAC layers are not dependent on driver specific headers.

Testing procedure

Test documentation with make doc.
Test that tests/pkg_semtech_loramac, examples/lorawan and tests/drivers_sx127x compile with no errors.
You should be able to see these RX info with tests/drivers_sx127x

Issues/PRs references

Addresses #6797 (comment)
#11022

@jia200x jia200x added Type: enhancement The issue suggests enhanceable parts / The PR enhances parts of the codebase / documentation Area: LoRa Area: LoRa radio support labels Mar 8, 2019
@jia200x jia200x requested review from aabadie and miri64 March 8, 2019 16:52
@aabadie
Copy link
Copy Markdown
Contributor

aabadie commented Mar 8, 2019

There is one occurence of netdev_sx127x_lora_packet_info_t remaining in tests/driver_sx127x. First thing I tested ;)

@aabadie aabadie added the CI: ready for build If set, CI server will compile all applications for all available boards for the labeled PR label Mar 8, 2019
Copy link
Copy Markdown
Contributor

@aabadie aabadie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested all 3 available LoRa applications (I pushed a commit to fix tests/driver_sx127x) and all worked. The changes also make sense.

ACK

@aabadie aabadie merged commit d562af4 into RIOT-OS:master Mar 8, 2019
@danpetry danpetry added this to the Release 2019.04 milestone Mar 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: LoRa Area: LoRa radio support 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.

3 participants