DIYEFI.org Forum http://forum.diyefi.org/ |
|
FreeEMS Serial Protocol http://forum.diyefi.org/viewtopic.php?f=41&t=2482 |
Page 3 of 3 |
Author: | Fred [ Thu Jul 31, 2014 1:09 am ] |
Post subject: | Re: FreeEMS Serial Protocol |
malcom2073 wrote: As per a document I'm assuming Fred already sent you (If he did not, ask and I'll see if I can find it again) Yes, this is the first thing I did, and asked him not to share on the forum as they're out of date and should not become a defacto standard. This is one of the things he meant by secrecy above. Quote: Now that you have the packet read, you should de-escape the bytes. Once again that is documented in the protocol document which bytes mean what. Once all that wonderful magic is finished, you now have a complete datalog packet. I sincerely hope that you do NOT do it like this!!!! Reading guts out of the packet before deescaping and checksumming is completely flawed! The packet must be received, deescaped, and checksummed IN THAT ORDER. ONLY then can the header be read and the contents interpreted appropriately. Quote: The datalog packet format <SNIP> but be advised, this is subject to change as the datalog format Quote: The datalog packet format <SNIP> but be advised, this is subject to change as the datalog format has been configurable for more than two years. Fixed! I've used it several times over that period when I've needed specific data at a higher frequency. You just have to change your external tooling to suit. Laborious, but only a little. |
Author: | malcom2073 [ Thu Jul 31, 2014 1:27 am ] |
Post subject: | Re: FreeEMS Serial Protocol |
Fred wrote: I sincerely hope that you do NOT do it like this!!!! Reading guts out of the packet before deescaping and checksumming is completely flawed! The packet must be received, deescaped, and checksummed IN THAT ORDER. ONLY then can the header be read and the contents interpreted appropriately. Of course, I misspoke. You don't touch the header bytes until after you escape the whole thing and verify the checksum. |
Author: | Fred [ Thu Jul 31, 2014 1:30 am ] |
Post subject: | Re: FreeEMS Serial Protocol |
![]() |
Author: | wilbertcr [ Thu Jul 31, 2014 11:09 pm ] |
Post subject: | Re: FreeEMS Serial Protocol |
Thank you so much malcom2073. Wilbert |
Author: | russian [ Fri Mar 03, 2017 2:43 am ] |
Post subject: | Re: FreeEMS Serial Protocol |
Fred wrote: malcom2073 wrote: As per a document I'm assuming Fred already sent you (If he did not, ask and I'll see if I can find it again) Yes, this is the first thing I did, and asked him not to share on the forum as they're out of date and should not become a defacto standard. This is one of the things he meant by secrecy above. I know it has been a while, I wonder if a more current version of protocol documentation is available anywhere? I would assume even an outdated document would be much better than nothing? |
Author: | Fred [ Sat Mar 04, 2017 2:52 am ] |
Post subject: | Re: FreeEMS Serial Protocol |
Poor assumption. |
Author: | russian [ Sat Mar 04, 2017 2:59 am ] |
Post subject: | Re: FreeEMS Serial Protocol |
Fred wrote: Poor assumption. No worries, I can always take the longer route. Thank you for help! |
Author: | Fred [ Sat Mar 04, 2017 7:23 am ] |
Post subject: | Re: FreeEMS Serial Protocol |
You're welcome. You need all the help you can get. :-) |
Page 3 of 3 | All times are UTC [ DST ] |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |