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: [email protected] [mailto:[email protected]] Im Auftrag von [email protected] Gesendet: Freitag, 29. Juni 2012 19:21 An: [email protected] 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 [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
