Access LIN schedule tables.
More...
|
| KvaDbStatus | kvaDbGetFirstScheduleTable (KvaDbHnd dh, KvaDbScheduleTableHnd *th) |
| |
| KvaDbStatus | kvaDbGetNextScheduleTable (KvaDbHnd dh, KvaDbScheduleTableHnd *th) |
| |
| KvaDbStatus | kvaDbGetScheduleTableByName (KvaDbHnd dh, const char *schedule_table_name, KvaDbScheduleTableHnd *th) |
| |
| KvaDbStatus | kvaDbGetScheduleTableName (KvaDbScheduleTableHnd th, char *buf, size_t buflen) |
| |
| KvaDbStatus | kvaDbGetScheduleTableQualifiedName (KvaDbScheduleTableHnd th, char *buf, size_t buflen) |
| |
| KvaDbStatus | kvaDbGetFirstScheduleTableEntry (KvaDbScheduleTableHnd th, KvaDbScheduleTableEntryHnd *eh) |
| |
| KvaDbStatus | kvaDbGetNextScheduleTableEntry (KvaDbScheduleTableHnd th, KvaDbScheduleTableEntryHnd *eh) |
| |
| KvaDbStatus | kvaDbGetScheduleTableEntryMsg (KvaDbScheduleTableEntryHnd eh, KvaDbMessageHnd *mh) |
| |
| KvaDbStatus | kvaDbGetScheduleTableEntryDelay (KvaDbScheduleTableEntryHnd eh, double *delay) |
| |
Access LIN schedule tables.
◆ kvaDbGetFirstScheduleTable()
Get the first LIN schedule table in a database.
- Parameters
-
| [in] | dh | A handle to a database |
| [out] | th | A handle to the first schedule table |
- Returns
- kvaDbOK (zero) if success
-
kvaDbErr_xxx (negative) if failure
- See also
- kvaDbGetNextScheduleTable()
◆ kvaDbGetFirstScheduleTableEntry()
◆ kvaDbGetNextScheduleTable()
◆ kvaDbGetNextScheduleTableEntry()
◆ kvaDbGetScheduleTableByName()
Get a handle to a LIN schedule table with a specific name.
- Parameters
-
| [in] | dh | A database handle |
| [in] | schedule_table_name | The schedule table name to search for |
| [out] | th | A schedule table handle |
- Returns
- kvaDbOK (zero) if success
-
kvaDbErr_xxx (negative) if failure
◆ kvaDbGetScheduleTableEntryDelay()
Get LIN schedule table entry delay in milliseconds. The delay before the message is sent after the previous message in the schedule table has been sent.
- Parameters
-
| [in] | eh | A schedule table entry handle |
| [out] | delay | The delay in milliseconds |
- Returns
- kvaDbOK (zero) if success
-
kvaDbErr_xxx (negative) if failure
- See also
- kvaDbGetFirstScheduleTableEntry
◆ kvaDbGetScheduleTableEntryMsg()
◆ kvaDbGetScheduleTableName()
Get the name of a schedule table as a null-terminated string. A truncated string will be returned if buf is too small and status will be kvaDbOK.
- Parameters
-
| [in] | th | A schedule table handle |
| [out] | buf | The buffer that will hold the schedule table name |
| [in] | buflen | The length of the buffer. |
- Returns
- kvaDbOK (zero) if success
-
kvaDbErr_xxx (negative) if failure
- See also
- kvaDbGetScheduleTableQualifiedName()
◆ kvaDbGetScheduleTableQualifiedName()
Get the qualified schedule table name, which is the database name and the schedule table name separated by a dot, as a null-terminated string. An empty string will be returned if buf is too small and status will be kvaDbOK.
- Parameters
-
| [in] | th | A schedule table handle |
| [out] | buf | The buffer that will hold the qualified schedule table name |
| [in] | buflen | The length of the buffer |
- Returns
- kvaDbOK (zero) if success
-
kvaDbErr_xxx (negative) if failure
- See also
- kvaDbGetScheduleTableName()