This function is under development. It could be changed or withdrawn, and may not be implemented in this release.
int sm_h223mux_open_lc(struct sm_h223mux_open_lc_parms *open_lcp)
typedef struct sm_h223mux_open_lc_parms { tSMH223muxId h223mux; /* in */ tSM_UT32 segmentable_flag; /* in */ enum kSMH223muxLogicalChannelType { kSMH223muxLogicalChannelTypeUnidirectional, kSMH223muxLogicalChannelTypeBidirectional, } type; /* in */ struct { tSM_INT lcn; /* in */ enum kSMH223muxLogicalChannelDirection { kSMH223muxLogicalChannelDirectionTransmit, kSMH223muxLogicalChannelDirectionReceive, } direction; /* in */ struct { enum kSMH223muxMarkUnit { kSMH223muxMarkUnitBytes, kSMH223muxMarkUnitALSDU, } mark_unit; tSM_INT hi_mark; /* in */ tSM_INT lo_mark; /* in */ } transmit_lc; /* in */ enum kSMH223muxAdaptationLayerType { kSMH223muxAdaptationLayerTypeNonStandard, kSMH223muxAdaptationLayerTypeAL1Framed, kSMH223muxAdaptationLayerTypeAL1NotFramed, kSMH223muxAdaptationLayerTypeAL2WithoutSequenceNumbers, kSMH223muxAdaptationLayerTypeAL2WithSequenceNumbers, kSMH223muxAdaptationLayerTypeAL3, } adaptation_layer_type; union { struct { tSM_INT control_field_octets; /* in */ tSM_INT send_buffer_size; /* in */ } al3; /* in */ } u_al; /* in */ } forward_channel; /* in */ struct { tSM_INT lcn; /* in */ enum kSMH223muxLogicalChannelDirection { kSMH223muxLogicalChannelDirectionTransmit, kSMH223muxLogicalChannelDirectionReceive, } direction; /* in */ struct { enum kSMH223muxMarkUnit { kSMH223muxMarkUnitBytes, kSMH223muxMarkUnitALSDU, } mark_unit; tSM_INT hi_mark; /* in */ tSM_INT lo_mark; /* in */ } transmit_lc; /* in */ enum kSMH223muxAdaptationLayerType { kSMH223muxAdaptationLayerTypeNonStandard, kSMH223muxAdaptationLayerTypeAL1Framed, kSMH223muxAdaptationLayerTypeAL1NotFramed, kSMH223muxAdaptationLayerTypeAL2WithoutSequenceNumbers, kSMH223muxAdaptationLayerTypeAL2WithSequenceNumbers, kSMH223muxAdaptationLayerTypeAL3, } adaptation_layer_type; union { struct { tSM_INT control_field_octets; /* in */ tSM_INT send_buffer_size; /* in */ } al3; /* in */ } u_al; /* in */ } reverse_channel; /* in */ } SM_H223MUX_OPEN_LC_PARMS;
This function will open a new logical channel.
0 if call completed successfully, otherwise a standard error such as:
This function is part of the Prosody H.223 Mux API.