[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] SNTP example?
From: |
Mike Rosing |
Subject: |
Re: [lwip-users] SNTP example? |
Date: |
Sun, 30 Apr 2017 10:48:46 -0500 (CDT) |
The SNTP seems to initialize ok, but the routine sntp_process() is never
called. I did check my millisecond timer is working (it wasn't when I started)
so the timeouts should be working correctly. I know the initial sntp_request()
is executed, but I have no idea how to proceed with debugging from there. How
do I figure out what is broken? Any hints greatly appreciated!
Thanks,
Mike
> On April 29, 2017 at 7:35 PM Mike Rosing <address@hidden> wrote:
>
>
> 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 Ziegelmeier <address@hidden> wrote:
> >
> >
> > Look AG lwip contrib repository, Unix port, simhost.c. There is an example
> > in there.
> >
> > Dirk
> >
> > On Apr 29, 2017 23:17, "Mike Rosing" <address@hidden> 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
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/lwip-users
> > _______________________________________________
> > lwip-users mailing list
> > address@hidden
> > https://lists.nongnu.org/mailman/listinfo/lwip-users
>
> _______________________________________________
> lwip-users mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/lwip-users