PMS/System Transmissions

System to PMS Transmissions

The system sends an ENQ character to the PMS and awaits a reply.  

The system sends a start-of-text (STX) character, the message text, and an end-of-text (ETX) character to the PMS.  It then awaits an ACK from the PMS.  

PMS to System Transmission

The PMS sends an ENQ character to the system and awaits a reply. After receiving an ENQ character from the PMS, the system responds within 3 seconds with either an ACK or a NAK. The PMS must wait at least 3 seconds for a reply.

After sending the ACK, the system is immediately ready to receive the STX, message text, and ETX. The system must receive this message within three seconds. If no message is received by the system within the three seconds timeout, the ENQ sequence must be restarted by the PMS.

Upon receiving the STX message, the system responds within three seconds with either:

If the cause for the NAK is an error, the system generates a hotel log indicating this error on every NAK.

If no response is received by the PMS after 3 seconds, it must be assumed that a message was lost or that there is a system or network error. Logs and alarms should be checked. Further communication with the system must resume with an ENQ.

The following example illustrates a PMS transaction retry:

The PMS then discards the transaction. The PMS should log this failure.  

Glare handling: If the PMS and system both want to send a transaction at the same time, the PMS always permits the system to go first.  This condition is indicated when the PMS receives an ENQ message while waiting for a response to its own ENQ message. In this case, the PMS must back off from initiating further transmission (including retries) for a period of 6 seconds. The PMS should expect an ENQ. Any other message from the system can be ignored. If the 6 second timer expires, the PMS must restart its original transmission beginning with the ENQ.

For example:

 

After the system is finished, the PMS must restart its original transmission beginning with the ENQ.  

When the communication link is not busy between the two machines, the PMS may periodically send an ENQ to ensure the system is still up and functioning correctly.  The system will reply with an ACK or NAK within three seconds.  If the system replies with a NAK, the same retry sequence described above may be attempted. If the system replies with an ACK, the PMS must send an AREYUTHERE message.  The system is expected to reply with an ACK within three seconds.  For example: