User manual
DCN Next Generation Open Interface Release 2.4 AT
en | 252
Bosch Communications Systems | 2007 February | SRS_ATINF | Du100902
typedef struct
{
WORD wFillLevel;
AT_T_DEL_ATTEND tDelegate[AT_C_MAX_DELEGATE];
} AT_T_REGISTER_INDIV;
where the AT_T_DEL_ATTEND is defined as:
typedef struct
{
WORD wUnitId;
WORD wDelegateId;
BYTE byAttend;
} AT_T_DEL_ATTEND;
where:
wFillLevel Number of delegates in tDelegate (maximum of
AT_C_MAX_DELEGATE)
If wFillLevel is less than AT_C_MAX_DELEGATE, then the last
cluster with delegate registration information is returned.
tDelegate Structure containing the delegate information.
wUnitId Unit on which the delegate is located. The wUnitId
can be the value DBSC_EMPTY_UNIT when the
delegate is not located anywhere.
wDelegateId Delegate for which the presence status is given.
byAttend Presence status of the delegate. The setting is one
of the following:
• AT_C_NOSTATUS
• AT_C_ATTEND
• AT_C_LEAVE
• AT_C_ATTEND_NOCHANGE
• AT_C_LEAVE_NOCHANGE
How the presence status is determined can be seen in the following status diagram:
Internally it is possible that a delegate, which is already present, will be registered present again.
In this case he inserts his ID-card in another unit, which implies that the delegate changed seat.
This seat change is also reported to the remote controller using this update notification. His
status will then be changed to AT_C_ATTEND_NOCHANGE to inform that the ‘presence’ has not
changed. The same situation can occur when the delegate has already left the system.
Error codes returned
AT_E_NOERROR
AT_E_APP_NOT_STARTED
A
T_C_NOSTATUS
A
T_C_ATTEND
A
T_C_LEAVE
A
T_C_ATTEND_NOCHANGE
A
T_C_LEAVE_NOCHANGE
Start attendance
registration
Register
Delegate
Deregister
Delegate
Register
Delegate
Register
Delegate
Register
Delegate
Register
Delegate
Deregister
Delegate
Deregister
Delegate
Deregister
Delegate
Deregister
Delegate
Figure 1 Presence status changes diagram










