i use the Raspberry Pi 2 Model B and want use the Raspberry as a Man-in-the-middle.
description what i want to do: I have to catch the incoming data (9-bit protocol 4800 baud) transform them to hexadecimal and set a timestamp for every databyte. Then i want to send the data as stream over USB to my Laptop. on my laptop i must see the datasteam in realtime.
I have experimenting with the Pigio library but i didn´t find an opportunity to catch the datasteam after the incoming bit´s were transformed into bytes is that possible? Is it possible to convert the byte´s into hexadecimal not decimal? And is it possible to set a timestemp to every byte in microseconds at the beginn of the recording? So that i finally send a datastream e.g. timestamp hexbyte timestamp hexbyte... over the USB to the laptop.
I hope someone can help me and i say thanks ahead