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

sk_getAssignedChannelGroup()

Description

The function sk_getAssignedChannelGroup() allows your application to determine the channel group that a channel has been assigned to. This function returns the channel group that was specified in the call to sk_watchChannelGroup() that caused the LLC to assign Span and Channel to this application. For channels that were allocated to the application through a different mechanism, such as through sk_requestOutseizedChannel(), this function returns NULL.

Syntax

char *sk_getAssignedChannelGroup(int aSpan, int aChannel);

char * skts_getAssignedChannelGroup(int aSpan, int aChannel);

Parameters

The function parameters are shown in the table below.

Argument | Description
--- | ---
aSpan | Specifies the Span.
aChannel | Specifies the Channel.

Range of channels provided by T1 or E1 transmission service. A physical span is a group of channels taking up a single physical wire. A logical span is a group of channels taking up less than a single logical wire, or carried over more than one physical wire.