SLAP

From STRIDE Wiki
Jump to navigation Jump to search

Simplified Link Application Protocol (SLAP)

The Simplified Link Application Protocol (SLAP) is a link protocol that is used to transmit and receive frames of data between two platforms. The sole purpose of the SLAP is to guarantee that frames are successfully transmitted between the two platforms.

The SLAP verifies the integrity of the data contained within the frame and is able to resynchronize quickly in the event of missed frames. This is accomplished through the use of "data stuffing".

SLAP Services

SLAP APIs are defined in s2Slap.h (in your %STRIDE_DIR%\SDK\SLAP directory), which is provided with the installation of STRIDE Runtime Files.

List of SLAP APIs:

  • s2slapTxMsgFormat()
  • s2slapRXMsgExtract()
  • s2slapDataReady()

For a detailed description of SLAP, refer to the STRIDE Platform Abstraction Layer (PAL) Specification and to the STRIDE Host Runtime Transport Specification.