You are here: SwitchKit® Development Environment Programmer’s Guide > 3 Channel Management > sk_removeChannelsFromGroup()

sk_removeChannelsFromGroup()

Description

The sk_removeChannelsFromGroup() function is used to remove physical channels from channel groups. This function is also available as sk_removeChannelsFromGroupOnConnection() and skts_removeChannelsFromGroup().

Syntax

int sk_removeChannelsFromGroup(char *aChannelGroup, int aStartSpan, int aStartChannel, int anEndSpan, int anEndChannel);

int sk_removeChannelsFromGroupOnConnection(char *aChannelGroup, int aStartSpan, int aStartChannel, int anEndSpan, int anEndChannel, int aConID);

int skts_removeChannelsFromGroup( char *aChannelGroup, int aStartSpan, int aStartChannel, int anEndSpan, int anEndChannel, int aConID );

Parameters

The function parameters are shown in the table below.

Argument | Description
--- | ---
aChannelGroup | Identifies the channel group.
aStartSpan | Identifies the first span in the group.
aStartChannel | Identifies the first chan in the group.
anEndSpan | Identifies the last span in the group.
anEndChannel | Identifies the last chan in the group.
aConID | aConID is a connection identifier specified at connection creation time and used to indicate which LLC an application wishes to communicate with.

Return Values

Possible return values for this function:

SK_LOST_LLC | This return value indicates that your application lost contact with the LLC.