CLASS2.VSCPD
This class is reserved for internal events used by the decision matrix mechanism of the VSCP Daemon. Events of this type should never be visible on a physical bus.
VSCP2_TYPE_VSCPD_GENERAL
VSCP2_TYPE_VSCPD_LOOP
Event is generated each loop in the DM or if no events is received every 100 ms (configurable value). No data is defined.
VSCP2_TYPE_VSCPD_PAUSE
The machine/daemon is going to a pause state. No data is defined.
VSCP2_TYPE_VSCPD_ACTIVATE
The machine/daemon is going from a pause state. No data is defined.
VSCP2_TYPE_VSCPD_SECOND
Event is generated each new second. No data is defined.
VSCP2_TYPE_VSCPD_MINUTE
Event is generated each new minute. No data is defined.
VSCP2_TYPE_VSCPD_HOUR
Event is generated each new Hour. No data is defined.
VSCP2_TYPE_VSCPD_NOON
Event is generated at 12:00 each day. No data is defined.
VSCP2_TYPE_VSCPD_MIDNIGHT
Event is generated at 00:00 each day. No data is defined.
VSCP2_TYPE_VSCPD_WEEK
Event is generated when a new week starts (config setting). No data is defined.
VSCP2_TYPE_VSCPD_MONTH
Event is generated when a new month starts. No data is defined.
VSCP2_TYPE_VSCPD_QUARTER
Event is generated when a new quarter starts. No data is defined.
VSCP2_TYPE_VSCPD_YEAR
Event is generated when a new year starts. No data is defined.
VSCP2_TYPE_VSCPD_RANDOM_MINUTE
Event is generated randomly over a minute as is sent once each minute. No data is defined.
VSCP2_TYPE_VSCPD_RANDOM_HOUR
Event is generated randomly over an hour and is sent once each hour. No data is defined.
VSCP2_TYPE_VSCPD_RANDOM_DAY
Event is generated randomly over a day and is sent once each day. No data is defined.
VSCP2_TYPE_VSCPD_RANDOM_WEEK
Event is generated randomly over a week and is sent once each week. No data is defined.
VSCP2_TYPE_VSCPD_RANDOM_MONTH
Event is generated randomly over a month and is sent once each month. No data is defined.
VSCP2_TYPE_VSCPD_RANDOM_YEAR
Event is generated randomly over a year and is sent once each year. No data is defined.
VSCP2_TYPE_VSCPD_DUSK
Event is from calculated dusk. No data is defined.
VSCP2_TYPE_VSCPD_DAWN
VSCP2_TYPE_VSCPD_STARTING_UP
The machine/daemon is starting up. This is the first event sent after a machine start up. Shutting down . No data is defined.
VSCP2_TYPE_VSCPD_SHUTTING_DOWN
The machine/daemon is shutting down. This is the last event sent before a machine is shutting off. No data is defined.
VSCP2_TYPE_VSCPD_TIMER_STARTED
A timer has been started.
Argument is timer ID and start time for the timer.
Byte | Description |
---|---|
0 | 32 bit timer ID. MSB. |
1 | 32 bit timer ID. |
2 | 32 bit timer ID. |
3 | 32 bit timer ID. LSB. |
4 | Start time in milliseconds as a 32-bit value. MSB. |
5 | Start time in milliseconds as a 32-bit value. |
6 | Start time in milliseconds as a 32-bit value. |
7 | Start time in milliseconds as a 32-bit value. LSB. |
VSCP2_TYPE_VSCPD_TIMER_PAUSED
A timer has been paused.
Argument is timer ID and time when timer was paused.
Byte | Description |
---|---|
0 | 32 bit timer ID. MSB. |
1 | 32 bit timer ID. |
2 | 32 bit timer ID. |
3 | 32 bit timer ID. LSB. |
4 | Start time in milliseconds as a 32-bit value. MSB. |
5 | Start time in milliseconds as a 32-bit value. |
6 | Start time in milliseconds as a 32-bit value. |
7 | Start time in milliseconds as a 32-bit value. LSB |
VSCP2_TYPE_VSCPD_TIMER_RESUMED
A timer has been restarted.
Argument is timer ID and time when timer was restarted.
Byte | Description |
---|---|
0 | 32 bit timer ID. MSB. |
1 | 32 bit timer ID. |
2 | 32 bit timer ID. |
3 | 32 bit timer ID. LSB. |
4 | Start time in milliseconds as a 32-bit value. MSB. |
5 | Start time in milliseconds as a 32-bit value. |
6 | Start time in milliseconds as a 32-bit value. |
7 | Start time in milliseconds as a 32-bit value. LSB. |
VSCP2_TYPE_VSCPD_TIMER_STOPPED
A timer has been stopped.
Argument is timer ID and time when timer was stopped.
Byte | Description |
---|---|
0 | 32 bit timer ID. MSB. |
1 | 32 bit timer ID. |
2 | 32 bit timer ID. |
3 | 32 bit timer ID. LSB. |
4 | Start time in milliseconds as a 32-bit value. MSB. |
5 | Start time in milliseconds as a 32-bit value. |
6 | Start time in milliseconds as a 32-bit value. |
7 | Start time in milliseconds as a 32-bit value. LSB. |
VSCP2_TYPE_VSCPD_TIMER_ELLAPSED
A timer has elapsed.
Argument is timer ID.
Byte | Description |
---|---|
0 | 32 bit timer ID. MSB. |
1 | 32 bit timer ID. |
2 | 32 bit timer ID. |
3 | 32 bit timer ID. LSB. |
VSCP2_TYPE_VSCPD_NEW_CALCULATION
This event will be sent once each 24 hours when new astronomical calculations has been performed. The event can be useful if one need to do things when the sunrise/sunset etc times changes.
{% include "./bottom_copyright.md" %}