Cannot use Date-time command in Zephyr #81581
Unanswered
Jasonhood-P
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I hope to use the date time command in the Default/OS Management Group of mcumgr in Zephyr. I have opened the corresponding macro in prj and successfully compiled it. I sent the correct write command to the device via Bluetooth, but when I read the date time value, there seemed to be no change. Still the initial value from the beginning.
![image](https://private-user-images.githubusercontent.com/187715274/387642737-980d0938-c3d9-41be-9001-3a25bb9a182b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMzAxOTMsIm5iZiI6MTczOTEyOTg5MywicGF0aCI6Ii8xODc3MTUyNzQvMzg3NjQyNzM3LTk4MGQwOTM4LWMzZDktNDFiZS05MDAxLTNhMjViYjlhMTgyYi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQxOTM4MTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iNmRlMTQ2NTBmOTlmMjMwNmE3NGZjNGM3NWJiMjE2NjE5MjRkYTBhYzY0MGE2MWI4Y2UxMDQ1NTJlN2VlY2ZhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.khX71myrN-MNOXKYMIhnK14Fww2SrXaxzVwHjdSs4gs)
![image](https://private-user-images.githubusercontent.com/187715274/387642845-9b8de333-239c-4f9d-87ea-ed34ed1c47cc.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkxMzAxOTMsIm5iZiI6MTczOTEyOTg5MywicGF0aCI6Ii8xODc3MTUyNzQvMzg3NjQyODQ1LTliOGRlMzMzLTIzOWMtNGY5ZC04N2VhLWVkMzRlZDFjNDdjYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQxOTM4MTNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kNDY5YTY5M2Y0M2IyNzM3MTQ3NGZjOTkzYzlhYTQwZmEwOWRjODg1NWI1NzZiNTBlNjk3NjVhNDE0MjA0NzM4JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.0iDnqiZJvhx7EISKe0-E-SSBMI1BzCf5bWcZ_J6-k80)
The chip I am using is NRF52833, with SDK version 2.6.1,here is my configuration file:
I don't know if it's because the RTC inside nrf52833 is a real-time counter rather than a real-time clock, causing Zephyr to be unable to find the correct driver?If someone could answer my question, I would be very grateful.
Beta Was this translation helpful? Give feedback.
All reactions