You are here: SwitchKit Programmer’s Guide > 3 Channel Management > 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. |