Prosody SPRT end point: API: sm_sprt_config_reliable_channel

Prototype Definition

int sm_sprt_config_reliable_channel(struct sm_sprt_config_reliable_channel_parms *configp)

Parameters

*configp
a structure of the following type:
typedef struct sm_sprt_config_reliable_channel_parms {
	tSMSPRTId sprt;						/* in */
	int channel;						/* in */
	int window_size;					/* in */
	int timer_TA01;						/* in */
	int timer_TA02;						/* in */
	int timer_TR03;						/* in */
} SM_SPRT_CONFIG_RELIABLE_CHANNEL_PARMS;

Description

Configures the settings for one of the reliable SPRT channels. Hence channel must be either 1 or 2.

Fields

sprt
The SPRT end point to configure.
channel
The channel to be configured
window_size
The window size for the channel
timer_TA01
The value for timer TA01 in milliseconds
timer_TA02
The value for timer TA02 in milliseconds
timer_TR03
The value for timer TR03 in milliseconds

Returns

0 if call completed successfully, otherwise a standard error such as:


This function is part of the Prosody SPRT end point API.