TWN4 Palon OSDP OSS Extension DocRev6
TWN4 Palon OSDP OSS Extension DocRev6
Protocol Definition
ELATEC GmbH
Revision History:
Page 2 of 9
Contents
Contents
1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
2 Message Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
3 OSS Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.1 OSS_GetFileSize . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6
3.2 OSS_ReadData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.3 OSS_WriteData . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
3.4 OSS_Commit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
4 Disclaimer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
Page 3 of 9
1 Overview
1 Overview
OSS-SO is an offline standard for access control system. Offline access control systems do not need to be
continuously connected to an active network to manage access rights. The "offline locks" are connected
to the management system via the transponders. Access rights are written to and read from the card
when the transponder is presented. Access rights are connected to the network via the transponders and
updated when they come into contact with an active node.
Exactly what the data looks like and how it is structured varies from manufacturer to manufacturer. The
OSS-SO is an effort of the OSS to offer a standard for "offline locks". The information is written to and
read from the card according to the OSS Offline Standard.
Elatec supports a common interface that allows customers to flexibly implement OSS systems via OSDP.
Page 4 of 9
2 Message Structure
2 Message Structure
The OSS commands shall be embedded within the data portion of a properly formatted OSDP packet,
which is described in Section 2.9 of the OSDP Specification (Packet Format). This includes the correct
length of packet, security block, and all other required parts of the OSDP frame.
OSDP Standard allows for definition of manufacturer-specific commands. The Host is able to send custom
requests using the osdp_MFG (code 0x80) command. The Device will respond with a custom reply
osdp_MFGREP (code 0x90). If an error is detected, the osdp_NAK (code 0x41) can also be used.
The data portion of the osdp_MFG (code 0x80) command sent by Host shall have the format below.
Note that for simplicity the 3-Byte Vendor Code specified in OSDP Standard is intentionally not sent.
The custom osdp_MFGREP (code 0x90) reply from the Device shall use Format below.
Note that the Device could respond with an osdp_BUSY (code 0x79) if it is currently unavailable. The
Host is expected to repeat the command with the Sequence Number unchanged.
Page 5 of 9
3 OSS Commands
3 OSS Commands
The OSS commands and the responses expected for them are listed in sections below. Note that any of
the commands below could potentially receive a Negative Acknowledge reply osdp_NAK (code 0x41) if
something goes wrong.
The process begins when the Reader finds a Transponder and communicates its UID to the Host via
a simple osdp_RAW (code 0x50) command. At this point the Host can proceed with reading and/or
writing data. Searching for Transponder will be paused for a number of seconds to allow the Host time to
read/modify data.
It is assumed that the Application and File ID will not change from Transponder to Transponder. In order
to speed up the Transponder processing time, the Reader will internally select the Application, the File
and perform the necessary Authentication. This requires the Application and File IDs and Keys to be
programmed into the Reader’s App in advance.
3.1 OSS_GetFileSize
Page 6 of 9
3 OSS Commands
3.2 OSS_ReadData
When it is known exactly what data is required - provide offset and length. Maximum length is 120 Bytes.
Please see "Result" for the outcome of the read operation.
Command: [Byte: MFG] [02] [Byte: FileNo] [UInt16: Offset] [UInt16: Length]
Response: [Byte: MFGREP] [Byte: Result]
(optional) [Byte Array(Var), 2 LB: Data]
Example
Command: 80 02 01 07 00 05 00
(Offset: 7, Length: 5)
Response: 90 01 05 00 11 22 33 44 55
(Result: 0x01 (data read), 5 Bytes, Data: 11 22 33 44 55)
Response: 90 02 03 00 11 22 33
(Result: 0x02 (not enough data in file), 3 Bytes, Data: 00 11 22)
Response: 90 00
(Result: 0x00 (no data available))
Note, osdp_NAK would not be used in this case - there were no OSDP errors involved.
3.3 OSS_WriteData
When it is known exactly what data is written - provide offset and length. Maximum length is 120 Bytes.
Please see "Result" for the outcome of the read operation. If the File size is smaller than number of Bytes
to be written, then nothing will be written.
Command: [Byte: MFG] [04] [Byte: FileNo] [UInt16: Offset] [Byte Array(Var), 2 LB: Data]
Response: [Byte: MFGREP] [Byte: Result]
Example
Command: 80 04 01 07 00 05 00 11 22 33 44 55
(FileNo: 1, Offset: 7, Length: 5, write 11 22 33 44 55)
Response: 90 01
(Result: 0x01 (data written))
Response: 90 00
(Result: 0x00 (no data written - either not enough space or file does not exist))
Note, osdp_NAK would not be used in this case - there were no OSDP errors involved.
Page 7 of 9
3 OSS Commands
3.4 OSS_Commit
Commit request shall have a simple true/false response. If operation failed for any reason, a simple false
is returned.
Page 8 of 9
4 Disclaimer
4 Disclaimer
ELATEC reserves the right to change any information or data in this document without prior notice. The
distribution and the update of this document is not controlled. ELATEC declines all responsibility for the
use of product with any other specifications but the ones mentioned above. Any additional requirement for
a specific custom application has to be validated by the customer himself at his own responsibility. Where
application information is given, it is only advisory and does not form part of the specification.
All referenced brands, product names, service names and trademarks mentioned in this document are the
property of their respective owners.
Page 9 of 9