You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
There seems to be a bug when using kernel works. With functions like k_delayed_work_submit_to_queue(), the work triggers immediately with longer timeout values.
I have tested it with a lot of different timeout values. A Nordic employee has debugged the issue more and his results are shown in the thread below.
Get the project from the DevZone thread (.zip file as an attachment)
'Loop start'
Test different timeout values
Build the project
Flash the project into the board (nRF9160 DK)
See error
'Loop end'
Expected behavior
For example, with k_delayed_work_submit_to_queue(&my_work_q, &my_device.work, K_MINUTES(1440)); the work triggers immediately.
Impact
This issue is not keeping me stuck but it has done my project code a little more complicated. First I thought I was doing something wrong but then it turned out there might be some bug on Zephyr.
Describe the bug
There seems to be a bug when using kernel works. With functions like
k_delayed_work_submit_to_queue()
, the work triggers immediately with longer timeout values.I have tested it with a lot of different timeout values. A Nordic employee has debugged the issue more and his results are shown in the thread below.
See the thread on Nordic DevZone about the issue:
https://devzone.nordicsemi.com/f/nordic-q-a/60303/nrf9160-device-functionality-after-a-week
To Reproduce
Steps to reproduce the behavior:
'Loop start'
'Loop end'
Expected behavior
For example, with
k_delayed_work_submit_to_queue(&my_work_q, &my_device.work, K_MINUTES(1440));
the work triggers immediately.Impact
This issue is not keeping me stuck but it has done my project code a little more complicated. First I thought I was doing something wrong but then it turned out there might be some bug on Zephyr.
Environment:
The text was updated successfully, but these errors were encountered: