B2G/gecko/dom/system/gonk/RadioInterfaceLayer.js
/**
   * Handle WDP port push PDU. Constructor WDP bearer information and deliver
   * to WapPushManager.
   *
   * @param message
   *        A SMS message.
   */
Handle WDP port push PDU. Constructor WDP bearer information and deliver
to WapPushManager.

@param message
A SMS message.
Handle WDP port push PDU . Constructor WDP bearer information and deliver to WapPushManager . @param message A SMS message .
function handleSmsWdpPortPush(message) {
    if (message.encoding != RIL.PDU_DCS_MSG_CODING_8BITS_ALPHABET) {
      debug("Got port addressed SMS but not encoded in 8-bit alphabet. Drop!");
      return;
    }
    let options = {
      bearer: WAP.WDP_BEARER_GSM_SMS_GSM_MSISDN,
      sourceAddress: message.sender,
      sourcePort: message.header.originatorPort,
      destinationAddress: this.rilContext.icc.msisdn,
      destinationPort: message.header.destinationPort,
    };
    WAP.WapPushManager.receiveWdpPDU(message.fullData, message.fullData.length,
                                     0, options);
  }
function handleSmsWdpPortPush ( message ) { if ( message . encoding != RIL . PDU_DCS_MSG_CODING_8BITS_ALPHABET ) { debug ( "Got port addressed SMS but not encoded in 8-bit alphabet. Drop!" ) ; return ; } let options = { bearer : WAP . WDP_BEARER_GSM_SMS_GSM_MSISDN , sourceAddress : message . sender , sourcePort : message . header . originatorPort , destinationAddress : this . rilContext . icc . msisdn , destinationPort : message . header . destinationPort , } ; WAP . WapPushManager . receiveWdpPDU ( message . fullData , message . fullData . length , 0 , options ) ; }
Handle WDP port push PDU.
Handle WDP port push PDU .