I’m glad people interested of this elixir usage, I think it’s really shines in this kind of products with high level abstraction built in binary matching, encoding tool for a language for parts and its OTP framework to make those parts communicating. If you want even more declarative and abstract way to work with such binary parts I want to suggest lib I recently published - BinStruct - library for writing declarative code to get rich generated set of binary parsing/encoding features
You will be able to run everything lib generates in iex, very useful and flexible at development time and will be same useful in prod later