patchlwIP - A Lightweight TCP/IP stack - Patches: patch #7725, contrib/apps/sntp: new function...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7725: contrib/apps/sntp: new function sntp_stop() and bits

Submitter:  Stephane Lesage <slesage>
Submitted:  Mon 20 Feb 2012 04:01:32 PM UTC
   
 
Category:  None Priority:  5 - Normal
Status:  Done Privacy:  Public
Assigned to:  goldsimon Open/Closed:  Closed
Planned Release:  None

Wed 22 Feb 2012 08:12:55 PM UTC, comment #1: 

Thanks for the patch. I didn't add the 'void* ctx' arguments for sntp_init()/sntp_stop() since I don't want API things to influence raw apps. Instead, I'd rather add a 'tcpip_callback_void()' that doesn't need these ugly wrapper functions we have.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 20 Feb 2012 04:01:32 PM UTC, original submission:  


I successfully used the provided sntp contrib module, but in my project, the user defines the NTP server so I need to be able to stop or restart.
The new function sntp_stop() can work only when SNTP is built using Raw API, but this is no problem using NO_SYS=0, you just new to use tcpip_callback() -> doc updated
I think we should remove socket support as it's not complete and not needed anyway.

Stephane Lesage <slesage>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by slesage (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-02-22 goldsimon StatusNone Done
        Assigned toNone goldsimon
        Open/ClosedOpen Closed
    2012-02-20 slesage Attached File- Added 0001-New-function-sntp_stop-documentation-and-extern-C-fo.patch, #25088

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code