The RRLP library is a module that extends the GLCT with the capability to implement GPS aspects of the RRLP protocol. The module accepts incoming RRLP messages, acts upon them, and generates RRLP responses.
The RRLP library is designed as an independent module. It has its own abstraction layer through which it talks with the GLCT on one hand and the protocol stack on the other.
The RRLP library is used internally within the ADS Application Request Processor to process RRLP messages received from the Spirent ULTS. See ADS/RRC Application Request Processor for more information on the ADS application. The source code the the ADS ARP is available as sample code for this interface.
The function glrrlp_Init() is called to initialize the RRLP library.
To deliver an RRLP message to the library, the function glrrlp_Pdu() is called with a pointer to the message.
When the library needs to send a message back to the network it invokes the callback glcb_rrlp_Send(). The HAL must include an implementation of this function to send data to the RRLP stack.
To abort an RRLP session the function glrrlp_Abort() is called.
There interfaces between the RRLP library and the GLCT are abstracted to provide visibility to this interface. An examples of these functions is glcb_rrlp_SetReferenceTime() which the RRLP library uses to send reference time to the GPS core software. Broadcom supplies implementations for all these callbacks; nothing needs to be developed to use the software as supplied.