Link Layer API Primitives


The application and the link layer API interact using the link layer primitives. The MGSL_DLPRIMITIVE structure contains the details of a primitive when using the MgslDlCall and MgslDlWait functions. The application fills out the primitive structure when making a request or response using MgslDlCall. The link layer API fills out the primitive structure when returning a confirm or indication primitive from MgslDlWait.

Each primitive type is identified by a macro of the form DLX_Y where X is one of the four primitive categories (REQUEST, RESPONSE, INDICATION, CONFIRM) and Y indicates the function of the primitive.

The following sections describe each primitive.

DLCONFIRM_CONFIGURE
DLCONFIRM_ESTABLISH
DLCONFIRM_INIT_MODE
DLCONFIRM_RELEASE
DLCONFIRM_TEST
DLCONFIRM_XID
DLINDICATION_BEACON
DLINDICATION_DATA
DLINDICATION_DATA_DONE
DLINDICATION_ESTABLISH
DLINDICATION_INIT_MODE
DLINDICATION_RAWDATA
DLINDICATION_RCV_BUSY
DLINDICATION_RELEASE
DLINDICATION_SEND_READY
DLINDICATION_UNITDATA
DLINDICATION_UNITDATA_DONE
DLINDICATION_XID
DLRESPONSE_XID
DLREQUEST_CONFIGURE
DLREQUEST_DATA
DLREQUEST_ESTABLISH
DLREQUEST_INIT_MODE
DLREQUEST_RAWDATA
DLREQUEST_RCV_BUSY
DLREQUEST_RELEASE
DLREQUEST_TEST
DLREQUEST_UNITDATA
DLREQUEST_XID

Previous Contents Next