The mask defining the WeekDay(s) on which
this 'TimeWindow' must be applied.
Each bit represents a WeekDay.
Sunday: 0x00000001 (bit 0)
Monday: 0x00000002 (bit 1)
Tuesday: 0x00000004 (bit 2)
Wednesday: 0x00000008 (bit 3)
Thursday: 0x00000010 (bit 4)
Friday: 0x00000020 (bit 5)
Saturday: 0x00000040 (bit 6)
WeekDays may be combinated.
'null (0)' value disable this 'TimeWindow' (i.e. connection is 'enabled')
Concerning 'TimeWindow' (cf 'isdnScheduleStart / isdnScheduleEnd'):
** For a WanPartner, 0 up to 4 TimeWindows max are manageable each day.
** A TimeWindow format is [HH:MM-hh:mm] (minute accurate), where:
HH:MM --> Is the start time (in second into 'isdnScheduleStart')
hh:mm --> Is the end time (in second into 'isdnScheduleEnd')
(note: 24h00m is the last valid 'time' of a day)
(24h01m is invalid .. It's 00h01m of the next day !)
** To disable the whole day: Set isdnScheduleStart
and isdnScheduleEnd to the same value (eg: [0 - 0]),
or use one of the disable value (cf: isdnScheduleWeekDay
or isdnScheduleStart or isdnScheduleEnd).
** To enable the whole day: Set isdnScheduleStart
to the first 'time' and isdnScheduleEnd to the
last 'time' (ie: [0 - 86400]).
** If a WeekDay has no related TimeWindow,
it is assumed to be a whole 'disabled' day. |