I need a device which filters out duplicate packets from an incoming serial data stream on one port and transmits filtered data on a second serial port. The device must be RS232 in and RS232 out, with configurable baud rates etc.
The basic functionality is that if the same data packet is seen by the device a pre-determined number of times, over a pre-determined timescale, the device should transmit the data once, in exactly the same format it was received. i.e if the device sees the same data packet say 6 times in say a two minute period then it transmits the last packet received, once. If the data packet is seen only 5 times in the same period it's ignored.
The will be a maximum of 50 different data packets being received at any one time
I need to be able to apply the "data packets over time" rules, by downlaoding/flashing text file, ini file or exe file to the device from a PC.
The hardware would ideally be a small board to fit inside an enclosure with terminal block connecters for data and power.
The device would ideally be powered with 6-16V DC and 82 - 80 mA
I would prefer a complete hardware/software package, but would consider code which has been developed and tested for a specific comercially available embedded PC or serial hardware device. The code would need to be downloadable and configurable by non-programmer.
A manual is available which describes the incoming data stream and if necessary I can provide the equipment which produces the incoming data stream.