Skip to main content

smpp_find_segmentation_break

Last updated March 2020

Name

smpp_find_segmentation_break — Return a pointer to the break between two message segments within the complete text string

Synopsis

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

| const char * **smpp_find_segmentation_break** ( | dp, |   | |   | seg_len, |   | |   | data_coding, |   | |   | is_gsm); |   |

const char * <var class="pdparam">dp</var>; int <var class="pdparam">seg_len</var>; int <var class="pdparam">data_coding</var>; int <var class="pdparam">is_gsm</var>;

Description

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

Return a pointer to the break between two message segments within the complete text string.

Parameters

dp

The buffer holding the whole input text string.

seg_len

The length of each segment.

The data coding of the input string: 1 indicates GSM data coding and 0 indicates non-GSM data coding.

Return Values

The location of the start of the next segment.

Threading

It is legal to call this function in any thread.

See Also

Was this page helpful?