Skip to content

SNTP client request uses wrong timestamp #97632

@lgreine

Description

@lgreine

Describe the bug

When using the sntp client the transmit timestamp is filled with the elapsed time from booting.
Instead the system time should be sent via sntp.

Regression

  • This is a regression.

Steps to reproduce

Run the sample sntp client.
Log the network traffic and look at the Transmit Timestamp.
The raw value are elapsed seconds from booting. A calculated value can be something like 7th Febuary 2036.

Relevant log output

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

Ubuntu 24.04.3 LTS
Zephyr SDK 0.17.1
Zephyr 4.2.0

Additional Context

No response

Metadata

Metadata

Assignees

Labels

area: NetworkingbugThe issue is a bug, or the PR is fixing a bug

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions