Actions

GROUP MEMBERSHIP

From Zenitel Wiki

(Redirected from $GRM)
AI.png
GROUP_MEMBERSHIP 0x0081 129 AMC 08.20
$GRM L101 L85 U1
$GRM L101 NG3 U0
$GRM N4 NG5 U2
$GRM NG4 NG6 U1
$GRM LV NG7 U3
Put station 101 into the group with directory number 85
Remove station 101 from the group with index number 3
Toggle physical number 4 in or out of group number 5
Add all members of group number 4 to group number 6 (From 13.0.3.0)
Empty group number 7 (From 13.0.3.0)
Set group membership for a station.
(Note that any changes in group membership by $GRM will be overwritten by a SendAll operation from AlphaPro)!
1 NET_OBJ_REF
{LOCAL_DIRNO,
LOCAL_ENTITY}
Single station or station group to be added/removed/toggled from group in parameter 2.

Group as parameter supported from 13.0.3.0

2 NET_OBJ_REF
{LOCAL_DIRNO,

LOCAL_ENTITY}

Group of stations.
3 UINT1 Operation on group:
0=Take station out of group
1=Put station into group
2=Toggle station in/out of group depending on previous state.
  • For group toggle in group,
    • one or more station overlap will toggle out
    • zero station overlap will toggle in.

3=Empty the group for all stations, param 1 must be a legal net_obj_ref. (LV) (From 13.0.3.0)

Response: COMMAND_RESPONSE

Param 3 of Command Response indicate status of change (From 13.0.3.0)
0 = Station/group of parameter 1 is removed from group of parameter 2.
1 = Station/group of parameter 1 is added to group of parameter 2.
GRM Operation 3 :Empty, will return status 0


Dummy example of usage from a Group/Zone select PC application.
Group Description
10 Dynamic group
101 Stations of Zone 1
102 Stations of Zone 2
103 Stations of Zone 3

Application with touch display with 4 buttons.

Program startup:

  • $GRM LV NG10 U3 : Empty dynamic group
  • Set all buttons to white background color
Button $DP message Description Reply from AlphaCom
Zone 1 R0001 $GRM NG101 NG10 U2 Toggle group "Zone 1" in/out of the dynamic group 10 COMMAND_RESPONSE

The msg reference indicate button number (R0001,2,3)
Param 3:
0 = set white background color of button.
1 = set green background color of button.

Zone 2 R0002 $GRM NG102 NG10 U2 Toggle group "Zone 2" in/out of the dynamic group 10
Zone 3 R0003 $GRM NG103 NG10 U2 Toggle group "Zone 3" in/out of the dynamic group 10
PTT $GM NG10 L101 / $C L101 Start / cancel group call from station 101 to zones selected

Back to AlphaNet message list