You have not mentioned the bandwidth of this data stream, if it's not really high, I would encode the data as ASCII hex with a carriage return delimiter, then you can observe the data using any dumb terminal program.
This makes debugging so much easier, you can see what's going wrong in minutes instead of days.
This makes debugging so much easier, you can see what's going wrong in minutes instead of days.