
DCN Next Generation Open Interface Release 2.4 Voting
en | 186
Bosch Communications Systems | 2007 February | SRS_VTINF | Du040905
Related functions
VT_C_START_VOTING
VT_C_STOP_VOTING
VT_C_RESTART_VOTING
3.2.6 VT_C_RESTART_VOTING
Purpose
This function allows the remote controller to restart a voting round.
Parameter structure for the function
The function has no additional parameters.
Response structure from the function
The function has no response parameters.
Error codes returned
VT_E_NOERROR
VT_E_VOTE_NOT_ON_HOLD
VT_E_APP_NOT_STARTED
Update notifications
VT_C_RESULTSNOTIFY
Related functions
VT_C_START_VOTING
VT_C_STOP_VOTING
VT_C_HOLD_VOTING
3.2.7 VT_C_DOWNLOAD_SUBJECT
Purpose
This function allows the remote controller to transmit a subject to the CCU while no voting round
is running.
Parameter structure for the function
The function requires the following structure as parameter:
typedef struct
{
WORD wVotingNumber;
CHAR szVotingSubject[VT_C_MAX_LEN_SUBJECT];
CHAR szLegendSubject[VT_C_MAX_LEN_LEGEND];
} VT_T_SUBJECT_REC;
where:
wVotingNumber The number of the voting which will be started. This number will
be used as reference during the update notifications. The
value-range is 1-9999. The value
VT_C_STANDALONE_VOTING is reserved by the initial state
on the CCU (no subject download received).
szVotingSubject [] Subject of the voting, which will be displayed on the unit LCD’s.
The subject will internally be divided into 4 lines. Each line
consists of
DBSC_NCHAR_SCREENLINE characters. It is the
responsibility of the remote controller that each line is extended
with spaces till
DBSC_NCHAR_SCREENLINE characters per line.
szLegendSubject [] ‘Voting number’ Legend. This text is put before the voting-
number on the units LCD’s. The purpose of this legend is to
clarify the meaning of the voting number (e.g. “Motion:” or “Vote
Nr:”).
Response structure from the function
The function has no response parameters.
Komentarze do niniejszej Instrukcji