Hank, You can look at the source code for my Tbolt Monitor to see how I dealt with that. The link to the source code is in my wiki page:
http://www.ko4bb.com/dokuwiki/doku.php?id=precision_timing:gps_monitor Didier KO4BB > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Hank > Sent: Sunday, October 05, 2008 2:26 PM > To: [email protected] > Subject: Re: [time-nuts] THUNBERBOLT PACKET 0X8F-AB > > Ed, > > Got it....Found the spec ! Thanks for the hint ! > > Hank > > > > "The bytes in the data string can have any value. To prevent > confusion with the frame > > sequences <DLE> <ID> and <DLE> <ETX>, every <DLE> byte in the > data string is > > preceded by an extra <DLE> byte ('stuffing'). These extra > <DLE> bytes must be added > > ('stuffed') before sending a packet and removed after > receiving the packet." > > ----- Original Message ----- > From: Hank > To: [email protected] > Sent: Sunday, October 05, 2008 3:17 PM > Subject: [time-nuts] THUNBERBOLT PACKET 0X8F-AB > > > Ed > Per your message : That would be the 'byte stuffing' > inherent in TSIP packet structure. > > Packet 0X8F-AB is specified as being 17 bytes including the > subcode ( 8F) > Do you mean that you cant depend on that packet always > being 17 bytes ? > I'm getting 18 bytes only when the time has 16 seconds in > it. ( the second byte is duplicated ) > > If you cant depend on having a constant number of bytes ( > as defined in the spec ) , how do you then decode it ? > > Thanks > Hank > > > _______________________________________________ > time-nuts mailing list -- [email protected] To unsubscribe, > go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts > and follow the instructions there. _______________________________________________ time-nuts mailing list -- [email protected] To unsubscribe, go to https://www.febo.com/cgi-bin/mailman/listinfo/time-nuts and follow the instructions there.
