robd2002
Electrical
- Aug 6, 2002
- 16
Hi,
I've been asked to decode serial data passing between a point of sale system (fancy name for fancy cash register) and a gasoline fuel controller. Data typically consists of commands from the POS to the controller such as "what is your status", "you are auhorized to dispense fuel", "how much fuel did you dispense", etc. and things are easy when the baud, data bits, parity, etc. are fixed. I've got a micro-based board that measures pulse widths, sets the baud rate, then runs through combinations of data bits, parity, etc. until no parity or framing errors happen. Crude perhaps but it works on a "well-behaved" data stream. However, the new challenge is to decode the data from a "PCI compliant" data stream that contains encrypted credit card information. The encryption confounds my device. What is the proper way to decode this data?
Thank you,
Rob
I've been asked to decode serial data passing between a point of sale system (fancy name for fancy cash register) and a gasoline fuel controller. Data typically consists of commands from the POS to the controller such as "what is your status", "you are auhorized to dispense fuel", "how much fuel did you dispense", etc. and things are easy when the baud, data bits, parity, etc. are fixed. I've got a micro-based board that measures pulse widths, sets the baud rate, then runs through combinations of data bits, parity, etc. until no parity or framing errors happen. Crude perhaps but it works on a "well-behaved" data stream. However, the new challenge is to decode the data from a "PCI compliant" data stream that contains encrypted credit card information. The encryption confounds my device. What is the proper way to decode this data?
Thank you,
Rob