Communication required for Bluesky fuel dispenser POS machine

To control a Bluesky fuel dispenser using a POS machine, a preset authorization command needs to be sent to the dispenser. Therefore, an application needs to be developed for communication between the POS machine and the Bluesky fuel dispenser.

First, we need to know which functional modules to develop. If the user pays using the M1 card of our Bluesky fuel dispenser platform, the app needs to first obtain the M1 card balance, then integrate the pre-set authorization commands, and send them to the mainboard. If the user pays using a bank card, the corresponding payment software needs to obtain the bank card information, then pass the bank card information (card number, balance, etc.) to the app, and then the app sends the pre-set authorization commands to the mainboard. In general, the communication-related functions of the POS machine app include: communication with the Bluesky fuel dispenser platform, communication with the gas station mainboard, and communication with third-party payment platform software.

Communicating with the Blue Sky gas pump platform can be done directly using HTTPS. An agreement is reached with the platform, and the app sends information according to the protocol. After receiving the platform’s response, the app can find out the balance corresponding to the card number.

Payment using a pre-charged M1 card.
Payment using a pre-charged M1 card.

Communicating with the fuel dispenser motherboard requires understanding the protocol used by the POS machine’s serial port. Observation revealed that the PAX IM30 uses the RS232 protocol. If the fuel dispenser motherboard also uses RS232, direct communication is possible. If the motherboard uses RS-485, an RS232/RS485 converter is needed between the POS machine and the motherboard. In short, communication with the motherboard does not necessarily require using the same serial port protocol. Once the communication content is agreed upon, the POS machine, after preparing the information, can send predefined authorization instructions according to the agreed protocol. To prevent data errors, a checksum is added to the authorization instruction frame. The POS machine’s application and the motherboard use the same checksum rules to determine the correctness of the received data.

Communication with third-party payment platform software requires development based on specifying the area of use, to ensure compatibility with local systems. After confirming the third-party payment platform, the app can receive the payment result (payment completed or cancelled) via broadcast and then receive the corresponding parameters.

Payment using a bank card.
Payment using a bank card.

This article describes the communication methods required when the POS machine sends preset authorization commands to the Bluesky gas pump. Next time, we will introduce how the POS machine reads cards.

 

Update cookies preferences
WhatsApp

Get a Quick Quote!

x

    Get a Quick Quote!

    x