Its been a while…
Hello! I have been working on the parser for a while. This post will be an explanation of where I am in the project so far.
I wouldn’t go as far as to say that I am close to done yet, but I’m definitely nearing the halfway point.
The past 2 days I have reworked how packets are interpreted, as well as adding some new helper utilities/functions to make future decoding easier. I also implemented a full bit-by-bit decomposition of the DLC byte in a header!
This was super fun and rewarding as I learned a lot about bit-wise operations in C, as well as strengthening my understand of memory and how it is transferred through a program.
I also learned I can’t spell! Wrote valid as “vaild” over 10 times! I also learned that C doesn’t pass the size of an array automatically! Super fun bugs! \s
Feel free to critique my code on the GitHub! https://github.com/arnabmondal-eg/dnp3
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.