[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] NTP / SNTP for lwIP
From: |
Funk, Artur |
Subject: |
Re: [lwip-users] NTP / SNTP for lwIP |
Date: |
Mon, 2 Jul 2012 08:49:38 +0200 |
As far as I know, the sntp example from contribution contains also a non socket
version. You can switch via define to the raw version, where just few udp
actions are required.
Regards
Artur
-----Ursprüngliche Nachricht-----
Von: address@hidden [mailto:address@hidden Im Auftrag von address@hidden
Gesendet: Freitag, 29. Juni 2012 19:21
An: address@hidden
Betreff: [lwip-users] NTP / SNTP for lwIP
Hi,
I know there is an example implementation of a SNTP client within the
contribution package. But unfortunately this client requires LWIP_SOCKET
requires LWIP_NETCONN requires NO_SYS 0 requires LWIP_PROVIDE_ERRNO 1 requires
whatever else.
But I'm running a very minimal environment with
#define NO_SYS 1
#define LWIP_SOCKET 0
#define LWIP_NETCONN 0
#define LWIP_SNMP 0
#define LWIP_AUTOIP 1
#define LWIP_DHCP_AUTOIP_COOP 1
#define LWIP_DHCP 1
#define LWIP_DHCP_AUTOIP_COOP_TRIES 1
and do all TCP operations via basic commands tcp_new() / tcp_bind() /
tcp_write() / tcp_output() etc.
So is there an NTP-example available somewhere that makes use of these
functions?
Thanks!
--
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis
zu 50,- Euro! https://freundschaftswerbung.gmx.de
_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users
- Re: [lwip-users] NTP / SNTP for lwIP,
Funk, Artur <=