smpp_write_msg_text_blob

March 26, 2020 Contributors

Name

smpp_write_msg_text_blob — Write a text blob to an SMPP message

Synopsis

#include "modules/mobility/smpp/smpp_util.h"

| void **smpp_write_msg_text_blob** ( | m, |   |
|   | msg_text, |   |
|   | msg_text_len, |   |
|   | key); |   |

ec_message * <var class="pdparam">m</var>;
char * <var class="pdparam">msg_text</var>;
int <var class="pdparam">msg_text_len</var>;
const char * <var class="pdparam">key</var>;

Description

**Configuration Change. ** This feature is available starting from Momentum 3.2.

Write a text blob to an SMPP message. Valid keys are: BLOB_KEY_SMS_TEXT and BLOB_KEY_MO_EMAIL_TEXT.

Parameters

m

The ec_message. For a description of this data type see “ec_message”.

msg_txt

The input message string.

msg_text_len

The length of the input string.

key

The text blob context key of the text blob to set.

Return Values

This function returns void.

Threading

It is legal to call this function in any thread.

See Also

SMPP Functions