Difference between revisions of "SLAP"

From STRIDE Wiki
Jump to: navigation, search
 
 
(9 intermediate revisions by 4 users not shown)
Line 6: Line 6:
 
'''SLAP Services
 
'''SLAP Services
  
SLAP APIs are defined in s2Slap.h, which is provided with the installation of STRIDE Runtime Files.
+
SLAP APIs are defined in s2Slap.h (in your <tt>stride\SDK\SLAP</tt> directory), which is provided with the installation of any platform [[:Category:SDKs|SDK]].
  
 
List of SLAP APIs:
 
List of SLAP APIs:
 
* s2slapTxMsgFormat()
 
* s2slapTxMsgFormat()
 
* s2slapRXMsgExtract()
 
* s2slapRXMsgExtract()
* s2slapDataReady()
+
* s2slapRegDataReadyCb()
 +
* s2slapRegErrorCb()
  
SLAP files are installed as part of the optional [[Installation of STRIDE#STRIDE Runtime Files|STRIDE Runtime Files]].
+
For a detailed description of SLAP, refer to the [[Media:s2sPAL.pdf|STRIDE Platform Abstraction Layer (PAL) Specification]] and to the [[Media:s2sTransport.pdf|STRIDE Host Runtime Transport Specification]].
 
+
[[Category:Reference]]
For a detailed description of SLAP, refer to the ''STRIDE Platform Abstraction Layer (PAL) Specification'' and to the ''STRIDE Host Runtime Transport Specification'', both available in PDF format through the STRIDE Online Help.
 

Latest revision as of 10:39, 11 September 2009

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\SDK\SLAP directory), which is provided with the installation of any platform SDK.

List of SLAP APIs:

  • s2slapTxMsgFormat()
  • s2slapRXMsgExtract()
  • s2slapRegDataReadyCb()
  • s2slapRegErrorCb()

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