-
Notifications
You must be signed in to change notification settings - Fork 623
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
Fetch LwM2M related updates from upstream #1264
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rlubos
approved these changes
Aug 3, 2023
The signal strength for the connectivity monitor was defined as int8_t, however this was too small for LTE RSRP values, which has range [-140,-44]. Signed-off-by: Jarno Lämsä <jarno.lamsa@nordicsemi.no> (cherry picked from commit 7ae4e24)
When PMAX value is changed, it should update all events. I believe there is a bug that caused the code only to update events that are ongoing (to be send). Now if PMAX changes, next event timestamp is recalculated. Fixes #59397 Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit aaa9ced)
…oll() Allow socket-loop to wake up immediately, if there are changes, instead of waiting for zsock_poll() to timeout. This change makes engine more reactive and removes hard coded timeout from zsock_poll(). Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit 1dfa711)
Engine now allows registering service callbacks that are called only once on a given timestamp. This allows tickless services to be developed. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit 2da8844)
Call RD client service only when there is state transitioning. Remove periodic 500 ms timer. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit 518bbc1)
Use 64bit timestamps from k_uptime_get() so they don't roll over during the expected device lifetime. Fixes #60826 Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit 838ab80)
ZTEST(lwm2m_registry, test_strings) is using opaque resource 0/0/3 to write a test string "coap://127.0.0.1" which happens to be same length as default key size. Need more room to add end marker and verify it. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit 14573fc)
Few variables were uninitialized on certain cases. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit 0f6ded7)
As the lwm2m_reset_message() is stubbed, it does not remove a message from rettry queue. Therefore depending on the simulation speed, retries can happen one or many times. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit e92f8ac)
Content-format tests do not require network or Newlibc, so by removing these filters. Defined a native_posix as the only integration platform because all simulated arm-zephyr-eabi platforms are filtered out by Twister. Signed-off-by: Seppo Takalo <seppo.takalo@nordicsemi.no> (cherry picked from commit a7498c3)
SeppoTakalo
force-pushed
the
lwm2m_updates
branch
from
August 3, 2023 09:14
fe7b7b6
to
e8ac991
Compare
Rebased on top of main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Related
sdk-nrf
PR: nrfconnect/sdk-nrf#11933