The Bluesky protocol is based on the fuel dispenser and the system. The crystal oscillator of the fuel dispenser is 11.0592MHz. The encoding of the communication data uses compressed BCD code, the baud rate is 9600bps, and the checksum. It mainly explains some problems that are easy to occur in the process when the customer’s self-developed system uses the Bluesky protocol, as well as solutions.

Note on power-on handshake:
Under the Bluesky protocol, there is a handshake process when the fuel dispenser replies to the information for the first time. This handshake is necessary. The fuel dispenser will not work properly if this handshake action does not exist. The system should always send polling commands when polling the nozzle. When the fuel dispenser replies to its status, it should immediately issue a command to request control, and then read the refueling data, the total accumulation, and the unit price command.
Start any refueling:
Before starting refueling, the system should always keep asking the fuel dispenser for the status command. When the fuel dispenser replies from a controlled hanging gun to a controlled lifting gun, the system should send a power-on command to the fuel dispenser. If the fuel dispenser does not raise the gun and then starts refueling by pressing the button, the system should refuse to send this authorization start-up command.
When the system presets refueling:
Before starting the preset refueling, the system keeps sending polling commands. After the preset operation of the fuel dispenser is performed on the system, when it is detected that the state of the fuel dispenser changes from controlled gun hanging to controlled gun lifting, the preset command is sent first, and then the start-up command is sent to the fuel dispenser to realize a preset refueling action
Read refueling data during refueling:
After refueling is turned on, the system should keep sending the command to read the status of the fuel dispenser. When it is detected that the status of the fuel dispenser has changed to “refueling”. The command to read the data of the fuel dispenser should be sent to the dispenser. At this time, the fuel dispenser replies with real-time refueling data, and this process is repeated to realize real-time data changes during refueling.
Generate refueling records:
After the dispenser is turned on, the system should keep sending the command to read the status of the fuel dispenser. When it is detected that the status of the fuel dispenser has changed to “controlled gun hanging” or “controlled gun lifting”. The system should determine that the refueling process has ended. At this time, the fuel dispenser data, total accumulation, and unit price should be read. Perform a refueling data settlement.
Common error (1): Fuel dispensers have 886 and 664 formats, so the Bluesky protocol also has 886 and 664 formats. When the format changes from 664 to 886, the “unit price”, “total”, “refueling data”, “preset” and other commands in the protocol should increase by one byte.
Common error (2): The polling speed of multi-gun refueling dispensers and single-gun refueling dispensers is different when they are working. The single-gun refueling dispenser is 80ms, and the multi-gun refueling dispenser is 200ms.