Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subsys: lorawan: add devicetime request support #78155

Merged
merged 3 commits into from
Nov 16, 2024

Conversation

kowalewskijan
Copy link
Contributor

This is a hijacked PR from #55073

According to comments vs. what was available on: https://github.com/RomainPelletant/zephyr/tree/subsys/lorawan/add-devicetime-request missing parts were:

  • Using GPS epoch instead of UNIX
  • Removing redundant lorawan_req_time helper function
  • Changing data_pending bool flag to uint8_t flags field in multicast_package_callback function

@martinjaeger @JordanYates @RomainPelletant - please let me know if there is anything I missed from the original PR discussion.

@RomainPelletant
Copy link
Contributor

RomainPelletant commented Oct 2, 2024

A clang format run seems to be required. Except that: LGTM.
Thank you @kowalewskijan

samples/subsys/lorawan/fuota/src/main.c shall be updated with the new callback definition

romain pelletant and others added 2 commits October 2, 2024 14:13
Change downlink callback to transport data using flags.
Related to Issue zephyrproject-rtos#55072

Co-authored-by: Jan Kowalewski <[email protected]>

Signed-off-by: romain pelletant <[email protected]>
Signed-off-by: Jan Kowalewski <[email protected]>
Add devicetime request support.
Update lorawan sample
Related to Issue zephyrproject-rtos#55072

Co-authored-by: Jan Kowalewski <[email protected]>

Signed-off-by: romain pelletant <[email protected]>
Signed-off-by: Jan Kowalewski <[email protected]>
@kowalewskijan
Copy link
Contributor Author

All issues resolved - CI is green

@kowalewskijan
Copy link
Contributor Author

Bump @JordanYates @martinjaeger

ADR status and devtime updated flags merged into an atomic bits array.
Related to Issue zephyrproject-rtos#55072

Co-authored-by: Jan Kowalewski <[email protected]>

Signed-off-by: romain pelletant <[email protected]>
Signed-off-by: Jan Kowalewski <[email protected]>
@dkalowsk dkalowsk added this to the v4.1.0 milestone Oct 28, 2024
@nashif nashif merged commit bea6827 into zephyrproject-rtos:main Nov 16, 2024
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants