Re: [lwip-users] SNTP example?
Found it - I'm definitely not even close. I will probably be back with more questions after I beat my head on the wall for a while. Thank you! Mike > On April 29, 2017 at 4:43 PM Dirk Ziegelmeierwrote: > > > Look AG lwip contrib repository, Unix port, simhost.c. There is an example > in there. > > Dirk > > On Apr 29, 2017 23:17, "Mike Rosing" wrote: > > Hello, > > I have ported 2.0.2 to the TI C6748 and finally got DHCP to get an > address. The next thing I'd like to do is use sntp. What do I do after > calling sntp_init()? > > I did add sys_now() so there is a millisecond timer running. The port is > copied from the version 1.3.2 example given in the C6748 Starterware. I'm > pretty sure it all works, I'm just clueless as how to use the sntp.c > subroutines so I can set my RTC once an hour. > > Any help/pointers on how to use the code would be greatly appreciated. > Mike > > ___ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users > ___ > lwip-users mailing list > lwip-users@nongnu.org > https://lists.nongnu.org/mailman/listinfo/lwip-users ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
Re: [lwip-users] SNTP example?
Look AG lwip contrib repository, Unix port, simhost.c. There is an example in there. Dirk On Apr 29, 2017 23:17, "Mike Rosing"wrote: Hello, I have ported 2.0.2 to the TI C6748 and finally got DHCP to get an address. The next thing I'd like to do is use sntp. What do I do after calling sntp_init()? I did add sys_now() so there is a millisecond timer running. The port is copied from the version 1.3.2 example given in the C6748 Starterware. I'm pretty sure it all works, I'm just clueless as how to use the sntp.c subroutines so I can set my RTC once an hour. Any help/pointers on how to use the code would be greatly appreciated. Mike ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users
[lwip-users] SNTP example?
Hello,I have ported 2.0.2 to the TI C6748 and finally got DHCP to get an address. The next thing I'd like to do is use sntp. What do I do after calling sntp_init()? I did add sys_now() so there is a millisecond timer running. The port is copied from the version 1.3.2 example given in the C6748 Starterware. I'm pretty sure it all works, I'm just clueless as how to use the sntp.c subroutines so I can set my RTC once an hour.Any help/pointers on how to use the code would be greatly appreciated.Mike ___ lwip-users mailing list lwip-users@nongnu.org https://lists.nongnu.org/mailman/listinfo/lwip-users