Skip to content

A simple processor that takes packets of data (excluding preamble) from a DCC Packet Analyzer (such as the NCE Packet Analyzer) and returns objects that represent the different messages.

License

Notifications You must be signed in to change notification settings

trevleyb/DCCPacketAnalyser

Repository files navigation

DCCPacketAnalyser

This is a C# project to take a block of bytes which are DCC messages from a DCC bus. This was built to take the output from a NCE Packet Analyser and analyse the bytes to return objects that represent the different messages.

The reason to build this was (a) because it was interesting and (b) I want to use the NCE Packet Analyser (or in fact any packet analyser should work such as a Arduino analyser) and then use that to feed into the Railway Controller I am building so that messages send from other devices will be detected and reported on (NCE does not report through the RS232 port or USB port messages that are put onto the bus through other devices.)

Some credit to the DCCInspector-EX project which assisted in a couple of areas where the MNRA specifications were not clear. https://github.com/DCC-EX/DCCInspector-EX

About

A simple processor that takes packets of data (excluding preamble) from a DCC Packet Analyzer (such as the NCE Packet Analyzer) and returns objects that represent the different messages.

Topics

Resources

License

Stars

Watchers

Forks

Languages