Technical information
NetLinx Modules
56
RMS NetLinx Programmer’s Guide
Strings and Descriptions (Cont.)
'CHANGE-[Date1,Date2,
Date3,...]'
A message indicating that appointments have been
changed for the following dates. Dates are comma
separated and in the format MM/DD/YYYY.
"'APPT COUNT-
[Month],[Year],
'[Binary Array]"
The appointment count for Month and Year. Binary
Array is a character array that contains the counts for
each day as binary value where the first element in
the array is for the first day of Month.
"'APPT LIST-[Date],
[Total Appt],
'[Binary Appt List]"
The appointment list summary for Date. Total Appt
provides the total number of appointments for Date.
Binary Appt list is a character array with 48 entries, 1
for each ½ hour time slot for Date. The value in index
1 is the appointment index of the appointment that
occupies the first ½ hour time slot
(12:00am - 12:30 am).
"'APPT-Index,
'[Binary Data]"
The appointment data for an individual appointment.
Index is a value between 1 and Total Appt form the
'APPT LIST" string. The Binary Data is a
VARIABLE_TO_STRING encoded copy of an
appointment structure. The appointment structure is
defined as _sRMSAppointment in the include file.
This binary data can be passed to the
RMSDecodeAppointmentString() function, defined in
the include file, to convert the data to an appointment
structure.
'MESG-
[Flags],[Message]'
A message from the RMS console. Flags are the
message flag and Message is the text of the
message. Currently, there are no Flags defined.
'EXTEND-No'
A message indicating the current appointment could
not be extended due to a scheduling conflict.
'SERVER-
[Address]:[Port]'
The current RMS server address used by the
module. This is sent in response to a '/SERVER'
command.
'PRODUCT-[ID],[Name],
[Version]'
The product ID, Product name, and version of the
RMS server this module is connected to. This string
is sent upon connection to the RMS server.
'QUESTION-
[ID],[Flags],[Questio
ns],[Answer1],[Answer
2],[Answer3],
[Answer4]'
A question sent from the RMS server. The ID and
Flags are used to send the response. A question and
up to 4 answers may be included. All answers are
optional.