fdcavalcanti opened a new pull request, #3173:
URL: https://github.com/apache/nuttx-apps/pull/3173

   ## Summary
   
   This PR updates verbosity on ntpc commands. Also updated documentation on 
NuttX side.
   
   ## Impact
   
   No impact for user, build or hardware. Only changes some program outputs.
   
   ## Testing
   
   ntpcstart:
   ```
   nsh> ntpcstart
   Starting NTP client...
   Using NTP servers: 0.pool.ntp.org;1.pool.ntp.org;2.pool.ntp.org
   NTP client started successfully (task ID: 10)
   NTP client is now running in the background
   nsh> date
   Fri, Sep 05 18:49:37 2025
   ```
   ntpcstatus:
   ```
   nsh> ntpcstatus
   The number of last samples: 5
   [0] srv <ip> offset 0.993639955 delay 0.029989675
   [1] srv <ip> offset 0.994610567 delay 0.019975724
   [2] srv <ip> offset 0.996539219 delay 0.019954988
   [3] srv <ip> offset 0.998574000 delay 0.049963876
   [4] srv <ip> offset 0.999926716 delay 0.029991036
   ```
   
   ntpcstop:
   ```
   nsh> ntpcstop
   Stopping NTP client...
   Stopped the NTP daemon
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to