Zum Hauptinhalt springen

KeyCard Interface (FIAS)

Casablanca Hotelsoftware has implemented the FIAS (Fidelio Interface and Application Specification) interface. Casablanca can take on the role of client or server.

The FIAS interface description can be download under the following link:

Download FIAS_2.10.chm

The following commands are possible via the interface in use with a key system:

In the following examples, Casablanca takes on the role of server.


Establish connection

At the start of the connection it is defined which fields are to be initialised via the connection:

Example:

  • Request1 (IN): [STX]LS|DA201214|TI121114|[ETX]
  • Request2 (IN): [STX]LD|DA201214|TI121116|V#1.4.2.2|IFDL|[ETX]
  • Request3 (IN): [STX]LR|RIKR|FLK#KCKTRNWSDADTG#GNGAGDTIKO|[ETX]
  • Request4 (IN): [STX]LR|RIKD|FLKCRNWSDATIG#|[ETX]
  • Request5 (IN): [STX]LR|RIKA|FLASKCWSCTDATIG#$2$3|[ETX]
  • Request6 (IN): [STX]LR|RIRE|FLRNG#DOCTDATI|[ETX]
  • Request7 (IN): [STX]LA|DA201214|TI121118|[ETX]
  • Response (OUT): [STX]LA|DA201214|TI121119|[ETX]

Check connection

A check whether the link is still upright is performed by the client every X minutes after the start of the connection.

Example:

  • Request (IN): [STX]LS|DA201214|TI121644|[ETX]
  • Response (OUT): [STX]LA|DA201214|TI121644|[ETX]

Close connection

Example:

  • Request (IN): [STX]LE|DA201214|TI121026|[ETX]

Generate Key

When a guest checks in, the reception triggers the process to create a KeyCard. (It is also possible to create the KeyCard before the guest arrives. Fields GA - GD contain the period of stay)

Example:

  • Request (OUT): [STX]KR|K#1|KC1|KTN|RN206|WS1|DA201214|DT12:00|G#16400|GN|GA201215|GD201216|TI131253|KO|[ETX]
  • Response (IN): [STX]KA|ASOK|CTOK|KC1|WS1|DA201214|TI131253|G#16400|$230431712|$3|[ETX]
tip

As in the example, it would be possible to send back the unique ID of the RFID chip in track $2.


Key Options

It is also possible to transmit additional authorisations, which can be set individually by the reception, via the interface. The Key Option (KO) field is used for this purpose.

Example In the following example, authorisation is set with ID 1 and ID 2... (Spaces have been replaced by commas for better presentation)

  • Request (OUT): [STX]KR|K#1|KC1|KTN|RN206|WS1|DA201214|DT12:00|G#16400|GN|GA201215|GD201216|TI131253|KO11,,,,,,,,,,,,,,,,,,|[ETX]

In the following example, authorisation is set with ID 5... (Spaces have been replaced by commas for better presentation)

  • Request (OUT): [STX]KR|K#1|KC1|KTN|RN206|WS1|DA201214|DT12:00|G#16400|GN|GA201215|GD201216|TI131253|KO,,,,1,,,,,,,,,,,,,,,|[ETX]

Error-Codes

Here you will find the error codes for the FIAS interface. These can be returned via the interface as an answer.

CodeSupported Interface TypesMeaning
AAPBX - DID-ResponseVirtual Number already assigned
ANPBX - DID-ResponseVirtual Number not found
BMVSS/remote check-outBalance mismatch
BYWakeup/Key ServicesTelephone / Encoder Busy
CDVSS/remote check-outCheck-out date is not today
DNEFTRequest denied
FXGuest related requestsGuest not allowed this feature
IAGuest related requestsInvalid account
NAAll systemsNight Audit
NFVSS/remote check-outFeature not enabled or Check-out process not running
NGAll information requestsGuest not found
NMMessage/Locator requestMessage/Locator not found
NRWakeupNo Response
OKAll systemsCommand or request completed successfully
RFEFTReferral
RYAll systemsRetry
URAll systemsUnprocessable request, this request cannot be carried out , no retry