Freigeben über


WAP_PRIMITIVE_ID (Compact 2013)

3/26/2014

This enumeration identifies Wireless Application Protocol (WAP) service primitives, which represent services between WAP layers.

Syntax

enum WAP_PRIMITIVE_ID{
    WAP_PRIMITIVE_ID_T_DUNITDATA = 1,
    WAP_PRIMITIVE_ID_TR_INVOKE,
    WAP_PRIMITIVE_ID_TR_RESULT,
    WAP_PRIMITIVE_ID_TR_ABORT
};

Elements

  • WAP_PRIMITIVE_ID_T_DUNITDATA
    Used to transmit data as a Wireless Datagram Protocol (WDP) datagram. This corresponds to the WDP T-DUnitdata Protocol Data Unit (PDU).
  • WAP_PRIMITIVE_ID_TR_INVOKE
    Used to initiate a new Wireless Transaction Protocol (WTP) transaction. This corresponds to the WTP TR-Invoke PDU.
  • WAP_PRIMITIVE_ID_TR_RESULT
    Used to send a result for an ongoing WTP transaction. This corresponds to the WTP TR-Result PDU.
  • WAP_PRIMITIVE_ID_TR_ABORT
    Used to stop an existing WTP transaction. This corresponds to the WTP TR-Abort PDU.

Remarks

These service primitives indicate services provided to the upper layer.

Requirements

Header

wap.h

See Also

Reference

WAP Enumerations